Class Address
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.
Implements
Inherited Members
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Address : Element, IFhirJsonSerializable
Properties
| Improve this Doc View Source_City
Extension container element for City
Declaration
public Element _City { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Country
Extension container element for Country
Declaration
public Element _Country { get; set; }
Property Value
Type | Description |
---|---|
Element |
_District
Extension container element for District
Declaration
public Element _District { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Line
Extension container element for Line
Declaration
public List<Element> _Line { get; set; }
Property Value
Type | Description |
---|---|
fhir |
_PostalCode
Extension container element for PostalCode
Declaration
public Element _PostalCode { get; set; }
Property Value
Type | Description |
---|---|
Element |
_State
Extension container element for State
Declaration
public Element _State { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Text
Extension container element for Text
Declaration
public Element _Text { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Type
Extension container element for Type
Declaration
public Element _Type { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Use
Extension container element for Use
Declaration
public Element _Use { get; set; }
Property Value
Type | Description |
---|---|
Element |
City
The name of the city, town, village or other community or delivery center.
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System. |
Country
Country - a nation as commonly understood or generally accepted.
Declaration
public string Country { get; set; }
Property Value
Type | Description |
---|---|
System. |
District
The name of the administrative area (county).
Declaration
public string District { get; set; }
Property Value
Type | Description |
---|---|
System. |
Line
home | work | temp | old - purpose of this address.
Declaration
public List<string> Line { get; set; }
Property Value
Type | Description |
---|---|
fhir |
Period
Allows addresses to be placed in historical context.
Declaration
public Period Period { get; set; }
Property Value
Type | Description |
---|---|
Period |
PostalCode
A postal code designating a region defined by the postal service.
Declaration
public string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
System. |
State
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).
Declaration
public string State { get; set; }
Property Value
Type | Description |
---|---|
System. |
Text
A renderable, unencoded form.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type
Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Use
Allows an appropriate address to be chosen from a list of many.
Declaration
public string Use { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceDeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)
Deserialize a JSON object
Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options |
DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)
Deserialize a JSON property
Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options | |
System. |
propertyName |
SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)
Serialize to a JSON object
Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
writer | |
Json |
options | |
System. |
includeStartObject |