Safeguard API for Smart FOX
4.2.3-current - ci-build

Safeguard API for Smart FOX - Local Development build (v4.2.3-current) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : Example FindDocumentReferences response - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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 "Bundle-FindDocumentReferences"] ; #
      fhir:meta [
    fhir:lastUpdated [ fhir:v "2020-10-14T07:56:23.916+00:00"^^xsd:dateTime ] ;
        ( fhir:profile [
    fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesComprehensiveResponseMessage"^^xsd:anyURI ;
    fhir:link <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesComprehensiveResponseMessage>     ] )
      ] ; #
      fhir:type [ fhir:v "searchset"] ; #
      fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; #
      fhir:link ( [
    fhir:relation [ fhir:v "self" ] ;
    fhir:url [ fhir:v "http://example.com/DocumentReference?patient.identifier=urn:oid:2.999|11111111&status=current"^^xsd:anyURI ]
      ] ) ; #
      fhir:entry ( [
    fhir:fullUrl [ fhir:v "urn:uuid:50383ae5-49e5-4dea-b0e6-660cb9e7b91f"^^xsd:anyURI ] ;
        ( fhir:resource <urn:uuid:50383ae5-49e5-4dea-b0e6-660cb9e7b91f> )
      ] ) . #

    <urn:uuid:50383ae5-49e5-4dea-b0e6-660cb9e7b91f> a fhir:DocumentReference ;
      fhir:id [ fhir:v "50383ae5-49e5-4dea-b0e6-660cb9e7b91f"] ; #
      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:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_50383ae5-49e5-4dea-b0e6-660cb9e7b91f\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference 50383ae5-49e5-4dea-b0e6-660cb9e7b91f</b></p><a name=\"50383ae5-49e5-4dea-b0e6-660cb9e7b91f\"> </a><a name=\"hc50383ae5-49e5-4dea-b0e6-660cb9e7b91f\"> </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: <code>https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference</code></p></div><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 #xD;#xA;#xD;#xA;This 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: #xD;#xA;#xD;#xA;Note 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.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:oid:1.3.6.1.4.1.12559.11.13.2.1.2951 (use: official, )</p><p><b>identifier</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 #xD;#xA;#xD;#xA;This 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: #xD;#xA;#xD;#xA;Note 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.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:50383ae5-49e5-4dea-b0e6-660cb9e7b91f (use: official, )</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 721912009}\">Medication summary document (record artifact)</span></p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 422735006}\">Summary clinical document (record artifact)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/FranzMusterNeedsAbsoluteUrl\">http://example.org/Patient/FranzMusterNeedsAbsoluteUrl</a></p><p><b>date</b>: 2020-06-29 11:58:00+0000</p><p><b>description</b>: 2-7-MedicationCard</p><p><b>securityLabel</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-Confidentiality N}\">normal</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>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>text/xml</td><td>German (Region=Switzerland)</td><td><a href=\"http://example.com/xdsretrieve?uniqueId=urn:uuid:413eb0f7-aa72-4405-86a4-7793a23fcc27&amp;repositoryUniqueId=2.999.756.42.1\">http://example.com/xdsretrieve?uniqueId=urn:uuid:413eb0f7-aa72-4405-86a4-7793a23fcc27&amp;repositoryUniqueId=2.999.756.42.1</a></td><td>2020-06-29 11:58:00+0000</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.58pharm.58pml.582013\">IHE Format Code set for use with Document Sharing urn:ihe:pharm:pml:2013</a>: Pharmacy PML</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 264358009}\">General practice premises (environment)</span></td><td><span title=\"Codes:{http://snomed.info/sct 394802001}\">General medicine (qualifier value)</span></td><td><a href=\"#hc50383ae5-49e5-4dea-b0e6-660cb9e7b91f/1\">Anonymous Patient (no stated gender), DoB Unknown ( Medical record number (use: usual, ))</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #1</b></p><a name=\"50383ae5-49e5-4dea-b0e6-660cb9e7b91f/1\"> </a><a name=\"hc50383ae5-49e5-4dea-b0e6-660cb9e7b91f/1\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Anonymous Patient (no stated gender), DoB Unknown ( Medical record number (use: usual, ))</p><hr/></blockquote></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:contained ( [
    a fhir:Patient ;
    fhir:id [ fhir:v "1" ] ;
        ( fhir:identifier [
    fhir:use [ fhir:v "usual" ] ;
    fhir:type [
            ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "MR" ]         ] )       ] ;
    fhir:system [ fhir:v "urn:oid:2.16.756.888888.3.1"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "8734" ]     ] )
      ] ) ; #
      fhir:masterIdentifier [
    fhir:use [ fhir:v "official" ] ;
    fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:oid:1.3.6.1.4.1.12559.11.13.2.1.2951" ]
      ] ; #
      fhir:identifier ( [
    fhir:use [ fhir:v "official" ] ;
    fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:uuid:50383ae5-49e5-4dea-b0e6-660cb9e7b91f" ]
      ] ) ; #
      fhir:status [ fhir:v "current"] ; #
      fhir:type [
        ( fhir:coding [
    a sct:721912009 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "721912009" ] ;
    fhir:display [ fhir:v "Medication summary document (record artifact)" ]     ] )
      ] ; #
      fhir:category ( [
        ( fhir:coding [
    a sct:422735006 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "422735006" ] ;
    fhir:display [ fhir:v "Summary clinical document (record artifact)" ]     ] )
      ] ) ; #
      fhir:subject [
    fhir:link <http://example.org/Patient/FranzMusterNeedsAbsoluteUrl> ;
    fhir:reference [ fhir:v "http://example.org/Patient/FranzMusterNeedsAbsoluteUrl" ]
      ] ; #
      fhir:date [ fhir:v "2020-06-29T11:58:00.000+00:00"^^xsd:dateTime] ; #
      fhir:description [ fhir:v "2-7-MedicationCard"] ; #
      fhir:securityLabel ( [
        ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "N" ] ;
    fhir:display [ fhir:v "normal" ]     ] )
      ] ) ; #
      fhir:content ( [
    fhir:attachment [
    fhir:contentType [ fhir:v "text/xml" ] ;
    fhir:language [ fhir:v "de-CH" ] ;
    fhir:url [ fhir:v "http://example.com/xdsretrieve?uniqueId=urn:uuid:413eb0f7-aa72-4405-86a4-7793a23fcc27&repositoryUniqueId=2.999.756.42.1"^^xsd:anyURI ] ;
    fhir:creation [ fhir:v "2020-06-29T11:58:00+00: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:pharm:pml:2013" ]     ]
      ] ) ; #
      fhir:context [
    fhir:facilityType [
          ( fhir:coding [
    a sct:264358009 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "264358009" ] ;
    fhir:display [ fhir:v "General practice premises (environment)" ]       ] )     ] ;
    fhir:practiceSetting [
          ( fhir:coding [
    a sct:394802001 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "394802001" ] ;
    fhir:display [ fhir:v "General medicine (qualifier value)" ]       ] )     ] ;
    fhir:sourcePatientInfo [
    fhir:reference [ fhir:v "#1" ]     ]
      ] . #