Skip to content

Commit 5577772

Browse files
BAH-2371 | Add. To add notes in patient document
1 parent 266efbf commit 5577772

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

omod/src/main/java/org/bahmni/module/hip/web/service/FHIRResourceMapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ public DocumentReference mapToDocumentDocumentReference(Obs obs) {
165165
DocumentReference documentReference = new DocumentReference();
166166
documentReference.setId(obs.getUuid());
167167
documentReference.setStatus(Enumerations.DocumentReferenceStatus.CURRENT);
168+
documentReference.setDescription(obs.getComment());
168169
List<DocumentReference.DocumentReferenceContentComponent> contents = new ArrayList<>();
169170
try {
170171
List<Attachment> attachments = getAttachments(obs);

0 commit comments

Comments
 (0)