Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Entities (tables)

...

Name
Type
M/O
Description and constraints
iduuidM
namevarchar, uniqueMunique
innm_identifiervarchar, uniqueMunique
statusvarchar (Dictionary: INNM_STATUS)M
inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Ingredients (obsolete)

...

Name
Type
M/O
Description and constraints
iduuidM
medication_iduuidMunique (medication_id && innm_id)
innm_iduuidMunique (medication_id && innm_id)
dosageDosage: jsonbM
is_active_substancebooleanM
inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Medications

...

Name
Type
M/O
Description and constraints
iduuidM
namevarcharM
is_activebooleanM
start_datedateM
routevarchar (Dictionary: MEDICATIONS_ROUTE)M
container_dosageDosage: jsonbM
package_qtynumberM
package_min_qtynumberM
code_ATXvarcharM
manufacturer_name_countryManufacturer info: jsonbM
certificatevarcharM
expired_certificate_datedateM
inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Medication_program_info

...

Name
Type
M/O
Description and constraints
iduuidM
medication_iduuidM
program_type varchar (Dictionary: MEDICAL_PROGRAM)M
valid_from dateM
valid_todateM

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
iduuidM
innm_iduuidM
routevarchar (Dictionary: MEDICATIONS_ROUTE)

dosageDosage: jsonb

container_dosageDosage: jsonb

package_qtynumber

package_min_qtynumber

inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Examples

See several examples of the description in medications+ingredients+innms in on page "DB model" in file: examples medication model

...

Ingredients (TBD!!!)

[ingredients]

type:varchar

innm_id | uuid
medication_id | uuid
is_active_substance | boolean
dosage | jsonb | not null

...


Name
Type
M/O
Description and constraints
numerator_unitvarchar (Dictionary: MEDICATION_UNIT)M



numerator_value
numberM

denumerator_unit
varchar (Dictionary: MEDICATION_UNIT)M

denumerator_value
numberM

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