Versions Compared

Key

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

Status
titleDRAFT

...

NameTypeM/ODescription
idUUIDM
service_idUUIDM
group_idUUIDM
aliasstringO
is_activebooleanM
inserted_atdatetimeM
inserted_bydatetimeM
updated_atdatetimeM
updated_bydatetimeM

...



Programs (existing reimbursement medical_programs

...

 table is used)

This entity defines medical programs information structure.


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 NEW

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) )


Name
Type
M/O
Description and constraints
Program_medications table comparisonStatus
iduuidM
ok
service_iduuidOservice_id OR service_group_id is mandatorymedication_id (M)
program_iduuidM
medical_program_id
service_group_iduuidOservice_id OR service_group_id is mandatory-

request_allowed

booleanM
medication_request_allowed
?jsonbM

Reimbursement : jsonb

reimbursement
?doubleM
wholesale_price
consumer_pricedoubleM
ok
?doubleM
reimbursement_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