@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 -------------------------------------------------------------------

#   infant-mom  

<http://hl7.org/fhir/Composition/example-mixed> a fhir:Composition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-mixed"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:78418-1 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "78418-1" ] ;
       fhir:display [ fhir:v "Neonatal perinatal medicine Discharge summary" ]
     ] )
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       a loinc:LP183761-8 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "LP183761-8" ] ;
       fhir:display [ fhir:v "Report" ]
     ] )
  ] ) ; # 
  fhir:subject ( [
     fhir:l <http://hl7.org/fhir/Patient/newborn> ;
     fhir:reference [ fhir:v "Patient/newborn" ] ;
     fhir:display [ fhir:v "Tahlia Smith" ]
  ] ) ; # 
  fhir:date [ fhir:v "2018-10-30T16:56:04+11:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <http://hl7.org/fhir/Practitioner/xcda-author> ;
     fhir:reference [ fhir:v "Practitioner/xcda-author" ] ;
     fhir:display [ fhir:v "Harold Hippocrates, MD" ]
  ] ) ; # 
  fhir:title [ fhir:v "Discharge Summary (Neonatal Service)"] ; # 
  fhir:attester ( [
     fhir:mode [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://hl7.org/fhir/composition-attestation-mode"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/composition-attestation-mode>
         ] ;
         fhir:code [ fhir:v "legal" ] ;
         fhir:display [ fhir:v "Legal" ]
       ] )
     ] ;
     fhir:time [ fhir:v "2012-01-04T09:10:14Z"^^xsd:dateTime ] ;
     fhir:party [
       fhir:l <http://hl7.org/fhir/Practitioner/xcda-author> ;
       fhir:reference [ fhir:v "Practitioner/xcda-author" ] ;
       fhir:display [ fhir:v "Harold Hippocrates, MD" ]
     ]
  ] ) ; # 
  fhir:custodian [
     fhir:l <http://hl7.org/fhir/Organization/2.16.840.1.113883.19.5> ;
     fhir:reference [ fhir:v "Organization/2.16.840.1.113883.19.5" ] ;
     fhir:display [ fhir:v "Good Health Clinic" ]
  ] ; # 
  fhir:section ( [
     fhir:title [ fhir:v "Child's Details" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://acme.org/codes/SectionType"^^xsd:anyURI ;
           fhir:l <http://acme.org/codes/SectionType>
         ] ;
         fhir:code [ fhir:v "newborn" ] ;
         fhir:display [ fhir:v "New Born Details" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        (snip)\n			</div>"^^rdf:XMLLiteral ]
     ]
  ] [
     fhir:title [ fhir:v "Mpther's Details" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://acme.org/codes/SectionType"^^xsd:anyURI ;
           fhir:l <http://acme.org/codes/SectionType>
         ] ;
         fhir:code [ fhir:v "mother" ] ;
         fhir:display [ fhir:v "Mother's Details" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n				(snip)\n			</div>"^^rdf:XMLLiteral ]
     ]
  ] ) . #   entries for child - CarePlan, observations, conditions, encounter, Prescriptions, etc.  

<http://hl7.org/fhir/Patient/newborn> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/xcda-author> a fhir:Practitioner .

<http://hl7.org/fhir/Organization/2.16.840.1.113883.19.5> a fhir:Organization .

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

