MediRecords FHIR Implementation Guide
1.4.1 - release


: MR Admissions Planned Encounter Cancelled Example - JSON Representation

Raw json | Download


{
  "resourceType" : "Encounter",
  "id" : "3ebc8348-d1fa-4496-8819-9674282c9934",
  "meta" : {
    "lastUpdated" : "2021-10-25T01:43:30Z",
    "profile" : [
      🔗 "https://fhir.medirecords.com/StructureDefinition/mr-encounter-admission"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"3ebc8348-d1fa-4496-8819-9674282c9934\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Encounter &quot;3ebc8348-d1fa-4496-8819-9674282c9934&quot; Updated &quot;2021-10-25 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-encounter-admission.html\">MR Encounter Admission</a></p></div><p><b>Encounter plannedStartDate</b>: 2023-10-20 01:00:00+0000</p><p><b>Encounter plannedEndDate</b>: 2023-12-22</p><p><b>MR Comment Note Extension</b>: Cancellation of a Planned Encounter of a Patient to the Hospital</p><p><b>Encounter Reason Cancelled</b>: Entered in error <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>status</b>: cancelled</p><p><b>class</b>: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')</p><p><b>subject</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c</a> &quot; GREY&quot;</p><blockquote><p><b>participant</b></p><p><b>type</b>: referrer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#REF)</span></p><p><b>individual</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: John Smith</a> &quot; SMITH&quot;</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: General physician <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#59058001)</span></p><p><b>individual</b>: <a href=\"PractitionerRole-b27fc609-efcb-4c43-a296-5908787de413.html\">PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413: Dr David Jones</a></p></blockquote><p><b>appointment</b>: <span><code>urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9</code>/f97c56f9-5ca3-4287-92bf-70092098b11d</span></p><p><b>reasonCode</b>: Withdrawal arrhythmia <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#184004)</span></p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td><td><b>PhysicalType</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Location-094e3a90-4eb7-4921-9727-20078b3a74ca.html\">Location/094e3a90-4eb7-4921-9727-20078b3a74ca: Main Emergency Ward</a> &quot;Emergency Ward&quot;</td><td>Ward <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-location-physical-type.html\">Location type</a>#wa)</span></td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html\">Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9: Practice FHIR</a> &quot;Healthy Live Clinic&quot;</p></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate",
      "valueDateTime" : "2023-10-20T01:00:00Z"
    },
    {
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate",
      "valueDateTime" : "2023-12-22"
    },
    {
      "url" : "https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext",
      "valueString" : "Cancellation of a Planned Encounter of a Patient to the Hospital"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled",
      "valueCodeableConcept" : {
        "text" : "Entered in error"
      }
    }
  ],
  "status" : "cancelled",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "IMP",
    "display" : "inpatient encounter"
  },
  "subject" : {
    🔗 "reference" : "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"
  },
  "participant" : [
    {
      "type" : [
        {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
              "code" : "REF",
              "display" : "referrer"
            }
          ]
        }
      ],
      "individual" : {
        🔗 "reference" : "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054",
        "display" : "John Smith"
      }
    },
    {
      "type" : [
        {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "59058001",
              "display" : "General physician"
            }
          ]
        }
      ],
      "individual" : {
        🔗 "reference" : "PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413",
        "display" : "Dr David Jones"
      }
    }
  ],
  "appointment" : [
    {
      "identifier" : {
        "system" : "urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9",
        "value" : "f97c56f9-5ca3-4287-92bf-70092098b11d",
        "assigner" : {
          "display" : "Practice FHIR"
        }
      }
    }
  ],
  "reasonCode" : [
    {
      "coding" : [
        {
          "system" : "http://snomed.info/sct",
          "code" : "184004",
          "display" : "Withdrawal arrhythmia"
        }
      ],
      "text" : "Withdrawal arrhythmia"
    }
  ],
  "location" : [
    {
      "location" : {
        🔗 "reference" : "Location/094e3a90-4eb7-4921-9727-20078b3a74ca",
        "display" : "Main Emergency Ward"
      },
      "physicalType" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
            "code" : "wa",
            "display" : "Ward"
          }
        ]
      }
    }
  ],
  "serviceProvider" : {
    🔗 "reference" : "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9",
    "display" : "Practice FHIR"
  }
}