The Open Health Information Mediator core component. OpenHIM Support: Post your query on OpenHIE Discourse using the #openhim tag https://discourse.ohie.org/
I wonder if you can help me. I am experiencing a strange issue on some code that previously worked fine for me. My code requests a specific Observation from Hearth via OpenHIM. I know that the Observation does not exist so I expect to receive a not found or null response. However rather than return the specific Observation requested, OpenHIM responds with the only Observation available.
I am currently running OpenHIM v5.
I have saved an Encounter with a single custom Observation.
{"resourceType":"Bundle","id":"e18c4418-8b4f-4436-a309-63b08c42efc2","meta":{"lastUpdated":"2021-10-22T13:25:52.344+00:00"},"type":"searchset","total":1,"link":[{"relation":"self","url":"http://localhost:3447/fhir/Observation"}],"entry":[{"fullUrl":"http://localhost:3447/fhir/Observation/39d16603-d063-427b-98c1-9c06fe9ff4ad/_history/c08831aa-a3a6-4f19-904f-89904bdd40ff","resource":{"resourceType":"Observation","status":"final","context":{"reference":"Encounter/493bd7d7-1879-4e81-a675-0fe316c7641c"},"category":[{"coding":[{"system":"http://hl7.org/fhir/observation-category","code":"procedure","display":"Procedure"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"present-at-birth-reg","display":"Present at birth registration"}]},"valueString":"MOTHER","meta":{"lastUpdated":"2021-10-22T13:25:38.155+00:00","versionId":"c08831aa-a3a6-4f19-904f-89904bdd40ff"},"id":"39d16603-d063-427b-98c1-9c06fe9ff4ad"},"request":{"method":"POST","url":"Observation"}}]}
But of course it is possible for an Encounter to have many Observations. I have code that requests each one individually so that I can do specific things with each Observation.
If I request an Observation that I know does not exist, like this to retrieve body weight:
Then I would expect to receive either the body weight observation or nothing at all. However I receive the custom observation instead. The only Observation available in the Encounter.
Is there any config step that I have missed to ensure that this URL only returns body weight or nothing?
Hi,
I wonder if you can help me. I am experiencing a strange issue on some code that previously worked fine for me. My code requests a specific Observation from Hearth via OpenHIM. I know that the Observation does not exist so I expect to receive a not found or null response. However rather than return the specific Observation requested, OpenHIM responds with the only Observation available.
I am currently running OpenHIM v5.
I have saved an Encounter with a single custom Observation.
But of course it is possible for an Encounter to have many Observations. I have code that requests each one individually so that I can do specific things with each Observation.
If I request an Observation that I know does not exist, like this to retrieve body weight:
Then I would expect to receive either the body weight observation or nothing at all. However I receive the custom observation instead. The only Observation available in the Encounter.
Is there any config step that I have missed to ensure that this URL only returns body weight or nothing?
Many thanks to you.