Mobile access to Health Documents (MHD)
4.2.5-comment - ballot International flag

Mobile access to Health Documents (MHD), published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 4.2.5-comment built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/ITI.MHD/ and changes regularly. See the Directory of published versions

: Example Provide Bundle with a FHIR-Document - TTL Representation

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Bundle/ex-comprehensiveProvideDocumentBundleDocument> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ex-comprehensiveProvideDocumentBundleDocument"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle>
     ] ;
     fhir:Meta.security [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ] ;
       fhir:Coding.code [ fhir:value "HTEST" ]
     ]
  ] ;
  fhir:Bundle.type [ fhir:value "transaction"] ;
  fhir:Bundle.timestamp [ fhir:value "2004-10-25T23:50:50-05:00"^^xsd:dateTime] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800001" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800001> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "List" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800002" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800002> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "DocumentReference" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800003" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800003> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Bundle" ]
     ]
  ] .

<urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800001> a fhir:List ;
  fhir:Resource.id [ fhir:value "aaaaaaaa-bbbb-cccc-dddd-e00888800001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet>
     ] ;
     fhir:Meta.security [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ] ;
       fhir:Coding.code [ fhir:value "HTEST" ]
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"List_aaaaaaaa-bbbb-cccc-dddd-e00888800001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: List aaaaaaaa-bbbb-cccc-dddd-e00888800001</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00888800001\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00888800001\"> </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-IHE.MHD.Comprehensive.SubmissionSet.html\">MHD SubmissionSet Comprehensive</a></p><p style=\"margin-bottom: 0px\">Security Label: <a href=\"http://terminology.hl7.org/7.2.0/CodeSystem-v3-ActReason.html\">test health data (Details: ActReason code HTEST = 'test health data')</a></p></div><table class=\"clstu\"><tr><td>Date: 2004-10-25 23:50:50-0500 </td><td>Mode: Working List </td><td>Status: Current </td><td>Code: SubmissionSet as a FHIR List </td></tr><tr><td>Subject: <a href=\"Bundle-ex-fhir-document-bundle.html#http-//example.org/fhir/Patient/fdoc-patient\">Eve Everywoman Female, DoB: 1955-01-06</a></td></tr></table><table class=\"grid\"><tr style=\"backgound-color: #eeeeee\"><td><b>Items</b></td></tr><tr><td><a href=\"Bundle-ex-comprehensiveProvideDocumentBundleDocument.html#urn-uuid-aaaaaaaa-bbbb-cccc-dddd-e00888800002\">DocumentReference: masterIdentifier = UUID:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0; identifier = UUID:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0,UUID:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d; status = current; type = Attending Discharge summary; category = History of Immunization note; date = 2020-02-01 23:50:50-0500; securityLabel = normal</a></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:225728007 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "225728007" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId" ] ;
     fhir:Extension.valueIdentifier [
       fhir:Identifier.value [ fhir:value "urn:oid:1.2.3.4" ]
     ]
  ] ;
  fhir:List.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType" ] ;
         fhir:Coding.code [ fhir:value "entryUUID" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:uuid:5d3d3a7d-82a6-4fe0-8d87-ee2cb87fa219" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "usual" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType" ] ;
         fhir:Coding.code [ fhir:value "uniqueId" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:1.2.129.6.58.92.88337.1" ]
  ] ;
  fhir:List.status [ fhir:value "current"] ;
  fhir:List.mode [ fhir:value "working"] ;
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes" ] ;
       fhir:Coding.code [ fhir:value "submissionset" ]
     ]
  ] ;
  fhir:List.subject [
     fhir:link <http://example.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "http://example.org/fhir/Patient/fdoc-patient" ]
  ] ;
  fhir:List.date [ fhir:value "2004-10-25T23:50:50-05:00"^^xsd:dateTime] ;
  fhir:List.entry [
     fhir:index 0 ;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800002" ]
     ]
  ] .

<urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800002> a fhir:DocumentReference ;
  fhir:Resource.id [ fhir:value "aaaaaaaa-bbbb-cccc-dddd-e00888800002"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference>
     ] ;
     fhir:Meta.security [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ] ;
       fhir:Coding.code [ fhir:value "HTEST" ]
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_aaaaaaaa-bbbb-cccc-dddd-e00888800002\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference aaaaaaaa-bbbb-cccc-dddd-e00888800002</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00888800002\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00888800002\"> </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-IHE.MHD.Comprehensive.DocumentReference.html\">MHD DocumentReference Comprehensive</a></p><p style=\"margin-bottom: 0px\">Security Label: <a href=\"http://terminology.hl7.org/7.2.0/CodeSystem-v3-ActReason.html\">test health data (Details: ActReason code HTEST = 'test health data')</a></p></div><p><b>masterIdentifier</b>: Identifier type for XDS UniqueId/urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0</p><p><b>identifier</b>: Identifier type for XDS UniqueId/urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0, Identifier type for XDS entryUUID/urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 28655-9}\">Attending Discharge summary</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 11369-6}\">History of Immunization note</span></p><p><b>subject</b>: <a href=\"Bundle-ex-fhir-document-bundle.html#http-//example.org/fhir/Patient/fdoc-patient\">Eve Everywoman Female, DoB: 1955-01-06</a></p><p><b>date</b>: 2020-02-01 23:50:50-0500</p><p><b>author</b>: <a href=\"#hcaaaaaaaa-bbbb-cccc-dddd-e00888800002/fdoc-practitioner\">Practitioner Adam Careful </a></p><p><b>securityLabel</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-Confidentiality N}\">normal</span></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Language</b></td><td><b>Url</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/fhir+json</td><td>English</td><td><a href=\"Bundle-ex-comprehensiveProvideDocumentBundleDocument.html#urn-uuid-aaaaaaaa-bbbb-cccc-dddd-e00888800003\">Bundle: identifier = UUID:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0; type = document; timestamp = 2013-05-28 22:12:21+0000</a></td><td>Discharge Summary from Responsible Clinician</td><td>2013-05-28 22:12:21+0000</td></tr></table><p><b>format</b>: <a href=\"https://profiles.ihe.net/fhir/ihe.formatcode.fhir/1.5.0/CodeSystem-formatcode.html#formatcode-urn.58ihe.58iti.58xds.582017.58mimeTypeSufficient\">IHE Format Code set for use with Document Sharing: urn:ihe:iti:xds:2017:mimeTypeSufficient</a> (mimeType Sufficient)</p></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Encounter</b></td><td><b>FacilityType</b></td><td><b>PracticeSetting</b></td><td><b>SourcePatientInfo</b></td></tr><tr><td style=\"display: none\">*</td><td>Identifier: <code>https://www.example.org/encounters</code>/S100</td><td><span title=\"Codes:{http://snomed.info/sct 82242000}\">Children's hospital</span></td><td><span title=\"Codes:{http://snomed.info/sct 408467006}\">Adult mental illness - specialty (qualifier value)</span></td><td><a href=\"#hcaaaaaaaa-bbbb-cccc-dddd-e00888800002/aaaaaaaa-bbbb-cccc-dddd-e00888800004\">Dee Schmidt  (no stated gender), DoB Unknown ( http://example.org/patients#mrn-1234)</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Practitioner #fdoc-practitioner</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00888800002/fdoc-practitioner\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00888800002/fdoc-practitioner\"> </a><p><b>identifier</b>: <code>http://www.acme.org/practitioners</code>/23</p><p><b>name</b>: Adam Careful </p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #aaaaaaaa-bbbb-cccc-dddd-e00888800004</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00888800002/aaaaaaaa-bbbb-cccc-dddd-e00888800004\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00888800002/aaaaaaaa-bbbb-cccc-dddd-e00888800004\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Dee Schmidt  (no stated gender), DoB Unknown ( http://example.org/patients#mrn-1234)</p><hr/></blockquote></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Practitioner ;
     fhir:index 0 ;
     fhir:Resource.id [ fhir:value "fdoc-practitioner" ] ;
     fhir:Practitioner.identifier [
       fhir:index 0 ;
       fhir:Identifier.system [ fhir:value "http://www.acme.org/practitioners" ] ;
       fhir:Identifier.value [ fhir:value "23" ]
     ] ;
     fhir:Practitioner.name [
       fhir:index 0 ;
       fhir:HumanName.family [ fhir:value "Careful" ] ;
       fhir:HumanName.given [
         fhir:value "Adam" ;
         fhir:index 0
       ] ;
       fhir:HumanName.prefix [
         fhir:value "Dr" ;
         fhir:index 0
       ]
     ]
  ], [
     a fhir:Patient ;
     fhir:index 1 ;
     fhir:Resource.id [ fhir:value "aaaaaaaa-bbbb-cccc-dddd-e00888800004" ] ;
     fhir:Patient.identifier [
       fhir:index 0 ;
       fhir:Identifier.system [ fhir:value "http://example.org/patients" ] ;
       fhir:Identifier.value [ fhir:value "mrn-1234" ]
     ] ;
     fhir:Patient.name [
       fhir:index 0 ;
       fhir:HumanName.family [ fhir:value "Schmidt" ] ;
       fhir:HumanName.given [
         fhir:value "Dee" ;
         fhir:index 0
       ]
     ]
  ] ;
  fhir:DocumentReference.masterIdentifier [
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType" ] ;
         fhir:Coding.code [ fhir:value "uniqueId" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0" ]
  ] ;
  fhir:DocumentReference.identifier [
     fhir:index 0 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType" ] ;
         fhir:Coding.code [ fhir:value "uniqueId" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType" ] ;
         fhir:Coding.code [ fhir:value "entryUUID" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d" ]
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:28655-9 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "28655-9" ]
     ]
  ] ;
  fhir:DocumentReference.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:11369-6 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "11369-6" ]
     ]
  ] ;
  fhir:DocumentReference.subject [
     fhir:link <http://example.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "http://example.org/fhir/Patient/fdoc-patient" ]
  ] ;
  fhir:DocumentReference.date [ fhir:value "2020-02-01T23:50:50-05:00"^^xsd:dateTime] ;
  fhir:DocumentReference.author [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "#fdoc-practitioner" ]
  ] ;
  fhir:DocumentReference.securityLabel [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ] ;
       fhir:Coding.code [ fhir:value "N" ] ;
       fhir:Coding.display [ fhir:value "normal" ]
     ]
  ] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "application/fhir+json" ] ;
       fhir:Attachment.language [ fhir:value "en" ] ;
       fhir:Attachment.url [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800003" ] ;
       fhir:Attachment.title [ fhir:value "Discharge Summary from Responsible Clinician" ] ;
       fhir:Attachment.creation [ fhir:value "2013-05-28T22:12:21Z"^^xsd:dateTime ]
     ] ;
     fhir:DocumentReference.content.format [
       fhir:Coding.system [ fhir:value "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode" ] ;
       fhir:Coding.code [ fhir:value "urn:ihe:iti:xds:2017:mimeTypeSufficient" ]
     ]
  ] ;
  fhir:DocumentReference.context [
     fhir:DocumentReference.context.encounter [
       fhir:index 0 ;
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://www.example.org/encounters" ] ;
         fhir:Identifier.value [ fhir:value "S100" ]
       ]
     ] ;
     fhir:DocumentReference.context.facilityType [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:82242000 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "82242000" ]
       ]
     ] ;
     fhir:DocumentReference.context.practiceSetting [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:408467006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "408467006" ]
       ]
     ] ;
     fhir:DocumentReference.context.sourcePatientInfo [
       fhir:Reference.reference [ fhir:value "#aaaaaaaa-bbbb-cccc-dddd-e00888800004" ]
     ]
  ] .

<urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00888800003> a fhir:Bundle ;
  fhir:Resource.id [ fhir:value "ex-fhir-document-bundle"] ;
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2013-05-28T22:12:21Z"^^xsd:dateTime ]
  ] ;
  fhir:Bundle.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0" ]
  ] ;
  fhir:Bundle.type [ fhir:value "document"] ;
  fhir:Bundle.timestamp [ fhir:value "2013-05-28T22:12:21Z"^^xsd:dateTime] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Composition/180f219f-97a8-486d-99d9-ed631fe4fc57" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/Composition/180f219f-97a8-486d-99d9-ed631fe4fc57>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Practitioner/fdoc-practitioner" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/Practitioner/fdoc-practitioner>
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Patient/fdoc-patient" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/Patient/fdoc-patient>
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Encounter/fdoc-encounter" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/Encounter/fdoc-encounter>
  ], [
     fhir:index 4 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Observation/fdoc-observation" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/Observation/fdoc-observation>
  ], [
     fhir:index 5 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/MedicationRequest/fdoc-medicationrequest" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/MedicationRequest/fdoc-medicationrequest>
  ], [
     fhir:index 6 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/MedicationStatement/fdoc-medicationstatement" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/MedicationStatement/fdoc-medicationstatement>
  ], [
     fhir:index 7 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/AllergyIntolerance/fdoc-allergyintolerance" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/AllergyIntolerance/fdoc-allergyintolerance>
  ] .

