Scalable Consent Management
0.1.0 - ci-build United States of America flag

Scalable Consent Management, published by HL7 International / Community Based Collaborative Care. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-consent-management/ and changes regularly. See the Directory of published versions

: FileConsentDocRefExample - XML Representation

Raw xml | Download


<Parameters xmlns="http://hl7.org/fhir">
  <id value="FileConsentDocRefExample"/>
  <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>
        <extension
                   url="http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.grantee">
          <valueReference>
            <identifier>
              <system value="http://hl7.org/fhir/sid/us-npi"/>
              <value value="1234567893"/>
            </identifier>
          </valueReference>
        </extension>
        <identifier>
          <system value="http://example.org/consent"/>
          <value value="33445522"/>
        </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>
          <identifier>
            <system value="http://example.org/mrn"/>
            <value value="M1230041"/>
          </identifier>
        </patient>
        <dateTime value="2024-01-01"/>
        <performer>
          <identifier>
            <system value="http://example.org/mrn"/>
            <value value="M1230041"/>
          </identifier>
        </performer>
        <sourceReference>🔗 
          <reference
                     value="QuestionnaireResponse/QuestionnaireResponseExample"/>
        </sourceReference>
        <policyRule>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/consentpolicycodes"/>
            <code value="hipaa-auth"/>
          </coding>
        </policyRule>
        <provision>
          <type value="permit"/>
          <period>
            <start value="2024-01-01"/>
          </period>
          <actor>
            <role>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
                <code value="IRCP"/>
              </coding>
            </role>
            <reference>
              <identifier>
                <system value="http://hl7.org/fhir/sid/us-npi"/>
                <value value="1234567893"/>
              </identifier>
            </reference>
          </actor>
        </provision>
      </Consent>
    </resource>
  </parameter>
  <parameter>
    <name value="document"/>
    <resource>
      <DocumentReference>
        <id value="DocumentReferenceExample"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference"/>
        </meta>
        <identifier>
          <system value="http://example.org"/>
          <value value="1234567"/>
        </identifier>
        <status value="current"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="64292-6"/>
          </coding>
        </type>
        <category>
          <coding>
            <system value="http://loinc.org"/>
            <code value="57016-8"/>
          </coding>
        </category>
        <subject>
          <identifier>
            <system value="http://example.org/mrn"/>
            <value value="M1230041"/>
          </identifier>
        </subject>
        <date value="2024-01-01T15:30:00Z"/>
        <author>
          <identifier>
            <system value="http://hl7.org/fhir/sid/us-npi"/>
            <value value="1234567893"/>
          </identifier>
        </author>
        <content>
          <attachment>
            <contentType value="application/pdf"/>
            <url value="http://example.org/consentexample"/>
          </attachment>
        </content>
      </DocumentReference>
    </resource>
  </parameter>
</Parameters>