Class FhirCapOperation
A FHIR Operation, as listed in a CapabilityStatement.
Inheritance
System.Object
FhirCapOperation
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirCapOperation : ICloneable
Constructors
| Improve this Doc View SourceFhirCapOperation(FhirCapOperation)
Initializes a new instance of the FhirCapOperation class.
Declaration
public FhirCapOperation(FhirCapOperation source)
Parameters
| Type | Name | Description |
|---|---|---|
| FhirCapOperation | source | Source for the. |
FhirCapOperation(String, String, String, String)
Initializes a new instance of the FhirCapOperation class.
Declaration
public FhirCapOperation(string name, string definitionCanonical, string documentation, string expectation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name. |
| System.String | definitionCanonical | The definition canonical. |
| System.String | documentation | The documentation. |
| System.String | expectation | The conformance expectation. |
Properties
| Improve this Doc View SourceAdditionalDefinitions
Gets the additional definitions.
Declaration
public List<string> AdditionalDefinitions { get; }
Property Value
| Type | Description |
|---|---|
| List<System.String> |
DefinitionCanonical
Gets the definition canonical.
Declaration
public string DefinitionCanonical { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Documentation
Gets the documentation.
Declaration
public string Documentation { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Expectation
Gets the conformance expectation.
Declaration
public FhirCapabiltyStatement.ExpectationCodes? Expectation { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<FhirCapabiltyStatement.ExpectationCodes> |
ExpectationLiteral
Gets the conformance expectation literal.
Declaration
public string ExpectationLiteral { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceAddDefinition(String)
Adds a definition.
Declaration
public void AddDefinition(string definitionCanonical)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | definitionCanonical | The definition canonical. |
Clone()
Makes a deep copy of this object.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A copy of this object. |
ToStringWithExpectation()
Converts this object to a string with expectation.
Declaration
public string ToStringWithExpectation()
Returns
| Type | Description |
|---|---|
| System.String | This object as a string. |