FHIR Data Segmentation for Privacy
0.2.0 - STU 1 Ballot

This page is part of the FHIR Data Segmentation for Privacy (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Simple use of the sec-label-basis extension on an observation - TTL Representation

(back to description)

Raw ttl

Source view

@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:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-extension-sec-label-basis"];
  fhir:Resource.meta [
     fhir:Meta.security [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/security-label-ds4p/StructureDefinition/extension-sec-label-basis" ];
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
           fhir:Coding.code [ fhir:value "42CFRPart2" ]         ]       ];
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
       fhir:Coding.code [ fhir:value "R" ];
       fhir:Coding.display [ fhir:value "Restricted" ]     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example-extension-sec-label-basis</p><p><b>meta</b>: </p><p><b>status</b>: final</p><p><b>code</b>: Bacteria identified in Blood by Culture <span style=\"background: LightGoldenRodYellow\">(Details : {LOINC code '600-7' = 'Bacteria identified in Blood by Culture', given as 'Bacteria identified in Blood by Culture'})</span></p><p><b>subject</b>: <a href=\"Patient-P001.html\">Generated Summary: id: P001; active</a></p></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:600-7;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "600-7" ];
       fhir:Coding.display [ fhir:value "Bacteria identified in Blood by Culture" ]     ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/P001" ]
  ].

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

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