This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of using Provenance as De-Identifiation linkage with security tag protection, enabling Re-Identification with authorization.
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @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:Bundle; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-anon0"]; fhir:Resource.meta [ fhir:Meta.lastUpdated [ fhir:value "2014-08-18T01:43:30Z"^^xsd:dateTime ]; fhir:Meta.security [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ]; fhir:Coding.code [ fhir:value "V" ] ], [ fhir:index 1; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ]; fhir:Coding.code [ fhir:value "PSEUDED" ] ] ]; fhir:Bundle.type [ fhir:value "searchset"]; fhir:Bundle.link [ fhir:index 0; fhir:Bundle.link.relation [ fhir:value "self" ]; fhir:Bundle.link.url [ fhir:value "https://example.com/fhir/Patient/anon0/$everything" ] ]; fhir:Bundle.entry [ fhir:index 0; fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Provenance/anon0" ]; fhir:Bundle.entry.resource <http://example.org/fhir/Provenance/anon0>; fhir:Bundle.entry.search [ fhir:Bundle.entry.search.mode [ fhir:value "match" ] ] ], [ fhir:index 1; fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Patient/anon0" ]; fhir:Bundle.entry.resource <http://example.org/fhir/Patient/anon0>; fhir:Bundle.entry.search [ fhir:Bundle.entry.search.mode [ fhir:value "match" ] ] ], [ fhir:index 2; fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Condition/anon0" ]; fhir:Bundle.entry.resource <http://example.org/fhir/Condition/anon0>; fhir:Bundle.entry.search [ fhir:Bundle.entry.search.mode [ fhir:value "match" ] ] ]] . <http://example.org/fhir/Provenance/anon0> a fhir:Provenance; fhir:Resource.id [ fhir:value "anon0"]; fhir:Resource.meta [ fhir:Meta.security [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ]; fhir:Coding.code [ fhir:value "V" ] ], [ fhir:index 1; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ]; fhir:Coding.code [ fhir:value "PSEUDED" ] ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Provenance</b><a name=\"anon0\"> </a></p><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\">Resource Provenance "anon0" </p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-Confidentiality http://terminology.hl7.org/CodeSystem/v3-Confidentiality}\">http://terminology.hl7.org/CodeSystem/v3-Confidentiality</span>, <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ObservationValue http://terminology.hl7.org/CodeSystem/v3-ObservationValue}\">http://terminology.hl7.org/CodeSystem/v3-ObservationValue</span></p></div><p><b>target</b>: <a href=\"todo.html\">http://example.org/fhir/Patient/anon0</a></p><p><b>recorded</b>: 27/06/2015 8:39:24 AM</p><p><b>policy</b>: <span title=\" policy would indicate the rules used for De-Identification, and appropriate purposes of use of the data \"><a href=\"http://example.org/policies/666\">http://example.org/policies/666</a></span></p><p><b>activity</b>: De-Identify (Anononymize) Record Lifecycle Event <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-iso-21089-lifecycle.html\">Iso_21089_2017_Health_Record_Lifecycle_Events</a>#deidentify)</span></p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Who</b></td></tr><tr><td>*</td><td>Assembler <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#assembler)</span></td><td><span>: Device/software</span></td></tr></table><h3>Entities</h3><table class=\"grid\"><tr><td>-</td><td><b>Role</b></td><td><b>What</b></td></tr><tr><td>*</td><td>source</td><td><a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</td></tr></table></div>" ]; fhir:Provenance.target [ fhir:index 0; fhir:link <http://example.org/fhir/Patient/anon0>; fhir:Reference.reference [ fhir:value "http://example.org/fhir/Patient/anon0" ] ]; fhir:Provenance.recorded [ fhir:value "2015-06-27T08:39:24+10:00"^^xsd:dateTime]; fhir:Provenance.policy [ fhir:value "http://example.org/policies/666"; fhir:index 0 ]; fhir:Provenance.activity [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle" ]; fhir:Coding.code [ fhir:value "deidentify" ] ] ]; fhir:Provenance.agent [ fhir:index 0; fhir:Provenance.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ]; fhir:Coding.code [ fhir:value "assembler" ] ] ]; fhir:Provenance.agent.who [ fhir:Reference.display [ fhir:value "Device/software" ] ] ]; fhir:Provenance.entity [ fhir:index 0; fhir:Provenance.entity.role [ fhir:value "source" ]; fhir:Provenance.entity.what [ fhir:Reference.reference [ fhir:value "Patient/example" ] ] ] . <http://example.org/fhir/Patient/anon0> a fhir:Patient; fhir:Resource.id [ fhir:value "anon0"]; fhir:Resource.meta [ fhir:Meta.security [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ]; fhir:Coding.code [ fhir:value "L" ] ], [ fhir:index 1; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ]; fhir:Coding.code [ fhir:value "PSEUDED" ] ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>First-0 Anon-0 </b> male, DoB: 1974-12-01</p></div>" ]; fhir:Patient.name [ fhir:index 0; fhir:HumanName.family [ fhir:value "Anon-0" ]; fhir:HumanName.given [ fhir:value "First-0"; fhir:index 0 ] ]; fhir:Patient.gender [ fhir:value "male"]; fhir:Patient.birthDate [ fhir:value "1974-12-01"^^xsd:date] . <http://example.org/fhir/Condition/anon0> a fhir:Condition; fhir:Resource.id [ fhir:value "anon0"]; fhir:Resource.meta [ fhir:Meta.security [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ]; fhir:Coding.code [ fhir:value "L" ] ], [ fhir:index 1; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ]; fhir:Coding.code [ fhir:value "PSEUDED" ] ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b><a name=\"anon0\"> </a></p><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\">Resource Condition "anon0" </p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-Confidentiality http://terminology.hl7.org/CodeSystem/v3-Confidentiality}\">http://terminology.hl7.org/CodeSystem/v3-Confidentiality</span>, <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ObservationValue http://terminology.hl7.org/CodeSystem/v3-ObservationValue}\">http://terminology.hl7.org/CodeSystem/v3-ObservationValue</span></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>category</b>: Encounter Diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#encounter-diagnosis; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#439401001 "Diagnosis")</span></p><p><b>severity</b>: Severe <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#24484000)</span></p><p><b>code</b>: Burn of ear <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#39065001)</span></p><p><b>bodySite</b>: Left external ear structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#49521004)</span></p><p><b>subject</b>: <a href=\"todo.html\">Patient/anon0</a></p><p><b>onset</b>: <span title=\" dates aligned to first of month \">2012-05-01</span></p></div>" ]; fhir:Condition.clinicalStatus [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ]; fhir:Coding.code [ fhir:value "active" ] ] ]; fhir:Condition.verificationStatus [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ]; fhir:Coding.code [ fhir:value "confirmed" ] ] ]; fhir:Condition.category [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ]; fhir:Coding.code [ fhir:value "encounter-diagnosis" ]; fhir:Coding.display [ fhir:value "Encounter Diagnosis" ] ], [ fhir:index 1; a sct:439401001; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "439401001" ]; fhir:Coding.display [ fhir:value "Diagnosis" ] ] ]; fhir:Condition.severity [ fhir:CodeableConcept.coding [ fhir:index 0; a sct:24484000; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "24484000" ]; fhir:Coding.display [ fhir:value "Severe" ] ] ]; fhir:Condition.code [ fhir:CodeableConcept.coding [ fhir:index 0; a sct:39065001; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "39065001" ]; fhir:Coding.display [ fhir:value "Burn of ear" ] ] ]; fhir:Condition.bodySite [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; a sct:49521004; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "49521004" ]; fhir:Coding.display [ fhir:value "Left external ear structure" ] ] ]; fhir:Condition.subject [ fhir:Reference.reference [ fhir:value "Patient/anon0" ] ]; fhir:Condition.onsetDateTime [ fhir:value "2012-05-01"^^xsd:date] . # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.