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.
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" />
<extension url="requester">
<valueCoding>
<system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
<code value="LOCAL_ALL" />
</valueCoding>
</extension>
<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>
<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>
<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>
<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>
<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>
<extension url="requester">
<valueCoding>
<system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
<code value="REMOTE_ALL" />
</valueCoding>
</extension>
<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>
<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>
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" />
<extension url="recipient">
<valueCoding>
<system value="http://dsf.dev/fhir/CodeSystem/process-authorization" />
<code value="LOCAL_ALL" />
</valueCoding>
</extension>
<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>
<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>