Class FhirCompartment
Implements
Inherited Members
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirCompartment : FhirModelBase
Constructors
| Improve this Doc View SourceFhirCompartment(FhirCompartment)
Initializes a new instance of the FhirCompartment class.
Declaration
public FhirCompartment(FhirCompartment source)
Parameters
| Type | Name | Description |
|---|---|---|
| FhirCompartment | source | Source top copy from. |
FhirCompartment(String, String, String, String, FhirConcept, Uri, String, String, Nullable<Int32>, Boolean, String, String, String, String, String, Boolean, Dictionary<String, FhirCompartment.CompartmentResource>)
Initializes a new instance of the FhirCompartment class.
Declaration
public FhirCompartment(string id, string name, string title, string version, FhirConcept versionAlgorithm, Uri url, string publicationStatus, string standardStatus, int? fmmLevel, bool isExperimental, string purpose, string description, string narrative, string narrativeStatus, string compartmentType, bool isSearchSupported, Dictionary<string, FhirCompartment.CompartmentResource> compartmentResources)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The identifier. |
| System.String | name | The name. |
| System.String | title | Title of this compartment. |
| System.String | version | Version of this definition. |
| FhirConcept | versionAlgorithm | Algorithm for the version information, if present |
| Uri | url | URL of the resource. |
| System.String | publicationStatus | The publication status. |
| System.String | standardStatus | The standard status. |
| System.Nullable<System.Int32> | fmmLevel | The fmm level. |
| System.Boolean | isExperimental | A value indicating whether this object is experimental. |
| System.String | purpose | The purpose. |
| System.String | description | Natural language description of the compartment definition. |
| System.String | narrative | Narrative content for this resource. |
| System.String | narrativeStatus | Narrative status for the narrative of this resource. |
| System.String | compartmentType | CompartmentType code. |
| System.Boolean | isSearchSupported | If search is supported in this compartment. |
| Dictionary<System.String, Microsoft.Health.Fhir.CodeGenCommon.Models.FhirCompartment.CompartmentResource> | compartmentResources |
Properties
| Improve this Doc View SourceCompartmentType
Gets the type of the compartment.
Declaration
public FhirCompartment.CompartmentTypeCodes CompartmentType { get; }
Property Value
| Type | Description |
|---|---|
| FhirCompartment.CompartmentTypeCodes |
CompartmentTypeLiteral
Gets the compartment type literal.
Declaration
public string CompartmentTypeLiteral { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsSearchSupported
Gets a value indicating whether this object is search supported.
Declaration
public bool IsSearchSupported { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ResourcesByType
Gets the compartment resource records, by resource type.
Declaration
public Dictionary<string, FhirCompartment.CompartmentResource> ResourcesByType { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<System.String, Microsoft.Health.Fhir.CodeGenCommon.Models.FhirCompartment.CompartmentResource> |
Methods
| Improve this Doc View SourceClone()
Makes a deep copy of this object.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A copy of this object. |