Class ValidationConfig
Contains the configuration for FHIR profiles and validation.
Implements
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1.Data
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ValidationConfig : IDirectResponseSchema
Properties
DisableFhirpathValidation
Whether to disable FHIRPath validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against FHIRPath requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.
Declaration
[JsonProperty("disableFhirpathValidation")]
public virtual bool? DisableFhirpathValidation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DisableProfileValidation
Whether to disable profile validation for this FHIR store. The default value is false. Set this to true to disable checking incoming resources for conformance against StructureDefinitions in this FHIR store.
Declaration
[JsonProperty("disableProfileValidation")]
public virtual bool? DisableProfileValidation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DisableReferenceTypeValidation
Whether to disable reference type validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against reference type requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.
Declaration
[JsonProperty("disableReferenceTypeValidation")]
public virtual bool? DisableReferenceTypeValidation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DisableRequiredFieldValidation
Whether to disable required fields validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against required fields requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.
Declaration
[JsonProperty("disableRequiredFieldValidation")]
public virtual bool? DisableRequiredFieldValidation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnableFhirpathProfileValidation
Optional. Whether to enable FHIRPath validation for incoming resource types that have profiles configured
for them in the enabled_implementation_guides list. Set this to true to enable checking incoming resources
for conformance against FHIRPath requirements defined in the configured profiles.
Declaration
[JsonProperty("enableFhirpathProfileValidation")]
public virtual bool? EnableFhirpathProfileValidation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
EnabledImplementationGuides
A list of ImplementationGuide URLs in this FHIR store that are used to configure the profiles to use for
validation. For example, to use the US Core profiles for validation, set enabled_implementation_guides to
["http://hl7.org/fhir/us/core/ImplementationGuide/ig"]. If enabled_implementation_guides is empty or
omitted, then incoming resources are only required to conform to the base FHIR profiles. Otherwise, a
resource must conform to at least one profile listed in the global property of one of the enabled
ImplementationGuides. The Cloud Healthcare API does not currently enforce all of the rules in a
StructureDefinition. The following rules are supported: - min/max - minValue/maxValue - maxLength - type -
fixed[x] - pattern[x] on simple types - slicing, when using "value" as the discriminator type - FHIRPath
constraints (only when enable_fhirpath_profile_validation is true) When a URL cannot be resolved (for
example, in a type assertion), the server does not return an error.
Declaration
[JsonProperty("enabledImplementationGuides")]
public virtual IList<string> EnabledImplementationGuides { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |