Package-level declarations

Types

Link copied to clipboard
data class ActionResponse(val cleanImageTag: ImageConfigResponse, val cleanTextTag: CleanTextTagResponse, val deleteTag: DeleteTagResponse, val keepTag: KeepTagResponse, val queries: List<String>, val recurseTag: RecurseTagResponse, val regenUidTag: RegenUidTagResponse, val removeTag: RemoveTagResponse, val resetTag: ResetTagResponse)

Specifies a selection of tags and an Action to apply to each one.

Link copied to clipboard
data class AnnotationConfigResponse(val annotationStoreName: String, val storeQuote: Boolean)

Specifies how to store annotations during de-identification operation.

Link copied to clipboard
data class AnnotationSourceResponse(val cloudHealthcareSource: CloudHealthcareSourceResponse)

AnnotationSource holds the source information of the annotation.

Link copied to clipboard
data class AttributeResponse(val attributeDefinitionId: String, val values: List<String>)

An attribute value for a Consent or User data mapping. Each Attribute must have a corresponding AttributeDefinition in the consent store that defines the default and allowed values.

Link copied to clipboard
data class AuditConfigResponse(val auditLogConfigs: List<AuditLogConfigResponse>, val service: String)

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

Link copied to clipboard
data class AuditLogConfigResponse(val exemptedMembers: List<String>, val logType: String)

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Link copied to clipboard
data class BindingResponse(val condition: ExprResponse, val members: List<String>, val role: String)

Associates members, or principals, with a role.

Link copied to clipboard
data class BoundingPolyResponse(val label: String, val vertices: List<VertexResponse>)

A bounding polygon for the detected image annotation.

Link copied to clipboard
data class CharacterMaskConfigResponse(val maskingCharacter: String)

Mask a string by replacing its characters with a fixed character.

Link copied to clipboard

Replace field value with masking character. Supported types: Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml

Link copied to clipboard

This option is based on the DICOM Standard's Clean Descriptors Option, and the CleanText Action is applied to all the specified fields. 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. These contextual phrases are replaced with the token "CTX". This option uses an additional InfoType during inspection.

Link copied to clipboard

Inspect text and transform sensitive text. Configure using TextConfig. Supported types: Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml

Link copied to clipboard

Inspect text and transform sensitive text. Configurable using TextConfig. Supported 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

Link copied to clipboard

Cloud Healthcare API resource.

Link copied to clipboard

The fields that aren't marked Keep or CleanText in the BASIC profile are collected into a contextual phrase list. For fields marked CleanText, the process attempts to transform phrases matching these contextual entries. These contextual phrases are replaced with the token "CTX". This feature uses an additional InfoType during inspection.

Link copied to clipboard
data class CryptoHashConfigResponse(val cryptoKey: String, val kmsWrapped: KmsWrappedCryptoKeyResponse)

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output. For example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=.

Link copied to clipboard

Replace field value with a hash of that value. Supported types: Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml

Link copied to clipboard
data class DateShiftConfigResponse(val cryptoKey: String, val kmsWrapped: KmsWrappedCryptoKeyResponse)

Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination.

Link copied to clipboard

Shift the date by a randomized number of days. See date shifting for more information. Supported types: Date, DateTime

Link copied to clipboard

Contains configuration for streaming de-identified FHIR export.

Link copied to clipboard
data class DeidentifyConfigResponse(val annotation: AnnotationConfigResponse, val dicom: DicomConfigResponse, val dicomTagConfig: DicomTagConfigResponse, val fhir: FhirConfigResponse, val fhirFieldConfig: FhirFieldConfigResponse, val image: ImageConfigResponse, val operationMetadata: DeidentifyOperationMetadataResponse, val text: TextConfigResponse, val useRegionalDataProcessing: Boolean)

Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime.

Link copied to clipboard

Details about the work the de-identify operation performed.

Link copied to clipboard

Delete tag.

Link copied to clipboard
data class DicomConfigResponse(val filterProfile: String, val keepList: TagFilterListResponse, val removeList: TagFilterListResponse, val skipIdRedaction: Boolean)

Specifies the parameters needed for de-identification of DICOM stores.

Link copied to clipboard
data class DicomTagConfigResponse(val actions: List<ActionResponse>, val options: OptionsResponse, val profileType: String)

