use correct code system URL to encode the clinical status in converted resources

This commit is contained in:
Tobias Rodehutskors 2019-06-25 16:47:59 +02:00
parent b7dca094b6
commit 82e0eedc41
1 changed files with 10 additions and 10 deletions

View File

@ -8253,19 +8253,19 @@ public class VersionConvertor_30_40 {
org.hl7.fhir.r4.model.CodeableConcept cc = new org.hl7.fhir.r4.model.CodeableConcept(); org.hl7.fhir.r4.model.CodeableConcept cc = new org.hl7.fhir.r4.model.CodeableConcept();
switch (src) { switch (src) {
case ACTIVE: case ACTIVE:
cc.addCoding().setSystem(VALUE_SET_CONDITION_CLINICAL_URL).setCode("active"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_CLINICAL_URL).setCode("active");
return cc; return cc;
case RECURRENCE: case RECURRENCE:
cc.addCoding().setSystem(VALUE_SET_CONDITION_CLINICAL_URL).setCode("recurrence"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_CLINICAL_URL).setCode("recurrence");
return cc; return cc;
case INACTIVE: case INACTIVE:
cc.addCoding().setSystem(VALUE_SET_CONDITION_CLINICAL_URL).setCode("inactive"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_CLINICAL_URL).setCode("inactive");
return cc; return cc;
case REMISSION: case REMISSION:
cc.addCoding().setSystem(VALUE_SET_CONDITION_CLINICAL_URL).setCode("remission"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_CLINICAL_URL).setCode("remission");
return cc; return cc;
case RESOLVED: case RESOLVED:
cc.addCoding().setSystem(VALUE_SET_CONDITION_CLINICAL_URL).setCode("resolved"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_CLINICAL_URL).setCode("resolved");
return cc; return cc;
default: return null; default: return null;
} }
@ -8302,19 +8302,19 @@ public class VersionConvertor_30_40 {
org.hl7.fhir.r4.model.CodeableConcept cc = new org.hl7.fhir.r4.model.CodeableConcept(); org.hl7.fhir.r4.model.CodeableConcept cc = new org.hl7.fhir.r4.model.CodeableConcept();
switch (src) { switch (src) {
case PROVISIONAL: case PROVISIONAL:
cc.addCoding().setSystem(VALUE_SET_CONDITION_VER_CLINICAL_URL).setCode("provisional"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_VER_CLINICAL_URL).setCode("provisional");
return cc; return cc;
case DIFFERENTIAL: case DIFFERENTIAL:
cc.addCoding().setSystem(VALUE_SET_CONDITION_VER_CLINICAL_URL).setCode("differential"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_VER_CLINICAL_URL).setCode("differential");
return cc; return cc;
case CONFIRMED: case CONFIRMED:
cc.addCoding().setSystem(VALUE_SET_CONDITION_VER_CLINICAL_URL).setCode("confirmed"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_VER_CLINICAL_URL).setCode("confirmed");
return cc; return cc;
case REFUTED: case REFUTED:
cc.addCoding().setSystem(VALUE_SET_CONDITION_VER_CLINICAL_URL).setCode("refuted"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_VER_CLINICAL_URL).setCode("refuted");
return cc; return cc;
case ENTEREDINERROR: case ENTEREDINERROR:
cc.addCoding().setSystem(VALUE_SET_CONDITION_VER_CLINICAL_URL).setCode("entered-in-error"); cc.addCoding().setSystem(CODE_SYSTEM_CONDITION_VER_CLINICAL_URL).setCode("entered-in-error");
return cc; return cc;
default: return null; default: return null;
} }