export declare const AccessDeterminationLogConfigLogLevel: { /** * No log level specified. This value is unused. */ readonly LogLevelUnspecified: "LOG_LEVEL_UNSPECIFIED"; /** * No additional consent-related logging is added to audit logs. */ readonly Disabled: "DISABLED"; /** * The following information is included: - One of the following [`consentMode`](https://cloud.google.com/healthcare-api/private/docs/how-tos/fhir-consent#audit_logs) fields: (`off`|`emptyScope`|`enforced`|`btg`|`bypass`). - The accessor's request headers - The `log_level` of the [AccessDeterminationLogConfig](google.cloud.healthcare.v1beta1.fhir.FhirStore.ConsentConfig.AccessDeterminationLogConfig) - The final consent evaluation (`PERMIT`, `DENY`, or `NO_CONSENT`) - A human-readable summary of the evaluation */ readonly Minimum: "MINIMUM"; /** * Includes `MINIMUM` and, for each resource owner, returns: - The resource owner's name - Most specific part of the `X-Consent-Scope` resulting in consensual determination - Timestamp of the applied enforcement leading to the decision - Enforcement version at the time the applicable consents were applied - The Consent resource name - The timestamp of the Consent resource used for enforcement - Policy type (PATIENT or ADMIN) Note that this mode adds some overhead to CRUD operations. */ readonly Verbose: "VERBOSE"; }; /** * Optional. Controls the amount of detail to include as part of the audit logs. */ export type AccessDeterminationLogConfigLogLevel = (typeof AccessDeterminationLogConfigLogLevel)[keyof typeof AccessDeterminationLogConfigLogLevel]; export declare const AttributeDefinitionCategory: { /** * No category specified. This option is invalid. */ readonly CategoryUnspecified: "CATEGORY_UNSPECIFIED"; /** * Specify this category when this attribute describes the properties of resources. For example, data anonymity or data type. */ readonly Resource: "RESOURCE"; /** * Specify this category when this attribute describes the properties of requests. For example, requester's role or requester's organization. */ readonly Request: "REQUEST"; }; /** * Required. The category of the attribute. The value of this field cannot be changed after creation. */ export type AttributeDefinitionCategory = (typeof AttributeDefinitionCategory)[keyof typeof AttributeDefinitionCategory]; export declare const AuditLogConfigLogType: { /** * Default case. Should never be this. */ readonly LogTypeUnspecified: "LOG_TYPE_UNSPECIFIED"; /** * Admin reads. Example: CloudIAM getIamPolicy */ readonly AdminRead: "ADMIN_READ"; /** * Data writes. Example: CloudSQL Users create */ readonly DataWrite: "DATA_WRITE"; /** * Data reads. Example: CloudSQL Users list */ readonly DataRead: "DATA_READ"; }; /** * The log type that this config enables. */ export type AuditLogConfigLogType = (typeof AuditLogConfigLogType)[keyof typeof AuditLogConfigLogType]; export declare const ConsentConfigVersion: { /** * Users must specify an enforcement version or an error is returned. */ readonly ConsentEnforcementVersionUnspecified: "CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED"; /** * Enforcement version 1. See the [FHIR Consent resources in the Cloud Healthcare API](https://cloud.google.com/healthcare-api/private/docs/how-tos/fhir-consent) guide for more details. */ readonly V1: "V1"; }; /** * Required. Specifies which consent enforcement version is being used for this FHIR store. This field can only be set once by either CreateFhirStore or UpdateFhirStore. After that, you must call ApplyConsents to change the version. */ export type ConsentConfigVersion = (typeof ConsentConfigVersion)[keyof typeof ConsentConfigVersion]; export declare const ConsentHeaderHandlingProfile: { /** * If not specified, the default value `PERMIT_EMPTY_SCOPE` is used. */ readonly ScopeProfileUnspecified: "SCOPE_PROFILE_UNSPECIFIED"; /** * When no consent scopes are provided (for example, if there's an empty or missing header), then consent check is disabled, similar to when `access_enforced` is `false`. You can use audit logs to differentiate these two cases by looking at the value of `protopayload.metadata.consentMode`. If consents scopes are present, they must be valid and within the allowed limits, otherwise the request will be rejected with a `4xx` code. */ readonly PermitEmptyScope: "PERMIT_EMPTY_SCOPE"; /** * The consent header must be non-empty when performing read and search operations, otherwise the request is rejected with a `4xx` code. Additionally, invalid consent scopes or scopes exceeding the allowed limits are rejected. */ readonly RequiredOnRead: "REQUIRED_ON_READ"; }; /** * Optional. Specifies the default server behavior when the header is empty. If not specified, the `ScopeProfile.PERMIT_EMPTY_SCOPE` option is used. */ export type ConsentHeaderHandlingProfile = (typeof ConsentHeaderHandlingProfile)[keyof typeof ConsentHeaderHandlingProfile]; export declare const ConsentState: { /** * No state specified. Treated as ACTIVE only at the time of resource creation. */ readonly StateUnspecified: "STATE_UNSPECIFIED"; /** * The Consent is active and is considered when evaluating a user's consent on resources. */ readonly Active: "ACTIVE"; /** * The archived state is currently not being used. */ readonly Archived: "ARCHIVED"; /** * A revoked Consent is not considered when evaluating a user's consent on resources. */ readonly Revoked: "REVOKED"; /** * A draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified. */ readonly Draft: "DRAFT"; /** * When a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources. */ readonly Rejected: "REJECTED"; }; /** * Required. Indicates the current state of this Consent. */ export type ConsentState = (typeof ConsentState)[keyof typeof ConsentState]; export declare const DicomConfigFilterProfile: { /** * No tag filtration profile provided. Same as KEEP_ALL_PROFILE. */ readonly TagFilterProfileUnspecified: "TAG_FILTER_PROFILE_UNSPECIFIED"; /** * Keep only the tags required to produce valid DICOM objects. */ readonly MinimalKeepListProfile: "MINIMAL_KEEP_LIST_PROFILE"; /** * Remove tags based on DICOM Standard's Attribute Confidentiality Basic Profile (DICOM Standard Edition 2018e) http://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html. */ readonly AttributeConfidentialityBasicProfile: "ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE"; /** * Keep all tags. */ readonly KeepAllProfile: "KEEP_ALL_PROFILE"; /** * Inspect within tag contents and replace sensitive text. The process can be configured using the TextConfig. Applies to all tags with the following Value Representation names: AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS */ readonly DeidentifyTagContents: "DEIDENTIFY_TAG_CONTENTS"; }; /** * Tag filtering profile that determines which tags to keep/remove. */ export type DicomConfigFilterProfile = (typeof DicomConfigFilterProfile)[keyof typeof DicomConfigFilterProfile]; export declare const DicomTagConfigProfileType: { /** * No profile provided. Same as `ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE`. */ readonly ProfileTypeUnspecified: "PROFILE_TYPE_UNSPECIFIED"; /** * Keep only the tags required to produce valid DICOM objects. */ readonly MinimalKeepListProfile: "MINIMAL_KEEP_LIST_PROFILE"; /** * Remove tags based on DICOM Standard's [Attribute Confidentiality Basic Profile (DICOM Standard Edition 2018e)](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). */ readonly AttributeConfidentialityBasicProfile: "ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE"; /** * Keep all tags. */ readonly KeepAllProfile: "KEEP_ALL_PROFILE"; /** * Inspect tag contents and replace sensitive text. The process can be configured using the TextConfig. Applies to all tags with the following [Value Representations] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS */ readonly DeidentifyTagContents: "DEIDENTIFY_TAG_CONTENTS"; }; /** * Base profile type for handling DICOM tags. */ export type DicomTagConfigProfileType = (typeof DicomTagConfigProfileType)[keyof typeof DicomTagConfigProfileType]; export declare const FhirFieldConfigProfileType: { /** * No profile provided. Same as `BASIC`. */ readonly ProfileTypeUnspecified: "PROFILE_TYPE_UNSPECIFIED"; /** * Keep all fields. */ readonly KeepAll: "KEEP_ALL"; /** * Transforms known [HIPAA 18](https://www.hhs.gov/hipaa/for-professionals/privacy/special-topics/de-identification/index.html#standard) fields and cleans known unstructured text fields. */ readonly Basic: "BASIC"; /** * Cleans all supported tags. Applies to types: Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml. */ readonly CleanAll: "CLEAN_ALL"; }; /** * Base profile type for handling FHIR fields. */ export type FhirFieldConfigProfileType = (typeof FhirFieldConfigProfileType)[keyof typeof FhirFieldConfigProfileType]; export declare const FhirStoreComplexDataTypeReferenceParsing: { /** * No parsing behavior specified. This is the same as DISABLED for backwards compatibility. */ readonly ComplexDataTypeReferenceParsingUnspecified: "COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED"; /** * References in complex data types are ignored. */ readonly Disabled: "DISABLED"; /** * References in complex data types are parsed. */ readonly Enabled: "ENABLED"; }; /** * 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. */ export type FhirStoreComplexDataTypeReferenceParsing = (typeof FhirStoreComplexDataTypeReferenceParsing)[keyof typeof FhirStoreComplexDataTypeReferenceParsing]; export declare const FhirStoreVersion: { /** * VERSION_UNSPECIFIED is treated as STU3 to accommodate the existing FHIR stores. */ readonly VersionUnspecified: "VERSION_UNSPECIFIED"; /** * Draft Standard for Trial Use, [Release 2](https://www.hl7.org/fhir/DSTU2) */ readonly Dstu2: "DSTU2"; /** * Standard for Trial Use, [Release 3](https://www.hl7.org/fhir/STU3) */ readonly Stu3: "STU3"; /** * [Release 4](https://www.hl7.org/fhir/R4) */ readonly R4: "R4"; }; /** * 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. */ export type FhirStoreVersion = (typeof FhirStoreVersion)[keyof typeof FhirStoreVersion]; export declare const FieldMetadataAction: { /** * No action specified. */ readonly ActionUnspecified: "ACTION_UNSPECIFIED"; /** * Transform the entire field based on transformations specified in TextConfig. When the specified transformation cannot be applied to a field, RedactConfig is used. For example, a Crypto Hash transformation can't be applied to a FHIR Date field. */ readonly Transform: "TRANSFORM"; /** * Inspect and transform any found PHI. When `AnnotationConfig` is provided, annotations of PHI will be generated, except for Date and Datetime. */ readonly InspectAndTransform: "INSPECT_AND_TRANSFORM"; /** * Do not transform. */ readonly DoNotTransform: "DO_NOT_TRANSFORM"; }; /** * Deidentify action for one field. */ export type FieldMetadataAction = (typeof FieldMetadataAction)[keyof typeof FieldMetadataAction]; export declare const GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition: { /** * Default behavior is the same as WRITE_EMPTY. */ readonly WriteDispositionUnspecified: "WRITE_DISPOSITION_UNSPECIFIED"; /** * Only export data if the destination table is empty. */ readonly WriteEmpty: "WRITE_EMPTY"; /** * Erase all existing data in the destination table before writing the instances. */ readonly WriteTruncate: "WRITE_TRUNCATE"; /** * Append data to the destination table. */ readonly WriteAppend: "WRITE_APPEND"; }; /** * Determines whether the existing table in the destination is to be overwritten or appended to. If a write_disposition is specified, the `force` parameter is ignored. */ export type GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition = (typeof GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition)[keyof typeof GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition]; export declare const GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition: { /** * Default behavior is the same as WRITE_EMPTY. */ readonly WriteDispositionUnspecified: "WRITE_DISPOSITION_UNSPECIFIED"; /** * Only export data if the destination tables are empty. */ readonly WriteEmpty: "WRITE_EMPTY"; /** * Erase all existing data in the destination tables before writing the FHIR resources. */ readonly WriteTruncate: "WRITE_TRUNCATE"; /** * Append data to the destination tables. */ readonly WriteAppend: "WRITE_APPEND"; }; /** * Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored. */ export type GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition = (typeof GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition)[keyof typeof GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition]; export declare const ImageConfigTextRedactionMode: { /** * No text redaction specified. Same as REDACT_NO_TEXT. */ readonly TextRedactionModeUnspecified: "TEXT_REDACTION_MODE_UNSPECIFIED"; /** * Redact all text. */ readonly RedactAllText: "REDACT_ALL_TEXT"; /** * Redact sensitive text. Uses the set of [Default DICOM InfoTypes](https://cloud.google.com/healthcare-api/docs/how-tos/dicom-deidentify#default_dicom_infotypes). */ readonly RedactSensitiveText: "REDACT_SENSITIVE_TEXT"; /** * Do not redact text. */ readonly RedactNoText: "REDACT_NO_TEXT"; /** * This mode is like `REDACT_SENSITIVE_TEXT` with the addition of the [Clean Descriptors Option] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/sect_E.3.5.html) enabled: When cleaning text, the process attempts to transform phrases matching any of the tags marked for removal (action codes D, Z, X, and U) in the [Basic Profile] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). These contextual phrases are replaced with the token "[CTX]". This mode uses an additional InfoType during inspection. */ readonly RedactSensitiveTextCleanDescriptors: "REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS"; }; /** * Determines how to redact text from image. */ export type ImageConfigTextRedactionMode = (typeof ImageConfigTextRedactionMode)[keyof typeof ImageConfigTextRedactionMode]; export declare const OptionsPrimaryIds: { /** * No value provided. Default to the behavior specified by the base profile. */ readonly PrimaryIdsOptionUnspecified: "PRIMARY_IDS_OPTION_UNSPECIFIED"; /** * Keep primary IDs. */ readonly Keep: "KEEP"; /** * Regenerate primary IDs. */ readonly Regen: "REGEN"; }; /** * Set `Action` for [`StudyInstanceUID`, `SeriesInstanceUID`, `SOPInstanceUID`, and `MediaStorageSOPInstanceUID`](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part06/chapter_6.html). */ export type OptionsPrimaryIds = (typeof OptionsPrimaryIds)[keyof typeof OptionsPrimaryIds]; export declare const ParserConfigVersion: { /** * Unspecified parser version, equivalent to V1. */ readonly ParserVersionUnspecified: "PARSER_VERSION_UNSPECIFIED"; /** * The `parsed_data` includes every given non-empty message field except the Field Separator (MSH-1) field. As a result, the parsed MSH segment starts with the MSH-2 field and the field numbers are off-by-one with respect to the HL7 standard. */ readonly V1: "V1"; /** * The `parsed_data` includes every given non-empty message field. */ readonly V2: "V2"; /** * This version is the same as V2, with the following change. The `parsed_data` contains unescaped escaped field separators, component separators, sub-component separators, repetition separators, escape characters, and truncation characters. If `schema` is specified, the schematized parser uses improved parsing heuristics compared to previous versions. */ readonly V3: "V3"; }; /** * Immutable. Determines the version of both the default parser to be used when `schema` is not given, as well as the schematized parser used when `schema` is specified. This field is immutable after HL7v2 store creation. */ export type ParserConfigVersion = (typeof ParserConfigVersion)[keyof typeof ParserConfigVersion]; export declare const SchemaConfigSchemaType: { /** * No schema type specified. This type is unsupported. */ readonly SchemaTypeUnspecified: "SCHEMA_TYPE_UNSPECIFIED"; /** * A data-driven schema generated from the fields present in the FHIR data being exported, with no additional simplification. This type cannot be used for streaming to BigQuery. */ readonly Lossless: "LOSSLESS"; /** * Analytics schema defined by the FHIR community. See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md. BigQuery only allows a maximum of 10,000 columns per table. Due to this limitation, the server will not generate schemas for fields of type `Resource`, which can hold any resource type. The affected fields are `Parameters.parameter.resource`, `Bundle.entry.resource`, and `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle extensions with one or more occurrences, anaytics schema also does not handle contained resource. */ readonly Analytics: "ANALYTICS"; /** * Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON. Analytics V2 uses more space in the destination table than Analytics V1. It is generally recommended to use Analytics V2 over Analytics. */ readonly AnalyticsV2: "ANALYTICS_V2"; }; /** * Specifies the output schema type. Schema type is required. */ export type SchemaConfigSchemaType = (typeof SchemaConfigSchemaType)[keyof typeof SchemaConfigSchemaType]; export declare const SchemaPackageSchematizedParsingType: { /** * Unspecified schematized parsing type, equivalent to `SOFT_FAIL`. */ readonly SchematizedParsingTypeUnspecified: "SCHEMATIZED_PARSING_TYPE_UNSPECIFIED"; /** * Messages that fail to parse are still stored and ACKed but a parser error is stored in place of the schematized data. */ readonly SoftFail: "SOFT_FAIL"; /** * Messages that fail to parse are rejected from ingestion/insertion and return an error code. */ readonly HardFail: "HARD_FAIL"; }; /** * Determines how messages that fail to parse are handled. */ export type SchemaPackageSchematizedParsingType = (typeof SchemaPackageSchematizedParsingType)[keyof typeof SchemaPackageSchematizedParsingType]; export declare const SchemaPackageUnexpectedSegmentHandling: { /** * Unspecified handling mode, equivalent to FAIL. */ readonly UnexpectedSegmentHandlingModeUnspecified: "UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED"; /** * Unexpected segments fail to parse and return an error. */ readonly Fail: "FAIL"; /** * Unexpected segments do not fail, but are omitted from the output. */ readonly Skip: "SKIP"; /** * Unexpected segments do not fail, but are parsed in place and added to the current group. If a segment has a type definition, it is used, otherwise it is parsed as VARIES. */ readonly Parse: "PARSE"; }; /** * Determines how unexpected segments (segments not matched to the schema) are handled. */ export type SchemaPackageUnexpectedSegmentHandling = (typeof SchemaPackageUnexpectedSegmentHandling)[keyof typeof SchemaPackageUnexpectedSegmentHandling]; export declare const TextConfigProfileType: { /** * No profile provided. Same as BASIC. */ readonly ProfileTypeUnspecified: "PROFILE_TYPE_UNSPECIFIED"; /** * Empty profile which does not perform any transformations. */ readonly Empty: "EMPTY"; /** * Automatically converts "DATE" infoTypes using a DateShiftConfig, and all other infoTypes using a ReplaceWithInfoTypeConfig. */ readonly Basic: "BASIC"; }; /** * Base profile type for text transformation. */ export type TextConfigProfileType = (typeof TextConfigProfileType)[keyof typeof TextConfigProfileType]; export declare const TimePartitioningType: { /** * Default unknown time. */ readonly PartitionTypeUnspecified: "PARTITION_TYPE_UNSPECIFIED"; /** * Data partitioned by hour. */ readonly Hour: "HOUR"; /** * Data partitioned by day. */ readonly Day: "DAY"; /** * Data partitioned by month. */ readonly Month: "MONTH"; /** * Data partitioned by year. */ readonly Year: "YEAR"; }; /** * Type of partitioning. */ export type TimePartitioningType = (typeof TimePartitioningType)[keyof typeof TimePartitioningType]; export declare const TypePrimitive: { /** * Not a primitive. */ readonly PrimitiveUnspecified: "PRIMITIVE_UNSPECIFIED"; /** * String primitive. */ readonly String: "STRING"; /** * Element that can have unschematized children. */ readonly Varies: "VARIES"; /** * Like STRING, but all delimiters below this element are ignored. */ readonly UnescapedString: "UNESCAPED_STRING"; }; /** * If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types. */ export type TypePrimitive = (typeof TypePrimitive)[keyof typeof TypePrimitive];