PhdImplementationGuide 0.3.0 - STU 1 (2nd ballot)

This page is part of the Personal Health Device FHIR IG (v0.3.0: STU 1 Ballot 3) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

Example of coded enumeration - JSON Representation

(back to narrative)

Raw json

{
  "resourceType" : "Observation",
  "id" : "glucose-1.0.0.4",
  "meta" : {
    "profile" : [
      "http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCodedEnumerationObservation"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: glucose-1.0.0.4</p><p><b>meta</b>: </p><p><b>identifier</b>: sisansarahId-urn:oid:1.2.3.4.5.6.7.8.10-00601900010E9234-8417864-20170602150227-8417872</p><p><b>status</b>: final</p><p><b>code</b>: MDC_CTXT_GLU_MEAL: Meal context <span style=\"background: LightGoldenRodYellow\">(Details : {urn:iso:std:iso:11073:10101 code '8417864' = '8417864)</span></p><p><b>subject</b>: <a href=\"glucose-1.0.0.4.html\">Generated Summary: id: sisansarahId.1.2.3.4.5.6.7.8.10; Medical record number = sisansarahId; Sisansarah Lorianthah Piggy </a></p><p><b>effective</b>: 03/06/2017 5:02:35 AM</p><p><b>value</b>: MDC_CTXT_GLU_MEAL_POSTPRANDIAL: After lunch/dinner <span style=\"background: LightGoldenRodYellow\">(Details : {urn:iso:std:iso:11073:10101 code '8417872' = '8417872)</span></p><p><b>device</b>: <a href=\"glucose-1.0.0.4.html\">Generated Summary: id: phd-00601900010E9234.F45EABA80832; IEEE 11073 System Identifier = 00-60-19-00-01-0E-92-34, Bluetooth MAC address = F4-5E-AB-A8-08-32; manufacturer: Diabetes Care; serialNumber: 20130200002A; modelNumber: Gluc-23; <span title=\"Codes: {urn:iso:std:iso:11073:10101 65573}\">MDC_MOC_VMS_MDS_SIMP</span></a></p><p><b>derivedFrom</b>: <a href=\"glucose-1.0.0.4.html\">Generated Summary: id: coin-1234; <span title=\"Codes: {urn:iso:std:iso:11073:10101 67975}\">MDC_ATTR_TIME_ABS: Absolute time</span>; effective: 03/06/2017 8:02:35 AM; value: 03/06/2017 8:02:30 AM</a></p></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice",
      "valueReference" : {
        "reference" : "Device/phg-ecde3d4e58532d31.000000000000"
      }
    }
  ],
  "identifier" : [
    {
      "value" : "sisansarahId-urn:oid:1.2.3.4.5.6.7.8.10-00601900010E9234-8417864-20170602150227-8417872"
    }
  ],
  "status" : "final",
  "code" : {
    "coding" : [
      {
        "system" : "urn:iso:std:iso:11073:10101",
        "code" : "8417864"
      }
    ],
    "text" : "MDC_CTXT_GLU_MEAL: Meal context"
  },
  "subject" : {
    "reference" : "Patient/sisansarahId.1.2.3.4.5.6.7.8.10"
  },
  "effectiveDateTime" : "2017-06-02T15:02:35-04:00",
  "valueCodeableConcept" : {
    "coding" : [
      {
        "system" : "urn:iso:std:iso:11073:10101",
        "code" : "8417872"
      }
    ],
    "text" : "MDC_CTXT_GLU_MEAL_POSTPRANDIAL: After lunch/dinner"
  },
  "device" : {
    "reference" : "Device/phd-00601900010E9234.F45EABA80832"
  },
  "derivedFrom" : [
    {
      "reference" : "Observation/coin-1234"
    }
  ]
}