You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mmv1/products/healthcare/FhirStore.yaml
+47Lines changed: 47 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,12 @@ examples:
76
76
dataset_name: 'example-dataset'
77
77
fhir_store_name: 'example-fhir-store'
78
78
pubsub_topic: 'fhir-notifications'
79
+
- name: 'healthcare_fhir_store_validation_config'
80
+
primary_resource_id: 'default'
81
+
vars:
82
+
dataset_name: 'example-dataset'
83
+
fhir_store_name: 'example-fhir-store'
84
+
pubsub_topic: 'fhir-notifications'
79
85
parameters:
80
86
- name: 'dataset'
81
87
type: ResourceRef
@@ -174,6 +180,47 @@ properties:
174
180
output: true
175
181
item_type:
176
182
type: String
183
+
- name: 'validationConfig'
184
+
type: NestedObject
185
+
description: |
186
+
Configuration for how to validate incoming FHIR resources against configured profiles.
187
+
properties:
188
+
- name: 'disableProfileValidation'
189
+
type: Boolean
190
+
default_value: false
191
+
description: |
192
+
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 structure definitions in this FHIR store.
193
+
- name: 'enabledImplementationGuides'
194
+
type: Array
195
+
description: |
196
+
A list of implementation guide URLs in this FHIR store that are used to configure the profiles to use for validation.
197
+
When a URL cannot be resolved (for example, in a type assertion), the server does not return an error.
198
+
For example, to use the US Core profiles for validation, set enabledImplementationGuides to ["http://hl7.org/fhir/us/core/ImplementationGuide/ig"]. If enabledImplementationGuides 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.
199
+
The Cloud Healthcare API does not currently enforce all of the rules in a StructureDefinition. The following rules are supported:
200
+
- min/max
201
+
- minValue/maxValue
202
+
- maxLength
203
+
- type
204
+
- fixed[x]
205
+
- pattern[x] on simple types
206
+
- slicing, when using "value" as the discriminator type
207
+
item_type:
208
+
type: String
209
+
- name: 'disableRequiredFieldValidation'
210
+
type: Boolean
211
+
default_value: false
212
+
description: |
213
+
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.
214
+
- name: 'disableReferenceTypeValidation'
215
+
type: Boolean
216
+
default_value: false
217
+
description: |
218
+
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.
219
+
- name: 'disableFhirpathValidation'
220
+
type: Boolean
221
+
default_value: false
222
+
description: |
223
+
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.
0 commit comments