HL7 Europe Extensions
1.2.0 - trial-use 150

HL7 Europe Extensions - Downloaded Version 1.2.0 See the Directory of published versions

## : Composition: example with extensions - TTL Representation

Raw ttl | Download

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

     a fhir:Composition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "comp-example"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Composition comp-example</b></p><a name=\"comp-example\"> </a><a name=\"hccomp-example\"> </a><p><b>Composition: Based On Order</b>: <code>http://example.org</code>/document-order-1</p><p><b>Composition: Information recipient</b>: MUDr. Aleš Procházka</p><p><b>Document DiagnosticReport Reference</b>: My Laboratory Report Test</p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/7.0.1/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt #xD;#xA;#xD;#xA;This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: #xD;#xA;#xD;#xA;Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:3f69e0a5-2177-4540-baab-7a5d0877428f</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 11502-2}\">Laboratory report</span></p><p><b>date</b>: 2022-10-25 14:30:00+0100</p><p><b>author</b>: MUDr. Aleš Procházka</p><p><b>title</b>: Laboratory Report Test</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><span title=\"Codes:{http://hl7.org/fhir/composition-attestation-mode legal}\">Legal</span></td><td>2020-12-27 14:30:00+0100</td><td>Best Laboratory</td></tr></table><p><b>custodian</b>: Best Laboratory</p></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition>     ] ;
    fhir:value [
    a fhir:Identifier ;
    fhir:system [
    fhir:v "http://example.org"^^xsd:anyURI ;
    fhir:l <http://example.org>       ] ;
    fhir:value [ fhir:v "document-order-1" ]     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.eu/fhir/StructureDefinition/information-recipient"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/StructureDefinition/information-recipient>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:display [ fhir:v "MUDr. Aleš Procházka" ]     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.eu/fhir/extensions/StructureDefinition/composition-diagnosticReportReference"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/extensions/StructureDefinition/composition-diagnosticReportReference>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:display [ fhir:v "My Laboratory Report Test" ]     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:uuid:3f69e0a5-2177-4540-baab-7a5d0877428f" ]
      ] ) ; #
      fhir:status [ fhir:v "final"] ; #
      fhir:type [
        ( fhir:coding [
    a loinc:11502-2 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "11502-2" ] ;
    fhir:display [ fhir:v "Laboratory report" ]     ] )
      ] ; #
      fhir:subject ( [
    fhir:display [ fhir:v "Nice Patient" ]
      ] ) ; #
      fhir:date [ fhir:v "2022-10-25T14:30:00+01:00"^^xsd:dateTime] ; #
      fhir:author ( [
    fhir:display [ fhir:v "MUDr. Aleš Procházka" ]
      ] ) ; #
      fhir:title [ fhir:v "Laboratory Report Test"] ; #
      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 "2020-12-27T14:30:00+01:00"^^xsd:dateTime ] ;
    fhir:party [
    fhir:display [ fhir:v "Best Laboratory" ]     ]
      ] ) ; #
      fhir:custodian [
    fhir:display [ fhir:v "Best Laboratory" ]
      ] . #