Specifies the parameters needed for the de-identification of DICOM stores.

Link copied to clipboard
data class ExprResponse(val description: String, val expression: String, val location: String, val title: String)

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

Link copied to clipboard
data class FhirConfigResponse(val defaultKeepExtensions: Boolean, val fieldMetadataList: List<FieldMetadataResponse>)

Specifies how to handle de-identification of a FHIR store.

Link copied to clipboard

Specifies how to handle the de-identification of a FHIR store.

Link copied to clipboard
data class FhirNotificationConfigResponse(val pubsubTopic: String, val sendFullResource: Boolean, val sendPreviousResourceOnDelete: Boolean)

Contains the configuration for FHIR notifications.

Link copied to clipboard
data class FhirOutputResponse(val fhirStore: String)

Details about the FHIR store to write the output to.

Link copied to clipboard
data class FieldMetadataResponse(val action: String, val paths: List<String>)

Specifies FHIR paths to match, and how to handle de-identification of matching fields.

Link copied to clipboard
data class FieldResponse(val maxOccurs: Int, val minOccurs: Int, val name: String, val table: String, val type: String)

A (sub) field of a type.

Link copied to clipboard
data class GetAnnotationResult(val annotationSource: AnnotationSourceResponse, val customData: Map<String, String>, val imageAnnotation: ImageAnnotationResponse, val name: String, val resourceAnnotation: ResourceAnnotationResponse, val textAnnotation: SensitiveTextAnnotationResponse)
Link copied to clipboard
data class GetAnnotationStoreResult(val labels: Map<String, String>, val name: String)
Link copied to clipboard
data class GetAttributeDefinitionResult(val allowedValues: List<String>, val category: String, val consentDefaultValues: List<String>, val dataMappingDefaultValue: String, val description: String, val name: String)
Link copied to clipboard
data class GetConsentArtifactResult(val consentContentScreenshots: List<ImageResponse>, val consentContentVersion: String, val guardianSignature: SignatureResponse, val metadata: Map<String, String>, val name: String, val userId: String, val userSignature: SignatureResponse, val witnessSignature: SignatureResponse)
Link copied to clipboard
data class GetConsentResult(val consentArtifact: String, val expireTime: String, val metadata: Map<String, String>, val name: String, val policies: List<GoogleCloudHealthcareV1beta1ConsentPolicyResponse>, val revisionCreateTime: String, val revisionId: String, val state: String, val ttl: String, val userId: String)
Link copied to clipboard
data class GetConsentStoreResult(val defaultConsentTtl: String, val enableConsentCreateOnUpdate: Boolean, val labels: Map<String, String>, val name: String)
Link copied to clipboard
data class GetDatasetAnnotationStoreIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetDatasetConsentStoreIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetDatasetDicomStoreIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetDatasetFhirStoreIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetDatasetHl7V2StoreIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetDatasetIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetDatasetResult(val name: String, val timeZone: String)
Link copied to clipboard
data class GetDicomStoreResult(val labels: Map<String, String>, val name: String, val notificationConfig: NotificationConfigResponse, val streamConfigs: List<GoogleCloudHealthcareV1beta1DicomStreamConfigResponse>)
Link copied to clipboard
data class GetFhirResult(val contentType: String, val data: String, val extensions: List<Map<String, String>>)
Link copied to clipboard
data class GetFhirStoreResult(val complexDataTypeReferenceParsing: String, val defaultSearchHandlingStrict: Boolean, val disableReferentialIntegrity: Boolean, val disableResourceVersioning: Boolean, val enableUpdateCreate: Boolean, val labels: Map<String, String>, val name: String, val notificationConfig: NotificationConfigResponse, val notificationConfigs: List<FhirNotificationConfigResponse>, val searchConfig: SearchConfigResponse, val streamConfigs: List<StreamConfigResponse>, val validationConfig: ValidationConfigResponse, val version: String)
Link copied to clipboard
data class GetHl7V2StoreResult(val labels: Map<String, String>, val name: String, val notificationConfig: NotificationConfigResponse, val notificationConfigs: List<Hl7V2NotificationConfigResponse>, val parserConfig: ParserConfigResponse, val rejectDuplicateMessage: Boolean)
Link copied to clipboard
data class GetMessageResult(val createTime: String, val data: String, val labels: Map<String, String>, val messageType: String, val name: String, val parsedData: ParsedDataResponse, val patientIds: List<PatientIdResponse>, val schematizedData: SchematizedDataResponse, val sendFacility: String, val sendTime: String)
Link copied to clipboard
data class GetUserDataMappingResult(val archiveTime: String, val archived: Boolean, val dataId: String, val name: String, val resourceAttributes: List<AttributeResponse>, val userId: String)
data class GoogleCloudHealthcareV1beta1ConsentPolicyResponse(val authorizationRule: ExprResponse, val resourceAttributes: List<AttributeResponse>)