<http://example.org/fhir/Composition/180f219f-97a8-486d-99d9-ed631fe4fc57> a fhir:Composition ;
  fhir:Resource.id [ fhir:value "180f219f-97a8-486d-99d9-ed631fe4fc57"] ;
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2013-05-28T22:12:21Z"^^xsd:dateTime ]
  ] ;
  fhir:Composition.status [ fhir:value "final"] ;
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:28655-9 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "28655-9" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Discharge Summary from Responsible Clinician" ]
  ] ;
  fhir:Composition.subject [
     fhir:link <http://hl7.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/fdoc-patient" ]
  ] ;
  fhir:Composition.encounter [
     fhir:link <http://hl7.org/fhir/Encounter/fdoc-encounter> ;
     fhir:Reference.reference [ fhir:value "Encounter/fdoc-encounter" ]
  ] ;
  fhir:Composition.date [ fhir:value "2013-02-01T12:30:02Z"^^xsd:dateTime] ;
  fhir:Composition.author [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/Practitioner/fdoc-practitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/fdoc-practitioner" ]
  ] ;
  fhir:Composition.title [ fhir:value "Discharge Summary"] ;
  fhir:Composition.section [
     fhir:index 0 ;
     fhir:Composition.section.title [ fhir:value "Reason for admission" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:29299-5 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "29299-5" ] ;
         fhir:Coding.display [ fhir:value "Reason for visit Narrative" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><thead><tr><td>Details</td><td/></tr></thead><tbody><tr><td>Acute Asthmatic attack. Was wheezing for days prior to admission.</td><td/></tr></tbody></table></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/Observation/fdoc-observation> ;
       fhir:Reference.reference [ fhir:value "Observation/fdoc-observation" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Composition.section.title [ fhir:value "Medications on Discharge" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:10183-2 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "10183-2" ] ;
         fhir:Coding.display [ fhir:value "Hospital discharge medications Narrative" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><thead><tr><td>Medication</td><td>Last Change</td><td>Last ChangeReason</td></tr></thead><tbody><tr><td>Theophylline 200mg BD after meals</td><td>continued</td></tr><tr><td>Ventolin Inhaler</td><td>stopped</td><td>Getting side effect of tremor</td></tr></tbody></table></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/MedicationRequest/fdoc-medicationrequest> ;
       fhir:Reference.reference [ fhir:value "MedicationRequest/fdoc-medicationrequest" ]
     ], [
       fhir:index 1 ;
       fhir:link <http://hl7.org/fhir/MedicationStatement/fdoc-medicationstatement> ;
       fhir:Reference.reference [ fhir:value "MedicationStatement/fdoc-medicationstatement" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Composition.section.title [ fhir:value "Known allergies" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:48765-2 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "48765-2" ] ;
         fhir:Coding.display [ fhir:value "Allergies and adverse reactions Document" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><thead><tr><td>Allergen</td><td>Reaction</td></tr></thead><tbody><tr><td>Doxycycline</td><td>Hives</td></tr></tbody></table></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/AllergyIntolerance/fdoc-allergyintolerance> ;
       fhir:Reference.reference [ fhir:value "AllergyIntolerance/fdoc-allergyintolerance" ]
     ]
  ] .

<http://hl7.org/fhir/Patient/fdoc-patient> a fhir:Patient .

<http://hl7.org/fhir/Encounter/fdoc-encounter> a fhir:Encounter .

<http://hl7.org/fhir/Practitioner/fdoc-practitioner> a fhir:Practitioner .

<http://hl7.org/fhir/Observation/fdoc-observation> a fhir:Observation .

<http://hl7.org/fhir/MedicationRequest/fdoc-medicationrequest> a fhir:MedicationRequest .

<http://hl7.org/fhir/MedicationStatement/fdoc-medicationstatement> a fhir:MedicationStatement .

<http://hl7.org/fhir/AllergyIntolerance/fdoc-allergyintolerance> a fhir:AllergyIntolerance .

<http://example.org/fhir/Practitioner/fdoc-practitioner> a fhir:Practitioner ;
  fhir:Resource.id [ fhir:value "fdoc-practitioner"] ;
  fhir:Practitioner.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://www.acme.org/practitioners" ] ;
     fhir:Identifier.value [ fhir:value "23" ]
  ] ;
  fhir:Practitioner.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Careful" ] ;
     fhir:HumanName.given [
       fhir:value "Adam" ;
       fhir:index 0
     ] ;
     fhir:HumanName.prefix [
       fhir:value "Dr" ;
       fhir:index 0
     ]
  ] .

<http://example.org/fhir/Patient/fdoc-patient> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "fdoc-patient"] ;
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "Eve Everywoman" ] ;
     fhir:HumanName.family [ fhir:value "Everywoman1" ] ;
     fhir:HumanName.given [
       fhir:value "Eve" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "555-555-2003" ] ;
     fhir:ContactPoint.use [ fhir:value "work" ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1955-01-06"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.use [ fhir:value "home" ] ;
     fhir:Address.line [
       fhir:value "2222 Home Street" ;
       fhir:index 0
     ]
  ] .

<http://example.org/fhir/Encounter/fdoc-encounter> a fhir:Encounter ;
  fhir:Resource.id [ fhir:value "fdoc-encounter"] ;
  fhir:Encounter.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://www.example.org/encounters" ] ;
     fhir:Identifier.value [ fhir:value "S100" ]
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
     fhir:Coding.code [ fhir:value "IMP" ] ;
     fhir:Coding.display [ fhir:value "inpatient encounter" ]
  ] ;
  fhir:Encounter.type [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "Orthopedic Admission" ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <http://hl7.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/fdoc-patient" ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2013-01-20T12:30:02Z"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2013-02-01T12:30:02Z"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.hospitalization [
     fhir:Encounter.hospitalization.dischargeDisposition [
       fhir:CodeableConcept.text [ fhir:value "Discharged to care of GP" ]
     ]
  ] .

