Clinical-Genomics / cg

Glue between Clinical Genomics apps
7 stars 2 forks source link

cg transfer lims microbial data to status db #214

Closed emiliaol closed 5 years ago

emiliaol commented 5 years ago

Contact person: DB

As VW, I want the system to transfer dates from LIMS to status-db, so that Invoicing can performed on them

Problem description: Invoicing of microbial samples should be handled the same way for microbial samples as for human samples. To be able to do that we need some information to be filled into status db in the "Microbial Sample" table. Most of this info comes from completed steps in LIMS.

Steps to reproduce:

  1. Go to lims
  2. Find a microbial sample that has been received earlier than today
  3. Look at that sample in clinical-api

Expected outcome: Sample has that received date

Actual outcome: Empty received date

Suggested solution: Implement something like the "cg transfer lims" function for microbial samples and run it as a cronjob. The data we need to fetch is:

DoD:

patrikgrenfeldt commented 5 years ago

Vad betyder det att jag är assignad på den här user-storyn? /Patrik

Den tis 9 okt. 2018 10:00emiliaol notifications@github.com skrev:

Assigned #214 https://github.com/Clinical-Genomics/cg/issues/214 to @patrikgrenfeldt https://github.com/patrikgrenfeldt.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Clinical-Genomics/cg/issues/214#event-1892082046, or mute the thread https://github.com/notifications/unsubscribe-auth/AGYypF2GLDWUrGcWNiXTXLaRNSqMAO_Eks5ujFeegaJpZM4XSBOt .

emiliaol commented 5 years ago

Sorry, såg inte att du hade skrivit. Bara att du tittar på den lite extra inför refinement.

barrystokman commented 5 years ago

Options:

cg transfer microbials --status received cg transfer microbials --status prepared ~cg transfer microbials --status sequence-start~ cg transfer microbials --status sequenced cg transfer microbials --status delivered