This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Description
Conditional Update URLs are not URL escaped and may need to be.
The URL Generator has a bug (missing .getValueAsString()) in Line 361:
else if (resource instanceof MedicationStatement )
{
MedicationStatement ms = (MedicationStatement ) resource ;
String profileUrl = getProfileUrl (resource , v -> v .startsWith (NUM_CODEX_STRUCTURE_DEFINITION_PREFIX ));
String updateUrl = getBaseConditionalUpdateUrl (ResourceType .MedicationStatement .name (), profileUrl ,
patientIdentifier );
if (ms .hasEffectiveDateTimeType () && ms .getEffectiveDateTimeType ().getValueAsString () != null )
updateUrl = updateUrl + "&effective=" + ms .getEffectiveDateTimeType ();
if (ms .hasMedicationCodeableConcept () && ms .getMedicationCodeableConcept ().hasCoding ())
updateUrl = updateUrl + "&code="
+ getCodingUpdateUrl (ms .getMedicationCodeableConcept ().getCodingFirstRep ());
return updateUrl ;
}
Reactions are currently unavailable
.getValueAsString()) in Line 361:codex-processes-ap1/codex-process-data-transfer/src/main/java/de/netzwerk_universitaetsmedizin/codex/processes/data_transfer/service/send/ReadData.java
Lines 352 to 368 in f5aaa4e