Class NcReferralType
A data type for a recommendation of a person to an activity, program, or product.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcReferralType : NcActivityType, IEquatable<NcActivityType>, IEquatable<NcReferralType>
Properties
Activity
An activity or program to which a person is directed to attend or perform. NIEM reference is nc:ReferralActivity
Declaration
[DataMember(Name = "activity")]
public List<NcActivityType> Activity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcActivityType> | An activity or program to which a person is directed to attend or perform. NIEM reference is nc:ReferralActivity |
Augmentation
Additional information about a referral. NIEM reference is j:ReferralAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<JReferralAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JReferralAugmentationType> | Additional information about a referral. NIEM reference is j:ReferralAugmentation |
Context
ncReferralType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcReferralType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcReferralType.ContextEnum> | ncReferralType JSON-LD context |
Entity
An entity to which a person has been referred. NIEM reference is nc:ReferralEntity
Declaration
[DataMember(Name = "entity")]
public List<NcEntityType> Entity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity to which a person has been referred. NIEM reference is nc:ReferralEntity |
IsMandatory
True if a referral is required; false if a referral is optional. NIEM reference is nc:ReferralMandatoryIndicator
Declaration
[DataMember(Name = "isMandatory")]
public List<NiemXsboolean> IsMandatory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a referral is required; false if a referral is optional. NIEM reference is nc:ReferralMandatoryIndicator |
Issuer
An entity which recommends a person to an activity, program, or product. NIEM reference is nc:ReferralIssuer
Declaration
[DataMember(Name = "issuer")]
public List<NcEntityType> Issuer { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity which recommends a person to an activity, program, or product. NIEM reference is nc:ReferralIssuer |
Item
A property item to which a person has been directed. NIEM reference is nc:ReferralItem
Declaration
[DataMember(Name = "item")]
public List<NcItemType> Item { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | A property item to which a person has been directed. NIEM reference is nc:ReferralItem |
Person
A person who is being directed to a relevant service or product. NIEM reference is nc:ReferralPerson
Declaration
[DataMember(Name = "person")]
public List<NcPersonType> Person { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person who is being directed to a relevant service or product. NIEM reference is nc:ReferralPerson |
Supervisor
An entity which is responsible for ensuring that a person follows a referral. NIEM reference is nc:ReferralSupervisor
Declaration
[DataMember(Name = "supervisor")]
public List<NcEntityType> Supervisor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity which is responsible for ensuring that a person follows a referral. NIEM reference is nc:ReferralSupervisor |
Methods
Equals(NcReferralType)
Returns true if NcReferralType instances are equal
Declaration
public bool Equals(NcReferralType other)
Parameters
Type | Name | Description |
---|---|---|
NcReferralType | other | Instance of NcReferralType 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(NcReferralType, NcReferralType)
Declaration
public static bool operator ==(NcReferralType left, NcReferralType right)
Parameters
Type | Name | Description |
---|---|---|
NcReferralType | left | |
NcReferralType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcReferralType, NcReferralType)
Declaration
public static bool operator !=(NcReferralType left, NcReferralType right)
Parameters
Type | Name | Description |
---|---|---|
NcReferralType | left | |
NcReferralType | right |
Returns
Type | Description |
---|---|
System.Boolean |