HL7 Europe Extensions
1.3.0 - trial-use 150

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

## : Consent: 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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Consent ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "consent-example"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent consent-example</b></p><a name=\"consent-example\"> </a><a name=\"hcconsent-example\"> </a><h2>Participants</h2><table class=\"grid\"><tr><td><b>Role</b></td><td><b>Details</b></td></tr></table><p>The subject has NOT given their consent.</p></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:contained ( [
    a fhir:Condition ;
    fhir:id [ fhir:v "condition-example" ] ;
    fhir:clinicalStatus [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
    fhir:code [ fhir:v "active" ] ;
    fhir:display [ fhir:v "Active" ]       ] )     ] ;
    fhir:code [
          ( fhir:coding [
    a sct:431855005 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "431855005" ] ;
    fhir:display [ fhir:v "Chronic kidney disease stage 1" ]       ] )     ] ;
    fhir:subject [
    fhir:display [ fhir:v "Nice Patient" ]     ] ;
    fhir:onset [
    a fhir:Age ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.eu/fhir/extensions/StructureDefinition/periods-of-life"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/extensions/StructureDefinition/periods-of-life>         ] ;
    fhir:value [
    a fhir:CodeableConcept ;
              ( fhir:coding [
    a sct:41847000 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>             ] ;
    fhir:code [ fhir:v "41847000" ] ;
    fhir:display [ fhir:v "Adulthood" ]           ] )         ]       ] ) ;
    fhir:value [ fhir:v "40"^^xsd:decimal ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>       ] ;
    fhir:code [ fhir:v "a" ]     ]
      ] ) ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l <#condition-example> ;
    fhir:reference [ fhir:v "#condition-example" ]     ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:category ( [
        ( fhir:coding [
    a loinc:59284-0 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "59284-0" ] ;
    fhir:display [ fhir:v "Consent Document" ]     ] )
      ] ) . #