Scalable Consent Management Testing Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
<Parameters xmlns="http://hl7.org/fhir">
<id value="fileconsent"/>
<meta>
<profile
value="http://hl7.org/fhir/us/consent-management/StructureDefinition/fileConsentParameters"/>
</meta>
<parameter>
<name value="consent"/>
<resource>
<Consent>
<id value="ConsentExample"/>
<meta>
<profile
value="http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Consent example for testing</div>
</text>
<identifier>
<system value="urn:oid:1.2.36.146.595.217.0.1"/>
<value value="${UUID-NODASH}"/>
</identifier>
<status value="active"/>
<scope>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/consentscope"/>
<code value="patient-privacy"/>
</coding>
</scope>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="INFA"/>
</coding>
</category>
<patient>
<reference value="Patient/PatientExample"/>
<identifier>
<system value="http://example.org/mrn"/>
<value value="M1230041"/>
</identifier>
</patient>
<dateTime value="2025-05-05"/>
<performer>
<reference value="Patient/PatientExample"/>
<identifier>
<system value="http://example.org/mrn"/>
<value value="M1230041"/>
</identifier>
</performer>
<organization>
<reference value="Organization/OrganizationExample"/>
<identifier>
<system value="http://hl7.org/fhir/sid/us-npi"/>
<value value="1234567893"/>
</identifier>
</organization>
<sourceAttachment>
<contentType value="text/plain"/>
<data
value="RkFTVCBDb25zZW50IFRlc3QgRGF0YSAtIFNvdXJjZSBmb3IgQ29uc2VudEV4YW1wbGU="/>
<title value="Source for ConsentExample"/>
</sourceAttachment>
<policyRule>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/consentpolicycodes"/>
<code value="hipaa-auth"/>
</coding>
</policyRule>
<provision>
<type value="permit"/>
</provision>
</Consent>
</resource>
</parameter>
</Parameters>