Class FhirCodeSystem
A fhir code system.
Inheritance
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirCodeSystem : object
Constructors
| Improve this Doc View SourceFhirCodeSystem(String, String, String, String, String, String, String, Nullable<Int32>, String, String, FhirConceptTreeNode, Dictionary<String, FhirConceptTreeNode>, Dictionary<String, FhirCodeSystem.FilterDefinition>, Dictionary<String, FhirCodeSystem.PropertyDefinition>)
Initializes a new instance of the FhirCodeSystem class.
Declaration
public FhirCodeSystem(string name, string id, string version, string title, string url, string publicationStatus, string standardStatus, int? fmmLevel, string description, string content, FhirConceptTreeNode rootConcept, Dictionary<string, FhirConceptTreeNode> conceptLookup, Dictionary<string, FhirCodeSystem.FilterDefinition> filters, Dictionary<string, FhirCodeSystem.PropertyDefinition> properties)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | id | The identifier. |
System.String | version | The version. |
System.String | title | The title. |
System.String | url | The URL. |
System.String | publicationStatus | The publication status. |
System.String | standardStatus | The standard status. |
System.Nullable<System.Int32> | fmmLevel | The fmm level. |
System.String | description | The description. |
System.String | content | The content. |
FhirConceptTreeNode | rootConcept | The root concept. |
Dictionary<System.String, FhirConceptTreeNode> | conceptLookup | The concept lookup. |
Dictionary<System.String, Microsoft.Health.Fhir.CodeGenCommon.Models.FhirCodeSystem.FilterDefinition> | filters | The filters. |
Dictionary<System.String, Microsoft.Health.Fhir.CodeGenCommon.Models.FhirCodeSystem.PropertyDefinition> | properties | The properties. |
Properties
| Improve this Doc View SourceConceptLookup
Gets the concepts (by code).
Declaration
public Dictionary<string, FhirConceptTreeNode> ConceptLookup { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, FhirConceptTreeNode> | The concepts (by code). |
Content
Gets the content.
Declaration
public string Content { get; }
Property Value
Type | Description |
---|---|
System.String | The content. |
Description
Gets the description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String | The description. |
FhirMaturityLevel
Gets the FHIR maturity level.
Declaration
public int? FhirMaturityLevel { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Filters
Gets the filters.
Declaration
public Dictionary<string, FhirCodeSystem.FilterDefinition> Filters { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, Microsoft.Health.Fhir.CodeGenCommon.Models.FhirCodeSystem.FilterDefinition> |
Id
Gets the identifier.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String | The identifier. |
Item[String]
Indexer to get slices based on name.
Declaration
public FhirConceptTreeNode this[string code] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | code | The code. |
Property Value
Type | Description |
---|---|
FhirConceptTreeNode | The indexed item. |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Properties
Gets the properties.
Declaration
public Dictionary<string, FhirCodeSystem.PropertyDefinition> Properties { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, Microsoft.Health.Fhir.CodeGenCommon.Models.FhirCodeSystem.PropertyDefinition> |
PublicationStatus
Gets the publication status.
Declaration
public string PublicationStatus { get; }
Property Value
Type | Description |
---|---|
System.String |
RootConcept
Gets the root concept.
Declaration
public FhirConceptTreeNode RootConcept { get; }
Property Value
Type | Description |
---|---|
FhirConceptTreeNode | The root concept. |
StandardStatus
Gets status of this type in the standards process see: http://hl7.org/fhir/valueset-standards-status.html.
Declaration
public string StandardStatus { get; }
Property Value
Type | Description |
---|---|
System.String | The standard status. |
Title
Gets the title.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
System.String | The title. |
URL
Gets URL of the document.
Declaration
public string URL { get; }
Property Value
Type | Description |
---|---|
System.String | The URL. |
Version
Gets the version.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
System.String | The version. |
Methods
| Improve this Doc View SourceContainsConcept(String)
Query if this system contains a concept, specified by code.
Declaration
public bool ContainsConcept(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | The code. |
Returns
Type | Description |
---|---|
System.Boolean | True if this system has the concept, false if it does not. |
PropertyTypeFromValue(String)
Property type from value.
Declaration
public static FhirCodeSystem.PropertyTypeEnum PropertyTypeFromValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
FhirCodeSystem.PropertyTypeEnum | A PropertyTypeEnum. |