Interface OrganizationProvider


public interface OrganizationProvider
Provides access to Organization resources from the DSF FHIR server.
  • Method Details

    • getLocalOrganization

      Optional<org.hl7.fhir.r4.model.Organization> getLocalOrganization()
      Retrieves the local Organization resources by searching for the managing Organization of the local Endpoint resources. The local Endpoint resource is identified by the DSF FHIR server address configured for the DSF BPE server.
      Returns:
      Managing Organization for the Endpoint resource with address equal to the DSF FHIR server base address configured for this DSF BPE, empty Optional if no such resource exists
      See Also:
    • getLocalOrganizationIdentifier

      default Optional<org.hl7.fhir.r4.model.Identifier> getLocalOrganizationIdentifier()
      Returns:
      DSF organization identifier from the local Organization resource, empty Optional if no such resource exists or the Organization does not have a DSF organization identifier
      See Also:
    • getLocalOrganizationIdentifierValue

      default Optional<String> getLocalOrganizationIdentifierValue()
      Returns:
      DSF organization identifier value from the local Organization resource, empty Optional if no such resource exists or the Organization does not have a DSF organization identifier
      See Also:
    • getOrganization

      Optional<org.hl7.fhir.r4.model.Organization> getOrganization(org.hl7.fhir.r4.model.Identifier organizationIdentifier)
      Parameters:
      organizationIdentifier - may be null
      Returns:
      Active Organization with the given organizationIdentifier, empty Optional if no such resource exists or the given identifier is null
    • getOrganization

      default Optional<org.hl7.fhir.r4.model.Organization> getOrganization(String organizationIdentifierValue)
      Parameters:
      organizationIdentifierValue - may be null
      Returns:
      Active Organization with the given DSF organizationIdentifier, empty Optional if no such resource exists or the given identifier value is null
      See Also:
    • getOrganizations

      List<org.hl7.fhir.r4.model.Organization> getOrganizations(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier)
      Parameters:
      parentOrganizationIdentifier - may be null
      Returns:
      Active Organizations configured as participatingOrganization for an active parent Organization with the given parentOrganizationIdentifier, empty List if no parent organization found, parent has no participating organizations configured via OrganizationAffiliation resources or the given identifier is null
    • getOrganizations

      default List<org.hl7.fhir.r4.model.Organization> getOrganizations(String parentOrganizationIdentifierValue)
      Parameters:
      parentOrganizationIdentifierValue - may be null
      Returns:
      Active Organizations configured as participatingOrganization for an active parent Organization with the given DSF parentOrganizationIdentifierValue, empty List if no parent organization found, parent has no participating organizations configured via OrganizationAffiliation resources or the given identifier is null
      See Also:
    • getOrganizations

      List<org.hl7.fhir.r4.model.Organization> getOrganizations(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier, org.hl7.fhir.r4.model.Coding memberOrganizationRole)
      Parameters:
      parentOrganizationIdentifier - may be null
      memberOrganizationRole - may be null
      Returns:
      Active Organizations configured as participatingOrganization for an active parent Organization with the given parentOrganizationIdentifier and role equal to the given memberOrganizationRole, empty List if no parent organization found, parent has no participating organizations configured via OrganizationAffiliation resources with the given role or the given identifier is null
    • getOrganizations

      default List<org.hl7.fhir.r4.model.Organization> getOrganizations(String parentOrganizationIdentifierValue, String memberOrganizationRoleCode)
      Parameters:
      parentOrganizationIdentifierValue - may be null
      memberOrganizationRoleCode - may be null
      Returns:
      Active Organizations configured as participatingOrganization for an active parent Organization with the given parentOrganizationIdentifier and role equal to the given memberOrganizationRole, empty List if no parent organization found, parent has no participating organizations configured via OrganizationAffiliation resources with the given role or the given identifier is null
      See Also:
    • getRemoteOrganizations

      List<org.hl7.fhir.r4.model.Organization> getRemoteOrganizations()
      Returns:
      All active Organization resources except the local Organization and parent Organization resources
      See Also:
    • getParentOrganizations

      List<org.hl7.fhir.r4.model.Organization> getParentOrganizations()
      Returns:
      All active parent Organization resources
      See Also: