Skip to main content
Glama
v92.ts195 kB
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 /* * This is a generated file * Do not edit manually. */ import type { PoolClient } from 'pg'; import * as fns from '../migrate-functions'; // prettier-ignore export async function run(client: PoolClient): Promise<void> { const results: { name: string; durationMs: number }[] = [] await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Account" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ActivityDefinition" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__event" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__eventText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__seriousness" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__seriousnessText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__severity" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AdverseEvent" ADD COLUMN IF NOT EXISTS "__severityText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__clinicalStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__clinicalStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__manifestation" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__manifestationText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__route" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__routeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__verificationStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AllergyIntolerance" ADD COLUMN IF NOT EXISTS "__verificationStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__appointmentType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__appointmentTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__serviceCategory" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__serviceCategoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__serviceType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__serviceTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__specialty" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Appointment" ADD COLUMN IF NOT EXISTS "__specialtyText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AppointmentResponse" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AppointmentResponse" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AppointmentResponse" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AppointmentResponse" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AppointmentResponse" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AppointmentResponse" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AuditEvent" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AuditEvent" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AuditEvent" ADD COLUMN IF NOT EXISTS "__entityRole" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AuditEvent" ADD COLUMN IF NOT EXISTS "__entityRoleText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AuditEvent" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AuditEvent" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Basic" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Binary" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Binary" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Binary" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Binary" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BiologicallyDerivedProduct" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BiologicallyDerivedProduct" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BiologicallyDerivedProduct" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BiologicallyDerivedProduct" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__location" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__locationText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__morphology" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BodyStructure" ADD COLUMN IF NOT EXISTS "__morphologyText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bundle" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bundle" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bundle" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bundle" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bundle" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bundle" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__securityService" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CapabilityStatement" ADD COLUMN IF NOT EXISTS "__securityServiceText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__activityCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__activityCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CarePlan" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__role" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CareTeam" ADD COLUMN IF NOT EXISTS "__roleText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CatalogEntry" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CatalogEntry" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CatalogEntry" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CatalogEntry" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__performerFunction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItem" ADD COLUMN IF NOT EXISTS "__performerFunctionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ChargeItemDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "__priority" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Claim" ADD COLUMN IF NOT EXISTS "__priorityText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClaimResponse" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClaimResponse" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClaimResponse" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClaimResponse" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClaimResponse" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClaimResponse" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "__findingCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "__findingCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClinicalImpression" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CodeSystem" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__medium" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__mediumText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Communication" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__groupIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__groupIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__medium" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CommunicationRequest" ADD COLUMN IF NOT EXISTS "__mediumText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CompartmentDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__relatedId" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__relatedIdText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__section" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Composition" ADD COLUMN IF NOT EXISTS "__sectionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ConceptMap" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__clinicalStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__clinicalStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__severity" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__severityText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__stage" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__stageText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__verificationStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Condition" ADD COLUMN IF NOT EXISTS "__verificationStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__action" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__actionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__purpose" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__purposeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__scope" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__scopeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__securityLabel" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Consent" ADD COLUMN IF NOT EXISTS "__securityLabelText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Contract" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Contract" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Contract" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Contract" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Contract" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Contract" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__classType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__classTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Coverage" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityRequest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityRequest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityResponse" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityResponse" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityResponse" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityResponse" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityResponse" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "CoverageEligibilityResponse" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DetectedIssue" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Device" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__classification" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceDefinition" ADD COLUMN IF NOT EXISTS "__classificationText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceMetric" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__groupIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceRequest" ADD COLUMN IF NOT EXISTS "__groupIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceUseStatement" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceUseStatement" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceUseStatement" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceUseStatement" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceUseStatement" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DeviceUseStatement" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__resultIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "__resultIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__relatedId" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentManifest" ADD COLUMN IF NOT EXISTS "__relatedIdText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__facility" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__facilityText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__format" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__formatText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__securityLabel" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DocumentReference" ADD COLUMN IF NOT EXISTS "__securityLabelText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EffectEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__class" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__classText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__participantType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__participantTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__reasonCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__reasonCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__dischargeDisposition" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Encounter" ADD COLUMN IF NOT EXISTS "__dischargeDispositionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__connectionType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__connectionTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__payloadType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Endpoint" ADD COLUMN IF NOT EXISTS "__payloadTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentRequest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentRequest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentResponse" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentResponse" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentResponse" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentResponse" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentResponse" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EnrollmentResponse" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EpisodeOfCare" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EventDefinition" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Evidence" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "__characteristicType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "EvidenceVariable" ADD COLUMN IF NOT EXISTS "__characteristicTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExampleScenario" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExplanationOfBenefit" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExplanationOfBenefit" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExplanationOfBenefit" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExplanationOfBenefit" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExplanationOfBenefit" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ExplanationOfBenefit" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__relationship" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__relationshipText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__sex" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "FamilyMemberHistory" ADD COLUMN IF NOT EXISTS "__sexText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Flag" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__achievementStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__achievementStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__description" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Goal" ADD COLUMN IF NOT EXISTS "__descriptionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GraphDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__characteristic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__characteristicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__value" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Group" ADD COLUMN IF NOT EXISTS "__valueText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "__request" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "GuidanceResponse" ADD COLUMN IF NOT EXISTS "__requestText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__characteristic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__characteristicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__program" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__programText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__serviceCategory" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__serviceCategoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__serviceType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__serviceTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__specialty" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "HealthcareService" ADD COLUMN IF NOT EXISTS "__specialtyText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__bodysite" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__bodysiteText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__dicomClass" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__dicomClassText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__modality" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__modalityText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__reason" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImagingStudy" ADD COLUMN IF NOT EXISTS "__reasonText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__reasonCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__reasonCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__statusReason" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__statusReasonText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__targetDisease" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__targetDiseaseText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__vaccineCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Immunization" ADD COLUMN IF NOT EXISTS "__vaccineCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__doseStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__doseStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__targetDisease" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationEvaluation" ADD COLUMN IF NOT EXISTS "__targetDiseaseText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__status" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__statusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__targetDisease" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__targetDiseaseText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__vaccineType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImmunizationRecommendation" ADD COLUMN IF NOT EXISTS "__vaccineTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ImplementationGuide" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "InsurancePlan" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__participantRole" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__participantRoleText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Invoice" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Library" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Linkage" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Linkage" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Linkage" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Linkage" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__emptyReason" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "List" ADD COLUMN IF NOT EXISTS "__emptyReasonText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__operationalStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__operationalStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__physicalType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Location" ADD COLUMN IF NOT EXISTS "__physicalTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Measure" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MeasureReport" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MeasureReport" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MeasureReport" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MeasureReport" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MeasureReport" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MeasureReport" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__modality" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__modalityText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__site" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__siteText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__view" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Media" ADD COLUMN IF NOT EXISTS "__viewText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__form" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__formText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__ingredientCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Medication" ADD COLUMN IF NOT EXISTS "__ingredientCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__reasonGiven" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__reasonGivenText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__reasonNotGiven" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationAdministration" ADD COLUMN IF NOT EXISTS "__reasonNotGivenText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationDispense" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__classification" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__classificationText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__classificationType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__classificationTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__doseform" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__doseformText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__ingredientCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__ingredientCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__monitoringProgramType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__monitoringProgramTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__monographType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationKnowledge" ADD COLUMN IF NOT EXISTS "__monographTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationRequest" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicationStatement" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "__nameLanguage" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProduct" ADD COLUMN IF NOT EXISTS "__nameLanguageText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__country" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__countryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__status" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductAuthorization" ADD COLUMN IF NOT EXISTS "__statusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductContraindication" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductContraindication" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductContraindication" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductContraindication" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIndication" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIndication" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIndication" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIndication" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIngredient" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIngredient" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIngredient" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductIngredient" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductInteraction" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductInteraction" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductInteraction" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductInteraction" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductManufactured" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductManufactured" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductManufactured" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductManufactured" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPackaged" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPackaged" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPackaged" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPackaged" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPackaged" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPackaged" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__route" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__routeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__targetSpecies" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductPharmaceutical" ADD COLUMN IF NOT EXISTS "__targetSpeciesText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductUndesirableEffect" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductUndesirableEffect" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductUndesirableEffect" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MedicinalProductUndesirableEffect" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__event" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageDefinition" ADD COLUMN IF NOT EXISTS "__eventText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageHeader" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageHeader" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageHeader" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageHeader" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageHeader" ADD COLUMN IF NOT EXISTS "__event" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MessageHeader" ADD COLUMN IF NOT EXISTS "__eventText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__chromosome" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__chromosomeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__referenceseqid" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "MolecularSequence" ADD COLUMN IF NOT EXISTS "__referenceseqidText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__telecom" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__telecomText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NamingSystem" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__additive" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__additiveText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__formula" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__formulaText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__oraldiet" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__oraldietText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__supplement" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "NutritionOrder" ADD COLUMN IF NOT EXISTS "__supplementText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__comboCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__comboCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__comboDataAbsentReason" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__comboDataAbsentReasonText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__comboValueConcept" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__comboValueConceptText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__componentCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__componentCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__componentValueConcept" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__componentValueConceptText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__dataAbsentReason" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__dataAbsentReasonText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__method" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__methodText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__valueConcept" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__valueConceptText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__patientIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__patientIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__performerIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__performerIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__subjectIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Observation" ADD COLUMN IF NOT EXISTS "__subjectIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ObservationDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ObservationDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ObservationDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ObservationDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ObservationDefinition" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ObservationDefinition" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationOutcome" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationOutcome" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationOutcome" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OperationOutcome" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Organization" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__email" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__emailText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__phone" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__phoneText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__role" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__roleText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__specialty" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__specialtyText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__telecom" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "OrganizationAffiliation" ADD COLUMN IF NOT EXISTS "__telecomText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Parameters" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Parameters" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Parameters" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Parameters" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__email" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__emailText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__language" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__languageText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__phone" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__phoneText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__telecom" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Patient" ADD COLUMN IF NOT EXISTS "__telecomText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "__paymentStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentNotice" ADD COLUMN IF NOT EXISTS "__paymentStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentReconciliation" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentReconciliation" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentReconciliation" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentReconciliation" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentReconciliation" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PaymentReconciliation" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__email" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__emailText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__phone" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__phoneText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__telecom" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__telecomText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Person" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PlanDefinition" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__email" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__emailText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__phone" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__phoneText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__telecom" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__telecomText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__communication" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__communicationText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__qualificationCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Practitioner" ADD COLUMN IF NOT EXISTS "__qualificationCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__email" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__emailText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__phone" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__phoneText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__telecom" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__telecomText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__role" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__roleText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__specialty" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PractitionerRole" ADD COLUMN IF NOT EXISTS "__specialtyText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__reasonCode" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Procedure" ADD COLUMN IF NOT EXISTS "__reasonCodeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__agentRole" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__agentRoleText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__agentType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__agentTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__signatureType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Provenance" ADD COLUMN IF NOT EXISTS "__signatureTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Questionnaire" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "QuestionnaireResponse" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "QuestionnaireResponse" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "QuestionnaireResponse" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "QuestionnaireResponse" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "QuestionnaireResponse" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "QuestionnaireResponse" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__email" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__emailText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__phone" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__phoneText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__telecom" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__telecomText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__relationship" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RelatedPerson" ADD COLUMN IF NOT EXISTS "__relationshipText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__groupIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__groupIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RequestGroup" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchDefinition" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__topic" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchElementDefinition" ADD COLUMN IF NOT EXISTS "__topicText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__keyword" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__keywordText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__condition" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__conditionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__phase" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__phaseText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__studyDesign" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__studyDesignText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__eligibilityIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchStudy" ADD COLUMN IF NOT EXISTS "__eligibilityIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchSubject" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchSubject" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchSubject" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchSubject" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchSubject" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ResearchSubject" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__method" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__methodText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__risk" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskAssessment" ADD COLUMN IF NOT EXISTS "__riskText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "RiskEvidenceSynthesis" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__serviceCategory" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__serviceCategoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__serviceType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__serviceTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__specialty" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Schedule" ADD COLUMN IF NOT EXISTS "__specialtyText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SearchParameter" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__performerType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__performerTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__requisition" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__requisitionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__subjectIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ServiceRequest" ADD COLUMN IF NOT EXISTS "__subjectIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__appointmentType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__appointmentTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__serviceCategory" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__serviceCategoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__serviceType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__serviceTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__specialty" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Slot" ADD COLUMN IF NOT EXISTS "__specialtyText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__accession" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__accessionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__bodysite" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__bodysiteText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__container" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__containerText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__containerId" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__containerIdText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Specimen" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__container" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__containerText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__type" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SpecimenDefinition" ADD COLUMN IF NOT EXISTS "__typeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__keyword" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureDefinition" ADD COLUMN IF NOT EXISTS "__keywordText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "StructureMap" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Subscription" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Subscription" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Subscription" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Subscription" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Subscription" ADD COLUMN IF NOT EXISTS "__contact" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Subscription" ADD COLUMN IF NOT EXISTS "__contactText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubscriptionStatus" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubscriptionStatus" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubscriptionStatus" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubscriptionStatus" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__containerIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__containerIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Substance" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceNucleicAcid" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceNucleicAcid" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceNucleicAcid" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceNucleicAcid" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstancePolymer" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstancePolymer" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstancePolymer" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstancePolymer" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceProtein" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceProtein" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceProtein" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceProtein" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceReferenceInformation" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceReferenceInformation" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceReferenceInformation" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceReferenceInformation" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSourceMaterial" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSourceMaterial" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSourceMaterial" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSourceMaterial" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSpecification" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSpecification" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSpecification" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSpecification" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSpecification" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SubstanceSpecification" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyDelivery" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyDelivery" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyDelivery" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyDelivery" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyDelivery" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyDelivery" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SupplyRequest" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__businessStatus" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__businessStatusText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__code" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__codeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__groupIdentifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__groupIdentifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__performer" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Task" ADD COLUMN IF NOT EXISTS "__performerText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TerminologyCapabilities" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestReport" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestReport" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestReport" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestReport" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestReport" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestReport" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "TestScript" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__context" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__contextText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__contextType" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__contextTypeText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__jurisdiction" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__jurisdictionText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ValueSet" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VerificationResult" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VerificationResult" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VerificationResult" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VerificationResult" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VisionPrescription" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VisionPrescription" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VisionPrescription" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VisionPrescription" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VisionPrescription" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "VisionPrescription" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Project" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Project" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Project" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Project" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Project" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Project" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClientApplication" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClientApplication" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClientApplication" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ClientApplication" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "User" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "User" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "User" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "User" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "User" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "User" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ProjectMembership" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ProjectMembership" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ProjectMembership" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "ProjectMembership" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "__category" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Bot" ADD COLUMN IF NOT EXISTS "__categoryText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Login" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Login" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Login" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Login" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PasswordChangeRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PasswordChangeRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PasswordChangeRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "PasswordChangeRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserSecurityRequest" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserSecurityRequest" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserSecurityRequest" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserSecurityRequest" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "JsonWebKey" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "JsonWebKey" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "JsonWebKey" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "JsonWebKey" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AccessPolicy" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AccessPolicy" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AccessPolicy" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AccessPolicy" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserConfiguration" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserConfiguration" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserConfiguration" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "UserConfiguration" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BulkDataExport" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BulkDataExport" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BulkDataExport" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "BulkDataExport" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SmartAppLaunch" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SmartAppLaunch" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SmartAppLaunch" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "SmartAppLaunch" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DomainConfiguration" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DomainConfiguration" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DomainConfiguration" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "DomainConfiguration" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AsyncJob" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AsyncJob" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AsyncJob" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "AsyncJob" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Agent" ADD COLUMN IF NOT EXISTS "__sharedTokens" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Agent" ADD COLUMN IF NOT EXISTS "__sharedTokensText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Agent" ADD COLUMN IF NOT EXISTS "___tag" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Agent" ADD COLUMN IF NOT EXISTS "___tagText" TEXT[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Agent" ADD COLUMN IF NOT EXISTS "__identifier" UUID[]`); await fns.query(client, results, `ALTER TABLE IF EXISTS "Agent" ADD COLUMN IF NOT EXISTS "__identifierText" TEXT[]`); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/medplum/medplum'

If you have feedback or need assistance with the MCP directory API, please join our Discord server