<http://example.org/fhir/Observation/fdoc-observation> a fhir:Observation ;
  fhir:Resource.id [ fhir:value "fdoc-observation"] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:46241-6 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "46241-6" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Reason for admission" ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://hl7.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/fdoc-patient" ]
  ] ;
  fhir:Observation.encounter [
     fhir:link <http://hl7.org/fhir/Encounter/fdoc-encounter> ;
     fhir:Reference.reference [ fhir:value "Encounter/fdoc-encounter" ]
  ] ;
  fhir:Observation.valueString [ fhir:value "Acute Asthmatic attack. Was wheezing for days prior to admission."] .

<http://example.org/fhir/MedicationRequest/fdoc-medicationrequest> a fhir:MedicationRequest ;
  fhir:Resource.id [ fhir:value "fdoc-medicationrequest"] ;
  fhir:MedicationRequest.status [ fhir:value "unknown"] ;
  fhir:MedicationRequest.intent [ fhir:value "order"] ;
  fhir:MedicationRequest.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:66493003 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "66493003" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Theophylline 200mg" ]
  ] ;
  fhir:MedicationRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/fdoc-patient" ]
  ] ;
  fhir:MedicationRequest.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/fdoc-practitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/fdoc-practitioner" ]
  ] ;
  fhir:MedicationRequest.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "Management of Asthma" ]
  ] ;
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.additionalInstruction [
       fhir:index 0 ;
       fhir:CodeableConcept.text [ fhir:value "Take with Food" ]
     ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ] ;
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:394899003 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "394899003" ] ;
         fhir:Coding.display [ fhir:value "oral administration of treatment" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.type [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ] ;
           fhir:Coding.code [ fhir:value "ordered" ] ;
           fhir:Coding.display [ fhir:value "Ordered" ]
         ]
       ] ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "tablet" ] ;
         fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
         fhir:Quantity.code [ fhir:value "TAB" ]
       ]
     ]
  ] .

<http://example.org/fhir/MedicationStatement/fdoc-medicationstatement> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "fdoc-medicationstatement"] ;
  fhir:MedicationStatement.status [ fhir:value "active"] ;
  fhir:MedicationStatement.statusReason [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "Management of Asthma" ]
  ] ;
  fhir:MedicationStatement.medicationCodeableConcept [
     fhir:CodeableConcept.text [ fhir:value "Ventolin Inhaler" ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:link <http://hl7.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/fdoc-patient" ]
  ] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2013-05-05T16:13:03Z"^^xsd:dateTime] .

<http://example.org/fhir/AllergyIntolerance/fdoc-allergyintolerance> a fhir:AllergyIntolerance ;
  fhir:Resource.id [ fhir:value "fdoc-allergyintolerance"] ;
  fhir:AllergyIntolerance.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ] ;
       fhir:Coding.code [ fhir:value "active" ] ;
       fhir:Coding.display [ fhir:value "Active" ]
     ]
  ] ;
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ] ;
       fhir:Coding.code [ fhir:value "confirmed" ] ;
       fhir:Coding.display [ fhir:value "Confirmed" ]
     ]
  ] ;
  fhir:AllergyIntolerance.type [ fhir:value "allergy"] ;
  fhir:AllergyIntolerance.criticality [ fhir:value "high"] ;
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.text [ fhir:value "Doxycycline" ]
  ] ;
  fhir:AllergyIntolerance.patient [
     fhir:link <http://hl7.org/fhir/Patient/fdoc-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/fdoc-patient" ]
  ] ;
  fhir:AllergyIntolerance.recordedDate [ fhir:value "2012-09-17"^^xsd:date] ;
  fhir:AllergyIntolerance.reaction [
     fhir:index 0 ;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0 ;
       fhir:CodeableConcept.text [ fhir:value "Hives" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Bundle/ex-comprehensiveProvideDocumentBundleDocument.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Bundle/ex-comprehensiveProvideDocumentBundleDocument.ttl> .