FHIR Data Segmentation for Privacy
0.3.0 - 2021Sep Ballot

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

: Simple use of inline security labels on a patient resource - XML Representation

Raw xml | Download



<Patient xmlns="http://hl7.org/fhir">
  <id value="P002"/>
  <meta>
    <extension
               url="http://hl7.org/fhir/uv/security-label-ds4p/StructureDefinition/extension-has-inline-sec-label">
      <valueBoolean value="true"/>
    </extension>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>identifier</b>: id: 111-22-3333 (OFFICIAL), Driver's license number: 1234567 (USUAL)</p><p><b>active</b>: true</p><p><b>name</b>: John Doe </p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1956-05-27</p></div>
  </text>
  <identifier>
    <extension
               url="http://hl7.org/fhir/uv/security-label-ds4p/StructureDefinition/extension-inline-sec-label">
      <valueCoding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
        <code value="R"/>
        <display value="restricted"/>
      </valueCoding>
    </extension>
    <use value="official"/>
    <system value="http://hl7.org/fhir/sid/us-ssn"/>
    <value value="111-22-3333"/>
  </identifier>
  <identifier>
    <use value="usual"/>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="DL"/>
      </coding>
    </type>
    <system value="urn:oid:2.16.840.1.113883.4.3.2"/>
    <value value="1234567"/>
  </identifier>
  <active value="true"/>
  <name>
    <family value="Doe"/>
    <given value="John"/>
  </name>
  <gender value="male"/>
  <birthDate value="1956-05-27"/>
</Patient>