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 of a Find Document References Response Message - TTL Representation

Raw ttl | Download


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

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

<http://hl7.org/fhir/Bundle/ex-findDocumentReferencesResponse> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ex-findDocumentReferencesResponse"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessage" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessage>
     ] ;
     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 "searchset"] ;
  fhir:Bundle.timestamp [ fhir:value "2021-04-16T11:32:24Z"^^xsd:dateTime] ;
  fhir:Bundle.total [ fhir:value "2"^^xsd:nonNegativeInteger] ;
  fhir:Bundle.link [
     fhir:index 0 ;
     fhir:Bundle.link.relation [ fhir:value "self" ] ;
     fhir:Bundle.link.url [ fhir:value "test.fhir.net/R4/fhir/DocumentReference?patient=9876&status=current" ]
  ] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/DocumentReference/in-DocumentReferenceMinimal" ] ;
     fhir:Bundle.entry.resource <http://example.org/DocumentReference/in-DocumentReferenceMinimal>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/DocumentReference/in-DocumentReferenceMinimalCommunity" ] ;
     fhir:Bundle.entry.resource <http://example.org/DocumentReference/in-DocumentReferenceMinimalCommunity>
  ] .

<http://example.org/DocumentReference/in-DocumentReferenceMinimal> a fhir:DocumentReference ;
  fhir:Resource.id [ fhir:value "in-DocumentReferenceMinimal"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.DocumentReference" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.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_in-DocumentReferenceMinimal\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference in-DocumentReferenceMinimal</b></p><a name=\"in-DocumentReferenceMinimal\"> </a><a name=\"hcin-DocumentReferenceMinimal\"> </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.Minimal.DocumentReference.html\">MHD DocumentReference Minimal</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>identifier</b>: Identifier type for XDS UniqueId/urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012, Identifier type for XDS entryUUID/urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d</p><p><b>status</b>: Current</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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain</td><td><a href=\"http://example.com/nowhere.txt\">http://example.com/nowhere.txt</a></td></tr></table></blockquote></div>"
  ] ;
  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.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:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012" ]
  ], [
     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.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "text/plain" ] ;
       fhir:Attachment.url [ fhir:value "http://example.com/nowhere.txt" ]
     ]
  ] .

<http://example.org/DocumentReference/in-DocumentReferenceMinimalCommunity> a fhir:DocumentReference ;
  fhir:Resource.id [ fhir:value "in-DocumentReferenceMinimalCommunity"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.DocumentReference" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.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 "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_in-DocumentReferenceMinimalCommunity\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference in-DocumentReferenceMinimalCommunity</b></p><a name=\"in-DocumentReferenceMinimalCommunity\"> </a><a name=\"hcin-DocumentReferenceMinimalCommunity\"> </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.Minimal.DocumentReference.html\">MHD DocumentReference Minimal</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>The homeCommunityId where the artifact resides</b>: urn:oid:2.999.123.1740.205.55.20.13</p><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.62013</p><p><b>identifier</b>: Identifier type for XDS UniqueId/urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62013, Identifier type for XDS entryUUID/urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09e</p><p><b>status</b>: Current</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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain</td><td><a href=\"http://example.com/nowhere2.txt\">http://example.com/nowhere2.txt</a></td></tr></table></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-HomeCommunityId" ] ;
     fhir:Extension.valueOid [ fhir:value "urn:oid:2.999.123.1740.205.55.20.13" ]
  ] ;
  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.62013" ]
  ] ;
  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:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62013" ]
  ], [
     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-b8aac8e1f09e" ]
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "text/plain" ] ;
       fhir:Attachment.url [ fhir:value "http://example.com/nowhere2.txt" ]
     ]
  ] .

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

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