Class ProcessAuthorizationHelperImpl
java.lang.Object
dev.dsf.fhir.authorization.process.ProcessAuthorizationHelperImpl
- All Implemented Interfaces:
ProcessAuthorizationHelper
-
Field Summary
Fields inherited from interface dev.dsf.fhir.authorization.process.ProcessAuthorizationHelper
EXTENSION_PROCESS_AUTHORIZATION, EXTENSION_PROCESS_AUTHORIZATION_MESSAGE_NAME, EXTENSION_PROCESS_AUTHORIZATION_ORGANIZATION, EXTENSION_PROCESS_AUTHORIZATION_ORGANIZATION_PRACTITIONER, EXTENSION_PROCESS_AUTHORIZATION_ORGANIZATION_PRACTITIONER_ORGANIZATION, EXTENSION_PROCESS_AUTHORIZATION_ORGANIZATION_PRACTITIONER_PRACTITIONER_ROLE, EXTENSION_PROCESS_AUTHORIZATION_PARENT_ORGANIZATION_ROLE, EXTENSION_PROCESS_AUTHORIZATION_PARENT_ORGANIZATION_ROLE_ORGANIZATION_ROLE, EXTENSION_PROCESS_AUTHORIZATION_PARENT_ORGANIZATION_ROLE_PARENT_ORGANIZATION, EXTENSION_PROCESS_AUTHORIZATION_PARENT_ORGANIZATION_ROLE_PRACTITIONER, EXTENSION_PROCESS_AUTHORIZATION_PARENT_ORGANIZATION_ROLE_PRACTITIONER_ORGANIZATION_ROLE, EXTENSION_PROCESS_AUTHORIZATION_PARENT_ORGANIZATION_ROLE_PRACTITIONER_PARENT_ORGANIZATION, EXTENSION_PROCESS_AUTHORIZATION_PARENT_ORGANIZATION_ROLE_PRACTITIONER_PRACTITIONER_ROLE, EXTENSION_PROCESS_AUTHORIZATION_PRACTITIONER, EXTENSION_PROCESS_AUTHORIZATION_RECIPIENT, EXTENSION_PROCESS_AUTHORIZATION_REQUESTER, EXTENSION_PROCESS_AUTHORIZATION_TASK_PROFILE, ORGANIZATION_IDENTIFIER_SYSTEM, PROCESS_AUTHORIZATION_SYSTEM, PROCESS_AUTHORIZATION_VALUE_LOCAL_ALL, PROCESS_AUTHORIZATION_VALUE_LOCAL_ALL_PRACTITIONER, PROCESS_AUTHORIZATION_VALUE_LOCAL_ORGANIZATION, PROCESS_AUTHORIZATION_VALUE_LOCAL_ORGANIZATION_PRACTITIONER, PROCESS_AUTHORIZATION_VALUE_LOCAL_ROLE, PROCESS_AUTHORIZATION_VALUE_LOCAL_ROLE_PRACTITIONER, PROCESS_AUTHORIZATION_VALUE_REMOTE_ALL, PROCESS_AUTHORIZATION_VALUE_REMOTE_ORGANIZATION, PROCESS_AUTHORIZATION_VALUE_REMOTE_ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.ActivityDefinition
add
(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String messageName, String taskProfile, Requester requester, Recipient recipient) org.hl7.fhir.r4.model.ActivityDefinition
add
(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String messageName, String taskProfile, Collection<? extends Requester> requesters, Collection<? extends Recipient> recipients) getRecipients
(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String processUrl, String processVersion, String messageName, Collection<String> taskProfiles) getRequesters
(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String processUrl, String processVersion, String messageName, Collection<String> taskProfiles) boolean
isValid
(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, Predicate<org.hl7.fhir.r4.model.CanonicalType> profileExists, Predicate<org.hl7.fhir.r4.model.Coding> practitionerRoleExists, Predicate<org.hl7.fhir.r4.model.Identifier> organizationWithIdentifierExists, Predicate<org.hl7.fhir.r4.model.Coding> organizationRoleExists) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.dsf.fhir.authorization.process.ProcessAuthorizationHelper
getRecipients, getRequesters
-
Constructor Details
-
ProcessAuthorizationHelperImpl
public ProcessAuthorizationHelperImpl()
-
-
Method Details
-
add
public org.hl7.fhir.r4.model.ActivityDefinition add(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String messageName, String taskProfile, Requester requester, Recipient recipient) - Specified by:
add
in interfaceProcessAuthorizationHelper
-
add
public org.hl7.fhir.r4.model.ActivityDefinition add(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String messageName, String taskProfile, Collection<? extends Requester> requesters, Collection<? extends Recipient> recipients) - Specified by:
add
in interfaceProcessAuthorizationHelper
-
isValid
public boolean isValid(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, Predicate<org.hl7.fhir.r4.model.CanonicalType> profileExists, Predicate<org.hl7.fhir.r4.model.Coding> practitionerRoleExists, Predicate<org.hl7.fhir.r4.model.Identifier> organizationWithIdentifierExists, Predicate<org.hl7.fhir.r4.model.Coding> organizationRoleExists) - Specified by:
isValid
in interfaceProcessAuthorizationHelper
-
getRequesters
public Stream<Requester> getRequesters(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String processUrl, String processVersion, String messageName, Collection<String> taskProfiles) - Specified by:
getRequesters
in interfaceProcessAuthorizationHelper
-
getRecipients
public Stream<Recipient> getRecipients(org.hl7.fhir.r4.model.ActivityDefinition activityDefinition, String processUrl, String processVersion, String messageName, Collection<String> taskProfiles) - Specified by:
getRecipients
in interfaceProcessAuthorizationHelper
-