Table of Contents
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 Routes
- Source page: "Dic: route"
- Mapping:
- sasad
Step 3 - Load Medications
- Source page: "Original-2017-0807-26"
- Delete * from medications (delete old data)
- Mapping:
- name = column `C`(3)
is_active = TRUE
- start_at | date | not null= `2017/07/26`
- end_at | date | not null
route | varchar | not null container_dosage | jsonb | not null package_qty | number | not null = `3000/01/01` - route = column `D`(4) + search in Dictionary `medication_route` by name
- container_dosage
- = column ``
- package_qty = column `G`(6)
- package_min_qty | number | not null = column `G`(6)
- code_ATX | varchar | not null = column `H`(7)
- manufacturer_name_country | jsonb | not nullcertificate | varchar | not null=column `I`(8) + Parsing Procedure 1
- certificate = column `J`(9)
- expired_certificate_date= column `K`(10) + format `DD.MM.YYYY`
- cd