HL7 Europe Extensions
1.2.0 - trial-use 150

HL7 Europe Extensions - Downloaded Version 1.2.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 "extensions" ] ;
    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><p><b>Consent: Related Condition</b>: <a href=\"#hcconsent-example/condition-example\">Condition Chronic kidney disease stage 1</a></p><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 59284-0}\">Consent Document</span></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Condition #condition-example</b></p><a name=\"consent-example/condition-example\"> </a><a name=\"hcconsent-example/condition-example\"> </a><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 431855005}\">Chronic kidney disease stage 1</span></p><p><b>subject</b>: Nice Patient</p><p><b>onset</b>: 40 a<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codea = 'a')</span></p></blockquote></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" ]     ] )
      ] ) . #