Show / Hide Table of Contents

Class FhirValueSetCollection

Collection of fhir value sets.

Inheritance
System.Object
FhirValueSetCollection
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirValueSetCollection : ICloneable

Constructors

| Improve this Doc View Source

FhirValueSetCollection(String)

Initializes a new instance of the FhirValueSetCollection class.

Declaration
public FhirValueSetCollection(string url)
Parameters
Type Name Description
System.String url

The URL.

Properties

| Improve this Doc View Source

URL

Gets URL of the document.

Declaration
public string URL { get; }
Property Value
Type Description
System.String

The URL.

| Improve this Doc View Source

ValueSetsByVersion

Gets the value sets by version.

Declaration
public Dictionary<string, FhirValueSet> ValueSetsByVersion { get; }
Property Value
Type Description
Dictionary<System.String, FhirValueSet>

The value sets by version.

Methods

| Improve this Doc View Source

AddValueSet(FhirValueSet)

Adds a value set.

Declaration
public void AddValueSet(FhirValueSet valueSet)
Parameters
Type Name Description
FhirValueSet valueSet

Set the value belongs to.

| Improve this Doc View Source

Clone()

Creates a new object that is a copy of the current instance.

Declaration
public object Clone()
Returns
Type Description
System.Object

A new object that is a copy of this instance.

| Improve this Doc View Source

HasVersion(String)

Query if 'version' has version.

Declaration
public bool HasVersion(string version)
Parameters
Type Name Description
System.String version

The version.

Returns
Type Description
System.Boolean

True if version, false if not.

| Improve this Doc View Source

TryGetValueSet(String, out FhirValueSet)

Gets a version.

Declaration
public bool TryGetValueSet(string version, out FhirValueSet vs)
Parameters
Type Name Description
System.String version

The version.

FhirValueSet vs

[out] The vs.

Returns
Type Description
System.Boolean

True if it succeeds, false if it fails.

  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FhirValueSetCollection(String)
  • Properties
    • URL
    • ValueSetsByVersion
  • Methods
    • AddValueSet(FhirValueSet)
    • Clone()
    • HasVersion(String)
    • TryGetValueSet(String, out FhirValueSet)
Back to top Generated by DocFX