public class AddressDt extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.ICompositeDatatype
Definition: There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world
Requirements: Need to be able to record postal addresses, along with notes about their use
| Constructor and Description |
|---|
AddressDt()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ca.uhn.fhir.model.primitive.StringDt |
addLine()
Adds and returns a new value for line ()
|
AddressDt |
addLine(String theString)
Adds a new value for line ()
|
AddressDt |
addLine(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for line ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getCity()
Gets the value(s) for city ().
|
ca.uhn.fhir.model.primitive.StringDt |
getCityElement()
Gets the value(s) for city ().
|
String |
getCountry()
Gets the value(s) for country ().
|
ca.uhn.fhir.model.primitive.StringDt |
getCountryElement()
Gets the value(s) for country ().
|
String |
getDistrict()
Gets the value(s) for district ().
|
ca.uhn.fhir.model.primitive.StringDt |
getDistrictElement()
Gets the value(s) for district ().
|
List<ca.uhn.fhir.model.primitive.StringDt> |
getLine()
Gets the value(s) for line ().
|
ca.uhn.fhir.model.primitive.StringDt |
getLineFirstRep()
Gets the first repetition for line (),
creating it if it does not already exist.
|
PeriodDt |
getPeriod()
Gets the value(s) for period ().
|
String |
getPostalCode()
Gets the value(s) for postalCode ().
|
ca.uhn.fhir.model.primitive.StringDt |
getPostalCodeElement()
Gets the value(s) for postalCode ().
|
String |
getState()
Gets the value(s) for state ().
|
ca.uhn.fhir.model.primitive.StringDt |
getStateElement()
Gets the value(s) for state ().
|
String |
getText()
Gets the value(s) for text ().
|
ca.uhn.fhir.model.primitive.StringDt |
getTextElement()
Gets the value(s) for text ().
|
String |
getType()
Gets the value(s) for type ().
|
ca.uhn.fhir.model.primitive.BoundCodeDt<AddressTypeEnum> |
getTypeElement()
Gets the value(s) for type ().
|
String |
getUse()
Gets the value(s) for use ().
|
ca.uhn.fhir.model.primitive.BoundCodeDt<AddressUseEnum> |
getUseElement()
Gets the value(s) for use ().
|
boolean |
isEmpty() |
AddressDt |
setCity(String theString)
Sets the value for city ()
|
AddressDt |
setCity(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for city ()
|
AddressDt |
setCountry(String theString)
Sets the value for country ()
|
AddressDt |
setCountry(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for country ()
|
AddressDt |
setDistrict(String theString)
Sets the value for district ()
|
AddressDt |
setDistrict(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for district ()
|
AddressDt |
setLine(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for line ()
|
AddressDt |
setPeriod(PeriodDt theValue)
Sets the value(s) for period ()
|
AddressDt |
setPostalCode(String theString)
Sets the value for postalCode ()
|
AddressDt |
setPostalCode(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for postalCode ()
|
AddressDt |
setState(String theString)
Sets the value for state ()
|
AddressDt |
setState(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for state ()
|
AddressDt |
setText(String theString)
Sets the value for text ()
|
AddressDt |
setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for text ()
|
AddressDt |
setType(AddressTypeEnum theValue)
Sets the value(s) for type ()
|
AddressDt |
setType(ca.uhn.fhir.model.primitive.BoundCodeDt<AddressTypeEnum> theValue)
Sets the value(s) for type ()
|
AddressDt |
setUse(AddressUseEnum theValue)
Sets the value(s) for use ()
|
AddressDt |
setUse(ca.uhn.fhir.model.primitive.BoundCodeDt<AddressUseEnum> theValue)
Sets the value(s) for use ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptypublic AddressDt()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic ca.uhn.fhir.model.primitive.BoundCodeDt<AddressUseEnum> getUseElement()
null.
Definition: The purpose of this address
public String getUse()
null.
Definition: The purpose of this address
public AddressDt setUse(ca.uhn.fhir.model.primitive.BoundCodeDt<AddressUseEnum> theValue)
Definition: The purpose of this address
public AddressDt setUse(AddressUseEnum theValue)
Definition: The purpose of this address
public ca.uhn.fhir.model.primitive.BoundCodeDt<AddressTypeEnum> getTypeElement()
null.
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public String getType()
null.
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public AddressDt setType(ca.uhn.fhir.model.primitive.BoundCodeDt<AddressTypeEnum> theValue)
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public AddressDt setType(AddressTypeEnum theValue)
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public ca.uhn.fhir.model.primitive.StringDt getTextElement()
null.
Definition: A full text representation of the address
public String getText()
null.
Definition: A full text representation of the address
public AddressDt setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: A full text representation of the address
public AddressDt setText(String theString)
Definition: A full text representation of the address
public List<ca.uhn.fhir.model.primitive.StringDt> getLine()
null.
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public AddressDt setLine(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public ca.uhn.fhir.model.primitive.StringDt addLine()
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public AddressDt addLine(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
theValue - The line to add (must not be null)public ca.uhn.fhir.model.primitive.StringDt getLineFirstRep()
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public AddressDt addLine(String theString)
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public ca.uhn.fhir.model.primitive.StringDt getCityElement()
null.
Definition: The name of the city, town, village or other community or delivery center
public String getCity()
null.
Definition: The name of the city, town, village or other community or delivery center
public AddressDt setCity(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: The name of the city, town, village or other community or delivery center
public AddressDt setCity(String theString)
Definition: The name of the city, town, village or other community or delivery center
public ca.uhn.fhir.model.primitive.StringDt getDistrictElement()
null.
Definition: The name of the administrative area (county)
public String getDistrict()
null.
Definition: The name of the administrative area (county)
public AddressDt setDistrict(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: The name of the administrative area (county)
public AddressDt setDistrict(String theString)
Definition: The name of the administrative area (county)
public ca.uhn.fhir.model.primitive.StringDt getStateElement()
null.
Definition: Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)
public String getState()
null.
Definition: Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)
public AddressDt setState(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)
public AddressDt setState(String theString)
Definition: Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)
public ca.uhn.fhir.model.primitive.StringDt getPostalCodeElement()
null.
Definition: A postal code designating a region defined by the postal service
public String getPostalCode()
null.
Definition: A postal code designating a region defined by the postal service
public AddressDt setPostalCode(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: A postal code designating a region defined by the postal service
public AddressDt setPostalCode(String theString)
Definition: A postal code designating a region defined by the postal service
public ca.uhn.fhir.model.primitive.StringDt getCountryElement()
null.
Definition: Country - a nation as commonly understood or generally accepted
public String getCountry()
null.
Definition: Country - a nation as commonly understood or generally accepted
public AddressDt setCountry(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: Country - a nation as commonly understood or generally accepted
public AddressDt setCountry(String theString)
Definition: Country - a nation as commonly understood or generally accepted
public PeriodDt getPeriod()
null.
Definition: Time period when address was/is in use
Copyright © 2014–2018 University Health Network. All rights reserved.