java.lang.Object
dev.dsf.fhir.authorization.process.All
All Implemented Interfaces:
Recipient, Requester, WithAuthorization

public class All extends Object implements Recipient, Requester
  • Constructor Details

    • All

      public All(boolean localIdentity)
  • Method Details

    • isRequesterAuthorized

      public boolean isRequesterAuthorized(Identity requesterUser, Stream<org.hl7.fhir.r4.model.OrganizationAffiliation> requesterAffiliations)
      Specified by:
      isRequesterAuthorized in interface Requester
    • isRecipientAuthorized

      public boolean isRecipientAuthorized(Identity recipientUser, Stream<org.hl7.fhir.r4.model.OrganizationAffiliation> recipientAffiliations)
      Specified by:
      isRecipientAuthorized in interface Recipient
    • requesterMatches

      public boolean requesterMatches(org.hl7.fhir.r4.model.Extension requesterExtension)
      Specified by:
      requesterMatches in interface Requester
    • recipientMatches

      public boolean recipientMatches(org.hl7.fhir.r4.model.Extension recipientExtension)
      Specified by:
      recipientMatches in interface Recipient
    • getProcessAuthorizationCode

      public org.hl7.fhir.r4.model.Coding getProcessAuthorizationCode()
      Specified by:
      getProcessAuthorizationCode in interface WithAuthorization
    • matches

      public boolean matches(org.hl7.fhir.r4.model.Coding processAuthorizationCode)
      Specified by:
      matches in interface WithAuthorization
    • fromRequester

      public static Optional<Requester> fromRequester(org.hl7.fhir.r4.model.Coding coding)
    • fromRecipient

      public static Optional<Recipient> fromRecipient(org.hl7.fhir.r4.model.Coding coding)