{
  "resourceType" : "Encounter",
  "id" : "SurgicalEncounterExample",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-encounter"]
  },
  "language" : "en",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter SurgicalEncounterExample</b></p><a name=\"SurgicalEncounterExample\"> </a><a name=\"hcSurgicalEncounterExample\"> </a><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\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-profile-encounter.html\">PAS Encounter</a></p></div><p><b>Patient Status</b>: <span title=\"Codes:{https://www.nubc.org/CodeSystem/PatDischargeStatus 30}\">Still a patient</span></p><p><b>status</b>: Planned</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p><p><b>type</b>: <span title=\"Codes:{https://www.nubc.org/CodeSystem/PriorityTypeOfAdmitOrVisit 2}\">2</span></p><p><b>subject</b>: <a href=\"Patient-SubscriberExample.html\">JOE SMITH  Male, DoB Unknown ( http://example.org/MIN#12345678901)</a></p><p><b>period</b>: 2020-07-02 --&gt; 2020-07-09</p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>AdmitSource</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{https://www.nubc.org/CodeSystem/PointOfOrigin 5}\">5</span></td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-patientStatus",
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "https://www.nubc.org/CodeSystem/PatDischargeStatus",
        "code" : "30",
        "display" : "Still a patient"
      }]
    }
  }],
  "status" : "planned",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "AMB"
  },
  "type" : [{
    "coding" : [{
      "system" : "https://www.nubc.org/CodeSystem/PriorityTypeOfAdmitOrVisit",
      "code" : "2"
    }]
  }],
  "subject" : {
    "reference" : "Patient/SubscriberExample"
  },
  "period" : {
    "start" : "2020-07-02",
    "end" : "2020-07-09"
  },
  "hospitalization" : {
    "admitSource" : {
      "coding" : [{
        "system" : "https://www.nubc.org/CodeSystem/PointOfOrigin",
        "code" : "5"
      }]
    }
  }
}