Interface EMediplanHealthcareProCarrier<P extends EMediplanHealthcarePerson,O extends EMediplanHealthcareOrganization>
- Type Parameters:
P- The type ofEMediplanHealthcarePersonobjects of the implementing class may convey.O- The type ofEMediplanHealthcareOrganizationobjects 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 Summary
Modifier and TypeMethodDescription@Nullable O@Nullable PbooleanWhether the author of the eMediplan is of a professional nature (pro/org) or a patient.default ValidationResultvalidateHealtcareProInfo(@Nullable String basePath) Validates the healthcare person and healthcare organization content.Methods inherited from interface org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanObject
getFieldValidationPath, getFieldValidationPath, getIgnoredFieldValidationIssue, getRequiredFieldValidationIssue, getValidationIssue, hasExtensions, trim, validate, validate
-
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:
trueif the author is a professional,falseotherwise.
-
validateHealtcareProInfo
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.
-