{
  "resourceType" : "Encounter",
  "id" : "encounter-from-appointment",
  "meta" : {
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/instance-name",
      "valueString" : "Encounter From Appointment Example"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/instance-description",
      "valueMarkdown" : "This is an encounter example for the *US Core Encounter Profile* that records the visit resulting from a scheduled appointment, referenced via `Encounter.appointment`."
    }],
    "profile" : ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter encounter-from-appointment</b></p><a name=\"encounter-from-appointment\"> </a><a name=\"hcencounter-from-appointment\"> </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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/core/2026Jan/StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a></p></div><p><b>identifier</b>: <code>http://example.org/encounter/identifiers</code>/enc-from-appt-001</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://hl7.org/fhir/R4/v3/ActCode/cs.html#v3-ActCode-AMB\">v3 Code System ActCode: AMB</a> (ambulatory)</p><p><b>type</b>: <span title=\"Codes:{http://www.ama-assn.org/go/cpt 99213}, {http://snomed.info/sct 185349003}\">Office Visit</span></p><p><b>subject</b>: <a href=\"http://hl7.org/fhir/us/core/2026Jan/Patient-example.html\">Amy V. Baxter</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://hl7.org/fhir/us/core/2026Jan/Practitioner-practitioner-1.html\">Dr Ronald Bone</a></td></tr></table><p><b>appointment</b>: <a href=\"Appointment-appt-resulted-encounter.html\">Appointment: status = fulfilled; serviceType = Encounter for check up; start = 2026-03-12 16:00:00+0000; end = 2026-03-12 16:30:00+0000</a></p><p><b>period</b>: 2026-03-12 16:00:00+0000 --&gt; 2026-03-12 16:30:00+0000</p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://hl7.org/fhir/us/core/2026Jan/Location-hospital.html\">Holy Family Hospital</a></td></tr></table></div>"
  },
  "identifier" : [{
    "system" : "http://example.org/encounter/identifiers",
    "value" : "enc-from-appt-001"
  }],
  "status" : "finished",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "AMB",
    "display" : "ambulatory"
  },
  "type" : [{
    "coding" : [{
      "system" : "http://www.ama-assn.org/go/cpt",
      "code" : "99213"
    },
    {
      "system" : "http://snomed.info/sct",
      "code" : "185349003",
      "display" : "Encounter for check up"
    }],
    "text" : "Office Visit"
  }],
  "subject" : {
    "reference" : "Patient/example",
    "display" : "Amy V. Baxter"
  },
  "participant" : [{
    "individual" : {
      "reference" : "Practitioner/practitioner-1",
      "display" : "Dr Ronald Bone"
    }
  }],
  "appointment" : [{
    "reference" : "Appointment/appt-resulted-encounter"
  }],
  "period" : {
    "start" : "2026-03-12T16:00:00Z",
    "end" : "2026-03-12T16:30:00Z"
  },
  "location" : [{
    "location" : {
      "reference" : "Location/hospital",
      "display" : "Holy Family Hospital"
    }
  }]
}