Class JBirthType
A data type for a live birth of a human being.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JBirthType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JBirthType>
Properties
Attendant
A person or entity who attended the birth. NIEM reference is j:BirthAttendant
Declaration
[DataMember(Name = "attendant")]
public List<NcPersonType> Attendant { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person or entity who attended the birth. NIEM reference is j:BirthAttendant |
ChildBirthOrderNumeric
A number indicating the order of birth specified on the birth certificate (e.g., first, second). NIEM reference is j:BirthChildBirthOrderNumeric
Declaration
[DataMember(Name = "childBirthOrderNumeric")]
public List<NcNumericType> ChildBirthOrderNumeric { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcNumericType> | A number indicating the order of birth specified on the birth certificate (e.g., first, second). NIEM reference is j:BirthChildBirthOrderNumeric |
Context
jBirthType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JBirthType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JBirthType.ContextEnum> | jBirthType JSON-LD context |
IsPersonHospital
True if a person was born in a hospital; false otherwise. NIEM reference is j:PersonHospitalBirthIndicator
Declaration
[DataMember(Name = "isPersonHospital")]
public List<NiemXsboolean> IsPersonHospital { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person was born in a hospital; false otherwise. NIEM reference is j:PersonHospitalBirthIndicator |
Registration
A registration for a government certificate of live birth. NIEM reference is j:BirthRegistration
Declaration
[DataMember(Name = "registration")]
public List<NcDocumentType> Registration { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDocumentType> | A registration for a government certificate of live birth. NIEM reference is j:BirthRegistration |
Methods
Equals(JBirthType)
Returns true if JBirthType instances are equal
Declaration
public bool Equals(JBirthType other)
Parameters
Type | Name | Description |
---|---|---|
JBirthType | other | Instance of JBirthType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(JBirthType, JBirthType)
Declaration
public static bool operator ==(JBirthType left, JBirthType right)
Parameters
Type | Name | Description |
---|---|---|
JBirthType | left | |
JBirthType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JBirthType, JBirthType)
Declaration
public static bool operator !=(JBirthType left, JBirthType right)
Parameters
Type | Name | Description |
---|---|---|
JBirthType | left | |
JBirthType | right |
Returns
Type | Description |
---|---|
System.Boolean |