Mobile access to Health Documents (MHD)
4.2.1 - Trial-Implementation International flag

This page is part of the IHE Mobile Access to Health Documents (v4.2.1: Publication) based on FHIR R4. This is the current published version. For a full list of available versions, 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 -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-findDocumentReferencesResponse"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessage"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessage>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:timestamp [ fhir:v "2021-04-16T11:32:24Z"^^xsd:dateTime] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "test.fhir.net/R4/fhir/DocumentReference?patient=9876&status=current"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/DocumentReference/ex-DocumentReferenceMinimal"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/DocumentReference/ex-DocumentReferenceMinimal> )
  ] ) . # 

<http://example.org/DocumentReference/ex-DocumentReferenceMinimal> a fhir:DocumentReference ;
  fhir:id [ fhir:v "in-DocumentReferenceMinimal"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.DocumentReference"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.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=\"in-DocumentReferenceMinimal\"> </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;in-DocumentReferenceMinimal&quot; </p><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 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: urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012</p><p><b>identifier</b>: id: urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d (use: OFFICIAL)</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: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:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:uuid:7d5bb8ac-68ee-4926-85e7-b8aac8e1f09d" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "text/plain" ] ;
fhir:url [ fhir:v "http://example.com/nowhere.txt"^^xsd:anyURI ]     ]
  ] ) . #