Skip to content

Commit

Permalink
Set status to "final"
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer committed Dec 11, 2024
1 parent af26860 commit 6c5b3f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ public Observation map(ResidualstatusTyp rs, Reference patient) {
code.addCoding().setCode(fhirProperties.getSystems().getLoinc()).setCode("84892-9");
observation.setCode(value);

// Status
// TODO: Correct status
observation.setStatus(Observation.ObservationStatus.UNKNOWN);
// Status - always final
observation.setStatus(Observation.ObservationStatus.FINAL);

return observation;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "Observation",
"status": "unknown",
"status": "final",
"code": {
"coding": [ {
"system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-residualstatus",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "Observation",
"status": "unknown",
"status": "final",
"code": {
"coding": [ {
"system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-residualstatus",
Expand Down

0 comments on commit 6c5b3f6

Please sign in to comment.