Interface EMediplanHealthcareProCarrier<P extends EMediplanHealthcarePerson,O extends EMediplanHealthcareOrganization>

Type Parameters:
P - The type of EMediplanHealthcarePerson objects of the implementing class may convey.
O - The type of EMediplanHealthcareOrganization objects of the implementing class may convey.
All Superinterfaces:
EMediplanObject
All Known Implementing Classes:
ChMed23AEMediplan, EPrescription

public interface EMediplanHealthcareProCarrier<P extends EMediplanHealthcarePerson,O extends EMediplanHealthcareOrganization> extends EMediplanObject
Interface for an object that carries information about healthcare professionals in the context of an eMediplan document. That is: that may convey an EMediplanHealthcarePerson object and/or an EMediplanHealthcareOrganization.
  • Method Details

    • getHealthcarePerson

      @Nullable P getHealthcarePerson()
    • getHealthcareOrganization

      @Nullable O getHealthcareOrganization()
    • getHealthcarePersonFieldName

      String getHealthcarePersonFieldName()
    • getHealthcareOrganizationFieldName

      String getHealthcareOrganizationFieldName()
    • isAuthorProfessional

      boolean isAuthorProfessional()
      Whether the author of the eMediplan is of a professional nature (pro/org) or a patient.
      Returns:
      true if the author is a professional, false otherwise.
    • validateHealtcareProInfo

      default ValidationResult validateHealtcareProInfo(@Nullable String basePath)
      Validates the healthcare person and healthcare organization content.
      Parameters:
      basePath - The base path for the object containing the healthcare professional/organization information.
      Returns:
      The validation result.