Class ChMed16AExtendedPostalAddress
java.lang.Object
org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanPostalAddress
org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed16a.ChMed16APostalAddress
org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed16a.ChMed16AExtendedPostalAddress
- All Implemented Interfaces:
EMediplanObject
This is the postal address object used for the ePrescription backport of HealthcareOrganization, which includes
the country code, while the vanilla CHMED16A does not.
-
Field Summary
Fields inherited from class org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed16a.ChMed16APostalAddress
city, CITY_FIELD_NAME, country, COUNTRY_FIELD_NAME, POSTAL_CODE_FIELD_NAME, postalCode, street, STREET_FIELD_NAMEFields inherited from class org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanPostalAddress
COUNTRY_CODE_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromFhirAddress(org.hl7.fhir.r4.model.Address fhirAddress) voidsetCountry(@Nullable String country) Methods inherited from class org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed16a.ChMed16APostalAddress
getCityFieldName, getCountryFieldName, getPostalCodeFieldName, getStreetFieldNameMethods inherited from class org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanPostalAddress
fromFhirAddress, getCity, getCountry, getPostalCode, getStreet, hasExtensions, setCity, setPostalCode, setStreet, toFhir, 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, trim, validate
-
Constructor Details
-
ChMed16AExtendedPostalAddress
public ChMed16AExtendedPostalAddress()
-
-
Method Details
-
setCountry
- Overrides:
setCountryin classChMed16APostalAddress
-
fromFhirAddress
public static ChMed16AExtendedPostalAddress fromFhirAddress(org.hl7.fhir.r4.model.Address fhirAddress)
-