Class Group
Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization.
Implements
Inherited Members
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Group : DomainResource, IFhirJsonSerializable
Properties
| Improve this Doc View Source_Actual
Extension container element for Actual
Declaration
public Element _Actual { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Name
Extension container element for Name
Declaration
public Element _Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Type
Extension container element for Type
Declaration
public Element _Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
Actual
There are use-cases for groups that define specific collections of individuals, and other groups that define "types" of intended individuals. The requirements for both kinds of groups are similar, so we use a single resource, distinguished by this flag.
Declaration
public bool Actual { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Characteristic
Needs to be a generic mechanism for identifying what individuals can be part of a group.
Declaration
public List<GroupCharacteristic> Characteristic { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<GroupCharacteristic> |
Code
Provides a specific type of resource the group includes; e.g. "cow", "syringe", etc.
Declaration
public CodeableConcept Code { get; set; }
Property Value
| Type | Description |
|---|---|
| CodeableConcept |
Identifier
Allows the group to be referenced from external specifications.
Declaration
public List<Identifier> Identifier { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<Identifier> |
Member
Often the only thing of interest about a group is "who's in it".
Declaration
public List<GroupMember> Member { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<GroupMember> |
Name
Used to identify the group in human communication.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Quantity
Group size is a common defining characteristic.
Declaration
public uint? Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
ResourceType
Resource Type Name
Declaration
public override string ResourceType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
| Improve this Doc View SourceType
Identifies what type of resources the group is made up of.
Declaration
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | 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 |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | options | |
| System.String | 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 |
|---|---|---|
| Utf8JsonWriter | writer | |
| JsonSerializerOptions | options | |
| System.Boolean | includeStartObject |