@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://profiles.ihe.net/ITI/MHD/DocumentReference/ex-DocumentReferenceSimplifiedPublish> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-DocumentReferenceSimplifiedPublish"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.SimplifiedPublish.DocumentReference"^^xsd:anyURI ;
       fhir:l <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.SimplifiedPublish.DocumentReference>
     ] ) ;
     fhir:security ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>
       ] ;
       fhir:code [ fhir:v "HTEST" ]
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference ex-DocumentReferenceSimplifiedPublish</b></p><a name=\"ex-DocumentReferenceSimplifiedPublish\"> </a><a name=\"hcex-DocumentReferenceSimplifiedPublish\"> </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.SimplifiedPublish.DocumentReference.html\">MHD DocumentReference for Simplified Publish</a></p><p style=\"margin-bottom: 0px\">Security Label: test health data (Details: ActReason code HTEST = 'test health data')</p></div><p><b>identifier</b>: Identifier type for XDS UniqueId/urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.60220.62012</p><p><b>status</b>: Current</p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>context</b>: <a href=\"Encounter-ex-encounter.html\">Encounter: status = in-progress; class = ambulatory</a></p><p><b>custodian</b>: <a href=\"Organization-ex-organization.html\">Organization nowhere</a></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>Data</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain</td><td><code>SGVsbG8gV29ybGQ=</code></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType"^^xsd:anyURI ;
           fhir:l <https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType>
         ] ;
         fhir:code [ fhir:v "uniqueId" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.60220.62012" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:subject [
     fhir:l <https://profiles.ihe.net/ITI/MHD/Patient/ex-patient> ;
     fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ; # 
  fhir:context ( [
     fhir:l <https://profiles.ihe.net/ITI/MHD/Encounter/ex-encounter> ;
     fhir:reference [ fhir:v "Encounter/ex-encounter" ]
  ] ) ; # 
  fhir:custodian [
     fhir:l <https://profiles.ihe.net/ITI/MHD/Organization/ex-organization> ;
     fhir:reference [ fhir:v "Organization/ex-organization" ]
  ] ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "text/plain" ] ;
       fhir:data [ fhir:v "SGVsbG8gV29ybGQ="^^xsd:base64Binary ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

