<Consent xmlns="http://hl7.org/fhir">
    <id value="example-consent" />
    <meta>
        <versionId value="1" />
        <lastUpdated value="2022-04-08T07:45:26.344+08:00" />
        <source value="http://provider.hie.moh.gov.my" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/Consent-my-core" />
        <tag>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason" />
            <code value="HTEST" />
            <display value="test health data" />
        </tag>
        <tag>
            <system value="https://smilecdr.com/fhir/NamingSystem/tags" />
            <code value="validation_passed" />
            <display value="Validation Passed" />
        </tag>
    </meta>
    <identifier>
        <value value="example-consent" />
    </identifier>
    <status value="inactive" />
    <scope>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/consentscope" />
            <code value="patient-privacy" />
            <display value="Privacy Consent" />
        </coding>
    </scope>
    <category>
        <coding>
            <system value="http://loinc.org" />
            <code value="59284-0" />
            <display value="Patient Consent" />
        </coding>
        <coding>
            <system value="http://loinc.org" />
            <code value="57016-8" />
            <display value="Privacy policy acknowledgement Document" />
        </coding>
    </category>
    <patient>
        <reference value="Patient/example-patient" />
    </patient>
    <policyRule>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/consentpolicycodes" />
            <code value="hipaa-auth" />
            <display value="HIPAA Authorization" />
        </coding>
    </policyRule>
</Consent>