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 SourceFhirValueSetCollection(String)
Initializes a new instance of the Fhir
Declaration
public FhirValueSetCollection(string url)
Parameters
Type | Name | Description |
---|---|---|
System. |
url | The URL. |
Properties
| Improve this Doc View SourceURL
Gets URL of the document.
Declaration
public string URL { get; }
Property Value
Type | Description |
---|---|
System. |
The URL. |
ValueSetsByVersion
Gets the value sets by version.
Declaration
public Dictionary<string, FhirValueSet> ValueSetsByVersion { get; }
Property Value
Type | Description |
---|---|
Dictionary<System. |
The value sets by version. |
Methods
| Improve this Doc View SourceAddValueSet(FhirValueSet)
Adds a value set.
Declaration
public void AddValueSet(FhirValueSet valueSet)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
valueSet | Set the value belongs to. |
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System. |
A new object that is a copy of this instance. |
HasVersion(String)
Query if 'version' has version.
Declaration
public bool HasVersion(string version)
Parameters
Type | Name | Description |
---|---|---|
System. |
version | The version. |
Returns
Type | Description |
---|---|
System. |
True if version, false if not. |
TryGetValueSet(String, out FhirValueSet)
Gets a version.
Declaration
public bool TryGetValueSet(string version, out FhirValueSet vs)
Parameters
Type | Name | Description |
---|---|---|
System. |
version | The version. |
Fhir |
vs | [out] The vs. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |