FHIR Data Segmentation for Privacy, published by HL7 Security Working Group. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-security-label-ds4p/ and changes regularly. See the Directory of published versions
: Simple use of inline security labels on a patient resource - TTL Representation
Raw ttl | Download
@prefix fhir: <http://hl7.org/fhir/> .
@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:Patient ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "P002"] ; #
fhir:meta [
( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PROCESSINLINELABEL" ] ] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient P002</b></p><a name=\"P002\"> </a><a name=\"hcP002\"> </a><a name=\"P002-en-US\"> </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\">Security Label: process inline security label (Details: ActCode code PROCESSINLINELABEL = 'process inline security label')</p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Doe Male, DoB: 1956-05-27 ( Driver's license number (use: usual, ))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\"><a href=\"http://terminology.hl7.org/5.1.0/NamingSystem-ssn.html\" title=\"United States Social Security Number (SSN). Assigned by the U.S. Social Security Administration. Note: IRS assigned ITINs are often used as drop-ins for social security numbers. The SSN is represented in resources with dashes removed. See http://www.ssa.gov/.\">SSN</a>/111-22-3333 (use: official, )</td></tr></table></div>"^^rdf:XMLLiteral
] ; #
fhir:identifier ( [
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/security-label-ds4p/StructureDefinition/extension-inline-sec-label"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "R" ] ;
fhir:display [ fhir:v "restricted" ] ] ] ) ;
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-ssn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "111-22-3333" ]
] [
fhir:use [ fhir:v "usual" ] ;
fhir:type [
( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DL" ] ] ) ] ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.4.3.2"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567" ]
] ) ; #
fhir:active [ fhir:v true] ; #
fhir:name ( [
fhir:family [ fhir:v "Doe" ] ;
( fhir:given [ fhir:v "John" ] )
] ) ; #
fhir:gender [ fhir:v "male"] ; #
fhir:birthDate [ fhir:v "1956-05-27"^^xsd:date] . #