Data file
File: Medications&Innm2Load
Page: "Original-2017-08-26"
Upload steps & logic
Step 1- Load Innms
- Source page "innm"
- Mapping:
- innm_identifier = column `C`
- name = column `A`
- Check exist by `innm_identifier`
- If not exist - Insert new.
- status=INACTIVE (DICTIONARY: innm_status)
- is_active=TRUE
- If not exist - Insert new.
Step 2 - Load Medications
- Source page: "Original-2017-08-26"
- Delete * from medications (delete old data)
- Mapping:
- name = column `C`
is_active = TRUE
start_at | date | not null end_at | date | not null route | varchar | not null container_dosage | jsonb | not null package_qty | number | not null package_min_qty | number | not null code_ATX | varchar | not null manufacturer_name_country | jsonb | not null certificate | varchar | not null expired_certificate_date
- cd