Class FhirCapResource
A FHIR Resource support record from a CapabilityStatement.
Inheritance
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirCapResource : ICloneable
Constructors
| Improve this Doc View SourceFhirCapResource(FhirCapResource)
Initializes a new instance of the FhirCapResource class.
Declaration
public FhirCapResource(FhirCapResource source)
Parameters
Type | Name | Description |
---|---|---|
FhirCapResource | source | Source to copy. |
FhirCapResource(String, String, List<String>, List<String>, List<String>, List<String>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, String, List<String>, List<String>, List<String>, List<String>, List<String>, Dictionary<String, FhirCapSearchParam>, Dictionary<String, FhirCapOperation>, IEnumerable<FhirCapSearchParamCombination>)
Initializes a new instance of the FhirCapResource class.
Declaration
public FhirCapResource(string resourceType, string expectation, List<string> interactions, List<string> interactionExpectations, List<string> supportedProfiles, List<string> supportedProfileExpectations, string versionSupport, bool? readHistory, bool? updateCreate, bool? conditionalCreate, string conditionalRead, bool? conditionalUpdate, bool? conditionalPatch, string conditionalDelete, List<string> referencePolicies, List<string> searchIncludes, List<string> searchIncludeExpectations, List<string> searchRevIncludes, List<string> searchRevIncludeExpectations, Dictionary<string, FhirCapSearchParam> searchParameters, Dictionary<string, FhirCapOperation> operations, IEnumerable<FhirCapSearchParamCombination> spCombinations)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceType | The resource type. |
System.String | expectation | The conformance expectation. |
List<System.String> | interactions | The interactions. |
List<System.String> | interactionExpectations | The conformance expectations for the interactions. |
List<System.String> | supportedProfiles | The list of supported profile URLs. |
List<System.String> | supportedProfileExpectations | The conformance expectations for the supported profiles. |
System.String | versionSupport | The supported version policy. |
System.Nullable<System.Boolean> | readHistory | A value indicating whether vRead can return past versions. |
System.Nullable<System.Boolean> | updateCreate | A value indicating whether update can commit to a new identity. |
System.Nullable<System.Boolean> | conditionalCreate | A value indicating whether allows/uses conditional create. |
System.String | conditionalRead | The conditional read policy for this resource. |
System.Nullable<System.Boolean> | conditionalUpdate | A value indicating whether the conditional update. |
System.Nullable<System.Boolean> | conditionalPatch | If the server allows/uses conditional patch. |
System.String | conditionalDelete | The conditional delete. |
List<System.String> | referencePolicies | The reference policy. |
List<System.String> | searchIncludes | The _include values supported by the server. |
List<System.String> | searchIncludeExpectations | The conformance expectations for the search includes. |
List<System.String> | searchRevIncludes | The _revinclude values supported by the server. |
List<System.String> | searchRevIncludeExpectations | The conformance expectations for the reverse search includes. |
Dictionary<System.String, FhirCapSearchParam> | searchParameters | The search parameters supported by implementation. |
Dictionary<System.String, FhirCapOperation> | operations | The operations supported by implementation. |
IEnumerable<FhirCapSearchParamCombination> | spCombinations | Defined search parameter combinations. |
Properties
| Improve this Doc View SourceConditionalCreate
Gets a value indicating whether allows/uses conditional create.
Declaration
public bool? ConditionalCreate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ConditionalDelete
Gets the conditional delete.
Declaration
public FhirCapResource.ConditionalDeletePolicy? ConditionalDelete { get; }
Property Value
Type | Description |
---|---|
System.Nullable<FhirCapResource.ConditionalDeletePolicy> |
ConditionalPatch
If the server allows/uses conditional patch.
Declaration
public bool? ConditionalPatch { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ConditionalRead
Gets the conditional read policy for this resource.
Declaration
public FhirCapResource.ConditionalReadPolicy? ConditionalRead { get; }
Property Value
Type | Description |
---|---|
System.Nullable<FhirCapResource.ConditionalReadPolicy> |
ConditionalUpdate
If the server allows/uses conditional update.
Declaration
public bool? ConditionalUpdate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
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 |
Interactions
Gets the supported interactions.
Declaration
public List<FhirCapResource.FhirInteractionCodes> Interactions { get; }
Property Value
Type | Description |
---|---|
List<FhirCapResource.FhirInteractionCodes> |
InteractionsEx
Gets the supported interactions, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<FhirCapResource.FhirInteractionCodes>> InteractionsEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<FhirCapabiltyStatement.ValWithExpectation<FhirCapResource.FhirInteractionCodes>> |
Operations
Gets the operations supported by implementation.
Declaration
public Dictionary<string, FhirCapOperation> Operations { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, FhirCapOperation> |
ReadHistory
Gets a value indicating whether vRead can return past versions.
Declaration
public bool? ReadHistory { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ReferencePolicies
Gets the reference policy.
Declaration
public List<FhirCapResource.ReferenceHandlingPolicy> ReferencePolicies { get; }
Property Value
Type | Description |
---|---|
List<FhirCapResource.ReferenceHandlingPolicy> |
ResourceType
Gets the resource type.
Declaration
public string ResourceType { get; }
Property Value
Type | Description |
---|---|
System.String |
SearchIncludes
Gets the _include values supported by the server.
Declaration
public List<string> SearchIncludes { get; }
Property Value
Type | Description |
---|---|
List<System.String> |
SearchIncludesEx
Gets the search includes, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<string>> SearchIncludesEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<FhirCapabiltyStatement.ValWithExpectation<System.String>> |
SearchParameterCombinations
Gets the search parameter combinations.
Declaration
public IEnumerable<FhirCapSearchParamCombination> SearchParameterCombinations { get; }
Property Value
Type | Description |
---|---|
IEnumerable<FhirCapSearchParamCombination> |
SearchParameters
Gets the search parameters supported by implementation.
Declaration
public Dictionary<string, FhirCapSearchParam> SearchParameters { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, FhirCapSearchParam> |
SearchRevIncludes
Gets the _revinclude values supported by the server.
Declaration
public List<string> SearchRevIncludes { get; }
Property Value
Type | Description |
---|---|
List<System.String> |
SearchRevIncludesEx
Gets the search reverse includes, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<string>> SearchRevIncludesEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<FhirCapabiltyStatement.ValWithExpectation<System.String>> |
SupportedProfiles
Gets the list of supported profile URLs.
Declaration
public List<string> SupportedProfiles { get; }
Property Value
Type | Description |
---|---|
List<System.String> |
SupportedProfilesEx
Gets the supported profile URLs, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<string>> SupportedProfilesEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<FhirCapabiltyStatement.ValWithExpectation<System.String>> |
UpdateCreate
Gets a value indicating whether update can commit to a new identity.
Declaration
public bool? UpdateCreate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
VersionSupport
Gets the supported version policy.
Declaration
public FhirCapResource.VersioningPolicy? VersionSupport { get; }
Property Value
Type | Description |
---|---|
System.Nullable<FhirCapResource.VersioningPolicy> |
Methods
| Improve this Doc View SourceClone()
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. |