<?xml version="1.0" encoding="UTF-8"?>

<Composition xmlns="http://hl7.org/fhir">
  <id value="ex-composition-element-labeled"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="PROCESSINLINELABEL"/>
    </security>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
      <code value="R"/>
      <display value="restricted"/>
    </security>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="SEX"/>
    </security>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="BH"/>
    </security>
  </meta>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Composition ex-composition-element-labeled</b></p><a name="ex-composition-element-labeled"> </a><a name="hcex-composition-element-labeled"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Security Labels: <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v3-ActCode.html">process inline security label (Details: ActCode code PROCESSINLINELABEL = 'process inline security label')</a>, <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v3-Confidentiality.html">restricted (Details: Confidentiality code R = 'restricted')</a>, <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v3-ActCode.html">sexuality and reproductive health information sensitivity (Details: ActCode code SEX = 'sexuality and reproductive health information sensitivity')</a>, <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v3-ActCode.html">behavioral health information sensitivity (Details: ActCode code BH = 'behavioral health information sensitivity')</a></p></div><p><b>status</b>: Final</p><p><b>type</b>: <span title="Codes:{http://loinc.org 34133-9}">Summary of Episode Note</span></p><p><b>date</b>: 2026-12-03 08:56:00-0600</p><p><b>author</b>: <a href="Patient-ex-patient-element-labeled.html">John Schmidt  Male, DoB: 1923-07-25 ( http://hl7.org/fhir/sid/us-ssn#United States Social Security Number#666-01-2345 (use: official))</a></p><p><b>title</b>: Sensitive Episode Summary</p></div>
  </text>
  <status value="final"/>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="34133-9"/>
      <display value="Summary of Episode Note"/>
    </coding>
  </type>
  <subject>
    <reference value="Patient/ex-patient-element-labeled"/>
  </subject>
  <date value="2026-12-03T08:56:00-06:00"/>
  <author>
    <reference value="Patient/ex-patient-element-labeled"/>
  </author>
  <title value="Sensitive Episode Summary"/>
  <section>
    <title value="Clinical Summary"/>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">The patient was seen for a routine follow-up.</div>
    </text>
  </section>
  <section>
    <title value="Problems"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="11450-4"/>
        <display value="Problem list - Reported"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Problem list entries are referenced below.</div>
    </text>
    <entry>
      <reference value="Condition/ex-condition-hypertension"/>
    </entry>
    <entry>
      <reference value="Condition/ex-condition-osteoarthritis"/>
    </entry>
    <entry>
      <reference value="Condition/ex-condition-depression"/>
    </entry>
  </section>
  <section>
    <title value="Allergies"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="48765-2"/>
        <display value="Allergies and adverse reactions Document"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Aspirin allergy and penicillin allergy are recorded.</div>
    </text>
    <entry>
      <reference value="AllergyIntolerance/ex-allergy-aspirin"/>
    </entry>
    <entry>
      <reference value="AllergyIntolerance/ex-allergy-penicillin"/>
    </entry>
  </section>
  <section>
    <title value="Medications"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="10160-0"/>
        <display value="History of Medication use Narrative"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Multivitamin and lisinopril are included in the medication history.</div>
    </text>
    <entry>
      <reference value="MedicationStatement/ex-medication-multivitamin"/>
    </entry>
    <entry>
      <reference value="MedicationStatement/ex-medication-lisinopril"/>
    </entry>
  </section>
  <section>
    <title value="Immunizations"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="11369-6"/>
        <display value="History of Immunization note"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">MMR, COVID-19, and influenza immunizations are recorded.</div>
    </text>
    <entry>
      <reference value="Immunization/ex-immunization-mmr"/>
    </entry>
    <entry>
      <reference value="Immunization/ex-immunization-covid"/>
    </entry>
    <entry>
      <reference value="Immunization/ex-immunization-flu"/>
    </entry>
  </section>
  <section>
    <extension url="http://hl7.org/fhir/StructureDefinition/element-securityLabel">
      <valueCoding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
        <code value="BH"/>
      </valueCoding>
    </extension>
    <title value="Mental Health Assessment"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="11383-7"/>
        <display value="Patient problem outcome Narrative"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Mental health assessment details.</div>
    </text>
    <entry>
      <reference value="Observation/ex-observation-depression"/>
    </entry>
    <entry>
      <reference value="Procedure/ex-procedure-psychotherapy"/>
    </entry>
  </section>
  <section>
    <extension url="http://hl7.org/fhir/StructureDefinition/element-securityLabel">
      <valueCoding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
        <code value="SEX"/>
      </valueCoding>
    </extension>
    <title value="Reproductive Health Procedure"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="61149-1"/>
        <display value="Objective Narrative"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Recorded pregnancy and abortion procedure details.</div>
    </text>
    <entry>
      <reference value="Observation/ex-observation-pregnancy"/>
    </entry>
    <entry>
      <reference value="Procedure/ex-procedure-abortion"/>
    </entry>
  </section>
</Composition>