Open catflyflyfly opened 3 years ago
Task: Implement function pipeline in src/model/wisible/mapper/wisible.request.mapper.ts
pipeline
src/model/wisible/mapper/wisible.request.mapper.ts
Psuedocode: Source: @avafund
if(ageYear <= 15) pipelineName = "ยาเด็ก" else{ if(isPregnant || isDiseaseUncontrollDm || isDiseaseCirrhosis || isDiseaseCirrhosis2) pipelineName = "ยาคนท้อง โรคตับ เบาหวาน" else{ if(weightKg > 90) pipelineName = "ยาแพคใหญ่ (นน>90 OR BMI>30)" else pipelineName = "ยาแพคเล็ก (นน<90)" } } callWisibleAPI();
Task: Implement function
pipeline
insrc/model/wisible/mapper/wisible.request.mapper.ts
Psuedocode: Source: @avafund