Show / Hide Table of Contents

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.

Inheritance
System.Object
Element
Address
Implements
IFhirJsonSerializable
Inherited Members
Element.Extension
Element.Fhir_comments
Element._Fhir_comments
Element.Id
Element._Id
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
| Improve this Doc View Source

_Country

Extension container element for Country

Declaration
public Element _Country { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_District

Extension container element for District

Declaration
public Element _District { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Line

Extension container element for Line

Declaration
public List<Element> _Line { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<Element>
| Improve this Doc View Source

_PostalCode

Extension container element for PostalCode

Declaration
public Element _PostalCode { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_State

Extension container element for State

Declaration
public Element _State { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Text

Extension container element for Text

Declaration
public Element _Text { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Type

Extension container element for Type

Declaration
public Element _Type { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Use

Extension container element for Use

Declaration
public Element _Use { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

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.String
| Improve this Doc View Source

Country

Country - a nation as commonly understood or generally accepted.

Declaration
public string Country { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

District

The name of the administrative area (county).

Declaration
public string District { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Line

home | work | temp | old - purpose of this address.

Declaration
public List<string> Line { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<System.String>
| Improve this Doc View Source

Period

Allows addresses to be placed in historical context.

Declaration
public Period Period { get; set; }
Property Value
Type Description
Period
| Improve this Doc View Source

PostalCode

A postal code designating a region defined by the postal service.

Declaration
public string PostalCode { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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.String
| Improve this Doc View Source

Text

A renderable, unencoded form.

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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.String
| Improve this Doc View Source

Use

Allows an appropriate address to be chosen from a list of many.

Declaration
public string Use { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

DeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)

Deserialize a JSON object

Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
| Improve this Doc View Source

DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)

Deserialize a JSON property

Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
System.String propertyName
| Improve this Doc View Source

SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)

Serialize to a JSON object

Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type Name Description
Utf8JsonWriter writer
JsonSerializerOptions options
System.Boolean includeStartObject

Implements

IFhirJsonSerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX