Mobile access to Health Documents (MHD)
4.2.3-current - ci-build 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.3-current 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 Comprehensive metadata of one document which replaces another document - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://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 -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-comprehensiveProvideDocumentBundleReplace"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:timestamp [ fhir:v "2020-02-02T23:50:50-05:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300001"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300001> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "List"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:aaaaaaaa-bbbb-cccc-ffff-e00333300002"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:aaaaaaaa-bbbb-cccc-ffff-e00333300002> ) ;
fhir:request [
fhir:method [ fhir:v "PATCH" ] ;
fhir:url [ fhir:v "DocumentReference/ex-documentreference"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300002"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300002> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "DocumentReference"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300003"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300003> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Binary"^^xsd:anyURI ]     ]
  ] ) . # 

<urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300001> a fhir:List ;
  fhir:id [ fhir:v "aaaaaaaa-bbbb-cccc-eeee-e00333300001"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">SubmissionSet with Patient</div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
a sct:225728007 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "225728007" ]       ] )     ]
  ] [
fhir:url [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId"^^xsd:anyURI ] ;
fhir:value [
a fhir:Identifier ;
fhir:value [ fhir:v "urn:oid:1.2.3.4" ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "usual" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46347" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:mode [ fhir:v "working"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "submissionset" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ; # 
  fhir:date [ fhir:v "2020-02-02T23:50:50-05:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:item [
fhir:reference [ fhir:v "urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300002" ]     ]
  ] ) . # 

<urn:uuid:aaaaaaaa-bbbb-cccc-ffff-e00333300002> a fhir:Parameters ;
  fhir:id [ fhir:v "aaaaaaaa-bbbb-cccc-ffff-e00333300002"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Patch.Parameters"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Patch.Parameters>     ] )
  ] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "operation" ] ;
    ( fhir:part [
fhir:name [ fhir:v "path" ] ;
fhir:value [ fhir:v "DocumentReference.status" ]     ] [
fhir:name [ fhir:v "type" ] ;
fhir:value [ fhir:v "replace" ]     ] [
fhir:name [ fhir:v "value" ] ;
fhir:value [ fhir:v "superseded" ]     ] )
  ] ) . # 

<urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300002> a fhir:DocumentReference ;
  fhir:id [ fhir:v "aaaaaaaa-bbbb-cccc-eeee-e00333300002"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_aaaaaaaa-bbbb-cccc-eeee-e00333300002\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference aaaaaaaa-bbbb-cccc-eeee-e00333300002</b></p><a name=\"aaaaaaaa-bbbb-cccc-eeee-e00333300002\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-eeee-e00333300002\"> </a><a name=\"aaaaaaaa-bbbb-cccc-eeee-e00333300002-en-US\"> </a><p><b>masterIdentifier</b>: <a href=\"http://terminology.hl7.org/5.5.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 \r\n\r\nThis 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: \r\n\r\nNote 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.\r\n\r\nThis OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/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 Narrative</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-02 23:50:50-0500</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>Replaces</td><td><a href=\"DocumentReference-ex-documentreference.html\">DocumentReference: status = current</a></td></tr></table><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-comprehensiveProvideDocumentBundleReplace.html#urn-uuid-aaaaaaaa-bbbb-cccc-eeee-e00333300003\">Bundle: type = transaction; timestamp = 2020-02-02 23:50:50-0500</a></td><td>24</td><td><code>ZThlMzE3MjE0MzAwMTU4N2NiNzUwODQ0NmFhMDkyZWI1MTk5NTgwOQ==</code></td><td>Thanks for all the fish</td><td>2020-02-02 23:50:50-0500</td></tr></table><p><b>format</b>: <a href=\"https://profiles.ihe.net/fhir/ihe.formatcode.fhir/1.3.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>FacilityType</b></td><td><b>PracticeSetting</b></td><td><b>SourcePatientInfo</b></td></tr><tr><td style=\"display: none\">*</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-eeee-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300004\">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: Patient  #aaaaaaaa-bbbb-cccc-dddd-e00333300004</b></p><a name=\"aaaaaaaa-bbbb-cccc-eeee-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300004\"> </a><a name=\"hcaaaaaaaa-bbbb-cccc-eeee-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300004\"> </a><a name=\"aaaaaaaa-bbbb-cccc-eeee-e00333300002/aaaaaaaa-bbbb-cccc-dddd-e00333300004-en-US\"> </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:contained ( [
a fhir:Patient ;
fhir:id [ fhir:v "aaaaaaaa-bbbb-cccc-dddd-e00333300004" ] ;
    ( fhir:identifier [
fhir:system [ fhir:v "http://example.org/patients"^^xsd:anyURI ] ;
fhir:value [ fhir:v "mrn-1234" ]     ] ) ;
    ( fhir:name [
fhir:family [ fhir:v "Schmidt" ] ;
      ( fhir:given [ fhir:v "Dee" ] )     ] )
  ] ) ; # 
  fhir:masterIdentifier [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012" ]
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
    ( fhir:coding [
a loinc:60591-5 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "60591-5" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:11369-6 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "11369-6" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ; # 
  fhir:date [ fhir:v "2020-02-02T23:50:50-05:00"^^xsd:dateTime] ; # 
  fhir:relatesTo ( [
fhir:code [ fhir:v "replaces" ] ;
fhir:target [
fhir:reference [ fhir:v "DocumentReference/ex-documentreference" ]     ]
  ] ) ; # 
  fhir:securityLabel ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "R" ]     ] )
  ] ) ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "text/plain" ] ;
fhir:language [ fhir:v "en" ] ;
fhir:url [ fhir:v "urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300003"^^xsd:anyURI ] ;
fhir:size [ fhir:v "24"^^xsd:nonNegativeInteger ] ;
fhir:hash [ fhir:v "ZThlMzE3MjE0MzAwMTU4N2NiNzUwODQ0NmFhMDkyZWI1MTk5NTgwOQ=="^^xsd:base64Binary ] ;
fhir:title [ fhir:v "Thanks for all the fish" ] ;
fhir:creation [ fhir:v "2020-02-02T23:50:50-05:00"^^xsd:dateTime ]     ] ;
fhir:format [
fhir:system [ fhir:v "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:ihe:iti:xds-sd:text:2008" ]     ]
  ] ) ; # 
  fhir:context [
fhir:facilityType [
      ( fhir:coding [
a sct:82242000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "82242000" ]       ] )     ] ;
fhir:practiceSetting [
      ( fhir:coding [
a sct:408467006 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "408467006" ]       ] )     ] ;
fhir:sourcePatientInfo [
fhir:reference [ fhir:v "#aaaaaaaa-bbbb-cccc-dddd-e00333300004" ]     ]
  ] . # 

<urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300003> a fhir:Binary ;
  fhir:id [ fhir:v "aaaaaaaa-bbbb-cccc-eeee-e00333300003"] ; # 
  fhir:meta [
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:contentType [ fhir:v "text/plain"] ; # 
  fhir:data [ fhir:v "VGhhbmtzIGZvciBhbGwgdGhlIGZpc2g="^^xsd:base64Binary] . #