Table of Contents |
---|
...
Name | Type | M/O | Description and constraints | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | uuid | M | |||||||||||||||||
name | varchar, unique | Munique | |||||||||||||||||
SCTID | innm_identifier | varchar, unique | M | unique | status | varchar (Dictionary: INNM_STATUS) | M | inserted_at | timestamp | M | inserted_by | uuid | M | updated_at | timestamp | M | updated_by | uuid | M |
Ingredients (obsolete)
This entity defines ingredients for brand medications information structure.
Name | Type | M/O | Description and constraints | id | uuid | M |
---|---|---|---|---|---|---|
medication_id | uuid | M | unique (medication_id && innm_id) | |||
innm_id | uuid | M | unique (medication_id && innm_id) | |||
dosage | Dosage: jsonb | M | is_active_substance | booleanboolean | M | |
inserted_at | timestamp | M | ||||
inserted_by | uuid | M | ||||
updated_at | timestamp | M | ||||
updated_by | uuid | M |
Medications
...
Name | Type | M/O | Description and constraints | |
---|---|---|---|---|
id | uuid | M | ||
name | varchar | M | ||
is_active | boolean | M | start_date | |
datetype | varchar (Dictionary: MEDICATION_TYPE) | M | ||
routeform | varchar (Dictionary: MEDICATIONS MEDICATION_ROUTEFORM) | M | ||
container_dosageingredients | Dosage: jsonb | O | ||
container | Dosage: jsonb | MO | ||
package_qty | number | MO | ||
package_min_qty | number | MO | ||
code_ATX | varchar | MO | ||
manufacturer_name_country | Manufacturer info: jsonb | MO | ||
certificate | varchar | M | ||
expired_certificate_date | date | M | ||
inserted_at | timestamp | M | ||
inserted_by | uuid | M | ||
updated_at | timestamp | M | ||
updated_by | uuid | M |
Medication_program_info
...
Name | Type | M/O | Description and constraints |
---|---|---|---|
id | uuid | M | |
medication_id | uuid | M | |
program_type | varchar (Dictionary: MEDICAL_PROGRAM) | M | |
valid_from | date | M | |
valid_to | date | M |
Innm_form_uses
This entity defines cross combinations for innms from medications information structure. Its entity only for fully techical solutions (non business requrements).
Name | Type | M/O | Description and constraints |
---|---|---|---|
id | uuid | M | |
innm_id | uuid | M | |
route | varchar (Dictionary: MEDICATIONS_ROUTE) | ||
dosage | Dosage: jsonb | ||
container_dosage | Dosage: jsonb | ||
package_qty | number | ||
package_min_qty | number | ||
inserted_at | timestamp | M | |
inserted_by | uuid | M | |
updated_at | timestamp | M | |
updated_by | uuid | M |
Examples
See several examples of the description medications+ingredients+innms on page "DB model" in file: examples medication model
Data structures
Ingredients
...
[ingredients]
type:varchar
...
This entity defines ingredients for brand medications information structure.
Name | Type | M/O | Description and constraints |
---|---|---|---|
type | varchar (Dictionary: MEDICATION_TYPE) | M | |
id | uuid | M | medications.id OR innms.id |
dosage | Dosage: jsonb | M | |
is_active_substance |
...
boolean |
...
M |
Dosage
This entity defines dosage (strength of action) INNM in medication (ingredients).
Name | Type | M/O | Description and constraints |
---|---|---|---|
numerator_unit | varchar (Dictionary: MEDICATION_UNIT) | M | |
numerator_value | number | M | |
denumerator_unit | varchar (Dictionary: MEDICATION_UNIT) | M | |
denumerator_value | number | M |
Examples : 5mg/1tab, 25mg/1ml, 100UE/1ml, 0.1mg/1dose
Manufacturer_info
This entity defines information about manufacturer of medications.
Name | Type | M/O | Description and constraints |
---|---|---|---|
name | varchar | M | |
country | varchar (Dictionary: COUNTRY) | M |