{
  "resourceType": "Composition",
  "id": "composition-03",
  "meta": {
    "profile": [
      "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary"
    ],
    "security": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code": "R"
      }
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Composition composition-03</b></p><a name=\"composition-03\"> </a><a name=\"hccomposition-03\"> </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=\"StructureDefinition-composition-patient-summary.html\">P-Care Patient Summary Composition</a></p><p style=\"margin-bottom: 0px\">Security Label: <a href=\"http://terminology.hl7.org/7.4.0/CodeSystem-v3-Confidentiality.html\">restricted (Details: Confidentiality code R = 'restricted')</a></p></div><p><b>identifier</b>: <code>http://example.org/NamingSystem/sample-identifiers</code>/Composition-PSAB-1.2.0-AllProfiles</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 60591-5}\">Patient summary Document</span></p><p><b>date</b>: 2023-04-17 23:21:21+0000</p><p><b>author</b>: <a href=\"PractitionerRole-practitioner-role-01.html\">Dr. Riley Okoro(official) (http://example.org/NamingSystem/Practitioner#PR789013): General pathologist (occupation) at Vancouver General Hospital (Healthcare Provider) (http://hlth.gov.bc.ca/fhir/NamingSystem/bc-phi#VGH123456) (http://example.org/NamingSystem/PractitionerRole#PR789012)</a></p><p><b>title</b>: Patient Summary - AB</p><p><b>confidentiality</b>: restricted</p><p><b>custodian</b>: <a href=\"https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=http://example.org/Organization/abhealth\">Alberta Health</a></p></div>"
  },
  "identifier": {
    "system": "http://example.org/NamingSystem/sample-identifiers",
    "value": "Composition-PSAB-1.2.0-AllProfiles"
  },
  "status": "final",
  "type": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "60591-5",
        "display": "Patient summary Document"
      }
    ]
  },
  "subject": {
    "reference": "Patient/patient-01"
  },
  "date": "2023-04-17T23:21:21+00:00",
  "author": [
    {
      "reference": "PractitionerRole/practitioner-role-01"
    }
  ],
  "title": "Patient Summary - AB",
  "confidentiality": "R",
  "custodian": {
    "reference": "http://example.org/Organization/abhealth",
    "display": "Alberta Health"
  },
  "section": [
    {
      "id": "medication-summary",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "text": "Patient does not have drug coverage (Medication Section)"
          }
        }
      ],
      "title": "Medication Summary",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "10160-0",
            "display": "History of Medication use Narrative"
          }
        ]
      },
      "text": {
        "status": "additional",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Medications</div>"
      },
      "entry": [
        {
          "reference": "MedicationStatement/medication-statement-01"
        },
        {
          "reference": "MedicationStatement/medication-statement-01"
        },
        {
          "reference": "MedicationStatement/medication-statement-01"
        }
      ]
    },
    {
      "id": "allergies-and-intolerances",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "text": "Patient does not have drug coverage (Allergies Section)"
          }
        }
      ],
      "title": "Allergies and Intolerances",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "48765-2",
            "display": "Allergies and adverse reactions Document"
          }
        ]
      },
      "text": {
        "status": "additional",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Allergies and Intolerances</div>"
      },
      "entry": [
        {
          "reference": "AllergyIntolerance/allergy-intolerance-01"
        }
      ]
    },
    {
      "id": "problem-list",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "text": "Patient does not have drug coverage (Problem List Section)"
          }
        }
      ],
      "title": "Problem List",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "11450-4",
            "display": "Problem list - Reported"
          }
        ]
      },
      "text": {
        "status": "additional",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Current list of problems</div>"
      },
      "entry": [
        {
          "reference": "Condition/condition-01"
        },
        {
          "reference": "Condition/condition-01"
        }
      ]
    },
    {
      "id": "history-of-procedures",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "text": "2019-07 Appendectomy"
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "text": "1987 Eye surgery, correction of astigmatism"
          }
        }
      ],
      "title": "History of Procedures",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "47519-4",
            "display": "History of Procedures Document"
          }
        ]
      },
      "text": {
        "status": "additional",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Procedure History</div>"
      },
      "emptyReason": {
        "text": "text-only"
      }
    },
    {
      "id": "vital-signs",
      "title": "Vital Signs",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "8716-3",
            "display": "Vital signs note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Vital Signs</p></div>"
      },
      "entry": [
        {
          "reference": "Observation/observation-bmi-02"
        },
        {
          "reference": "Observation/observation-body-height-02"
        },
        {
          "reference": "Observation/observation-body-weight-02"
        },
        {
          "reference": "Observation/observation-body-temperature-02"
        }
      ]
    },
    {
      "id": "social-history",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "text": "Patient attending smoking cessation sessions"
          }
        }
      ],
      "title": "Social History",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "29762-2",
            "display": "Social history note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Social History</p></div>"
      },
      "entry": [
        {
          "reference": "Observation/observation-social-history-01"
        },
        {
          "reference": "Observation/observation-social-history-02"
        },
        {
          "reference": "Observation/observation-social-history-03"
        }
      ]
    },
    {
      "id": "family-history",
      "title": "Family History",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "10157-6",
            "display": "History of family member diseases note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Family History</p></div>"
      },
      "entry": [
        {
          "reference": "FamilyMemberHistory/family-member-history-01"
        },
        {
          "reference": "FamilyMemberHistory/family-member-history-01"
        }
      ]
    }
  ]
}