From 0afedc3c27b4a140cdfb28e5af883ebd41990bb0 Mon Sep 17 00:00:00 2001 From: noerog <32459203+noerog@users.noreply.github.com> Date: Fri, 26 Jun 2020 16:36:03 -0400 Subject: [PATCH] healthcare API: change FHIR Observation coding (#4182) Fixes b/159048675 --- healthcare/api-client/v1/fhir/fhir_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/healthcare/api-client/v1/fhir/fhir_resources.py b/healthcare/api-client/v1/fhir/fhir_resources.py index f43f20896995..ec5d62a8fc05 100644 --- a/healthcare/api-client/v1/fhir/fhir_resources.py +++ b/healthcare/api-client/v1/fhir/fhir_resources.py @@ -153,7 +153,7 @@ def create_observation( body = { "resourceType": "Observation", - "identifier": [{"system": "my-code-system", "value": "ABC-12345"}], + "code": {"coding": [{"system": "http://loinc.org", "code": "8867-4", "display": "Heart rate"}]}, "status": "final", "subject": {"reference": "Patient/{}".format(patient_id)}, "effectiveDateTime": "2019-01-01T00:00:00+00:00",