{
  "resourceType": "Bundle",
  "id": "bundle-document-03",
  "meta": {
    "extension": [
      {
        "extension": [
          {
            "url": "entityIdentifier",
            "valueIdentifier": {
              "type": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code": "FI"
                  }
                ]
              },
              "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-health-site-id-wdfa",
              "value": "12345"
            }
          },
          {
            "url": "entityName",
            "valueString": "Site Somewhere"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.infoway-inforoute.ca/p-care/CodeSystem/pcare-submission-metadata-code-system",
                  "code": "submittingSite"
                }
              ]
            }
          }
        ],
        "url": "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-submission-metadata"
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "EMR Vendor Y"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.infoway-inforoute.ca/p-care/CodeSystem/pcare-submission-metadata-code-system",
                  "code": "emrVendorName"
                }
              ]
            }
          }
        ],
        "url": "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-submission-metadata"
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "EMRVersion1.1.0"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.infoway-inforoute.ca/p-care/CodeSystem/pcare-submission-metadata-code-system",
                  "code": "emrProductName"
                }
              ]
            }
          }
        ],
        "url": "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-submission-metadata"
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "PS-AB"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.infoway-inforoute.ca/p-care/CodeSystem/pcare-submission-metadata-code-system",
                  "code": "submissionIGType"
                }
              ]
            }
          }
        ],
        "url": "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-submission-metadata"
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "1.2.0"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.infoway-inforoute.ca/p-care/CodeSystem/pcare-submission-metadata-code-system",
                  "code": "submissionIGVersion"
                }
              ]
            }
          }
        ],
        "url": "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-submission-metadata"
      },
      {
        "extension": [
          {
            "url": "entityIdentifier",
            "valueIdentifier": {
              "type": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code": "FI"
                  }
                ]
              },
              "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-health-site-id-wdfa",
              "value": "45678"
            }
          },
          {
            "url": "entityName",
            "valueString": "Facility Somewhere"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.infoway-inforoute.ca/p-care/CodeSystem/pcare-submission-metadata-code-system",
                  "code": "serviceDeliverySite"
                }
              ]
            }
          }
        ],
        "url": "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-submission-metadata"
      },
      {
        "extension": [
          {
            "url": "entityIdentifier",
            "valueIdentifier": {
              "type": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code": "PRN"
                  }
                ]
              },
              "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-health-service-provider-id",
              "value": "98765"
            }
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.infoway-inforoute.ca/p-care/CodeSystem/pcare-submission-metadata-code-system",
                  "code": "authoringProviderID"
                }
              ]
            }
          }
        ],
        "url": "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-submission-metadata"
      }
    ],
    "profile": [
      "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/bundle-patient-summary"
    ],
    "security": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code": "R"
      }
    ]
  },
  "identifier": {
    "system": "http://example.org/NamingSystem/sample-identifiers",
    "value": "PSAB-1.2.0-AllProfiles"
  },
  "type": "document",
  "timestamp": "2023-04-17T23:21:21+00:00",
  "entry": [
    {
      "fullUrl": "urn:uuid:c5aa5a1c-7e76-4ea2-a489-226059c84be3",
      "resource": {
        "resourceType": "Composition",
        "id": "c5aa5a1c-7e76-4ea2-a489-226059c84be3",
        "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": "additional",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Composition_c5aa5a1c-7e76-4ea2-a489-226059c84be3\"> </a>Primary Problem: Roberta is a normally well-controlled Type 2 diabetic with well-managed hypertension. She experiences occassional gout attacks. Significant Clinical Event Requiring Patient Summary: Roberta has been been experiencing some neuropathy she is assuming is caused by her diabetes, and her gout is flaring up. She needs to see a GP in Yellowknife and may need a referral. Dr Allan GP (Prac ID 9600), Roberta's most responsible GP in Ontario, is wanting to communicate Roberta's clinical information to Dr Smith (Prac ID 2222) a GP in Alberta where Roberta is working.</div>"
        },
        "identifier": {
          "system": "http://example.org/NamingSystem/someidsystem",
          "value": "Composition-PSAB-1.2.0-AllProfiles"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "60591-5",
              "display": "Patient summary Document"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "date": "2023-04-17T23:21:21+00:00",
        "author": [
          {
            "reference": "urn:uuid:b5cf9ac3-c323-490e-87e4-88fbf65b9888"
          }
        ],
        "title": "Patient Summary - AB",
        "confidentiality": "R",
        "custodian": {
          "reference": "urn:uuid:d931f072-38f9-46ac-98b5-d470404e5aa0"
        },
        "section": [
          {
            "id": "1",
            "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": "Hx of Medication use"
                }
              ]
            },
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Medications</div>"
            },
            "entry": [
              {
                "reference": "urn:uuid:03cd9a05-597b-4d34-a203-ac5d8134eabd"
              },
              {
                "reference": "urn:uuid:407c998a-d316-4172-a01f-21f5849113ee"
              },
              {
                "reference": "urn:uuid:39799944-a74a-4ea0-8722-8a5f3102e96a"
              }
            ]
          },
          {
            "id": "2",
            "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 &or adverse reactions Doc"
                }
              ]
            },
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Allergies and Intolerances</div>"
            },
            "entry": [
              {
                "reference": "urn:uuid:ceea9c48-759d-4636-a11e-0a067b32973a"
              }
            ]
          },
          {
            "id": "3",
            "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": "urn:uuid:3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7"
              },
              {
                "reference": "urn:uuid:d538db9e-8562-4bff-9d18-89643589ad5e"
              }
            ]
          },
          {
            "id": "4",
            "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": "Procedures Hx Doc"
                }
              ]
            },
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Procedure History</div>"
            },
            "emptyReason": {
              "text": "text-only"
            }
          },
          {
            "id": "5",
            "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": "urn:uuid:6c4b6a3e-2c64-4de3-b23e-e435347052e6"
              },
              {
                "reference": "urn:uuid:77537ea0-85a1-40d0-88e7-9f488a3ba174"
              },
              {
                "reference": "urn:uuid:9a9891a6-aaa8-4c66-88d2-bb67800d36d0"
              },
              {
                "reference": "urn:uuid:5d882fe0-dcdd-47ca-85f2-ccfc90159bde"
              }
            ]
          },
          {
            "id": "6",
            "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": "urn:uuid:2df99df4-465e-4bab-9313-fbe9117f1d37"
              },
              {
                "reference": "urn:uuid:9da812e0-d4d5-445e-9eb4-2c9f3563b3fd"
              },
              {
                "reference": "urn:uuid:33acf3e5-7f39-4d03-a4e9-6933833e2df1"
              }
            ]
          },
          {
            "id": "7",
            "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": "urn:uuid:6be80d8c-4c63-41f1-b9b2-b06cb144afb1"
              },
              {
                "reference": "urn:uuid:d3d24ba7-f425-4c63-8444-cd7d6453bbb2"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:a3cf9ac3-c323-490e-87e4-88fbf65b9600",
      "resource": {
        "resourceType": "Practitioner",
        "id": "a3cf9ac3-c323-490e-87e4-88fbf65b9600",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_a3cf9ac3-c323-490e-87e4-88fbf65b9600\"> </a>Practitioner a3cf9ac3-c323-490e-87e4-88fbf65b9600</div>"
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "LN"
                }
              ]
            },
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-license-physician",
            "value": "practitioner-id",
            "assigner": {
              "display": "College of Physicians and Surgeons of Alberta"
            }
          }
        ],
        "name": [
          {
            "family": "Velcro",
            "given": [
              "A"
            ],
            "prefix": [
              "Dr."
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:b5cf9ac3-c323-490e-87e4-88fbf65b9888",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "b5cf9ac3-c323-490e-87e4-88fbf65b9888",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner-role"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"PractitionerRole_b5cf9ac3-c323-490e-87e4-88fbf65b9888\"> </a>PractitionerRole b5cf9ac3-c323-490e-87e4-88fbf65b9888</div>"
        },
        "practitioner": {
          "reference": "urn:uuid:a3cf9ac3-c323-490e-87e4-88fbf65b9600"
        },
        "specialty": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "408443003"
              }
            ],
            "text": "General medical practice"
          }
        ],
        "location": [
          {
            "reference": "urn:uuid:a3138b3c-ff74-42e2-ad17-6ee17b3a078a"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e",
      "resource": {
        "resourceType": "Patient",
        "id": "d520ecd1-76a0-4894-b895-b8a5a971954e",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_d520ecd1-76a0-4894-b895-b8a5a971954e\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient d520ecd1-76a0-4894-b895-b8a5a971954e</b></p><a name=\"d520ecd1-76a0-4894-b895-b8a5a971954e\"> </a><a name=\"hcd520ecd1-76a0-4894-b895-b8a5a971954e\"> </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-patient.html\">P-Care Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Patrick Test Other, DoB: 1979-10-28 ( Jurisdictional health number: 123456789)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 123-456-7900</li><li>fax: 123-111-2222</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: wife\">wife:</td><td colspan=\"3\"><ul><li>Maria Test </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Recorded sex or gender (RSG) information includes the various sex and gender concepts that are often used in existing systems but are known NOT to represent a gender identity, sex parameter for clinical use, or attributes related to sexuality, such as sexual orientation, sexual activity, or sexual attraction. Examples of recorded sex or gender concepts include administrative gender, administrative sex, and sex assigned at birth.  When exchanging this concept, refer to the guidance in the [Gender Harmony Implementation Guide](http://hl7.org/xprod/ig/uv/gender-harmony/).\">Person Recorded Sex Or Gender:</td><td colspan=\"3\"><ul><li>value: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0001 M}\">Male</span></li><li>type: <span title=\"Codes:{http://loinc.org 99502-7}\">Recorded sex or gender</span></li></ul></td></tr></table></div>"
        },
        "extension": [
          {
            "extension": [
              {
                "url": "value",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "system": "http://terminology.hl7.org/CodeSystem/v2-0001",
                      "code": "M"
                    }
                  ]
                }
              },
              {
                "url": "type",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "system": "http://loinc.org",
                      "code": "99502-7",
                      "display": "Recorded sex or gender"
                    }
                  ]
                }
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"
          }
        ],
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "JHN"
                }
              ]
            },
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-patient-healthcare-id",
            "value": "123456789"
          }
        ],
        "name": [
          {
            "text": "Patrick Test",
            "family": "Patrick",
            "given": [
              "Test"
            ]
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "123-456-7900"
          },
          {
            "system": "fax",
            "value": "123-111-2222"
          }
        ],
        "gender": "other",
        "birthDate": "1979-10-28",
        "contact": [
          {
            "relationship": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                    "code": "WIFE"
                  }
                ]
              }
            ],
            "name": {
              "family": "Test",
              "given": [
                "Maria"
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:d931f072-38f9-46ac-98b5-d470404e5aa0",
      "resource": {
        "resourceType": "Organization",
        "id": "d931f072-38f9-46ac-98b5-d470404e5aa0",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization"
          ]
        },
        "text": {
          "status": "additional",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_d931f072-38f9-46ac-98b5-d470404e5aa0\"> </a>Narrative goes here</div>"
        },
        "name": "Fictional Custodian Organization"
      }
    },
    {
      "fullUrl": "urn:uuid:a3138b3c-ff74-42e2-ad17-6ee17b3a078a",
      "resource": {
        "resourceType": "Location",
        "id": "a3138b3c-ff74-42e2-ad17-6ee17b3a078a",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Location_a3138b3c-ff74-42e2-ad17-6ee17b3a078a\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Location a3138b3c-ff74-42e2-ad17-6ee17b3a078a</b></p><a name=\"a3138b3c-ff74-42e2-ad17-6ee17b3a078a\"> </a><a name=\"hca3138b3c-ff74-42e2-ad17-6ee17b3a078a\"> </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-location.html\">P-Care Location</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Happy Family Medicine (Facility ID: location-billing-id)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"The status of the location\">Status:</td><td colspan=\"3\">Active</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Physical location\">Address:</td><td colspan=\"3\">123 Sunny Lane Smallville AB T5K 2B6 CA </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to make contact with the location\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 555-555-5555</li><li>fax: 555-123-4567</li></ul></td></tr></table></div>"
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "FI"
                }
              ]
            },
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-health-site-id-wdfa",
            "value": "location-billing-id",
            "assigner": {
              "display": "Some value from AHWFACID"
            }
          }
        ],
        "status": "active",
        "name": "Happy Family Medicine",
        "telecom": [
          {
            "system": "phone",
            "value": "555-555-5555"
          },
          {
            "system": "fax",
            "value": "555-123-4567"
          }
        ],
        "address": {
          "line": [
            "123 Sunny Lane"
          ],
          "city": "Smallville",
          "state": "AB",
          "postalCode": "T5K 2B6",
          "country": "CA"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:03cd9a05-597b-4d34-a203-ac5d8134eabd",
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "03cd9a05-597b-4d34-a203-ac5d8134eabd",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-statement"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_03cd9a05-597b-4d34-a203-ac5d8134eabd\"> </a>MedicationStatement 03cd9a05-597b-4d34-a203-ac5d8134eabd</div>"
        },
        "status": "unknown",
        "medicationReference": {
          "reference": "urn:uuid:5d1928a7-947e-416d-a121-0005f8a2887a"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2021-04-29",
        "note": [
          {
            "text": "Prozac not tolerated"
          }
        ],
        "dosage": [
          {
            "text": "300mg, 1 Tablet PO Daily, 3 months",
            "patientInstruction": "Some patient instruction...",
            "route": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "26643006",
                  "display": "Oral route"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 300,
                  "unit": "mg",
                  "system": "http://unitsofmeasure.org",
                  "code": "mg"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:407c998a-d316-4172-a01f-21f5849113ee",
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "407c998a-d316-4172-a01f-21f5849113ee",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-statement"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_407c998a-d316-4172-a01f-21f5849113ee\"> </a>MedicationStatement 407c998a-d316-4172-a01f-21f5849113ee</div>"
        },
        "extension": [
          {
            "url": "http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage",
            "valueString": "(This is the rendered dosage): 500mg, 1 Tablet PO Daily, 3 months"
          }
        ],
        "status": "unknown",
        "medicationReference": {
          "reference": "urn:uuid:85930c06-5bf4-4335-8128-7025003d10b1"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2020-11-21",
        "dosage": [
          {
            "text": "500mg, 1 Tablet PO Daily, 3 months"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:39799944-a74a-4ea0-8722-8a5f3102e96a",
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "39799944-a74a-4ea0-8722-8a5f3102e96a",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-statement"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_39799944-a74a-4ea0-8722-8a5f3102e96a\"> </a>MedicationStatement 407c998a-d316-4172-a01f-21f5849113ee</div>"
        },
        "status": "unknown",
        "medicationReference": {
          "reference": "urn:uuid:41b2269a-7c8a-464e-9cf6-de84ef77fdce"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2020-02-29",
        "dosage": [
          {
            "text": "5mg, 1 Tablet PO BID, 1 week"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:5d1928a7-947e-416d-a121-0005f8a2887a",
      "resource": {
        "resourceType": "Medication",
        "id": "5d1928a7-947e-416d-a121-0005f8a2887a",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_5d1928a7-947e-416d-a121-0005f8a2887a\"> </a>Medication 5d1928a7-947e-416d-a121-0005f8a2887a</div>"
        },
        "extension": [
          {
            "url": "http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description",
            "valueString": "50 mg"
          }
        ],
        "code": {
          "text": "Bupropion/ Wellbutrin XL"
        },
        "form": {
          "text": "Oral Tablet"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:85930c06-5bf4-4335-8128-7025003d10b1",
      "resource": {
        "resourceType": "Medication",
        "id": "85930c06-5bf4-4335-8128-7025003d10b1",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_85930c06-5bf4-4335-8128-7025003d10b1\"> </a>Medication 5d1928a7-947e-416d-a121-0005f8a2887a</div>"
        },
        "code": {
          "text": "Metformin/ Glucophage"
        },
        "form": {
          "text": "Oral Tablet"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:41b2269a-7c8a-464e-9cf6-de84ef77fdce",
      "resource": {
        "resourceType": "Medication",
        "id": "41b2269a-7c8a-464e-9cf6-de84ef77fdce",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_41b2269a-7c8a-464e-9cf6-de84ef77fdce\"> </a>Medication 5d1928a7-947e-416d-a121-0005f8a2887a</div>"
        },
        "code": {
          "text": "Prednisone"
        },
        "form": {
          "text": "Oral Tablet"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:ceea9c48-759d-4636-a11e-0a067b32973a",
      "resource": {
        "resourceType": "AllergyIntolerance",
        "id": "ceea9c48-759d-4636-a11e-0a067b32973a",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"AllergyIntolerance_ceea9c48-759d-4636-a11e-0a067b32973a\"> </a>AllergyIntolerance ceea9c48-759d-4636-a11e-0a067b32973a</div>"
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
              "code": "active",
              "display": "Active"
            }
          ]
        },
        "type": "allergy",
        "category": [
          "medication"
        ],
        "code": {
          "text": "Sulfa"
        },
        "patient": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "onsetDateTime": "2013-06",
        "recordedDate": "2023-07",
        "note": [
          {
            "text": "Use Bactrim for frequent UTI’s"
          }
        ],
        "reaction": [
          {
            "manifestation": [
              {
                "text": "Rash, hives"
              }
            ],
            "description": "Patient is allergic to sulfa drugs which rash and/or hives"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7",
      "resource": {
        "resourceType": "Condition",
        "id": "3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7\"> </a>Condition 3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7</div>"
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "active"
            }
          ]
        },
        "code": {
          "text": "Diabetes mellitus"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "onsetDateTime": "2011-04-18",
        "recordedDate": "2012-01",
        "note": [
          {
            "text": "Uncontrolled"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:d538db9e-8562-4bff-9d18-89643589ad5e",
      "resource": {
        "resourceType": "Condition",
        "id": "d538db9e-8562-4bff-9d18-89643589ad5e",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_d538db9e-8562-4bff-9d18-89643589ad5e\"> </a>Condition d538db9e-8562-4bff-9d18-89643589ad5e</div>"
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "active"
            }
          ]
        },
        "code": {
          "text": "Hypertension"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "onsetDateTime": "2019-06-15",
        "note": [
          {
            "text": "Well controlled"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:6c4b6a3e-2c64-4de3-b23e-e435347052e6",
      "resource": {
        "resourceType": "Observation",
        "id": "6c4b6a3e-2c64-4de3-b23e-e435347052e6",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-bmi"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_6c4b6a3e-2c64-4de3-b23e-e435347052e6\"> </a>Observation 6c4b6a3e-2c64-4de3-b23e-e435347052e6</div>"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "vital-signs",
                "display": "Vital Signs"
              }
            ],
            "text": "Vital Signs"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "39156-5",
              "display": "Body mass index (BMI) [Ratio]"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2019-12-02",
        "valueQuantity": {
          "value": 25.8,
          "unit": "kg/m2",
          "system": "http://unitsofmeasure.org",
          "code": "kg/m2"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:77537ea0-85a1-40d0-88e7-9f488a3ba174",
      "resource": {
        "resourceType": "Observation",
        "id": "77537ea0-85a1-40d0-88e7-9f488a3ba174",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-body-height"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_77537ea0-85a1-40d0-88e7-9f488a3ba174\"> </a>Observation (Body Height) 77537ea0-85a1-40d0-88e7-9f488a3ba174</div>"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "vital-signs",
                "display": "Vital Signs"
              }
            ],
            "text": "Vital Signs"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "8302-2",
              "display": "Body height"
            }
          ],
          "text": "Body height"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2016-07-02",
        "valueQuantity": {
          "value": 177.8,
          "unit": "cm",
          "system": "http://unitsofmeasure.org",
          "code": "cm"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:9a9891a6-aaa8-4c66-88d2-bb67800d36d0",
      "resource": {
        "resourceType": "Observation",
        "id": "9a9891a6-aaa8-4c66-88d2-bb67800d36d0",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-body-weight"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_9a9891a6-aaa8-4c66-88d2-bb67800d36d0\"> </a>Observation (Body Weight) 9a9891a6-aaa8-4c66-88d2-bb67800d36d0</div>"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "vital-signs",
                "display": "Vital Signs"
              }
            ],
            "text": "Vital Signs"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "29463-7"
            }
          ],
          "text": "Body weight"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2019-12-02",
        "valueQuantity": {
          "value": 180,
          "unit": "[lb_av]",
          "system": "http://unitsofmeasure.org",
          "code": "[lb_av]"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:5d882fe0-dcdd-47ca-85f2-ccfc90159bde",
      "resource": {
        "resourceType": "Observation",
        "id": "5d882fe0-dcdd-47ca-85f2-ccfc90159bde",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-head-circum"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_5d882fe0-dcdd-47ca-85f2-ccfc90159bde\"> </a>Observation (Head Circumference) 5d882fe0-dcdd-47ca-85f2-ccfc90159bde</div>"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "vital-signs",
                "display": "Vital Signs"
              }
            ],
            "text": "Vital Signs"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "9843-4",
              "display": "Head Occipital-frontal circumference"
            }
          ],
          "text": "Head Circumference"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2024-01-05",
        "valueQuantity": {
          "value": 55.2,
          "unit": "cm",
          "system": "http://unitsofmeasure.org",
          "code": "cm"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:33acf3e5-7f39-4d03-a4e9-6933833e2df1",
      "resource": {
        "resourceType": "Observation",
        "id": "33acf3e5-7f39-4d03-a4e9-6933833e2df1",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-social-history"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_33acf3e5-7f39-4d03-a4e9-6933833e2df1\"> </a>Observation (Social History - General) 33acf3e5-7f39-4d03-a4e9-6933833e2df1</div>"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "social-history",
                "display": "Social History"
              }
            ]
          }
        ],
        "code": {
          "text": "Alcohol"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2020-02-08",
        "valueString": "2 drinks per week"
      }
    },
    {
      "fullUrl": "urn:uuid:2df99df4-465e-4bab-9313-fbe9117f1d37",
      "resource": {
        "resourceType": "Observation",
        "id": "2df99df4-465e-4bab-9313-fbe9117f1d37",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-social-history"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_2df99df4-465e-4bab-9313-fbe9117f1d37\"> </a>Observation (Social History - General) 2df99df4-465e-4bab-9313-fbe9117f1d37</div>"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "social-history",
                "display": "Social History"
              }
            ]
          }
        ],
        "code": {
          "text": "Exercise"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2021-01-14",
        "valueString": "Walking-target 10K steps per day"
      }
    },
    {
      "fullUrl": "urn:uuid:9da812e0-d4d5-445e-9eb4-2c9f3563b3fd",
      "resource": {
        "resourceType": "Observation",
        "id": "9da812e0-d4d5-445e-9eb4-2c9f3563b3fd",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-social-history"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_9da812e0-d4d5-445e-9eb4-2c9f3563b3fd\"> </a>Observation (Social History - General) 9da812e0-d4d5-445e-9eb4-2c9f3563b3fd</div>"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "social-history",
                "display": "Social History"
              }
            ]
          }
        ],
        "code": {
          "text": "Smoking"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2020-02-08",
        "valueString": "1 pack per day"
      }
    },
    {
      "fullUrl": "urn:uuid:6be80d8c-4c63-41f1-b9b2-b06cb144afb1",
      "resource": {
        "resourceType": "FamilyMemberHistory",
        "id": "6be80d8c-4c63-41f1-b9b2-b06cb144afb1",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/family-member-history"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"FamilyMemberHistory_6be80d8c-4c63-41f1-b9b2-b06cb144afb1\"> </a>FamilyMemberHistory 6be80d8c-4c63-41f1-b9b2-b06cb144afb1</div>"
        },
        "status": "completed",
        "patient": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "date": "2024-01-05",
        "relationship": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
              "code": "MTH"
            }
          ],
          "text": "Mother"
        },
        "sex": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/administrative-gender",
              "code": "female"
            }
          ]
        },
        "bornDate": "1950",
        "condition": [
          {
            "code": {
              "text": "Breast Cancer"
            },
            "onsetString": "Post menopause"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:d3d24ba7-f425-4c63-8444-cd7d6453bbb2",
      "resource": {
        "resourceType": "FamilyMemberHistory",
        "id": "d3d24ba7-f425-4c63-8444-cd7d6453bbb2",
        "meta": {
          "profile": [
            "http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/family-member-history"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"FamilyMemberHistory_d3d24ba7-f425-4c63-8444-cd7d6453bbb2\"> </a>FamilyMemberHistory 6be80d8c-4c63-41f1-b9b2-b06cb144afb1</div>"
        },
        "status": "completed",
        "patient": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "date": "2024-01-05",
        "relationship": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
              "code": "FTH"
            }
          ],
          "text": "Father"
        },
        "sex": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/administrative-gender",
              "code": "male"
            }
          ]
        },
        "ageString": "75",
        "condition": [
          {
            "code": {
              "text": "Hypertension"
            },
            "onsetString": "Mid 60's"
          }
        ]
      }
    }
  ]
}