Represents a user's consent in terms of the resources that can be accessed and under what conditions.

data class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse(val characterMaskField: CharacterMaskFieldResponse, val cleanTextField: CleanTextFieldResponse, val cryptoHashField: CryptoHashFieldResponse, val dateShiftField: DateShiftFieldResponse, val keepField: KeepFieldResponse, val paths: List<String>, val removeField: RemoveFieldResponse)

Specifies the FHIR paths to match and how to handle the de-identification of matching fields.

data class GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse(val characterMaskConfig: CharacterMaskConfigResponse, val contextualDeid: ContextualDeidConfigResponse, val cryptoHashConfig: CryptoHashConfigResponse, val dateShiftConfig: DateShiftConfigResponse, val keepExtensions: KeepExtensionsConfigResponse)

Specifies additional options to apply to the base profile.

data class GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponse(val force: Boolean, val tableUri: String, val writeDisposition: String)

The BigQuery table where the server writes output.

StreamConfig specifies configuration for a streaming DICOM export.

data class GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponse(val datasetUri: String, val force: Boolean, val schemaConfig: SchemaConfigResponse, val writeDisposition: String)

The configuration for exporting to BigQuery.

Link copied to clipboard
data class Hl7SchemaConfigResponse(val messageSchemaConfigs: Map<String, String>, val version: List<VersionSourceResponse>)

Root config message for HL7v2 schema. This contains a schema structure of groups and segments, and filters that determine which messages to apply the schema structure to.

Link copied to clipboard
data class Hl7TypesConfigResponse(val type: List<TypeResponse>, val version: List<VersionSourceResponse>)

Root config for HL7v2 datatype definitions for a specific HL7v2 version.

Link copied to clipboard
data class Hl7V2NotificationConfigResponse(val filter: String, val pubsubTopic: String)

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

Link copied to clipboard
data class ImageAnnotationResponse(val boundingPolys: List<BoundingPolyResponse>, val frameIndex: Int)

Image annotation.

Link copied to clipboard
data class ImageConfigResponse(val additionalInfoTypes: List<String>, val excludeInfoTypes: List<String>, val textRedactionMode: String)

Specifies how to handle de-identification of image pixels.

Link copied to clipboard
data class ImageResponse(val gcsUri: String, val rawBytes: String)

Raw bytes representing consent artifact content.

Link copied to clipboard
data class InfoTypeTransformationResponse(val characterMaskConfig: CharacterMaskConfigResponse, val cryptoHashConfig: CryptoHashConfigResponse, val dateShiftConfig: DateShiftConfigResponse, val infoTypes: List<String>, val redactConfig: RedactConfigResponse, val replaceWithInfoTypeConfig: ReplaceWithInfoTypeConfigResponse)

A transformation to apply to text that is identified as a specific info_type.

Link copied to clipboard

The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If provided, all extensions are preserved during de-identification by default. If unspecified, all extensions are removed during de-identification by default.

Link copied to clipboard

Keep field unchanged.

Link copied to clipboard

Keep tag unchanged.

Link copied to clipboard
data class KmsWrappedCryptoKeyResponse(val cryptoKey: String, val wrappedKey: String)

Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission cloudkms.cryptoKeyVersions.useToDecrypt to the project's Cloud Healthcare Service Agent service account. For more information, see Creating a wrapped key (https://cloud.google.com/dlp/docs/create-wrapped-key).

Link copied to clipboard
data class NotificationConfigResponse(val pubsubTopic: String, val sendForBulkImport: Boolean)

Specifies where to send notifications upon changes to a data store.

Link copied to clipboard
data class OptionsResponse(val cleanDescriptors: CleanDescriptorsOptionResponse, val cleanImage: ImageConfigResponse, val primaryIds: String)

