{
  "resourceType": "Composition",
  "id": "composition-01",
  "meta": {
    "profile": [
      "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Composition composition-01</b></p><a name=\"composition-01\"> </a><a name=\"hccomposition-01\"> </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></div><p><b>identifier</b>: <code>http://example.org/NamingSystem/doc-identifiers</code>/ee5ac342-23d9-4ff1-9ea7-264323866d80</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>encounter</b>: <a href=\"Encounter-encounter-01.html\">Encounter: identifier = http://example.org/NamingSystem/Encounter#ENC123456; status = finished; class = ambulatory (ActCode#AMB); type = ambulatory; period = 2024-03-27 09:00:00-0700 --&gt; 2024-03-27 09:30:00-0700</a></p><p><b>date</b>: 2021-12-11 14:30:00+0100</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 as of December 11, 2021 14:30</p><p><b>confidentiality</b>: restricted</p><h3>Attesters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td style=\"display: none\">*</td><td>Legal</td><td>2023-04-17 18:20:00-0600</td><td><a href=\"Practitioner-practitioner-01.html\">Dr. Riley Okoro(official) (http://example.org/NamingSystem/Practitioner#PR789013)</a></td></tr></table><p><b>custodian</b>: <a href=\"Organization-organization-01.html\">Vancouver General Hospital (Healthcare Provider) (http://hlth.gov.bc.ca/fhir/NamingSystem/bc-phi#VGH123456)</a></p><h3>RelatesTos</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Target[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>Replaces</td><td>?ngen-9?</td></tr></table><h3>Events</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActClass PCPR}\">Care Provision</span></td><td>2024-10-01 --&gt; (ongoing)</td></tr></table></div>"
  },
  "identifier": {
    "system": "http://example.org/NamingSystem/doc-identifiers",
    "value": "ee5ac342-23d9-4ff1-9ea7-264323866d80"
  },
  "status": "final",
  "type": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "60591-5",
        "display": "Patient summary Document"
      }
    ]
  },
  "subject": {
    "reference": "Patient/patient-01"
  },
  "encounter": {
    "reference": "Encounter/encounter-01"
  },
  "date": "2021-12-11T13:30:00+00:00",
  "author": [
    {
      "reference": "PractitionerRole/practitioner-role-01"
    }
  ],
  "title": "Patient Summary as of December 11, 2021 14:30",
  "confidentiality": "R",
  "attester": [
    {
      "mode": "legal",
      "time": "2023-04-18T00:20:00+00:00",
      "party": {
        "reference": "Practitioner/practitioner-01"
      }
    }
  ],
  "custodian": {
    "reference": "Organization/organization-01"
  },
  "relatesTo": [
    {
      "code": "replaces",
      "targetIdentifier": {
        "assigner": {
          "display": "Previous Composition being replaced"
        }
      }
    }
  ],
  "event": [
    {
      "code": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActClass",
              "code": "PCPR",
              "display": "Care Provision"
            }
          ]
        }
      ],
      "period": {
        "start": "2024-10-01"
      }
    }
  ],
  "section": [
    {
      "id": "medication-summary",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "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": "MedicationRequest/medication-request-01"
        },
        {
          "reference": "MedicationRequest/medication-request-01"
        }
      ]
    },
    {
      "id": "allergies-and-intolerances",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "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": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "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"
        }
      ]
    },
    {
      "id": "history-of-procedures",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "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\">History of Procedures</div>"
      },
      "entry": [
        {
          "reference": "Procedure/procedure-01"
        }
      ]
    },
    {
      "id": "immunizations",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "title": "Immunizations",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "11369-6",
            "display": "History of Immunization note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Immunizations</p></div>"
      },
      "entry": [
        {
          "reference": "Immunization/immunization-01"
        },
        {
          "reference": "Immunization/immunization-01"
        },
        {
          "reference": "Immunization/immunization-01"
        }
      ]
    },
    {
      "id": "medical-devices",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "title": "Medical Devices",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "46264-8",
            "display": "History of medical device use"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Medical Devices</p></div>"
      },
      "entry": [
        {
          "reference": "urn:uuid:e8269a7e-c843-4703-a4d2-4aa6cf32a8e3"
        },
        {
          "reference": "urn:uuid:9f5d9258-6cc3-49ed-8fee-f38c9ff684da"
        }
      ]
    },
    {
      "id": "results",
      "title": "Results",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "30954-2",
            "display": "Relevant diagnostic tests/laboratory data note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Results</p></div>"
      },
      "entry": [
        {
          "reference": "DiagnosticReport/diagnostic-report-01"
        },
        {
          "reference": "Observation/observation-01"
        },
        {
          "reference": "Observation/observation-01"
        },
        {
          "reference": "Observation/observation-01"
        },
        {
          "reference": "Observation/observation-01"
        }
      ]
    },
    {
      "id": "vital-signs",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "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>Results</p></div>"
      },
      "entry": [
        {
          "reference": "Observation/observation-blood-pressure-01"
        },
        {
          "reference": "Observation/observation-blood-pressure-02"
        },
        {
          "reference": "Observation/observation-blood-pressure-03"
        },
        {
          "reference": "Observation/observation-bmi-01"
        },
        {
          "reference": "Observation/observation-bmi-02"
        },
        {
          "reference": "Observation/observation-bmi-03"
        },
        {
          "reference": "Observation/observation-body-height-01"
        },
        {
          "reference": "Observation/observation-body-weight-01"
        },
        {
          "reference": "Observation/observation-body-temperature-01"
        },
        {
          "reference": "Observation/observation-head-circum-01"
        },
        {
          "reference": "Observation/observation-heart-rate-01"
        },
        {
          "reference": "Observation/observation-respiratory-rate-01"
        }
      ]
    },
    {
      "id": "past-history-of-illness",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "title": "Past History of Illness",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "11348-0",
            "display": "History of Past illness note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Past History of Illness</p></div>"
      },
      "entry": [
        {
          "reference": "Condition/condition-01"
        }
      ]
    },
    {
      "id": "functional-status",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "title": "Functional Status",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "47420-5",
            "display": "Functional Status Assessment Note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Functional Status</p></div>"
      },
      "entry": [
        {
          "reference": "Condition/condition-01"
        }
      ]
    },
    {
      "id": "plan-of-care",
      "title": "Plan of Care",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "18776-5",
            "display": "Plan of Care Note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>There is no plan of care because ...</p></div>"
      },
      "emptyReason": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/list-empty-reason",
            "code": "unavailable",
            "display": "Unavailable"
          }
        ],
        "text": "Unavailable"
      }
    },
    {
      "id": "social-history",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "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",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "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"
        }
      ]
    },
    {
      "id": "pregnancy-history",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "title": "Pregnancy History",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "10162-6",
            "display": "History of pregnancies Narrative"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Pregnancy History</p></div>"
      },
      "entry": [
        {
          "reference": "urn:uuid:4f786ae4-0de8-45f8-bbed-167a136870e1"
        }
      ]
    },
    {
      "id": "advance-directives",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/note",
          "valueAnnotation": {
            "time": "2024-10-02T18:12:12+00:00",
            "text": "Annotation in markdown format"
          }
        }
      ],
      "title": "Advance Directives",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "42348-3",
            "display": "Advance Healthcare Directives"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Advance Directives</p></div>"
      },
      "entry": [
        {
          "reference": "DocumentReference/document-reference-01"
        }
      ]
    }
  ]
}