Class FhirConceptTreeNode
A fhir concept tree node.
Inheritance
System.Object
FhirConceptTreeNode
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirConceptTreeNode : object
Constructors
| Improve this Doc View SourceFhirConceptTreeNode(FhirConcept, FhirConceptTreeNode)
Initializes a new instance of the Fhir
Declaration
public FhirConceptTreeNode(FhirConcept concept, FhirConceptTreeNode parent)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
concept | The concept. |
Fhir |
parent | The parent. |
Properties
| Improve this Doc View SourceChildren
Gets the children.
Declaration
public Dictionary<string, FhirConceptTreeNode> Children { get; }
Property Value
Type | Description |
---|---|
Dictionary<System. |
The children. |
Concept
Gets the concept.
Declaration
public FhirConcept Concept { get; }
Property Value
Type | Description |
---|---|
Fhir |
The concept. |
IsRoot
Gets a value indicating whether this object is root.
Declaration
public bool IsRoot { get; }
Property Value
Type | Description |
---|---|
System. |
True if this object is root, false if not. |
Parent
Gets the parent.
Declaration
public FhirConceptTreeNode Parent { get; }
Property Value
Type | Description |
---|---|
Fhir |
The parent. |
Methods
| Improve this Doc View SourceAddChild(FhirConcept)
Adds a node.
Declaration
public FhirConceptTreeNode AddChild(FhirConcept concept)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
concept | The concept. |
Returns
Type | Description |
---|---|
Fhir |
A FhirConceptTreeNode. |