Class ChMed23AHealthcareOrganization
java.lang.Object
org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanHealthcareOrganization<ChMed23APostalAddress>
org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed23a.ChMed23AHealthcareOrganization
- All Implemented Interfaces:
EMediplanObject
public class ChMed23AHealthcareOrganization
extends EMediplanHealthcareOrganization<ChMed23APostalAddress>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ChMed23APostalAddressPostal address of the patient.protected @Nullable StringThe GLN.protected static final Stringprotected StringName of the organization.protected static final Stringprotected @Nullable StringZSR number.protected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromChEmedEprOrganization(ChEmedEprOrganization organization) Gets an eMediplan organization object from a CH EMED EPR organization object.protected Stringvalidate(@Nullable String basePath, EMediplanType mediplanType) Methods inherited from class org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanHealthcareOrganization
fromChEmedEprOrganization, getAddress, getName, getZsr, hasExtensions, setAddress, setName, setZsr, toFhir, trim, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanObject
getFieldValidationPath, getFieldValidationPath, getIgnoredFieldValidationIssue, getRequiredFieldValidationIssue, getValidationIssue, validate
-
Field Details
-
GLN_FIELD_NAME
- See Also:
-
NAME_FIELD_NAME
- See Also:
-
ZSR_FIELD_NAME
- See Also:
-
gln
The GLN. Required if not set in the HealthcarePerson object, otherwise optional. -
name
Name of the organization. -
address
Postal address of the patient. -
zsr
ZSR number. The ZSR number may only be set once, either in the HealthcarePerson object or in the HealthcareOrganization object.
-
-
Constructor Details
-
ChMed23AHealthcareOrganization
public ChMed23AHealthcareOrganization()
-
-
Method Details
-
getNameFieldName
- Specified by:
getNameFieldNamein classEMediplanHealthcareOrganization<ChMed23APostalAddress>
-
validate
-
fromChEmedEprOrganization
public static ChMed23AHealthcareOrganization fromChEmedEprOrganization(ChEmedEprOrganization organization) Gets an eMediplan organization object from a CH EMED EPR organization object.- Parameters:
organization- The CH EMED EPR organization object to be converted.- Returns:
- The resulting eMediplan object.
-