{
  "resourceType": "Bundle",
  "id": "BundleSearchMiDocumentReferenceResponse",
  "type": "searchset",
  "timestamp": "2023-05-03T02:15:49.21+00:00",
  "total": 1,
  "entry": [
    {
      "fullUrl": "http://ontariohealth.ca/api/micdr/DocumentReference/docref-order1",
      "resource": {
        "resourceType": "DocumentReference",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-documentReference"
          ]
        },
        "contained": [
          {
            "resourceType": "PractitionerRole",
            "id": "practrole1",
            "meta": {
              "profile": [
                "http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-practitionerRole"
              ]
            },
            "practitioner": {
              "reference": "Practitioner/practitioner1"
            },
            "organization": {
              "reference": "Organization/org1"
            },
            "code": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/practitioner-role",
                    "code": "doctor",
                    "display": "Doctor"
                  }
                ]
              }
            ]
          }
        ],
        "id": "docref-order1",
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "ACSN",
                  "display": "Accession ID"
                }
              ]
            },
            "system": "urn:oid:2.16.840.1.113883.3.239.23.18.10",
            "value": "556677"
          }
        ],
        "status": "current",
        "docStatus": "final",
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "55115-0",
              "display": "Requested imaging studies information Document"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient1"
        },
        "date": "2023-05-13T22:43:41+00:00",
        "author": [
          {
            "reference": "#practrole1"
          }
        ],
        "custodian": {
          "reference": "Organization/org1"
        },
        "description": "Physical",
        "content": [
          {
            "attachment": {
              "url": "http://ontariohealth.ca/api/micdr/ServiceRequest/order1"
            }
          }
        ],
        "context": {
          "event": [
            {
              "coding": [
                {
                  "system": "http://dicom.nema.org/resources/ontology/DCM",
                  "code": "CT",
                  "display": "Computed Tomography"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "394914008",
                  "display": "Radiology"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "818983003",
                  "display": "Structure of abdominopelvic cavity and/or content of abdominopelvic cavity and/or anterior abdominal wall (body structure)"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "12921003",
                  "display": "Structure of pelvis (body structure)"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "31874001",
                  "display": "True (qualifier value)"
                }
              ]
            }
          ],
          "facilityType": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "284546000",
                "display": "Hospice"
              }
            ]
          },
          "practiceSetting": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "394914008",
                "display": "Radiology"
              }
            ]
          },
          "related": [
            {
              "reference": "DiagnosticReport/report1"
            }
          ]
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/api/micdr/DocumentReference/docref-report1",
      "resource": {
        "resourceType": "DocumentReference",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-documentReference"
          ]
        },
        "id": "docref-report1",
        "contained": [
          {
            "resourceType": "PractitionerRole",
            "id": "practrole1",
            "meta": {
              "profile": [
                "http://ontariohealth.ca/fhir/mi/StructureDefinition/ca-on-mi-profile-practitionerRole"
              ]
            },
            "practitioner": {
              "reference": "Practitioner/practitioner1"
            },
            "organization": {
              "reference": "Organization/org1"
            },
            "code": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/practitioner-role",
                    "code": "doctor",
                    "display": "Doctor"
                  }
                ]
              }
            ]
          }
        ],
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "ACSN",
                  "display": "Accession ID"
                }
              ]
            },
            "system": "urn:oid:2.16.840.1.113883.3.239.23.18.10",
            "value": "556677"
          }
        ],
        "status": "current",
        "docStatus": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.840.1.113883.3.239.23.18.10.1",
              "code": "AD45",
              "display": "MI Report"
            },
            {
              "system": "http://loinc.org",
              "code": "18748-4",
              "display": "Diagnostic Imaging Study"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient1"
        },
        "date": "2023-05-23T22:43:41+00:00",
        "author": [
          {
            "reference": "#practrole1"
          }
        ],
        "custodian": {
          "reference": "Organization/org1"
        },
        "description": "Physical",
        "content": [
          {
            "attachment": {
              "url": "http://ontariohealth.ca/api/micdr/DiagnosticReport/report1"
            }
          }
        ],
        "context": {
          "event": [
            {
              "coding": [
                {
                  "system": "http://dicom.nema.org/resources/ontology/DCM",
                  "code": "CT",
                  "display": "Computed Tomography"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "394914008",
                  "display": "Radiology"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "818983003",
                  "display": "Structure of abdominopelvic cavity and/or content of abdominopelvic cavity and/or anterior abdominal wall (body structure)"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "12921003",
                  "display": "Structure of pelvis (body structure)"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "31874001",
                  "display": "True (qualifier value)"
                }
              ]
            }
          ]
        },
        "search": {
          "mode": "match"
        }
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/api/micdr/Patient/patient1",
      "resource": {
        "resourceType": "Patient",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient"
          ]
        },
        "id": "patient1",
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MR"
                }
              ]
            },
            "system": "http://ehealthontario.ca/fhir/NamingSystem/id-cambridge-memorial-mrn",
            "value": "23456789"
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "JHN"
                }
              ]
            },
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
            "value": "1234567890"
          }
        ],
        "name": [
          {
            "use": "official",
            "family": "Onsmith1",
            "given": [
              "Onjohn1",
              "William"
            ],
            "suffix": [
              "III"
            ]
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "555-555-5555",
            "use": "work"
          }
        ],
        "gender": "male",
        "birthDate": "1926-02-24",
        "address": [
          {
            "use": "home",
            "type": "physical",
            "line": [
              "13 Boring St"
            ],
            "city": "Toronto",
            "state": "ON",
            "postalCode": "M1M M2M",
            "country": "CAN"
          }
        ],
        "communication": [
          {
            "language": {
              "coding": [
                {
                  "system": "urn:ietf:bcp:47",
                  "code": "en",
                  "display": "English"
                }
              ]
            }
          }
        ],
        "generalPractitioner": [
          {
            "reference": "Practitioner/practitioner1"
          }
        ]
      },
      "search": {
        "mode": "include"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/api/micdr/Practitioner/practitioner1",
      "resource": {
        "resourceType": "Practitioner",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-physician",
            "value": "12345"
          }
        ],
        "name": [
          {
            "family": "Adams",
            "given": [
              "Ben",
              "William"
            ],
            "prefix": [
              "Dr."
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/api/micdr/Organization/org1",
      "resource": {
        "resourceType": "Organization",
        "id": "org1",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi",
            "value": "1220043535"
          }
        ],
        "name": "Northern MI Lab",
        "telecom": [
          {
            "system": "phone",
            "value": "416-112-3333"
          }
        ]
      },
      "search": {
        "mode": "include"
      }
    },
    {
      "fullUrl": "http://ontariohealth.ca/api/micdr/Location/location1",
      "resource": {
        "resourceType": "Location",
        "id": "location1",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-location"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi",
            "value": "1220043534"
          }
        ],
        "name": "Northern MI Lab Location"
      },
      "search": {
        "mode": "include"
      }
    },
    {
      "resource": {
        "resourceType": "Practitioner",
        "id": "practitioner1",
        "meta": {
          "profile": [
            "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-physician",
            "value": "12345"
          }
        ],
        "name": [
          {
            "family": "Adams",
            "given": [
              "Ben",
              "William"
            ],
            "prefix": [
              "Dr."
            ]
          }
        ]
      },
      "search": {
        "mode": "include"
      },
      "fullUrl": "http://ontariohealth.ca/api/micdr/Practitioner/practitioner1"
    }
  ]
}