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 with the Full-Text Search Option - 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-findDocumentReferencesResponseFullTextSearch> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ex-findDocumentReferencesResponseFullTextSearch"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessageFullTextSearch" ;
       fhir:index 0 ;
       fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessageFullTextSearch>
     ] ;
     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 "1"^^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-DocumentReferenceMinimalFullTextSearchPDF" ] ;
     fhir:Bundle.entry.resource <http://example.org/DocumentReference/in-DocumentReferenceMinimalFullTextSearchPDF> ;
     fhir:Bundle.entry.search [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "snippet" ] ;
           fhir:Extension.valueString [ fhir:value "The patient was diagnosed with <mark>hypertension</mark> and started on antihypertensive therapy." ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "pageNumber" ] ;
           fhir:Extension.valueString [ fhir:value "1" ]
         ] ;
         fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet" ]
       ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "snippet" ] ;
           fhir:Extension.valueString [ fhir:value "A history of <mark>hypertension</mark> was noted during the previous hospital admission." ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "pageNumber" ] ;
           fhir:Extension.valueString [ fhir:value "23" ]
         ] ;
         fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits" ] ;
         fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]
       ] ;
       fhir:Bundle.entry.search.mode [ fhir:value "match" ] ;
       fhir:Bundle.entry.search.score [ fhir:value "0.9"^^xsd:decimal ]
     ]
  ] .

<http://example.org/DocumentReference/in-DocumentReferenceMinimalFullTextSearchPDF> a fhir:DocumentReference ;
  fhir:Resource.id [ fhir:value "in-DocumentReferenceMinimalFullTextSearchPDF"] ;
  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-DocumentReferenceMinimalFullTextSearchPDF\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference in-DocumentReferenceMinimalFullTextSearchPDF</b></p><a name=\"in-DocumentReferenceMinimalFullTextSearchPDF\"> </a><a name=\"hcin-DocumentReferenceMinimalFullTextSearchPDF\"> </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 entryUUID/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>application/pdf</td><td><a href=\"http://example.com/nowhere.pdf\">http://example.com/nowhere.pdf</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.use [ fhir:value "official" ] ;
     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 "application/pdf" ] ;
       fhir:Attachment.url [ fhir:value "http://example.com/nowhere.pdf" ]
     ]
  ] .

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

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