Versions Compared

Key

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

Table of Contents

Schema Image Modified

Entities (tables)

Substances

This entity defines  substancesinformation structure.

Name
Type
M/O
Description and constraints
iduuidM
namevarcharM
name_originalvarcharM
SCTIDvarchar, uniqueMunique
is_activeboolean M
inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Medications

...

Name
Type
M/O
Description and constraints
iduuidM
namevarcharM
is_activebooleanM
typevarchar (Dictionary: MEDICATION_TYPE)M
formvarchar (Dictionary: MEDICATION_FORM)M
ingredientsIngredients[]: jsonbOArray
containerDosage: jsonbO
package_qtynumberO
package_min_qtynumberO
code_ATXvarcharO
manufacturerManufacturer: jsonbO
certificatevarcharO
expired_certificate_datedateO
inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Medical_programs

...

Name
Type
M/O
Description and constraints
iduuidM
is_activebooleanM
namevarcharM
inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Program_medications

...

Name
Type
M/O
Description and constraints
iduuidM
medication_iduuidM
medical_program_iduuidM
is_activebooleanM
reimbursementjsonbO

Data structure TBD !!!

inserted_attimestampM
inserted_byuuidM
updated_attimestampM
updated_byuuidM

Examples

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

...

Name
Type
M/O
Description and constraints
typevarchar (Dictionary: MEDICATION_TYPE)M
iduuidMmedications.id OR innms.id
dosageDosage: jsonbM
is_active_substancebooleanM

...


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

This entity defines information about manufacturer of medications.


Name
Type
M/O
Description and constraints
manufacturer varchar M



country
varchar (Dictionary: COUNTRY)M