Private ReadonlyaddressFHIR CodeSystem: AddressUse
Private OptionaluseAddress.use Element
FHIR Specification
codeCodeSystem Enumeration: AddressUseEnum
Private ReadonlyaddressFHIR CodeSystem: AddressType
Private Optionaltype_Address.type Element
FHIR Specification
codeCodeSystem Enumeration: AddressTypeEnum
Private OptionaltextAddress.text Element
FHIR Specification
stringPrivate OptionallineAddress.line Element
FHIR Specification
stringPrivate OptionalcityAddress.city Element
Private OptionaldistrictAddress.district Element
FHIR Specification
stringPrivate OptionalstateAddress.state Element
FHIR Specification
stringPrivate OptionalpostalAddress.postalCode Element
Private OptionalcountryAddress.country Element
FHIR Specification
stringPrivate OptionalperiodAddress.period Element
StaticparseParse the provided Address JSON to instantiate the Address data model.
JSON representing FHIR Address
OptionaloptSourceField: stringOptional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to Address
Address data model or undefined for Address
JsonError if the provided JSON is not a valid JSON object
the use property value as a EnumCodeType if defined; else undefined
CodeSystem Enumeration: AddressUseEnum
Assigns the provided EnumCodeType value to the use property.
the use value
this
InvalidCodeError for invalid code values
InvalidTypeError for invalid data types
CodeSystem Enumeration: AddressUseEnum
true if the use property exists and has a value; false otherwise
the use property value as a CodeType if defined; else undefined
CodeSystem Enumeration: AddressUseEnum
Assigns the provided PrimitiveType value to the use property.
the use value
this
InvalidCodeError for invalid code value
InvalidTypeError for invalid data types
CodeSystem Enumeration: AddressUseEnum
true if the use property exists and has a value; false otherwise
the use property value as a fhirCode if defined; else undefined
CodeSystem Enumeration: AddressUseEnum
Assigns the provided primitive value to the use property.
the use value
this
InvalidCodeError for invalid code value
PrimitiveTypeError for invalid primitive types
CodeSystem Enumeration: AddressUseEnum
true if the use property exists and has a value; false otherwise
the type_ property value as a EnumCodeType if defined; else undefined
CodeSystem Enumeration: AddressTypeEnum
Assigns the provided EnumCodeType value to the type_ property.
the type_ value
this
InvalidCodeError for invalid code values
InvalidTypeError for invalid data types
CodeSystem Enumeration: AddressTypeEnum
true if the type_ property exists and has a value; false otherwise
the type_ property value as a CodeType if defined; else undefined
CodeSystem Enumeration: AddressTypeEnum
Assigns the provided PrimitiveType value to the type_ property.
the type_ value
this
InvalidCodeError for invalid code value
InvalidTypeError for invalid data types
CodeSystem Enumeration: AddressTypeEnum
true if the type_ property exists and has a value; false otherwise
the type_ property value as a fhirCode if defined; else undefined
CodeSystem Enumeration: AddressTypeEnum
Assigns the provided primitive value to the type_ property.
the type_ value
this
InvalidCodeError for invalid code value
PrimitiveTypeError for invalid primitive types
CodeSystem Enumeration: AddressTypeEnum
true if the type_ property exists and has a value; false otherwise
the text property value as a StringType object if defined; else an empty StringType object
Assigns the provided PrimitiveType value to the text property.
the text value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the text property exists and has a value; false otherwise
the text property value as a fhirString if defined; else undefined
Assigns the provided primitive value to the text property.
the text value
this
PrimitiveTypeError for invalid primitive types
true if the text property exists and has a value; false otherwise
the line property value as a StringType array
Assigns the provided StringType array value to the line property.
the line array value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
Add the provided StringType value to the line array property.
the line value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the line property exists and has a value; false otherwise
the line property value as a fhirString array
Assigns the provided primitive value array to the line property.
the line value array
this
PrimitiveTypeError for invalid primitive types
Add the provided primitive value to the line array property.
the line value
this
PrimitiveTypeError for invalid primitive types
true if the line property exists and has a value; false otherwise
the city property value as a StringType object if defined; else an empty StringType object
Assigns the provided PrimitiveType value to the city property.
the city value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the city property exists and has a value; false otherwise
the city property value as a fhirString if defined; else undefined
Assigns the provided primitive value to the city property.
the city value
this
PrimitiveTypeError for invalid primitive types
true if the city property exists and has a value; false otherwise
the district property value as a StringType object if defined; else an empty StringType object
Assigns the provided PrimitiveType value to the district property.
the district value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the district property exists and has a value; false otherwise
the district property value as a fhirString if defined; else undefined
Assigns the provided primitive value to the district property.
the district value
this
PrimitiveTypeError for invalid primitive types
true if the district property exists and has a value; false otherwise
the state property value as a StringType object if defined; else an empty StringType object
Assigns the provided PrimitiveType value to the state property.
the state value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the state property exists and has a value; false otherwise
the state property value as a fhirString if defined; else undefined
Assigns the provided primitive value to the state property.
the state value
this
PrimitiveTypeError for invalid primitive types
true if the state property exists and has a value; false otherwise
the postalCode property value as a StringType object if defined; else an empty StringType object
Assigns the provided PrimitiveType value to the postalCode property.
the postalCode value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the postalCode property exists and has a value; false otherwise
the postalCode property value as a fhirString if defined; else undefined
Assigns the provided primitive value to the postalCode property.
the postalCode value
this
PrimitiveTypeError for invalid primitive types
true if the postalCode property exists and has a value; false otherwise
the country property value as a StringType object if defined; else an empty StringType object
Assigns the provided PrimitiveType value to the country property.
the country value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the country property exists and has a value; false otherwise
the country property value as a fhirString if defined; else undefined
Assigns the provided primitive value to the country property.
the country value
this
PrimitiveTypeError for invalid primitive types
true if the country property exists and has a value; false otherwise
the period property value as a Period object if defined; else an empty Period object
Assigns the provided Period object value to the period property.
the period object value
this
InvalidTypeError for invalid data types
true if the period property exists and has a value; false otherwise
the FHIR type defined in the FHIR standard
true if the instance is empty; false otherwise
Creates a copy of the current instance.
the a new instance copied from the current instance
true if the instance is a FHIR complex datatype; false otherwise
the complex or primitive data model type name (e.g., 'Period", 'StringType', `UriType', etc.)
the JSON value or undefined if the instance is empty
true if the instance is a FHIR complex or primitive datatype; false otherwise
the id property value
Assigns the provided value to the id property.
the id value
this
PrimitiveTypeError for invalid value
true if id exists and has a value; false otherwise
the array of extension values
Assigns the provided array of Extension values to the extension property.
array of Extensions
this
Determines if the extension property exists.
Optionalurl: stringthe url that identifies a specific Extension
true if an Extension has the provided url; false otherwise
If the url is provided, determines if an Extension having
the provided url exists. If the url is not provided, determines
if the extension property exists and has any values.
AssertionError for invalid url
Determines if the extension property exists.
the url that identifies a specific Extension
an Extension having the provided url
If the url is provided, determines if an Extension having
the provided url exists. If the url is not provided, determines
if the extension property exists and has any values.
AssertionError for invalid url
Adds the provided Extension to the extension property array.
the Extension value to add to the extension property array
this
Removes the Extension having the provided url from the extension property array.
the url that identifies a specific Extension to remove
AssertionError for invalid url
true if and only if the data model has required fields (min cardinality > 0)
and at least one of those required fields in the instance is empty; false otherwise
true if the instance is a FHIR resource; false otherwise
true if the instance is a FHIR primitive datatype; false otherwise
true if the instance is a FHIR primitive boolean datatype; false otherwise
true if the instance is a FHIR primitive string-based datatype; false otherwise
true if the instance is a FHIR primitive number-based datatype; false otherwise
true if the instance is a FHIR primitive bigint-based datatype; false otherwise
true if the instance is a FHIR primitive datetime-based datatype; false otherwise
ProtectedcopyProtectedCopies the current instance's elements into the provided object.
the copied instance
PrivateinitInitialize the line property
Address Class
Remarks
Address Type: An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. The ISO21090-codedString may be used to provide a coded representation of the contents of strings in an Address.
Need to be able to record postal addresses, along with notes about their use.
FHIR Specification
See
FHIR Address