Show / Hide Table of Contents

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 Source

AddCodes(String, String[])

Adds the codes to 'values'.

Declaration
public static bool AddCodes(string name, string[] values)
Parameters
Type Name Description
System.String name

The name.

System.String[] values

The values.

Returns
Type Description
System.Boolean

True if it succeeds, false if it fails.

| Improve this Doc View Source

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.String name

The name.

System.String[] values

[out] The values.

Returns
Type Description
System.Boolean

True if it succeeds, false if it fails.

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • AddCodes(String, String[])
    • TryGetCodes(String, out String[])
Back to top Generated by DocFX