@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

<http://hl7.org/fhir/DocumentReference/example-bundle> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-bundle"] ; # 
  fhir:meta [
     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:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality>
       ] ;
       fhir:code [ fhir:v "N" ]
     ] )
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:28655-9 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "28655-9" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.healthintersections.com.au/open/Patient/d1> ;
     fhir:reference [ fhir:v "http://fhir.healthintersections.com.au/open/Patient/d1" ] ;
     fhir:display [ fhir:v "Eve Everywoman" ]
  ] ; # 
  fhir:event ( [
     fhir:reference [
       fhir:l <http://fhir.healthintersections.com.au/open/Encounter/doc-example> ;
       fhir:reference [ fhir:v "http://fhir.healthintersections.com.au/open/Encounter/doc-example" ]
     ]
  ] ) ; # 
  fhir:date [ fhir:v "2013-02-01T12:30:02Z"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <http://hl7.org/fhir/Practitioner/example> ;
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Doctor Dave" ]
  ] ) ; # 
  fhir:description [ fhir:v "Discharge Summary"] ; # 
  fhir:securityLabel ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality>
       ] ;
       fhir:code [ fhir:v "N" ]
     ] )
  ] ) ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:url [
         fhir:v "Bundle/father"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/Bundle/father>
       ] #   no content type as the retrieve will determine  
     ]
  ] ) . # 

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

# -------------------------------------------------------------------------------------

