FhirStoreArgs

data class FhirStoreArgs(val complexDataTypeReferenceParsing: Output<FhirStoreComplexDataTypeReferenceParsing>? = null, val datasetId: Output<String>? = null, val defaultSearchHandlingStrict: Output<Boolean>? = null, val disableReferentialIntegrity: Output<Boolean>? = null, val disableResourceVersioning: Output<Boolean>? = null, val enableUpdateCreate: Output<Boolean>? = null, val fhirStoreId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val notificationConfig: Output<NotificationConfigArgs>? = null, val notificationConfigs: Output<List<FhirNotificationConfigArgs>>? = null, val project: Output<String>? = null, val searchConfig: Output<SearchConfigArgs>? = null, val streamConfigs: Output<List<StreamConfigArgs>>? = null, val validationConfig: Output<ValidationConfigArgs>? = null, val version: Output<FhirStoreVersion>? = null) : ConvertibleToJava<FhirStoreArgs>

Creates a new FHIR store within the parent dataset. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun FhirStoreArgs(complexDataTypeReferenceParsing: Output<FhirStoreComplexDataTypeReferenceParsing>? = null, datasetId: Output<String>? = null, defaultSearchHandlingStrict: Output<Boolean>? = null, disableReferentialIntegrity: Output<Boolean>? = null, disableResourceVersioning: Output<Boolean>? = null, enableUpdateCreate: Output<Boolean>? = null, fhirStoreId: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, notificationConfig: Output<NotificationConfigArgs>? = null, notificationConfigs: Output<List<FhirNotificationConfigArgs>>? = null, project: Output<String>? = null, searchConfig: Output<SearchConfigArgs>? = null, streamConfigs: Output<List<StreamConfigArgs>>? = null, validationConfig: Output<ValidationConfigArgs>? = null, version: Output<FhirStoreVersion>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FhirStoreArgs

Properties

Link copied to clipboard

Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources.

Link copied to clipboard
val datasetId: Output<String>? = null
Link copied to clipboard

If true, overrides the default search behavior for this FHIR store to handling=strict which returns an error for unrecognized search parameters. If false, uses the FHIR specification default handling=lenient which ignores unrecognized search parameters. The handling can always be changed from the default on an individual API call by setting the HTTP header Prefer: handling=strict or Prefer: handling=lenient.

Link copied to clipboard

Immutable. Whether to disable referential integrity in this FHIR store. This field is immutable after FHIR store creation. The default value is false, meaning that the API enforces referential integrity and fails the requests that result in inconsistent state in the FHIR store. When this field is set to true, the API skips referential integrity checks. Consequently, operations that rely on references, such as GetPatientEverything, do not return all the results if broken references exist.

Link copied to clipboard
val disableResourceVersioning: Output<Boolean>? = null

Immutable. Whether to disable resource versioning for this FHIR store. This field can not be changed after the creation of FHIR store. If set to false, which is the default behavior, all write operations cause historical versions to be recorded automatically. The historical versions can be fetched through the history APIs, but cannot be updated. If set to true, no historical versions are kept. The server sends errors for attempts to read the historical versions.

Link copied to clipboard
val enableUpdateCreate: Output<Boolean>? = null

Whether this FHIR store has the updateCreate capability. This determines if the client can use an Update operation to create a new resource with a client-specified ID. If false, all IDs are server-assigned through the Create operation and attempts to update a non-existent resource return errors. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud audit logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources.

Link copied to clipboard
val fhirStoreId: Output<String>? = null

The ID of the FHIR store that is being created. The string must match the following regex: [\p{L}\p{N}_\-\&#46;]{1,256}.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

User-supplied key-value pairs used to organize FHIR stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63} No more than 64 labels can be associated with a given store.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard

Deprecated. Use notification_configs instead. If non-empty, publish all resource modifications of this FHIR store to this destination. The Pub/Sub message attributes contain a map with a string describing the action that has triggered the notification. For example, "action":"CreateResource".

Link copied to clipboard

Specifies where and whether to send notifications upon changes to a Fhir store.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val searchConfig: Output<SearchConfigArgs>? = null

Configuration for how FHIR resources can be searched.

Link copied to clipboard
val streamConfigs: Output<List<StreamConfigArgs>>? = null

A list of streaming configs that configure the destinations of streaming export for every resource mutation in this FHIR store. Each store is allowed to have up to 10 streaming configs. After a new config is added, the next resource mutation is streamed to the new location in addition to the existing ones. When a location is removed from the list, the server stops streaming to that location. Before adding a new config, you must add the required bigquery&#46;dataEditor role to your project's Cloud Healthcare Service Agent service account. Some lag (typically on the order of dozens of seconds) is expected before the results show up in the streaming destination.

Link copied to clipboard

Configuration for how to validate incoming FHIR resources against configured profiles.

Link copied to clipboard
val version: Output<FhirStoreVersion>? = null

Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store.