Specifies additional options to apply to the base profile.

Link copied to clipboard
data class ParsedDataResponse(val segments: List<SegmentResponse>)

The content of an HL7v2 message in a structured format.

Link copied to clipboard
data class ParserConfigResponse(val allowNullHeader: Boolean, val schema: SchemaPackageResponse, val segmentTerminator: String, val version: String)

The configuration for the parser. It determines how the server parses the messages.

Link copied to clipboard
data class PatientIdResponse(val type: String, val value: String)

A patient identifier and associated type.

Link copied to clipboard

Recursively apply DICOM de-id to tags nested in a sequence. Supported Value Representation (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): SQ

Link copied to clipboard

Define how to redact sensitive values. Default behaviour is erase. For example, "My name is Jane." becomes "My name is ."

Link copied to clipboard

Replace UID with a new generated UID. Supported Value Representation (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): UI

Link copied to clipboard

Remove field.

Link copied to clipboard

Replace with empty tag.

Link copied to clipboard

When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, "My name is Jane" becomes "My name is PERSON_NAME." The TRANSFORM action is equivalent to redacting.

Link copied to clipboard

Reset tag to a placeholder value.

Link copied to clipboard
data class ResourceAnnotationResponse(val label: String)

Resource level annotation.

Link copied to clipboard
data class SchemaConfigResponse(val lastUpdatedPartitionConfig: TimePartitioningResponse, val recursiveStructureDepth: String, val schemaType: String)

Configuration for the FHIR BigQuery schema. Determines how the server generates the schema.

Link copied to clipboard
data class SchemaPackageResponse(val ignoreMinOccurs: Boolean, val schemas: List<Hl7SchemaConfigResponse>, val schematizedParsingType: String, val types: List<Hl7TypesConfigResponse>, val unexpectedSegmentHandling: String)

A schema package contains a set of schemas and type definitions.

Link copied to clipboard
data class SchematizedDataResponse(val data: String, val error: String)

The content of an HL7v2 message in a structured format as specified by a schema.

Link copied to clipboard
data class SearchConfigResponse(val searchParameters: List<SearchParameterResponse>)

Contains the configuration for FHIR search.

Link copied to clipboard
data class SearchParameterResponse(val canonicalUrl: String, val parameter: String)

Contains the versioned name and the URL for one SearchParameter.

Link copied to clipboard
data class SegmentResponse(val fields: Map<String, String>, val segmentId: String, val setId: String)

A segment in a structured format.

Link copied to clipboard

A TextAnnotation specifies a text range that includes sensitive information.

Link copied to clipboard
data class SignatureResponse(val image: ImageResponse, val metadata: Map<String, String>, val signatureTime: String, val userId: String)

User signature.

Link copied to clipboard
data class StreamConfigResponse(val bigqueryDestination: GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponse, val deidentifiedStoreDestination: DeidentifiedStoreDestinationResponse, val resourceTypes: List<String>)

Contains configuration for streaming FHIR export.

Link copied to clipboard
data class TagFilterListResponse(val tags: List<String>)

List of tags to be filtered.

Link copied to clipboard
data class TextConfigResponse(val additionalTransformations: List<InfoTypeTransformationResponse>, val excludeInfoTypes: List<String>, val profileType: String, val transformations: List<InfoTypeTransformationResponse>)

Configures how to transform sensitive text InfoTypes.

Link copied to clipboard
data class TimePartitioningResponse(val expirationMs: String, val type: String)

Configuration for FHIR BigQuery time-partitioned tables.

Link copied to clipboard
data class TypeResponse(val fields: List<FieldResponse>, val name: String, val primitive: String)

A type definition for some HL7v2 type (incl. Segments and Datatypes).

Link copied to clipboard
data class ValidationConfigResponse(val disableFhirpathValidation: Boolean, val disableProfileValidation: Boolean, val disableReferenceTypeValidation: Boolean, val disableRequiredFieldValidation: Boolean, val enabledImplementationGuides: List<String>)

Contains the configuration for FHIR profiles and validation.

Link copied to clipboard
data class VersionSourceResponse(val mshField: String, val value: String)

Describes a selector for extracting and matching an MSH field to a value.

Link copied to clipboard
data class VertexResponse(val x: Double, val y: Double)

A 2D coordinate in an image. The origin is the top-left.