Versions Compared

Key

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

Status
titleDRAFT

...


Name
Type
M/O
Description and constraints
Status
iduuidM

is_activebooleanM

namevarcharM

inserted_attimestampM

inserted_byuuidM

updated_attimestampM

updated_byuuidM

same_mnn_in_treatment_period

booleanMNot used for service programs
program_typevarcharMmedication, serviceNEW
legal entity typesjsonbM

Used for service programs, array of legal_entity_types dictionary values.

Program can be set on service request if it were created by an employee from legal entity with one of types listed in array

NEW


Program_members (

should we use existing reimbursement program_medications table (question) 

new table)


Name
Type
M/O
Description and constraints
Program_medications table comparison
Status
iduuidM
ok


service_iduuidOservice_id OR service_group_id is mandatory
medication_id (M)

program_iduuidM
medical_program_id


service_group_iduuidOservice_id OR service_group_id is mandatory
-

request_allowed

boolean
Mmedication_request_allowed?jsonbM

Reimbursement : jsonb

reimbursement?double
M
wholesale_price


consumer_price
doubleMok?doubleMreimbursement_daily_dosage?
doubleM
estimated_payment_amount


descriptiontextOused for text description of un-automated conditions which should be checked for program member vs patient qualification (e.g. sex or age of patient)
-

is_activebooleanM
ok


inserted_attimestampM
ok


inserted_byuuidM
ok


updated_attimestampM
ok


updated_byuuidM
ok



contract_program_members (new table)


Name
Type
M/O
Description and constraints
Status
iduuidM

contract_iduuidMFK(contract_id)
program_member_iduuidMFK(program_members)
is_activebooleanM

inserted_attimestampM

inserted_byuuidM

updated_attimestampM

updated_byuuidM