Mobile access to Health Documents (MHD)
4.2.2-current - ci-build International flag

Mobile access to Health Documents (MHD), published by IHE IT Infrastructure Technical Committee. This is not an authorized publication; it is the continuous build for version 4.2.2-current. 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 "type" ] ;
fhir:value [ fhir:v "replace" ]     ] [
fhir:name [ fhir:v "path" ] ;
fhir:value [ fhir:v "DocumentReference.status" ]     ] [
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\"><p><b>Generated Narrative: DocumentReference</b><a name=\"aaaaaaaa-bbbb-cccc-eeee-e00333300002\"> </a></p><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\">Resource DocumentReference &quot;aaaaaaaa-bbbb-cccc-eeee-e00333300002&quot; </p><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 Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}\">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>masterIdentifier</b>: id: &lt;a href=&quot;http://terminology.hl7.org/5.0.0/NamingSystem-uri.html&quot;&gt;URI&lt;/a&gt;#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>: 60591-5 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#60591-5)</span></p><p><b>category</b>: 11369-6 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#11369-6)</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>date</b>: Feb 3, 2020, 4:50:50 AM</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/ex-documentreference</a></td></tr></table><p><b>securityLabel</b>: restricted <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-Confidentiality.html\">Confidentiality</a>#R)</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>en</td><td><code>urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300003</code></td><td>24</td><td>(base64 data - 40 bytes)</td><td>Thanks for all the fish</td><td>2020-02-02 23:50:50-0500</td></tr></table><p><b>format</b>: ITI XDS-SD TEXT (Details: http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode code urn:ihe:iti:xds-sd:text:2008 = 'ITI XDS-SD TEXT', stated as 'null')</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>82242000 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#82242000)</span></td><td>408467006 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#408467006)</span></td><td><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00333300004\"> </a><blockquote><p/><p><a name=\"aaaaaaaa-bbbb-cccc-dddd-e00333300004\"> </a></p><p><b>identifier</b>: id: mrn-1234</p><p><b>name</b>: Dee Schmidt </p></blockquote></td></tr></table><hr/><blockquote><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Dee Schmidt </b> (no stated gender), DoB Unknown ( id: 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] . #