{
  "resourceType": "Bundle",
  "id": "Bundle-PSAB-1.2.0-AllProfiles",
  "meta": {
    "extension": [
      {
        "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName",
        "extension": [
          {
            "url": "entityIdentifier",
            "valueIdentifier": {
              "type": {
                "coding": [
                  {
                    "code": "FI",
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                  }
                ]
              },
              "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-health-site-id-wdfa",
              "value": "12345"
            }
          },
          {
            "url": "entityName",
            "valueString": "Site Somewhere"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "submittingSite",
                  "system": "https://www.alberta.ca/fhir/CodeSystem/submission-metadata"
                }
              ]
            }
          }
        ]
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "EMR Vendor Y"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "emrVendorName",
                  "system": "https://www.alberta.ca/fhir/CodeSystem/submission-metadata"
                }
              ]
            }
          }
        ],
        "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName"
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "EMRVersion1.1.0"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "emrProductName",
                  "system": "https://www.alberta.ca/fhir/CodeSystem/submission-metadata"
                }
              ]
            }
          }
        ],
        "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName"
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "PS-AB"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "submissionIGType",
                  "system": "https://www.alberta.ca/fhir/CodeSystem/submission-metadata"
                }
              ]
            }
          }
        ],
        "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName"
      },
      {
        "extension": [
          {
            "url": "entityName",
            "valueString": "1.2.0"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "submissionIGVersion",
                  "system": "https://www.alberta.ca/fhir/CodeSystem/submission-metadata"
                }
              ]
            }
          }
        ],
        "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName"
      },
      {
        "extension": [
          {
            "url": "entityIdentifier",
            "valueIdentifier": {
              "type": {
                "coding": [
                  {
                    "code": "FI",
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                  }
                ]
              },
              "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-health-site-id-wdfa",
              "value": "45678"
            }
          },
          {
            "url": "entityName",
            "valueString": "Facility Somewhere"
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "serviceDeliverySite",
                  "system": "https://www.alberta.ca/fhir/CodeSystem/submission-metadata"
                }
              ]
            }
          }
        ],
        "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName"
      },
      {
        "extension": [
          {
            "url": "entityIdentifier",
            "valueIdentifier": {
              "type": {
                "coding": [
                  {
                    "code": "PRN",
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                  }
                ]
              },
              "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-health-service-provider-id",
              "value": "98765"
            }
          },
          {
            "url": "entityType",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "authoringProviderID",
                  "system": "https://www.alberta.ca/fhir/CodeSystem/submission-metadata"
                }
              ]
            }
          }
        ],
        "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName"
      }
    ],
    "profile": [
      "https://www.alberta.ca/fhir/psab/StructureDefinition/BundlePSAB"
    ],
    "security": [
      {
        "code": "R",
        "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
      }
    ]
  },
  "type": "document",
  "identifier": {
    "system": "http://fictional-identifier-system-uri.com",
    "value": "PSAB-1.2.0-AllProfiles"
  },
  "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/CompositionPSAB"
          ],
          "security": [
            {
              "code": "R",
              "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
            }
          ]
        },
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "60591-5",
              "display": "Patient summary Document"
            }
          ]
        },
        "title": "Patient Summary - AB",
        "confidentiality": "R",
        "custodian": {
          "display": "Alberta Health"
        },
        "section": [
          {
            "title": "Medication Summary",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "10160-0"
                }
              ]
            },
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/note",
                "valueAnnotation": {
                  "text": "Patient does not have drug coverage (Medication Section)"
                }
              }
            ],
            "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"
              }
            ]
          },
          {
            "title": "Allergies and Intolerances",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "48765-2"
                }
              ]
            },
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/note",
                "valueAnnotation": {
                  "text": "Patient does not have drug coverage (Allergies Section)"
                }
              }
            ],
            "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"
              }
            ]
          },
          {
            "title": "Problem List",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "11450-4"
                }
              ]
            },
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/note",
                "valueAnnotation": {
                  "text": "Patient does not have drug coverage (Problem List Section)"
                }
              }
            ],
            "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"
              }
            ]
          },
          {
            "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": [
                {
                  "code": "47519-4",
                  "system": "http://loinc.org"
                }
              ]
            },
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Procedure History</div>"
            },
            "emptyReason": {
              "text": "text-only"
            }
          },
          {
            "title": "Vital Signs",
            "code": {
              "coding": [
                {
                  "code": "8716-3",
                  "system": "http://loinc.org"
                }
              ]
            },
            "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"
              }
            ],
            "text": {
              "status": "generated",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Vital Signs</p></div>"
            }
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/note",
                "valueAnnotation": {
                  "text": "Patient attending smoking cessation sessions"
                }
              }
            ],
            "title": "Social History",
            "code": {
              "coding": [
                {
                  "code": "29762-2",
                  "system": "http://loinc.org"
                }
              ]
            },
            "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"
              }
            ]
          },
          {
            "title": "Family History",
            "code": {
              "coding": [
                {
                  "code": "10157-6",
                  "system": "http://loinc.org"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:6be80d8c-4c63-41f1-b9b2-b06cb144afb1"
              },
              {
                "reference": "urn:uuid:d3d24ba7-f425-4c63-8444-cd7d6453bbb2"
              }
            ],
            "text": {
              "status": "generated",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Family History</p></div>"
            }
          }
        ],
        "identifier": {
          "value": "Composition-PSAB-1.2.0-AllProfiles"
        },
        "text": {
          "status": "additional",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">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>"
        },
        "status": "final",
        "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"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:a3cf9ac3-c323-490e-87e4-88fbf65b9600",
      "resource": {
        "resourceType": "Practitioner",
        "id": "a3cf9ac3-c323-490e-87e4-88fbf65b9600",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/PractitionerPSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Practitioner a3cf9ac3-c323-490e-87e4-88fbf65b9600</div>"
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "code": "LN",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                }
              ]
            },
            "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/PractitionerRolePSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">PractitionerRole b5cf9ac3-c323-490e-87e4-88fbf65b9888</div>"
        },
        "practitioner": {
          "reference": "urn:uuid:a3cf9ac3-c323-490e-87e4-88fbf65b9600"
        },
        "code": [
          {
            "coding": [
              {
                "code": "MD",
                "system": "https://www.alberta.ca/fhir/abcore/CodeSystem/scptype-ab"
              }
            ]
          }
        ],
        "specialty": [
          {
            "coding": [
              {
                "code": "408443003",
                "system": "http://snomed.info/sct"
              }
            ],
            "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB"
          ]
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender",
            "extension": [
              {
                "url": "value",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "M",
                      "system": "http://terminology.hl7.org/CodeSystem/v2-0001"
                    }
                  ]
                }
              },
              {
                "url": "type",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "XCA04739-9"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "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": [
          {
            "name": {
              "family": "Test",
              "given": [
                "Maria"
              ]
            },
            "relationship": [
              {
                "coding": [
                  {
                    "code": "WIFE",
                    "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:a3138b3c-ff74-42e2-ad17-6ee17b3a078a",
      "resource": {
        "resourceType": "Location",
        "id": "a3138b3c-ff74-42e2-ad17-6ee17b3a078a",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/LocationPSAB"
          ]
        },
        "telecom": [
          {
            "system": "phone",
            "value": "555-555-5555"
          },
          {
            "system": "fax",
            "value": "555-123-4567"
          }
        ],
        "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",
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationStatementPSAB"
          ]
        },
        "status": "unknown",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">MedicationStatement 03cd9a05-597b-4d34-a203-ac5d8134eabd</div>"
        },
        "medicationReference": {
          "reference": "urn:uuid:5d1928a7-947e-416d-a121-0005f8a2887a"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2021-04-29",
        "dosage": [
          {
            "text": "300mg, 1 Tablet PO Daily, 3 months",
            "patientInstruction": "Some patient instruction...",
            "route": {
              "coding": [
                {
                  "code": "26643006",
                  "system": "http://snomed.info/sct",
                  "display": "Oral route"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 300,
                  "unit": "mg",
                  "system": "http://unitsofmeasure.org",
                  "code": "mg"
                }
              }
            ]
          }
        ],
        "note": [
          {
            "text": "Prozac not tolerated"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:407c998a-d316-4172-a01f-21f5849113ee",
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "407c998a-d316-4172-a01f-21f5849113ee",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationStatementPSAB"
          ]
        },
        "status": "unknown",
        "extension": [
          {
            "url": "http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction",
            "valueString": "(This is the rendered dosage): 500mg, 1 Tablet PO Daily, 3 months"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">MedicationStatement 407c998a-d316-4172-a01f-21f5849113ee</div>"
        },
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationStatementPSAB"
          ]
        },
        "status": "unknown",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">MedicationStatement 407c998a-d316-4172-a01f-21f5849113ee</div>"
        },
        "medicationReference": {
          "reference": "urn:uuid:41b2269a-7c8a-464e-9cf6-de84ef77fdce"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "dosage": [
          {
            "text": "5mg, 1 Tablet PO BID, 1 week"
          }
        ],
        "effectiveDateTime": "2020-02-29"
      }
    },
    {
      "fullUrl": "urn:uuid:5d1928a7-947e-416d-a121-0005f8a2887a",
      "resource": {
        "resourceType": "Medication",
        "id": "5d1928a7-947e-416d-a121-0005f8a2887a",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationPSAB"
          ]
        },
        "extension": [
          {
            "url": "http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description",
            "valueString": "50 mg"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Medication 5d1928a7-947e-416d-a121-0005f8a2887a</div>"
        },
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationPSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationPSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/AllergyIntolerancePSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">AllergyIntolerance ceea9c48-759d-4636-a11e-0a067b32973a</div>"
        },
        "clinicalStatus": {
          "coding": [
            {
              "code": "active",
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
              "display": "Active"
            }
          ]
        },
        "type": "allergy",
        "category": [
          "medication"
        ],
        "code": {
          "text": "Sulfa"
        },
        "patient": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "onsetDateTime": "2013-06",
        "recordedDate": "2023-07",
        "reaction": [
          {
            "manifestation": [
              {
                "text": "Rash, hives"
              }
            ],
            "description": "Patient is allergic to sulfa drugs which rash and/or hives"
          }
        ],
        "note": [
          {
            "text": "Use Bactrim for frequent UTI’s"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7",
      "resource": {
        "resourceType": "Condition",
        "id": "3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ConditionPSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Condition 3ea95c2b-cd7d-4ad4-b5f7-10c6563180e7</div>"
        },
        "clinicalStatus": {
          "coding": [
            {
              "code": "active",
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
            }
          ]
        },
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ConditionPSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Condition d538db9e-8562-4bff-9d18-89643589ad5e</div>"
        },
        "clinicalStatus": {
          "coding": [
            {
              "code": "active",
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
            }
          ]
        },
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationBMIPSAB"
          ]
        },
        "status": "final",
        "valueQuantity": {
          "system": "http://unitsofmeasure.org",
          "code": "kg/m2",
          "value": 25.8,
          "unit": "kg/m2"
        },
        "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]"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Observation 6c4b6a3e-2c64-4de3-b23e-e435347052e6</div>"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2019-12-02",
        "performer": [
          {
            "reference": "urn:uuid:b5cf9ac3-c323-490e-87e4-88fbf65b9888"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:77537ea0-85a1-40d0-88e7-9f488a3ba174",
      "resource": {
        "resourceType": "Observation",
        "id": "77537ea0-85a1-40d0-88e7-9f488a3ba174",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationBodyHeightPSAB"
          ]
        },
        "status": "final",
        "valueQuantity": {
          "system": "http://unitsofmeasure.org",
          "value": 177.8,
          "code": "cm",
          "unit": "cm"
        },
        "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"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Observation (Body Height) 77537ea0-85a1-40d0-88e7-9f488a3ba174</div>"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2016-07-02",
        "performer": [
          {
            "reference": "urn:uuid:b5cf9ac3-c323-490e-87e4-88fbf65b9888"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:9a9891a6-aaa8-4c66-88d2-bb67800d36d0",
      "resource": {
        "resourceType": "Observation",
        "id": "9a9891a6-aaa8-4c66-88d2-bb67800d36d0",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationBodyWeightPSAB"
          ]
        },
        "status": "final",
        "valueQuantity": {
          "system": "http://unitsofmeasure.org",
          "value": 180,
          "code": "[lb_av]",
          "unit": "[lb_av]"
        },
        "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"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Observation (Body Weight) 9a9891a6-aaa8-4c66-88d2-bb67800d36d0</div>"
        },
        "performer": [
          {
            "reference": "urn:uuid:b5cf9ac3-c323-490e-87e4-88fbf65b9888"
          }
        ],
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2019-12-02"
      }
    },
    {
      "fullUrl": "urn:uuid:5d882fe0-dcdd-47ca-85f2-ccfc90159bde",
      "resource": {
        "resourceType": "Observation",
        "id": "5d882fe0-dcdd-47ca-85f2-ccfc90159bde",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationHeadCircumPSAB"
          ]
        },
        "status": "final",
        "valueQuantity": {
          "system": "http://unitsofmeasure.org",
          "value": 55.2,
          "code": "cm",
          "unit": "cm"
        },
        "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"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Observation (Head Circumference) 5d882fe0-dcdd-47ca-85f2-ccfc90159bde</div>"
        },
        "subject": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "effectiveDateTime": "2024-01-05",
        "performer": [
          {
            "reference": "urn:uuid:b5cf9ac3-c323-490e-87e4-88fbf65b9888"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:33acf3e5-7f39-4d03-a4e9-6933833e2df1",
      "resource": {
        "resourceType": "Observation",
        "id": "33acf3e5-7f39-4d03-a4e9-6933833e2df1",
        "meta": {
          "profile": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationSocialHistoryPSAB"
          ]
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "social-history",
                "display": "Social History"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Observation (Social History - General) 33acf3e5-7f39-4d03-a4e9-6933833e2df1</div>"
        },
        "status": "final",
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationSocialHistoryPSAB"
          ]
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "social-history",
                "display": "Social History"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Observation (Social History - General) 2df99df4-465e-4bab-9313-fbe9117f1d37</div>"
        },
        "status": "final",
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationSocialHistoryPSAB"
          ]
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "social-history",
                "display": "Social History"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Observation (Social History - General) 9da812e0-d4d5-445e-9eb4-2c9f3563b3fd</div>"
        },
        "status": "final",
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/FamilyMemberHistoryPSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">FamilyMemberHistory 6be80d8c-4c63-41f1-b9b2-b06cb144afb1</div>"
        },
        "status": "completed",
        "patient": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "relationship": {
          "coding": [
            {
              "code": "MTH",
              "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
            }
          ],
          "text": "Mother"
        },
        "sex": {
          "coding": [
            {
              "code": "female"
            }
          ]
        },
        "bornDate": "1950",
        "date": "2024-01-05",
        "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": [
            "https://www.alberta.ca/fhir/psab/StructureDefinition/FamilyMemberHistoryPSAB"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">FamilyMemberHistory 6be80d8c-4c63-41f1-b9b2-b06cb144afb1</div>"
        },
        "status": "completed",
        "patient": {
          "reference": "urn:uuid:d520ecd1-76a0-4894-b895-b8a5a971954e"
        },
        "relationship": {
          "coding": [
            {
              "code": "FTH",
              "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
            }
          ],
          "text": "Father"
        },
        "date": "2024-01-05",
        "sex": {
          "coding": [
            {
              "code": "male"
            }
          ]
        },
        "ageString": "75",
        "condition": [
          {
            "code": {
              "text": "Hypertension"
            },
            "onsetString": "Mid 60's"
          }
        ]
      }
    }
  ]
}