Appearance
execution database schema
Generated from the EF Core model of Cadence.Apps.Execution.Infrastructure.Persistence.ExecutionDbContext, not from a live database. Unqualified tables live in the edc schema.
edc.AuditLogEntries
Entity: AuditLogEntry
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
Action | text | no | ||
BlockHash | text | no | ||
ChangesJson | text | yes | ||
EntityId | text | no | ||
EntityName | text | no | ||
PredecessorHash | text | no | ||
ReasonForChange | text | no | ||
Timestamp | timestamp with time zone | no | ||
UserId | text | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_AuditLogEntries_tenant_id: (tenant_id)
edc.InboxState
Entity: InboxState
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | bigint | no | PK | |
Consumed | timestamp with time zone | yes | ||
ConsumerId | uuid | no | ||
Delivered | timestamp with time zone | yes | ||
ExpirationTime | timestamp with time zone | yes | ||
LastSequenceNumber | bigint | yes | ||
LockId | uuid | no | ||
MessageId | uuid | no | ||
ReceiveCount | integer | no | ||
Received | timestamp with time zone | no | ||
RowVersion | bytea | yes |
Indexes:
AK_InboxState_MessageId_ConsumerId: unique constraint (MessageId,ConsumerId)IX_InboxState_Delivered: (Delivered)
edc.OutboxMessage
Entity: OutboxMessage
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
SequenceNumber | bigint | no | PK | |
Body | text | no | ||
ContentType | character varying(256) | no | ||
ConversationId | uuid | yes | ||
CorrelationId | uuid | yes | ||
DestinationAddress | character varying(256) | yes | ||
EnqueueTime | timestamp with time zone | yes | ||
ExpirationTime | timestamp with time zone | yes | ||
FaultAddress | character varying(256) | yes | ||
Headers | text | yes | ||
InboxConsumerId | uuid | yes | ||
InboxMessageId | uuid | yes | ||
InitiatorId | uuid | yes | ||
MessageId | uuid | no | ||
MessageType | text | no | ||
OutboxId | uuid | yes | ||
Properties | text | yes | ||
RequestId | uuid | yes | ||
ResponseAddress | character varying(256) | yes | ||
SentTime | timestamp with time zone | no | ||
SourceAddress | character varying(256) | yes |
Foreign keys:
FK_OutboxMessage_InboxState_InboxMessageId_InboxConsumerId: (InboxMessageId,InboxConsumerId) referencesedc.InboxState(MessageId,ConsumerId), on delete no actionFK_OutboxMessage_OutboxState_OutboxId: (OutboxId) referencesedc.OutboxState(OutboxId), on delete no action
Indexes:
IX_OutboxMessage_EnqueueTime: (EnqueueTime)IX_OutboxMessage_ExpirationTime: (ExpirationTime)IX_OutboxMessage_InboxMessageId_InboxConsumerId_SequenceNumber: unique (InboxMessageId,InboxConsumerId,SequenceNumber)IX_OutboxMessage_OutboxId_SequenceNumber: unique (OutboxId,SequenceNumber)
edc.OutboxState
Entity: OutboxState
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
OutboxId | uuid | no | PK | |
Created | timestamp with time zone | no | ||
Delivered | timestamp with time zone | yes | ||
LastSequenceNumber | bigint | yes | ||
LockId | uuid | no | ||
RowVersion | bytea | yes |
Indexes:
IX_OutboxState_Created: (Created)
edc.bulk_lab_range_import_jobs
Entity: BulkLabRangeImportJob
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
CompletedAt | timestamp with time zone | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
ErrorRows | integer | no | ||
ErrorSummaryJson | text | yes | ||
FileName | character varying(500) | no | ||
FileType | character varying(50) | no | ||
JobId | character varying(100) | no | ||
PreviewSummaryJson | text | yes | ||
ReasonForChange | character varying(2000) | no | ||
SiteId | character varying(255) | yes | ||
Status | character varying(50) | no | ||
StudyId | character varying(255) | no | ||
SubmittedAt | timestamp with time zone | no | ||
SuccessRows | integer | no | ||
TotalRows | integer | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_bulk_lab_range_import_jobs_JobId: unique (JobId)IX_bulk_lab_range_import_jobs_StudyId_SubmittedAt: (StudyId,SubmittedAt)IX_bulk_lab_range_import_jobs_tenant_id: (tenant_id)
edc.bulk_synonym_import_jobs
Entity: BulkSynonymImportJob
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
DuplicateRows | integer | no | ||
FileHash | character varying(128) | no | ||
FileName | character varying(500) | no | ||
InvalidRows | integer | no | ||
ReasonForChange | character varying(2000) | no | ||
Scope | character varying(50) | no | ||
Status | character varying(50) | no | ||
StudyId | character varying(255) | yes | ||
TotalRows | integer | no | ||
ValidRows | integer | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_bulk_synonym_import_jobs_CreatedAt: (CreatedAt)IX_bulk_synonym_import_jobs_tenant_id: (tenant_id)
edc.cec_chair_adjudications
Entity: CecChairAdjudication
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | character varying(255) | no | PK | |
AdjudicationRationale | text | no | ||
BindingReader | character varying(100) | no | ||
ChairId | character varying(255) | no | ||
ChairName | character varying(255) | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
DossierId | character varying(255) | no | ||
FinalAdjudicatedOnsetDate | character varying(50) | no | ||
FinalClassification | character varying(255) | no | ||
FinalSubtype | character varying(255) | yes | ||
FinalizedAt | timestamp with time zone | no | ||
ReasonForChange | text | no | ||
VersionIndex | bigint | no | ||
_version | bigint | no | 0 | |
criteria_confirmed | jsonb | no | ||
signature_manifest | jsonb | no | ||
tenant_id | uuid | no |
Indexes:
IX_cec_chair_adjudications_tenant_id: (tenant_id)ix_cec_chair_adjudications_dossier_id: (DossierId)
edc.cec_dossiers
Entity: CecDossier
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | character varying(255) | no | PK | |
AdjudicationRationale | text | yes | ||
CandidateEventType | character varying(100) | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
EventId | character varying(255) | no | ||
FinalAdjudicatedOnsetDate | text | yes | ||
FinalConsensusClassification | text | yes | ||
FinalConsensusSubtype | text | yes | ||
FinalizedAt | timestamp with time zone | yes | ||
IsDiscordant | boolean | no | ||
MaskedSiteId | character varying(255) | yes | ||
MaskedSubjectId | character varying(255) | no | ||
Reader1Status | text | no | ||
Reader2Status | text | no | ||
ReasonForChange | text | no | ||
ReportedOnsetDate | character varying(50) | no | ||
ReportedTerm | character varying(500) | no | ||
SiteId | character varying(255) | yes | ||
StudyId | character varying(255) | no | ||
SubjectId | character varying(255) | no | ||
VersionIndex | bigint | no | ||
WorkflowStatus | character varying(100) | no | ||
_version | bigint | no | 0 | |
discordance_reasons | jsonb | no | ||
signature_manifest | jsonb | yes | ||
tenant_id | uuid | no |
Indexes:
IX_cec_dossiers_tenant_id: (tenant_id)ix_cec_dossiers_study_id: (StudyId)ix_cec_dossiers_workflow_status: (WorkflowStatus)
edc.cgt_bedside_verifications
Entity: CgtBedsideVerification
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
BatchId | character varying(255) | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
Din | character varying(255) | no | ||
IsMatch | boolean | no | ||
Notes | text | yes | ||
PatientWristbandId | character varying(255) | no | ||
PrimarySignatureToken | character varying(512) | no | ||
PrimaryVerifierId | character varying(255) | no | ||
PrimaryVerifierName | character varying(255) | yes | ||
PrimaryVerifierRole | character varying(128) | yes | ||
ReasonForChange | text | no | ||
SecondarySignatureToken | character varying(512) | no | ||
SecondaryVerifierId | character varying(255) | no | ||
SecondaryVerifierName | character varying(255) | yes | ||
SecondaryVerifierRole | character varying(128) | yes | ||
SiteId | character varying(255) | no | ||
StudyId | character varying(255) | no | ||
SubjectId | character varying(255) | no | ||
UnlockToken | character varying(512) | no | ||
VerifiedAt | timestamp with time zone | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_cgt_bedside_verifications_StudyId_SubjectId: (StudyId,SubjectId)IX_cgt_bedside_verifications_UnlockToken: (UnlockToken)IX_cgt_bedside_verifications_tenant_id: (tenant_id)
edc.cgt_chains_of_custody
Entity: CgtChainOfCustody
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
BatchId | character varying(255) | yes | ||
CollectionSiteId | character varying(255) | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
CryoTempExcursionCount | integer | no | ||
CurrentStage | character varying(64) | no | ||
Din | character varying(255) | no | ||
HarvestedAt | timestamp with time zone | yes | ||
InfusedAt | timestamp with time zone | yes | ||
LowestTempCelsius | double precision | yes | ||
ManufacturingFacilityId | character varying(255) | yes | ||
ReasonForChange | text | no | ||
ReconciledAt | timestamp with time zone | yes | ||
SiteId | character varying(255) | no | ||
Status | character varying(64) | no | ||
StudyId | character varying(255) | no | ||
SubjectId | character varying(255) | no | ||
UnlockToken | character varying(512) | yes | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_cgt_chains_of_custody_Din: (Din)IX_cgt_chains_of_custody_StudyId_SubjectId: unique (StudyId,SubjectId)IX_cgt_chains_of_custody_tenant_id: (tenant_id)
edc.cgt_destruction_certificates
Entity: CgtDestructionCertificate
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
CertificateNumber | character varying(255) | no | ||
ChainOfCustodyId | uuid | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
CryptographicSeal | character varying(512) | no | ||
DestructionFacility | character varying(255) | no | ||
DestructionMethod | character varying(255) | no | ||
DestructionReason | character varying(512) | no | ||
DestructionTimestamp | timestamp with time zone | no | ||
Din | character varying(255) | yes | ||
KitNumbersJson | text | no | ||
LotNumber | character varying(255) | no | ||
QuantityDestroyed | integer | no | ||
ReasonForChange | text | no | ||
ReconciliationNotes | text | yes | ||
ResidualVolumeMl | double precision | yes | ||
SiteId | character varying(255) | no | ||
Status | character varying(64) | no | ||
StudyId | character varying(255) | no | ||
SubjectId | character varying(255) | yes | ||
UnitOfMeasure | character varying(64) | no | ||
VersionIndex | bigint | no | ||
VialIdentifiersJson | text | no | ||
Witness1Id | character varying(255) | no | ||
Witness1Name | character varying(255) | yes | ||
Witness1Role | character varying(128) | yes | ||
Witness1SignatureToken | character varying(512) | no | ||
Witness2Id | character varying(255) | no | ||
Witness2Name | character varying(255) | yes | ||
Witness2Role | character varying(128) | yes | ||
Witness2SignatureToken | character varying(512) | no | ||
tenant_id | uuid | no |
Indexes:
IX_cgt_destruction_certificates_CertificateNumber: unique (CertificateNumber)IX_cgt_destruction_certificates_StudyId: (StudyId)IX_cgt_destruction_certificates_tenant_id: (tenant_id)
edc.cgt_milestone_events
Entity: CgtMilestoneEvent
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
Carrier | character varying(255) | yes | ||
ChainOfCustodyId | uuid | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
CustodianId | character varying(255) | yes | ||
CustodianName | character varying(255) | yes | ||
CustodianRole | character varying(128) | yes | ||
DryShipperId | character varying(255) | yes | ||
FacilityId | character varying(255) | yes | ||
Latitude | double precision | yes | ||
LocationName | character varying(255) | yes | ||
Longitude | double precision | yes | ||
MilestoneType | character varying(128) | no | ||
Notes | text | yes | ||
ReasonForChange | text | no | ||
SealId | character varying(255) | yes | ||
SealIntact | boolean | no | ||
Stage | character varying(64) | no | ||
StudyId | character varying(255) | no | ||
TemperatureCelsius | double precision | yes | ||
TemperatureStatus | character varying(64) | yes | ||
Timestamp | timestamp with time zone | no | ||
TrackingNumber | character varying(255) | yes | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_cgt_milestone_events_ChainOfCustodyId: (ChainOfCustodyId)IX_cgt_milestone_events_StudyId: (StudyId)IX_cgt_milestone_events_tenant_id: (tenant_id)
edc.cgt_vial_return_reconciliations
Entity: CgtVialReturnReconciliation
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
AdherencePercentage | double precision | no | ||
CertificateId | character varying(255) | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
Disposition | character varying(64) | no | ||
IntactVials | integer | no | ||
KitNumber | character varying(255) | no | ||
LoggedAt | timestamp with time zone | no | ||
LoggedBy | character varying(255) | no | ||
Notes | text | yes | ||
ReasonForChange | text | no | ||
ResidualVolumeMl | double precision | yes | ||
ReturnedQuantity | integer | no | ||
SiteId | character varying(255) | no | ||
StudyId | character varying(255) | no | ||
SubjectId | character varying(255) | no | ||
UsedVials | integer | no | ||
VersionIndex | bigint | no | ||
VialIdentifier | character varying(255) | no | ||
tenant_id | uuid | no |
Indexes:
IX_cgt_vial_return_reconciliations_StudyId: (StudyId)IX_cgt_vial_return_reconciliations_VialIdentifier: (VialIdentifier)IX_cgt_vial_return_reconciliations_tenant_id: (tenant_id)
edc.clinical_subjects
Entity: ClinicalSubject
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
ActiveProtocolVersion | text | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
EncryptedDemographics | text | yes | ||
EnrollmentIndex | integer | no | ||
IsUnblinded | boolean | no | ||
KitReference | text | yes | ||
RandomizationId | uuid | yes | ||
ReasonForChange | text | no | ||
SiteCode | text | yes | ||
Status | character varying(32) | no | ||
StudyCode | character varying(255) | no | ||
SubjectCode | character varying(255) | no | ||
UnblindedAt | timestamp with time zone | yes | ||
UnblindedBy | text | yes | ||
UnblindedReason | text | yes | ||
VersionIndex | bigint | no | ||
WithdrawalReason | text | yes | ||
WithdrawnAt | timestamp with time zone | yes | ||
_version | bigint | no | 0 | |
strat_factors | jsonb | no | ||
tenant_id | uuid | no |
Indexes:
IX_clinical_subjects_StudyCode_EnrollmentIndex: unique (StudyCode,EnrollmentIndex)IX_clinical_subjects_StudyCode_SiteCode_Status_EnrollmentIndex: (StudyCode,SiteCode,Status,EnrollmentIndex)IX_clinical_subjects_StudyCode_Status_EnrollmentIndex: (StudyCode,Status,EnrollmentIndex)IX_clinical_subjects_SubjectCode: unique (SubjectCode)IX_clinical_subjects_tenant_id: (tenant_id)
edc.consumed_signature_tokens
Entity: ConsumedSignatureToken
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
TokenId | character varying(128) | no | PK | |
ConsumedAt | timestamp with time zone | no | ||
RetainUntil | timestamp with time zone | no |
Indexes:
IX_consumed_signature_tokens_RetainUntil: (RetainUntil)
edc.device_deficiencies
Entity: DeviceDeficiency
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
ActionTakenDevice | character varying(64) | no | ||
AwarenessDate | timestamp with time zone | no | ||
CouldLeadToSade | boolean | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
DeficiencyDescription | character varying(4096) | no | ||
DeficiencyType | character varying(64) | no | ||
DeviceInventoryId | character varying(128) | yes | ||
DeviceName | character varying(256) | no | ||
DeviceReturnedToSponsor | boolean | no | ||
HealthImpact | character varying(64) | no | ||
IncidentDate | timestamp with time zone | no | ||
InvestigationStatus | character varying(64) | no | ||
LotNumber | character varying(128) | no | ||
PatientInvolved | boolean | no | ||
QuarantineScope | character varying(64) | no | ||
QuarantineTriggered | boolean | no | ||
ReasonForChange | text | no | ||
ReturnTrackingNumber | character varying(128) | yes | ||
RootCauseAnalysis | text | yes | ||
SafetyCaseId | character varying(128) | yes | ||
SafetyClassification | character varying(128) | yes | ||
SerialNumber | character varying(128) | yes | ||
SiteId | character varying(128) | no | ||
SponsorEvaluation | text | yes | ||
StudyId | character varying(128) | no | ||
SubjectId | character varying(128) | yes | ||
UdiDi | character varying(128) | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_device_deficiencies_SafetyCaseId: (SafetyCaseId)IX_device_deficiencies_StudyId_SiteId: (StudyId,SiteId)IX_device_deficiencies_tenant_id: (tenant_id)
edc.device_inventory_items
Entity: DeviceInventoryItem
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
AllocatedSubjectId | character varying(128) | yes | ||
BrandName | character varying(256) | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
DeviceClassification | character varying(64) | no | ||
DeviceIdentifier | character varying(256) | no | ||
DeviceModel | character varying(128) | yes | ||
DeviceType | character varying(64) | no | ||
DispensedAt | timestamp with time zone | yes | ||
DispensedBy | character varying(128) | yes | ||
ExpirationDate | timestamp with time zone | yes | ||
IsDispensationBlocked | boolean | no | ||
LotNumber | character varying(128) | no | ||
ManufacturingDate | timestamp with time zone | yes | ||
QuarantineReason | text | yes | ||
QuarantinedAt | timestamp with time zone | yes | ||
QuarantinedBy | character varying(128) | yes | ||
ReasonForChange | text | no | ||
SerialNumber | character varying(128) | yes | ||
SiteId | character varying(128) | no | ||
SoftwareVersion | character varying(64) | yes | ||
Status | character varying(64) | no | ||
StudyId | character varying(128) | no | ||
UdiCarrierFormat | character varying(64) | no | ||
UdiDi | character varying(128) | no | ||
UdiPi | character varying(256) | yes | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_device_inventory_items_SerialNumber: (SerialNumber)IX_device_inventory_items_StudyId_SiteId: (StudyId,SiteId)IX_device_inventory_items_StudyId_Status: (StudyId,Status)IX_device_inventory_items_UdiDi_LotNumber: (UdiDi,LotNumber)IX_device_inventory_items_tenant_id: (tenant_id)
edc.device_quarantine_records
Entity: DeviceQuarantineRecord
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
DeficiencyId | character varying(128) | yes | ||
DeviceInventoryId | character varying(128) | yes | ||
LotNumber | character varying(128) | yes | ||
QuarantinedAt | timestamp with time zone | no | ||
QuarantinedBy | character varying(128) | no | ||
Reason | character varying(2048) | no | ||
ReasonForChange | text | no | ||
ReleaseJustification | character varying(2048) | yes | ||
ReleasedAt | timestamp with time zone | yes | ||
ReleasedBy | character varying(128) | yes | ||
Scope | character varying(64) | no | ||
SerialNumber | character varying(128) | yes | ||
SiteId | character varying(128) | no | ||
Status | character varying(64) | no | ||
StudyId | character varying(128) | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_device_quarantine_records_DeviceInventoryId: (DeviceInventoryId)IX_device_quarantine_records_StudyId_Status: (StudyId,Status)IX_device_quarantine_records_tenant_id: (tenant_id)
edc.ip_kit_inventory_items
Entity: IpKitInventoryItem
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
AssignedAt | timestamp with time zone | yes | ||
AssignedRandomizationId | uuid | yes | ||
AssignedSubjectCode | character varying(255) | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
DispositionReason | character varying(255) | yes | ||
ExpirationDate | timestamp with time zone | no | ||
KitNumber | character varying(255) | no | ||
LastReconciledAt | timestamp with time zone | yes | ||
LastReconciledBatchId | character varying(255) | yes | ||
LastReconciledBy | character varying(255) | yes | ||
LotNumber | character varying(255) | no | ||
ReasonForChange | character varying(1000) | no | ||
ResidualVolumeMl | double precision | yes | ||
ResidualVolumePercentage | double precision | yes | ||
SiteId | character varying(255) | no | ||
Status | character varying(100) | no | ||
StudyId | character varying(255) | no | ||
TreatmentArmCiphertext | text | yes | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_ip_kit_inventory_items_AssignedRandomizationId: unique (AssignedRandomizationId) where"AssignedRandomizationId" IS NOT NULLIX_ip_kit_inventory_items_StudyId_SiteId_KitNumber: unique (StudyId,SiteId,KitNumber)IX_ip_kit_inventory_items_tenant_id: (tenant_id)
edc.ip_kit_reconciliation_batches
Entity: IpKitReconciliationBatch
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
BatchNumber | character varying(255) | no | ||
CertificateId | character varying(255) | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
ItemsJson | text | no | ||
Notes | character varying(2000) | yes | ||
ProcessedAt | timestamp with time zone | no | ||
ProcessedBy | character varying(255) | no | ||
QuarantinedKits | integer | no | ||
ReasonForChange | character varying(1000) | no | ||
SiteId | character varying(255) | no | ||
StudyId | character varying(255) | no | ||
TotalKits | integer | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_ip_kit_reconciliation_batches_BatchNumber: unique (BatchNumber)IX_ip_kit_reconciliation_batches_tenant_id: (tenant_id)
edc.ip_kit_reconciliation_certificates
Entity: IpKitReconciliationCertificate
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
BatchId | uuid | no | ||
BatchNumber | character varying(255) | no | ||
CertificateId | character varying(255) | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
DigitalSignature | character varying(500) | no | ||
IssuedAt | timestamp with time zone | no | ||
IssuedBy | character varying(255) | no | ||
KitNumbersJson | text | no | ||
ReasonForChange | character varying(1000) | no | ||
SiteId | character varying(255) | no | ||
StudyId | character varying(255) | no | ||
SummaryJson | text | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_ip_kit_reconciliation_certificates_CertificateId: unique (CertificateId)IX_ip_kit_reconciliation_certificates_tenant_id: (tenant_id)
edc.lab_reference_ranges
Entity: LabReferenceRange
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
AgeHigh | double precision | yes | ||
AgeLow | double precision | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
CriticalHigh | double precision | yes | ||
CriticalLow | double precision | yes | ||
HighBound | double precision | yes | ||
IsActive | boolean | no | ||
IsDeleted | boolean | no | ||
LoincCode | character varying(100) | yes | ||
LowBound | double precision | yes | ||
NormalizedUnit | character varying(100) | no | ||
ReasonForChange | character varying(2000) | no | ||
SexApplicability | character varying(50) | no | ||
SiteId | character varying(255) | yes | ||
Source | character varying(50) | no | ||
StudyId | character varying(255) | no | ||
TestCode | character varying(100) | no | ||
TestName | character varying(500) | no | ||
Unit | character varying(100) | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_lab_reference_ranges_StudyId_IsActive: (StudyId,IsActive)IX_lab_reference_ranges_StudyId_TestCode_Source_SiteId_IsActive: (StudyId,TestCode,Source,SiteId,IsActive)IX_lab_reference_ranges_tenant_id: (tenant_id)
edc.randomization_allocations
Entity: RandomizationAllocation
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
AllocatedAt | timestamp with time zone | no | ||
AllocatedBy | character varying(255) | no | ||
ArmCiphertext | text | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
KitNumber | character varying(255) | yes | ||
ListSlotId | uuid | yes | ||
ReasonForChange | character varying(1000) | no | ||
SchemeId | uuid | no | ||
SchemeVersion | integer | no | ||
Sequence | integer | no | ||
SiteCode | text | yes | ||
StratificationFactorsJson | jsonb | no | ||
StratumKey | character varying(1024) | no | ||
StudyCode | character varying(255) | no | ||
SubjectId | uuid | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Foreign keys:
FK_randomization_allocations_clinical_subjects_SubjectId: (SubjectId) referencesedc.clinical_subjects(Id), on delete restrictFK_randomization_allocations_randomization_schemes_SchemeId: (SchemeId) referencesedc.randomization_schemes(Id), on delete restrict
Indexes:
IX_randomization_allocations_SchemeId_StratumKey_Sequence: unique (SchemeId,StratumKey,Sequence)IX_randomization_allocations_StudyCode_AllocatedAt: (StudyCode,AllocatedAt)IX_randomization_allocations_SubjectId: unique (SubjectId)IX_randomization_allocations_tenant_id: (tenant_id)
edc.randomization_list_slots
Entity: RandomizationListSlot
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
AllocationId | uuid | yes | ||
ArmCiphertext | text | no | ||
SchemeId | uuid | no | ||
Sequence | integer | no | ||
StratumKey | character varying(1024) | no | ||
tenant_id | uuid | no |
Foreign keys:
FK_randomization_list_slots_randomization_schemes_SchemeId: (SchemeId) referencesedc.randomization_schemes(Id), on delete restrict
Indexes:
IX_randomization_list_slots_AllocationId: unique (AllocationId) where"AllocationId" IS NOT NULLIX_randomization_list_slots_SchemeId_StratumKey_Sequence: unique (SchemeId,StratumKey,Sequence)IX_randomization_list_slots_tenant_id: (tenant_id)
edc.randomization_schemes
Entity: RandomizationScheme
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
ApprovalReason | character varying(1000) | yes | ||
ApprovedAt | timestamp with time zone | yes | ||
ApprovedBy | character varying(255) | yes | ||
ArmsJson | jsonb | no | ||
BlockSizesJson | jsonb | no | ||
ConfigurationHash | character varying(64) | no | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
DraftedAt | timestamp with time zone | no | ||
DraftedBy | character varying(255) | no | ||
ListSize | integer | no | ||
Method | character varying(32) | no | ||
PreferredArmProbability | double precision | no | ||
ReasonForChange | character varying(1000) | no | ||
RequiresKit | boolean | no | ||
RetiredAt | timestamp with time zone | yes | ||
SlotsPerStratum | integer | no | ||
Status | character varying(32) | no | ||
StratificationFactorsJson | jsonb | no | ||
StudyCode | character varying(255) | no | ||
Version | integer | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_randomization_schemes_StudyCode_Approved: unique (StudyCode) where"Status" = 'Approved'IX_randomization_schemes_StudyCode_Version: unique (StudyCode,Version)IX_randomization_schemes_tenant_id: (tenant_id)
edc.site_compliance_caches
Entity: SiteComplianceCache
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
ActivatedAt | timestamp with time zone | yes | ||
ActivatedBy | character varying(255) | yes | ||
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
IsActivated | boolean | no | False | |
IsComplete | boolean | no | ||
Milestone | character varying(255) | no | ||
ReasonForChange | text | no | ||
SiteCode | character varying(255) | no | ||
StudyCode | character varying(255) | no | ||
Version | integer | no | ||
VersionIndex | bigint | no | ||
_version | bigint | no | 0 | |
missing_documents | text[] | no | ||
tenant_id | uuid | no |
Indexes:
IX_site_compliance_caches_tenant_id: (tenant_id)
edc.staged_adverse_event_reviews
Entity: StagedAdverseEventReview
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
id | text | no | PK | |
VersionIndex | bigint | no | ||
clinical_description | text | no | ||
created_at | timestamp with time zone | no | ||
created_by | text | no | ||
ctcae_grade | integer | no | ||
delta_percentage | double precision | yes | ||
grading_scale | text | no | ||
investigator_notes | text | yes | ||
is_deleted | boolean | no | ||
is_delta_check_alert | boolean | no | ||
is_hys_law_warning | boolean | no | ||
lab_value | double precision | no | ||
observation_id | text | yes | ||
reason_for_change | text | no | ||
review_status | text | no | ||
reviewed_at | timestamp with time zone | yes | ||
reviewed_by | text | yes | ||
site_id | text | yes | ||
study_id | text | no | ||
subject_id | text | no | ||
tenant_id | uuid | no | ||
test_code | text | no | ||
test_name | text | no | ||
toxicity_term | text | no | ||
unit | text | no | ||
version | integer | no | ||
visit_id | text | yes |
Indexes:
IX_staged_adverse_event_reviews_study_id_review_status: (study_id,review_status)IX_staged_adverse_event_reviews_subject_id: (subject_id)IX_staged_adverse_event_reviews_tenant_id: (tenant_id)
edc.subject_consents
Entity: SubjectConsent
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
CreatedAt | timestamp with time zone | no | ||
CreatedBy | text | no | ||
IcfSigned | boolean | no | ||
IcfSignedDate | timestamp with time zone | yes | ||
IsPaperOverride | boolean | no | ||
ProtocolVersion_StudyCode | character varying(255) | no | ||
ProtocolVersion_VersionIndex | integer | no | ||
ProtocolVersion_VersionTag | text | no | ||
ReasonForChange | text | no | ||
RequiresReconsent | boolean | no | ||
SubjectCode | character varying(255) | no | ||
VersionIndex | bigint | no | ||
_version | bigint | no | 0 | |
tenant_id | uuid | no |
Indexes:
IX_subject_consents_tenant_id: (tenant_id)
edc.synonym_rules
Entity: SynonymRule
| Column | Type | Null | Default | Key |
|---|---|---|---|---|
Id | uuid | no | PK | |
CreatedAt | timestamp with time zone | no | ||
CreatedBy | character varying(255) | no | ||
DictionaryType | character varying(50) | no | ||
DictionaryVersion | character varying(50) | no | ||
ImportJobId | uuid | no | ||
ReasonForChange | character varying(2000) | no | ||
Scope | character varying(50) | no | ||
Status | character varying(50) | no | ||
StudyId | character varying(255) | yes | ||
TargetCode | character varying(100) | no | ||
TargetLevel | character varying(50) | yes | ||
TargetTerm | character varying(500) | no | ||
VerbatimText | character varying(500) | no | ||
VersionIndex | bigint | no | ||
tenant_id | uuid | no |
Indexes:
IX_synonym_rules_Scope_StudyId_Status: (Scope,StudyId,Status)IX_synonym_rules_VerbatimText_DictionaryType: (VerbatimText,DictionaryType)IX_synonym_rules_tenant_id: (tenant_id)