This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
Raw XML (canonical form + also see XML Format Specification)
Example Bundle with included Permission with residual restrictions (id = "ex-SearchSet-withPermission")
<?xml version="1.0" encoding="UTF-8"?> <Bundle xmlns="http://hl7.org/fhir"> <id value="ex-SearchSet-withPermission"/> <meta> <security> <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/> <code value="HTEST"/> </security> <security> <!-- Need this defined properly in THO, for now CPLYPOL will do <extension url="http://hl7.org/fhir/uv/dap/StructureDefinition/dap.permissionImposedOnB undle"> <valueReference> <reference value="http://test.fhir.net/R4/fhir/Permission/in-permission-redisclose- forbidden-without-consent"/> </valueReference> </extension> --> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="CPLYPOL"/> </security> </meta> <type value="searchset"/> <timestamp value="2023-11-22T09:32:24Z"/> <total value="2"/> <link> <relation value="self"/> <url value="http://test.fhir.net/R4/fhir/Observation?patient=example&status=current"/> </link> <entry> <fullUrl value="http://test.fhir.net/R4/fhir/Observation/in-Observation"/> <resource> <Observation> <id value="in-Observation"/> <meta> <security> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="ETH"/> </security> <security> <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/> <code value="R"/> </security> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: Observation in-Observation</b> </p> <a name="in-Observation"> </a> <a name="hcin-Observation"> </a> <a name="in-Observation-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 Labels: substance abuse information sensitivity (Details: ActCode code ETH = 'substance abuse information sensitivity'), restricted (Details: Confidentiality code R = 'restricted')</p> </div> <p> <b> status</b> : final</p> <p> <b> code</b> : <span title="Codes:{http://loinc.org 74013-4}">Alcoholic drinks per day</span> </p> <p> <b> subject</b> : <a href="patient-example.html">Jim male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --> (ongoing)))</a> </p> <p> <b> effective</b> : 2022-06-13</p> <p> <b> performer</b> : <a href="patient-example.html">Jim male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --> (ongoing)))</a> </p> <p> <b> value</b> : 5 wine glasses per day<span style="background: LightGoldenRodYellow"> (Details: UCUM code/d = '/d')</span> </p> </div> </text> <status value="final"/> <code> <coding> <system value="http://loinc.org"/> <code value="74013-4"/> </coding> </code> <subject> <reference value="Patient/example"/> </subject> <effectiveDateTime value="2022-06-13"/> <performer> <reference value="Patient/example"/> </performer> <valueQuantity> <value value="5"/> <unit value="wine glasses per day"/> <system value="http://unitsofmeasure.org"/> <code value="/d"/> </valueQuantity> </Observation> </resource> <search> <mode value="match"/> </search> </entry> <entry> <fullUrl value="http://test.fhir.net/R4/fhir/Permission/in-permission-redisclose-forbidden-without-consent"/> <resource> <Permission> <id value="in-permission-redisclose-forbidden-without-consent"/> <meta> <security> <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/> <code value="HTEST"/> </security> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: Permission in-permission-redisclose-forbidden-without-consent</b> </p> <a name="in-permission-redisclose-forbidden-without-consent"> </a> <a name="hcin-permission-redisclose-forbidden-without-consent"> </a> <a name="in-permission-redisclose-forbidden-without-consent-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: test health data (Details: ActReason code HTEST = 'test health data')</p> </div> <p> <b> status</b> : active</p> <p> <b> asserter</b> : <a href="organization-example.html">Organization ACME Health</a> </p> <p> <b> date</b> : 2023-11-22</p> <p> <b> combining</b> : deny-unless-permit</p> <blockquote> <p> <b> rule</b> </p> <p> <b> type</b> : permit</p> <blockquote> <p> <b> activity</b> </p> <p> <b> purpose</b> : <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason TREAT}">treatment</span> , <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason HPAYMT}">healthcare payment</span> , <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason HOPERAT}">healthcare operations</span> </p> </blockquote> <blockquote> <p> <b> limit</b> </p> </blockquote> </blockquote> </div> </text> <status value="active"/> <asserter> <reference value="Organization/example"/> </asserter> <date value="2023-11-22"/> <combining value="deny-unless-permit"/> <rule> <type value="permit"/> <activity> <purpose> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/> <code value="TREAT"/> </coding> </purpose> <purpose> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/> <code value="HPAYMT"/> </coding> </purpose> <purpose> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/> <code value="HOPERAT"/> </coding> </purpose> </activity> <limit/> </rule> </Permission> </resource> <search> <mode value="include"/> </search> </entry> </Bundle>
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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot2 generated on Tue, Mar 18, 2025 14:03+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change