Table of Contents |
---|
Schema
View file | ||
---|---|---|
|
Tables
The provision of medical programs by pharmacy divisions has been stored in following table:
medical_program_provision
Name | Type | M/O | Description and constraints |
---|---|---|---|
id | uuid | M | System identifier |
medical_program_id | uuid | M | Medical program identifier |
division_id | uuid | M | Division which provide a medical program |
contract_number | varchar | M | Contract number according to which the medical program has been provided by division. |
is_active | bool | M | Status of the record. By default is true |
deactivate_reason | varchar | O | Fills according to PROVISON_DEACTIVATE_REASON dicitionary. Deactivation reasons:
|
inserted_by | uuid | M | User who created the record |
inserted_at | timestamp | M | Time when the record was created |
updated_by | uuid | M | The last user by who updated the record |
updated_at | timestamp | M | The last time the record was updated |
Bucket structure
Bucket name
Legal entity identifier
Medical program identifier
Folder with name “provision_create“
File with signed content from
Create Medical program provision
method with list of divisions. Has name with timestamp which match to inserted_at timestamp of created records in table.