HL7 Europe Base and Core FHIR IG
2.0.0 - trial-use 150

HL7 Europe Base and Core FHIR IG, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/base/ and changes regularly. See the Directory of published versions

## : Composition Example - TTL Representation

Raw ttl | Download

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

    <http://hl7.org/fhir/Composition/26032a57-083a-4ddf-b019-e566ae02f740> a fhir:Composition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "26032a57-083a-4ddf-b019-e566ae02f740"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core" ;
           fhir:index 0 ;
           fhir:link <http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Composition 26032a57-083a-4ddf-b019-e566ae02f740</b></p><a name=\"26032a57-083a-4ddf-b019-e566ae02f740\"> </a><a name=\"hc26032a57-083a-4ddf-b019-e566ae02f740\"> </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-composition-eu-core.html\">Composition (EU core)</a></p></div><p><b>Composition: Information recipient</b>: <a href=\"Organization-organization-eu-core-example.html\">Nuovo Ospedale S.Agostino (MO)</a></p><p><b>Document DiagnosticReport Reference</b>: <a href=\"DiagnosticReport-5679723c-4fae-4ba7-9f09-5438a827bfda.html\">Diagnostic Report for 'Laboratory report' for '-&gt;John Doe  Male, DoB: 1980-01-01'</a></p><p><b>identifier</b>: <code>http://example.org/composition-ids</code>/c030702.TSTSMN63A01F205H.20220325112426.TSS1Tkju</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 11502-2}\">Laboratorní zpráva</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 18719-5}\">Chemistry studies (set)</span></p><p><b>date</b>: 2022-03-30 11:24:26+0100</p><p><b>author</b>: <a href=\"PractitionerRole-practitionerRole-eu-core-example.html\">PractitionerRole General practice (specialty)</a></p><p><b>title</b>: Laboratorní zpráva</p><h3>Attesters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td style=\"display: none\">*</td><td>Legal</td><td>2022-03-25 11:00:00+0100</td><td><a href=\"PractitionerRole-practitionerRole-eu-core-example.html\">PractitionerRole General practice (specialty)</a></td></tr></table><p><b>custodian</b>: Example Health Organization</p></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.eu/fhir/StructureDefinition/information-recipient" ] ;
         fhir:Extension.valueReference [
           fhir:link <http://hl7.org/fhir/Organization/organization-eu-core-example> ;
           fhir:Reference.reference [ fhir:value "Organization/organization-eu-core-example" ] ;
           fhir:Reference.display [ fhir:value "Nuovo Ospedale S.Agostino (MO)" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "http://hl7.eu/fhir/extensions/StructureDefinition/composition-diagnosticReportReference" ] ;
         fhir:Extension.valueReference [
           fhir:link <http://hl7.org/fhir/DiagnosticReport/5679723c-4fae-4ba7-9f09-5438a827bfda> ;
           fhir:Reference.reference [ fhir:value "DiagnosticReport/5679723c-4fae-4ba7-9f09-5438a827bfda" ]
         ]
      ] ;
      fhir:Composition.identifier [
         fhir:Identifier.system [ fhir:value "http://example.org/composition-ids" ] ;
         fhir:Identifier.value [ fhir:value "c030702.TSTSMN63A01F205H.20220325112426.TSS1Tkju" ]
      ] ;
      fhir:Composition.status [ fhir:value "final"] ;
      fhir:Composition.type [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a loinc:11502-2 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "11502-2" ] ;
           fhir:Coding.display [ fhir:value "Laboratory report" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "Laboratorní zpráva" ]
      ] ;
      fhir:Composition.category [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a loinc:18719-5 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "18719-5" ] ;
           fhir:Coding.display [ fhir:value "Chemistry studies (set)" ]
         ]
      ] ;
      fhir:Composition.subject [
         fhir:link <http://hl7.org/fhir/Patient/patient-eu-core-example> ;
         fhir:Reference.reference [ fhir:value "Patient/patient-eu-core-example" ]
      ] ;
      fhir:Composition.date [ fhir:value "2022-03-30T11:24:26+01:00"^^xsd:dateTime] ;
      fhir:Composition.author [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/PractitionerRole/practitionerRole-eu-core-example> ;
         fhir:Reference.reference [ fhir:value "PractitionerRole/practitionerRole-eu-core-example" ]
      ] ;
      fhir:Composition.title [ fhir:value "Laboratorní zpráva"] ;
      fhir:Composition.attester [
         fhir:index 0 ;
         fhir:Composition.attester.mode [ fhir:value "legal" ] ;
         fhir:Composition.attester.time [ fhir:value "2022-03-25T11:00:00+01:00"^^xsd:dateTime ] ;
         fhir:Composition.attester.party [
           fhir:link <http://hl7.org/fhir/PractitionerRole/practitionerRole-eu-core-example> ;
           fhir:Reference.reference [ fhir:value "PractitionerRole/practitionerRole-eu-core-example" ]
         ]
      ] ;
      fhir:Composition.custodian [
         fhir:Reference.display [ fhir:value "Example Health Organization" ]
      ] ;
      fhir:Composition.section [
         fhir:index 0 ;
         fhir:Composition.section.title [ fhir:value "Urine examinations" ] ;
         fhir:Composition.section.code [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a loinc:18729-4 ;
             fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
             fhir:Coding.code [ fhir:value "18729-4" ] ;
             fhir:Coding.display [ fhir:value "Urinalysis studies (set)" ]
           ] ;
           fhir:CodeableConcept.text [ fhir:value "ESAMI DELLE URINE" ]
         ] ;
         fhir:Composition.section.text [
           fhir:Narrative.status [ fhir:value "generated" ] ;
           fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table id=\"nota1\"><thead><tr><th>Date</th><th>Test</th><th>Value</th><th>Unit(s)</th><th>Reference Range</th><th>Interpretation</th></tr></thead><tbody><tr><td>2023-03-27</td><td>Urea (U) [Moles/Vol]</td><td>310</td><td>mmol/L</td><td>67 - 580 mmol/L</td><td>Significantly low</td></tr></tbody></table></div>"
         ] ;
         fhir:Composition.section.entry [
           fhir:index 0 ;
           fhir:link <http://hl7.org/fhir/Observation/763f7902-8103-4d10-8bd1-546a726d43ee> ;
           fhir:Reference.reference [ fhir:value "Observation/763f7902-8103-4d10-8bd1-546a726d43ee" ]
         ]
      ] .

    <http://hl7.org/fhir/Organization/organization-eu-core-example> a fhir:Organization .

    <http://hl7.org/fhir/DiagnosticReport/5679723c-4fae-4ba7-9f09-5438a827bfda> a fhir:DiagnosticReport .

    <http://hl7.org/fhir/Patient/patient-eu-core-example> a fhir:Patient .

    <http://hl7.org/fhir/PractitionerRole/practitionerRole-eu-core-example> a fhir:PractitionerRole .

    <http://hl7.org/fhir/Observation/763f7902-8103-4d10-8bd1-546a726d43ee> a fhir:Observation .

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

    <http://hl7.org/fhir/Composition/26032a57-083a-4ddf-b019-e566ae02f740.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Composition/26032a57-083a-4ddf-b019-e566ae02f740.ttl> .