Skip to content

Latest commit

 

History

History
247 lines (232 loc) · 10.6 KB

examples-for-requester-and-recipient-elements.md

File metadata and controls

247 lines (232 loc) · 10.6 KB

Examples for Requester and Recipient Elements

Below you will find a set of examples for each Coding used by requester and recipient elements from the dsf-extension-process-authorization. CodeSystems referenced in the examples can be found here. Use this collection as a reference point when creating your own ActivityDefinitions.

Requester

The requester element uses one of the following Codings:

<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-all|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-all-practitioner|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-organization|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-organization-practitioner|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-parent-organization-role|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-parent-organization-role-practitioner|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-remote-all|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-remote-organization|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-remote-parent-organization-role|1.0.0" />
Local All
<extension url="requester">
    <valueCoding>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ALL" />
    </valueCoding>
</extension>
Local All Practitioner
<extension url="requester">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-practitioner">
            <valueCoding>
                <system value="http://dsf.dev/fhir/CodeSystem/practitioner-role"/>
                <code value="DSF_ADMIN"/>   <!-- example, replace appropriately -->
            </valueCoding>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ALL_PRACTITIONER" />
    </valueCoding>
</extension>
Local Organization
<extension url="requester">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-organization">
            <valueIdentifier>
                <system value="http://dsf.dev/sid/organization-identifier"/>
                <value value="My_Organization"/>    <!-- example, replace appropriately -->
            </valueIdentifier>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ORGANIZATION" />
    </valueCoding>
</extension>
Local Organization Practitioner
<extension url="requester">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-organization-practitioner">
            <extension url="organization">
                <valueIdentifier>
                    <system value="http://dsf.dev/sid/organization-identifier"/>
                    <value value="My_Organization"/>    <!-- example, replace appropriately -->
                </valueIdentifier>
            </extension>
            <extension url="practitioner-role">
                <valueCoding>
                    <system value="http://dsf.dev/fhir/CodeSystem/practitioner-role"/>
                    <code value="DSF_ADMIN"/>   <!-- example, replace appropriately -->
                </valueCoding>
            </extension>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ORGANIZATION_PRACTITIONER" />
    </valueCoding>
</extension>
Local Parent Organization Role
<extension url="requester">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-parent-organization-role">
            <extension url="parent-organization">
                <valueIdentifier>
                    <system value="http://dsf.dev/sid/organization-identifier"/>
                    <value value="My_Parent_Organization"/>     <!-- example, replace appropriately -->
                </valueIdentifier>
            </extension>
            <extension url="organization-role">
                <valueCoding>
                    <system value="http://dsf.dev/fhir/CodeSystem/organization-role"/>
                    <code value="DIC"/>     <!-- example, replace appropriately -->
                </valueCoding>
            </extension>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ROLE" />
    </valueCoding>
</extension>
Local Parent Organization Role Practitioner
<extension url="requester">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-parent-organization-role-practitioner">
            <extension url="parent-organization">
                <valueIdentifier>
                    <system value="http://dsf.dev/sid/organization-identifier"/>
                    <value value="My_Parent_Organization"/>     <!-- example, replace appropriately -->
                </valueIdentifier>
            </extension>
            <extension url="organization-role">
                <valueCoding>
                    <system value="http://dsf.dev/fhir/CodeSystem/organization-role"/>
                    <code value="DIC"/>     <!-- example, replace appropriately -->
                </valueCoding>
            </extension>
            <extension url="practitioner-role">
                <valueCoding>
                    <system value="http://dsf.dev/fhir/CodeSystem/practitioner-role"/>
                    <code value="DSF_ADMIN"/>       <!-- example, replace appropriately -->
                </valueCoding>
            </extension>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ROLE_PRACTITIONER" />
    </valueCoding>
</extension>
Remote All
<extension url="requester">
    <valueCoding>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="REMOTE_ALL" />
    </valueCoding>
</extension>
Remote Organization
<extension url="requester">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-organization">
            <valueIdentifier>
                <system value="http://dsf.dev/sid/organization-identifier"/>
                <value value="My_Organization"/>    <!-- example, replace appropriately -->
            </valueIdentifier>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="REMOTE_ORGANIZATION" />
    </valueCoding>
</extension>
Remote Parent Organization Role
<extension url="requester">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-parent-organization-role">
            <extension url="parent-organization">
                <valueIdentifier>
                    <system value="http://dsf.dev/sid/organization-identifier"/>
                    <value value="My_Parent_Organization"/>     <!-- example, replace appropriately -->
                </valueIdentifier>
            </extension>
            <extension url="organization-role">
                <valueCoding>
                    <system value="http://dsf.dev/fhir/CodeSystem/organization-role"/>
                    <code value="DIC"/>     <!-- example, replace appropriately -->
                </valueCoding>
            </extension>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="REMOTE_ROLE" />
    </valueCoding>
</extension>

Recipient

The recipeint element uses one of the following Codings:

<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-all|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-organization|1.0.0" />
<profile value="http://dsf.dev/fhir/StructureDefinition/coding-process-authorization-local-parent-organization-role|1.0.0" />
Local All
<extension url="recipient">
    <valueCoding>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ALL" />
    </valueCoding>
</extension>
Local Organization
<extension url="recipient">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-organization">
            <valueIdentifier>
                <system value="http://dsf.dev/sid/organization-identifier"/>
                <value value="My_Organization"/>    <!-- example, replace appropriately -->
            </valueIdentifier>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ORGANIZATION" />
    </valueCoding>
</extension>
Local Parent Organization Role
<extension url="recipient">
    <valueCoding>
        <extension url="http://dsf.dev/fhir/StructureDefinition/extension-process-authorization-parent-organization-role">
            <extension url="parent-organization">
                <valueIdentifier>
                    <system value="http://dsf.dev/sid/organization-identifier"/>
                    <value value="My_Parent_Organization"/>     <!-- example, replace appropriately -->
                </valueIdentifier>
            </extension>
            <extension url="organization-role">
                <valueCoding>
                    <system value="http://dsf.dev/fhir/CodeSystem/organization-role"/>
                    <code value="DIC"/>     <!-- example, replace appropriately -->
                </valueCoding>
            </extension>
        </extension>
        <system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
        <code value="LOCAL_ROLE" />
    </valueCoding>
</extension>