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

: Provide Document Bundle with complete Comprehensive metadata of one 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-comprehensiveProvideDocumentBundleComplete> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ex-comprehensiveProvideDocumentBundleComplete"] ;
  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-05T11:50:50-05:00"^^xsd:dateTime] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500001" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500001> ;
     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-e00555500002" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500002> ;
     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-e00555500004" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500004> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "List" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500003" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500003> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "Binary" ]
     ]
  ] .

<urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500001> a fhir:List ;
  fhir:Resource.id [ fhir:value "aaaaaaaa-bbbb-cccc-dddd-e00555500001"] ;
  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 "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"List_aaaaaaaa-bbbb-cccc-dddd-e00555500001\"> </a>SubmissionSet with Patient</div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Practitioner ;
     fhir:index 0 ;
     fhir:Resource.id [ fhir:value "in-practitionerRecipient" ] ;
     fhir:Practitioner.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "JohnMoehrke@gmail.com" ]
     ]
  ], [
     a fhir:Practitioner ;
     fhir:index 1 ;
     fhir:Resource.id [ fhir:value "in-practitionerAuthor" ] ;
     fhir:Practitioner.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "iti@ihe.net" ]
     ]
  ], [
     a fhir:Organization ;
     fhir:index 2 ;
     fhir:Resource.id [ fhir:value "in-organizationAuthor" ] ;
     fhir:Organization.name [ fhir:value "my Hospital" ]
  ] ;
  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:index 2 ;
     fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-intendedRecipient" ] ;
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "#in-practitionerRecipient" ]
     ]
  ] ;
  fhir:List.identifier [
     fhir:index 0 ;
     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.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46349" ]
  ] ;
  fhir:List.status [ fhir:value "current"] ;
  fhir:List.mode [ fhir:value "working"] ;
  fhir:List.title [ fhir:value "Hello World SubmissionSet"] ;
  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://hl7.org/fhir/Patient/ex-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/ex-patient" ]
  ] ;
  fhir:List.date [ fhir:value "2004-10-25T23:50:50-05:00"^^xsd:dateTime] ;
  fhir:List.source [
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-authorOrg" ] ;
       fhir:Extension.valueReference [
         fhir:Reference.reference [ fhir:value "#in-organizationAuthor" ]
       ]
     ] ;
     fhir:Reference.reference [ fhir:value "#in-practitionerAuthor" ]
  ] ;
  fhir:List.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Comments about Hello World SubmissionSet" ]
  ] ;
  fhir:List.entry [
     fhir:index 0 ;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500002" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500004" ]
     ]
  ] .

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

<urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500002> a fhir:DocumentReference ;
  fhir:Resource.id [ fhir:value "aaaaaaaa-bbbb-cccc-dddd-e00555500002"] ;
  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-e00555500002\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference aaaaaaaa-bbbb-cccc-dddd-e00555500002</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00555500002\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00555500002\"> </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:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 60591-5}\">Patient summary Document</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=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>date</b>: 2020-02-01 23:50:50-0500</p><p><b>author</b>: </p><ul><li><a href=\"#hcaaaaaaaa-bbbb-cccc-dddd-e00555500002/in-organizationAuthor\">Organization my Hospital</a></li><li><a href=\"#hcaaaaaaaa-bbbb-cccc-dddd-e00555500002/in-practitionerAuthor\">Practitioner: telecom = iti@ihe.net</a></li></ul><p><b>authenticator</b>: <a href=\"#hcaaaaaaaa-bbbb-cccc-dddd-e00555500002/in-organizationAuthor\">Organization my Hospital</a></p><h3>RelatesTos</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td style=\"display: none\">*</td><td>Appends</td><td><a href=\"DocumentReference-ex-DocumentReferenceComprehensive.html\">DocumentReference: masterIdentifier = OID:1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340; identifier = OID:1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340,UUID:0c287d32-01e3-4d87-9953-9fcc9404eb21; status = current; type = Addendum Document; category = History of Immunization note; date = 2020-12-31 23:50:50-0500; description = Example of a Comprehensive DocumentReference resource. This is fully filled for all mandatory elements and all optional elements.; securityLabel = normal</a></td></tr></table><p><b>description</b>: a complete comprehensive metadata document reference</p><p><b>securityLabel</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-Confidentiality R}\">restricted</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>Size</b></td><td><b>Hash</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain</td><td>English</td><td><a href=\"Bundle-ex-comprehensiveProvideDocumentBundleComplete.html#urn-uuid-aaaaaaaa-bbbb-cccc-dddd-e00555500003\">Binary: text/plain (16 bytes base64)</a></td><td>11</td><td><code>Ck1VqNd45QIvq3AZd8XYQLvEhtA=</code></td><td>Hello World</td><td>2020-02-01 23:50:50-0500</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-sd.58text.582008\">IHE Format Code set for use with Document Sharing: urn:ihe:iti:xds-sd:text:2008</a> (ITI XDS-SD TEXT)</p></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Event</b></td><td><b>Period</b></td><td><b>FacilityType</b></td><td><b>PracticeSetting</b></td><td><b>SourcePatientInfo</b></td><td><b>Related</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode PATDOC}\">patient documentation task</span></td><td>1990-02-01 23:50:50-0500 --&gt; 2020-02-01 23:50:50-0500</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-e00555500002/in-patient5\">Dee Schmidt  (no stated gender), DoB Unknown ( http://example.org/patients#mrn-1234)</a></td><td>Identifier: <a href=\"http://terminology.hl7.org/7.1.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt #xD;#xA;#xD;#xA;This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: #xD;#xA;#xD;#xA;Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:7d5bb8ac-68ee-4926-85e7-baaaaaaaaaad</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #in-patient5</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00555500002/in-patient5\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00555500002/in-patient5\"> </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><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization #in-organizationAuthor</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00555500002/in-organizationAuthor\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00555500002/in-organizationAuthor\"> </a><p><b>name</b>: my Hospital</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Practitioner #in-practitionerAuthor</b></p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00555500002/in-practitionerAuthor\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-dddd-e00555500002/in-practitionerAuthor\"> </a><p><b>telecom</b>: <a href=\"mailto:iti@ihe.net\">iti@ihe.net</a></p></blockquote></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Patient ;
     fhir:index 0 ;
     fhir:Resource.id [ fhir:value "in-patient5" ] ;
     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
       ]
     ]
  ], [
     a fhir:Organization ;
     fhir:index 1 ;
     fhir:Resource.id [ fhir:value "in-organizationAuthor" ] ;
     fhir:Organization.name [ fhir:value "my Hospital" ]
  ], [
     a fhir:Practitioner ;
     fhir:index 2 ;
     fhir:Resource.id [ fhir:value "in-practitionerAuthor" ] ;
     fhir:Practitioner.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "iti@ihe.net" ]
     ]
  ] ;
  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:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012" ]
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:60591-5 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "60591-5" ]
     ]
  ] ;
  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://hl7.org/fhir/Patient/ex-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/ex-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 "#in-organizationAuthor" ]
  ], [
     fhir:index 1 ;
     fhir:Reference.reference [ fhir:value "#in-practitionerAuthor" ]
  ] ;
  fhir:DocumentReference.authenticator [
     fhir:Reference.reference [ fhir:value "#in-organizationAuthor" ]
  ] ;
  fhir:DocumentReference.relatesTo [
     fhir:index 0 ;
     fhir:DocumentReference.relatesTo.code [ fhir:value "appends" ] ;
     fhir:DocumentReference.relatesTo.target [
       fhir:link <http://hl7.org/fhir/DocumentReference/ex-DocumentReferenceComprehensive> ;
       fhir:Reference.reference [ fhir:value "DocumentReference/ex-DocumentReferenceComprehensive" ]
     ]
  ] ;
  fhir:DocumentReference.description [ fhir:value "a complete comprehensive metadata document reference"] ;
  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 "R" ]
     ]
  ] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "text/plain" ] ;
       fhir:Attachment.language [ fhir:value "en" ] ;
       fhir:Attachment.url [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500003" ] ;
       fhir:Attachment.size [ fhir:value "11"^^xsd:nonNegativeInteger ] ;
       fhir:Attachment.hash [ fhir:value "Ck1VqNd45QIvq3AZd8XYQLvEhtA="^^xsd:base64Binary ] ;
       fhir:Attachment.title [ fhir:value "Hello World" ] ;
       fhir:Attachment.creation [ fhir:value "2020-02-01T23:50:50-05:00"^^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-sd:text:2008" ]
     ]
  ] ;
  fhir:DocumentReference.context [
     fhir:DocumentReference.context.event [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
         fhir:Coding.code [ fhir:value "PATDOC" ]
       ]
     ] ;
     fhir:DocumentReference.context.period [
       fhir:Period.start [ fhir:value "1990-02-01T23:50:50-05:00"^^xsd:dateTime ] ;
       fhir:Period.end [ fhir:value "2020-02-01T23:50:50-05:00"^^xsd:dateTime ]
     ] ;
     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 "#in-patient5" ]
     ] ;
     fhir:DocumentReference.context.related [
       fhir:index 0 ;
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
         fhir:Identifier.value [ fhir:value "urn:uuid:7d5bb8ac-68ee-4926-85e7-baaaaaaaaaad" ]
       ]
     ]
  ] .

<http://hl7.org/fhir/DocumentReference/ex-DocumentReferenceComprehensive> a fhir:DocumentReference .

<urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500004> a fhir:List ;
  fhir:Resource.id [ fhir:value "aaaaaaaa-bbbb-cccc-dddd-e00555500004"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.Folder" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.Folder>
     ] ;
     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 "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"List_aaaaaaaa-bbbb-cccc-dddd-e00555500004\"> </a>Folder with Patient</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-designationType" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:284548004 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "284548004" ]
       ]
     ]
  ] ;
  fhir:List.identifier [
     fhir:index 0 ;
     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.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46350" ]
  ] ;
  fhir:List.status [ fhir:value "current"] ;
  fhir:List.mode [ fhir:value "working"] ;
  fhir:List.title [ fhir:value "Example Folder with comprehensive metadata"] ;
  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 "folder" ]
     ]
  ] ;
  fhir:List.subject [
     fhir:link <http://hl7.org/fhir/Patient/ex-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/ex-patient" ]
  ] ;
  fhir:List.date [ fhir:value "2004-12-25T23:50:50-05:00"^^xsd:dateTime] ;
  fhir:List.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Folder for submission" ]
  ] ;
  fhir:List.entry [
     fhir:index 0 ;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500002" ]
     ]
  ] .

<urn:uuid:aaaaaaaa-bbbb-cccc-dddd-e00555500003> a fhir:Binary ;
  fhir:Resource.id [ fhir:value "aaaaaaaa-bbbb-cccc-dddd-e00555500003"] ;
  fhir:Resource.meta [
     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:Binary.contentType [ fhir:value "text/plain"] ;
  fhir:Binary.data [ fhir:value "SGVsbG8gV29ybGQ="^^xsd:base64Binary] .

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

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