Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit f3bacda

Browse files
committed
add comment explaining the versioned id issue with hapi client
1 parent 3384d0c commit f3bacda

File tree

1 file changed

+1
-0
lines changed
  • codex-process-data-transfer/src/main/java/de/netzwerk_universitaetsmedizin/codex/processes/data_transfer/client/fhir

1 file changed

+1
-0
lines changed

codex-process-data-transfer/src/main/java/de/netzwerk_universitaetsmedizin/codex/processes/data_transfer/client/fhir/AbstractFhirClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ public void updatePatient(Patient patient)
653653
Objects.requireNonNull(patient, "patient");
654654

655655
String id = patient.getIdElement().toVersionless().getValue();
656+
// set the patient id to versionless id to workaround a `If-Match`-header bug in hapi fhir client
656657
patient.setId(id);
657658
logger.info("Updating patient {}", id);
658659

0 commit comments

Comments
 (0)