Class ChMed16APostalAddress
java.lang.Object
org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanPostalAddress
org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed16a.ChMed16APostalAddress
- All Implemented Interfaces:
EMediplanObject
- Direct Known Subclasses:
ChMed16AExtendedPostalAddress
A postal address. This class is made to be embedded within other classes like
ChMed16APatient and
ChMed23AHealthcareOrganization that should use it as a JsonUnwrapped
property so that it is flattened on inclusion.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable Stringprotected static final Stringprotected @Nullable Stringprotected static final Stringprotected static final Stringprotected @Nullable StringPostcode.protected @Nullable StringAll information at lower leven than the postal code, can be several lines.protected static final StringFields inherited from class org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanPostalAddress
COUNTRY_CODE_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChMed16APostalAddressfromFhirAddress(org.hl7.fhir.r4.model.Address fhirAddress) voidsetCountry(@Nullable String country) Methods 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
-
Field Details
-
STREET_FIELD_NAME
- See Also:
-
POSTAL_CODE_FIELD_NAME
- See Also:
-
CITY_FIELD_NAME
- See Also:
-
COUNTRY_FIELD_NAME
- See Also:
-
street
All information at lower leven than the postal code, can be several lines. -
postalCode
Postcode. -
city
-
country
-
-
Constructor Details
-
ChMed16APostalAddress
public ChMed16APostalAddress()
-
-
Method Details
-
getStreetFieldName
- Specified by:
getStreetFieldNamein classEMediplanPostalAddress
-
getPostalCodeFieldName
- Specified by:
getPostalCodeFieldNamein classEMediplanPostalAddress
-
getCityFieldName
- Specified by:
getCityFieldNamein classEMediplanPostalAddress
-
getCountryFieldName
- Specified by:
getCountryFieldNamein classEMediplanPostalAddress
-
setCountry
- Specified by:
setCountryin classEMediplanPostalAddress
-
fromFhirAddress
-