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 Fhir
Declaration
public FhirCapResource(FhirCapResource source)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
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 Fhir
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. |
resourceType | The resource type. |
System. |
expectation | The conformance expectation. |
List<System. |
interactions | The interactions. |
List<System. |
interactionExpectations | The conformance expectations for the interactions. |
List<System. |
supportedProfiles | The list of supported profile URLs. |
List<System. |
supportedProfileExpectations | The conformance expectations for the supported profiles. |
System. |
versionSupport | The supported version policy. |
System. |
readHistory | A value indicating whether vRead can return past versions. |
System. |
updateCreate | A value indicating whether update can commit to a new identity. |
System. |
conditionalCreate | A value indicating whether allows/uses conditional create. |
System. |
conditionalRead | The conditional read policy for this resource. |
System. |
conditionalUpdate | A value indicating whether the conditional update. |
System. |
conditionalPatch | If the server allows/uses conditional patch. |
System. |
conditionalDelete | The conditional delete. |
List<System. |
referencePolicies | The reference policy. |
List<System. |
searchIncludes | The _include values supported by the server. |
List<System. |
searchIncludeExpectations | The conformance expectations for the search includes. |
List<System. |
searchRevIncludes | The _revinclude values supported by the server. |
List<System. |
searchRevIncludeExpectations | The conformance expectations for the reverse search includes. |
Dictionary<System. |
searchParameters | The search parameters supported by implementation. |
Dictionary<System. |
operations | The operations supported by implementation. |
IEnumerable<Fhir |
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. |
ConditionalDelete
Gets the conditional delete.
Declaration
public FhirCapResource.ConditionalDeletePolicy? ConditionalDelete { get; }
Property Value
Type | Description |
---|---|
System. |
ConditionalPatch
If the server allows/uses conditional patch.
Declaration
public bool? ConditionalPatch { get; }
Property Value
Type | Description |
---|---|
System. |
ConditionalRead
Gets the conditional read policy for this resource.
Declaration
public FhirCapResource.ConditionalReadPolicy? ConditionalRead { get; }
Property Value
Type | Description |
---|---|
System. |
ConditionalUpdate
If the server allows/uses conditional update.
Declaration
public bool? ConditionalUpdate { get; }
Property Value
Type | Description |
---|---|
System. |
Expectation
Gets the conformance expectation.
Declaration
public FhirCapabiltyStatement.ExpectationCodes? Expectation { get; }
Property Value
Type | Description |
---|---|
System. |
ExpectationLiteral
Gets the conformance expectation literal.
Declaration
public string ExpectationLiteral { get; }
Property Value
Type | Description |
---|---|
System. |
Interactions
Gets the supported interactions.
Declaration
public List<FhirCapResource.FhirInteractionCodes> Interactions { get; }
Property Value
Type | Description |
---|---|
List<Fhir |
InteractionsEx
Gets the supported interactions, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<FhirCapResource.FhirInteractionCodes>> InteractionsEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Fhir |
Operations
Gets the operations supported by implementation.
Declaration
public Dictionary<string, FhirCapOperation> Operations { get; }
Property Value
Type | Description |
---|---|
Dictionary<System. |
ReadHistory
Gets a value indicating whether vRead can return past versions.
Declaration
public bool? ReadHistory { get; }
Property Value
Type | Description |
---|---|
System. |
ReferencePolicies
Gets the reference policy.
Declaration
public List<FhirCapResource.ReferenceHandlingPolicy> ReferencePolicies { get; }
Property Value
Type | Description |
---|---|
List<Fhir |
ResourceType
Gets the resource type.
Declaration
public string ResourceType { get; }
Property Value
Type | Description |
---|---|
System. |
SearchIncludes
Gets the _include values supported by the server.
Declaration
public List<string> SearchIncludes { get; }
Property Value
Type | Description |
---|---|
List<System. |
SearchIncludesEx
Gets the search includes, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<string>> SearchIncludesEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Fhir |
SearchParameterCombinations
Gets the search parameter combinations.
Declaration
public IEnumerable<FhirCapSearchParamCombination> SearchParameterCombinations { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Fhir |
SearchParameters
Gets the search parameters supported by implementation.
Declaration
public Dictionary<string, FhirCapSearchParam> SearchParameters { get; }
Property Value
Type | Description |
---|---|
Dictionary<System. |
SearchRevIncludes
Gets the _revinclude values supported by the server.
Declaration
public List<string> SearchRevIncludes { get; }
Property Value
Type | Description |
---|---|
List<System. |
SearchRevIncludesEx
Gets the search reverse includes, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<string>> SearchRevIncludesEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Fhir |
SupportedProfiles
Gets the list of supported profile URLs.
Declaration
public List<string> SupportedProfiles { get; }
Property Value
Type | Description |
---|---|
List<System. |
SupportedProfilesEx
Gets the supported profile URLs, with conformance expectations.
Declaration
public IEnumerable<FhirCapabiltyStatement.ValWithExpectation<string>> SupportedProfilesEx { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Fhir |
UpdateCreate
Gets a value indicating whether update can commit to a new identity.
Declaration
public bool? UpdateCreate { get; }
Property Value
Type | Description |
---|---|
System. |
VersionSupport
Gets the supported version policy.
Declaration
public FhirCapResource.VersioningPolicy? VersionSupport { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceClone()
Makes a deep copy of this object.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System. |
A copy of this object. |
ToStringWithExpectation()
Converts this object to a string with expectation.
Declaration
public string ToStringWithExpectation()
Returns
Type | Description |
---|---|
System. |
This object as a string. |