Class FhirCode
A FHIR Code value object.
Inheritance
System.Object
FhirCode
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public static class FhirCode : object
Methods
| Improve this Doc View SourceAddCodes(String, String[])
Adds the codes to 'values'.
Declaration
public static bool AddCodes(string name, string[] values)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
System. |
values | The values. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |
TryGetCodes(String, out String[])
Attempts to get codes a string[] from the given string.
Declaration
public static bool TryGetCodes(string name, out string[] values)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
System. |
values | [out] The values. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |