Show / Hide Table of Contents

Class FhirConcept

A fhir triplet.

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

Constructors

| Improve this Doc View Source

FhirConcept(FhirConcept)

Initializes a new instance of the FhirConcept class.

Declaration
public FhirConcept(FhirConcept source)
Parameters
Type Name Description
FhirConcept source

Source for the.

| Improve this Doc View Source

FhirConcept(String, String)

Initializes a new instance of the FhirConcept class.

Declaration
public FhirConcept(string system, string code)
Parameters
Type Name Description
System.String system

The system.

System.String code

The code.

| Improve this Doc View Source

FhirConcept(String, String, String)

Initializes a new instance of the FhirConcept class.

Declaration
public FhirConcept(string system, string code, string display)
Parameters
Type Name Description
System.String system

The system.

System.String code

The code.

System.String display

The display.

| Improve this Doc View Source

FhirConcept(String, String, String, String)

Initializes a new instance of the FhirConcept class.

Declaration
public FhirConcept(string system, string code, string display, string version)
Parameters
Type Name Description
System.String system

The system.

System.String code

The code.

System.String display

The display.

System.String version

The version.

| Improve this Doc View Source

FhirConcept(String, String, String, String, String)

Initializes a new instance of the FhirConcept class.

Declaration
public FhirConcept(string system, string code, string display, string version, string definition)
Parameters
Type Name Description
System.String system

The system.

System.String code

The code.

System.String display

The display.

System.String version

The version.

System.String definition

The definition.

| Improve this Doc View Source

FhirConcept(String, String, String, String, String, String)

Initializes a new instance of the FhirConcept class.

Declaration
public FhirConcept(string system, string code, string display, string version, string definition, string systemLocalName)
Parameters
Type Name Description
System.String system

The system.

System.String code

The code.

System.String display

The display.

System.String version

The version.

System.String definition

The definition.

System.String systemLocalName

The name of the system.

| Improve this Doc View Source

FhirConcept(String, String, String, String, String, String, Dictionary<String, List<Object>>, HashSet<String>)

Initializes a new instance of the Microsoft.Health.Fhir.CodeGenCommon.Models.FhirConcept class.

Declaration
public FhirConcept(string system, string code, string display, string version, string definition, string systemLocalName, Dictionary<string, List<object>> properties, HashSet<string> propertyKeyValueHash)
Parameters
Type Name Description
System.String system

The system.

System.String code

The code.

System.String display

The display.

System.String version

The version.

System.String definition

The definition.

System.String systemLocalName

The name of the system.

Dictionary<System.String, List<System.Object>> properties

The properties.

HashSet<System.String> propertyKeyValueHash

The properties and values.

Properties

| Improve this Doc View Source

Code

Gets the code.

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

The code.

| Improve this Doc View Source

Definition

Gets the definition.

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

The definition.

| Improve this Doc View Source

Display

Gets the display.

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

The display.

| Improve this Doc View Source

Properties

Gets the defined concept properties.

Declaration
public Dictionary<string, List<object>> Properties { get; }
Property Value
Type Description
Dictionary<System.String, List<System.Object>>
| Improve this Doc View Source

System

Gets the system.

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

The system.

| Improve this Doc View Source

SystemLocalName

Gets the name of the system.

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

The name of the system.

| Improve this Doc View Source

Version

Gets the version.

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

The version.

Methods

| Improve this Doc View Source

AddProperty(String, Object, String)

Adds a property.

Declaration
public void AddProperty(string code, object value, string canonicalizedValue)
Parameters
Type Name Description
System.String code

The code.

System.Object value

The value.

System.String canonicalizedValue

The canonicalized version of the value (for matching).

| Improve this Doc View Source

Clone()

Makes a deep copy of this object.

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

A copy of this object.

| Improve this Doc View Source

CodeAndSystem()

Code and system.

Declaration
public string CodeAndSystem()
Returns
Type Description
System.String

A string.

| Improve this Doc View Source

GetCanonical(String, String, String)

Gets property hash.

Declaration
public static string GetCanonical(string valueSystem, string valueCode, string valueVersion)
Parameters
Type Name Description
System.String valueSystem

The value system.

System.String valueCode

The value code.

System.String valueVersion

The value version.

Returns
Type Description
System.String

The property hash.

| Improve this Doc View Source

HasProperty(String, String)

Query if this Concept has a property with the specified value.

Declaration
public bool HasProperty(string propertyName, string propertyValue)
Parameters
Type Name Description
System.String propertyName

Name of the property.

System.String propertyValue

The property value.

Returns
Type Description
System.Boolean

True if this concept matches, false if not.

| Improve this Doc View Source

Key()

Gets the key.

Declaration
public string Key()
Returns
Type Description
System.String

A string.

| Improve this Doc View Source

MatchesProperties(List<String>)

Matches properties.

Declaration
public bool MatchesProperties(List<string> propertyHashes)
Parameters
Type Name Description
List<System.String> propertyHashes

The properties.

Returns
Type Description
System.Boolean

True if matches properties, false if not.

| Improve this Doc View Source

SystemAndCode()

System and code.

Declaration
public string SystemAndCode()
Returns
Type Description
System.String

A string.

  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FhirConcept(FhirConcept)
    • FhirConcept(String, String)
    • FhirConcept(String, String, String)
    • FhirConcept(String, String, String, String)
    • FhirConcept(String, String, String, String, String)
    • FhirConcept(String, String, String, String, String, String)
    • FhirConcept(String, String, String, String, String, String, Dictionary<String, List<Object>>, HashSet<String>)
  • Properties
    • Code
    • Definition
    • Display
    • Properties
    • System
    • SystemLocalName
    • Version
  • Methods
    • AddProperty(String, Object, String)
    • Clone()
    • CodeAndSystem()
    • GetCanonical(String, String, String)
    • HasProperty(String, String)
    • Key()
    • MatchesProperties(List<String>)
    • SystemAndCode()
Back to top Generated by DocFX