Skip to content

Commit

Permalink
fix case-sensitive string constant
Browse files Browse the repository at this point in the history
  • Loading branch information
unixoid authored and qligier committed Jul 11, 2024
1 parent 68f659c commit 7815178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public void processDocumentReference(DocumentReference reference, DocumentEntry
//}

reference.getIdentifier().stream()
.filter(identifier -> identifier.hasType() && identifier.getType().hasCoding(MagConstants.FhirCodingSystemIds.MHD_DOCUMENT_ID_TYPE, "logicalId"))
.filter(identifier -> identifier.hasType() && identifier.getType().hasCoding(MagConstants.FhirCodingSystemIds.MHD_DOCUMENT_ID_TYPE, "logicalID"))
.findAny()
.map(Identifier::getValue)
.ifPresent(entry::setLogicalUuid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public List<DocumentReference> translateToFhir(QueryResponse input, Map<String,
documentReference.addIdentifier()
.setValue(asUuid(logicalId))
.setSystem(MagConstants.FhirCodingSystemIds.RFC_3986)
.setType(new CodeableConcept().addCoding(new Coding(MagConstants.FhirCodingSystemIds.MHD_DOCUMENT_ID_TYPE, "logicalId", "Logical ID")));
.setType(new CodeableConcept().addCoding(new Coding(MagConstants.FhirCodingSystemIds.MHD_DOCUMENT_ID_TYPE, "logicalID", "Logical ID")));
}

documentReference.setId(noUuidPrefix(logicalId));
Expand Down

0 comments on commit 7815178

Please sign in to comment.