Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example Composition/example-mixed (Turtle)

Structured Documents Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of a composition covering details from more than one patient

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

[a fhir:Composition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-mixed"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Composition</b><a name=\"example-mixed\"> </a></p><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\">Resource Composition &quot;example-mixed&quot; </p></div><p><b>status</b>: final</p><p><b>type</b>: Neonatal perinatal medicine Discharge summary <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#78418-1)</span></p><p><b>category</b>: Report <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LP173421-1)</span></p><p><b>date</b>: 2018-10-30T16:56:04+11:00</p><p><b>author</b>: <a href=\"practitioner-example-xcda-author.html\">Practitioner/xcda-author: Harold Hippocrates, MD</a> &quot;Harold HIPPOCRATES&quot;</p><p><b>title</b>: Discharge Summary (Neonatal Service)</p><h3>Attesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td>*</td><td>Legal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-composition-attestation-mode.html\">CompositionAttestationMode</a>#legal)</span></td><td>2012-01-04T09:10:14Z</td><td><a href=\"practitioner-example-xcda-author.html\">Practitioner/xcda-author: Harold Hippocrates, MD</a> &quot;Harold HIPPOCRATES&quot;</td></tr></table><p><b>custodian</b>: <a href=\"organization-example-good-health-care.html\">Organization/2.16.840.1.113883.19.5: Good Health Clinic</a> &quot;Good Health Clinic&quot;</p></div>"
  ]; # 
  fhir:Composition.status [ fhir:value "final"]; # 
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:78418-1;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "78418-1" ];
       fhir:Coding.display [ fhir:value "Neonatal perinatal medicine Discharge summary" ]
     ]
  ]; # 
  fhir:Composition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:LP173421-1;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "LP173421-1" ];
       fhir:Coding.display [ fhir:value "Report" ]
     ]
  ]; # 
  fhir:Composition.subject [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Patient/newborn" ];
     fhir:Reference.display [ fhir:value "Tahlia Smith" ]
  ]; # 
  fhir:Composition.date [ fhir:value "2018-10-30T16:56:04+11:00"^^xsd:dateTime]; # 
  fhir:Composition.author [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/xcda-author" ];
     fhir:Reference.display [ fhir:value "Harold Hippocrates, MD" ]
  ]; # 
  fhir:Composition.title [ fhir:value "Discharge Summary (Neonatal Service)"]; # 
  fhir:Composition.attester [
     fhir:index 0;
     fhir:Composition.attester.mode [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/composition-attestation-mode" ];
         fhir:Coding.code [ fhir:value "legal" ];
         fhir:Coding.display [ fhir:value "Legal" ]
       ]
     ];
     fhir:Composition.attester.time [ fhir:value "2012-01-04T09:10:14Z"^^xsd:dateTime ];
     fhir:Composition.attester.party [
       fhir:Reference.reference [ fhir:value "Practitioner/xcda-author" ];
       fhir:Reference.display [ fhir:value "Harold Hippocrates, MD" ]
     ]
  ]; # 
  fhir:Composition.custodian [
     fhir:Reference.reference [ fhir:value "Organization/2.16.840.1.113883.19.5" ];
     fhir:Reference.display [ fhir:value "Good Health Clinic" ]
  ]; # 
  fhir:Composition.section [
     fhir:index 0;
     fhir:Composition.section.title [ fhir:value "Child's Details" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://acme.org/codes/SectionType" ];
         fhir:Coding.code [ fhir:value "newborn" ];
         fhir:Coding.display [ fhir:value "New Born Details" ]
       ]
     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        (snip)\n			</div>"
     ]
  ], [
     fhir:index 1;
     fhir:Composition.section.title [ fhir:value "Mpther's Details" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://acme.org/codes/SectionType" ];
         fhir:Coding.code [ fhir:value "mother" ];
         fhir:Coding.display [ fhir:value "Mother's Details" ]
       ]
     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n				(snip)\n			</div>"
     ]
  ]] . #    entries for child - CarePlan, observations, conditions, encounter, Prescriptions, etc   

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

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.