Skip to content

Commit

Permalink
fix code coding system
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer committed Dec 11, 2024
1 parent 6c5b3f6 commit e9a0798
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public Observation map(ResidualstatusTyp rs, Reference patient) {

// See: https://loinc.org/84892-9/
var code = new CodeableConcept();
code.addCoding().setCode(fhirProperties.getSystems().getLoinc()).setCode("84892-9");
observation.setCode(value);
code.addCoding().setSystem(fhirProperties.getSystems().getLoinc()).setCode("84892-9");
observation.setCode(code);

// Status - always final
observation.setStatus(Observation.ObservationStatus.FINAL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"status": "final",
"code": {
"coding": [ {
"system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-residualstatus",
"code": "R2"
"system": "http://loinc.org",
"code": "84892-9"
} ]
},
"subject": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"status": "final",
"code": {
"coding": [ {
"system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-residualstatus",
"code": "R0"
"system": "http://loinc.org",
"code": "84892-9"
} ]
},
"subject": {
Expand Down

0 comments on commit e9a0798

Please sign in to comment.