RippleOSI / Ripple-Showcase-Stack-Project

repo for Showcase Stack (PulseTile+ QEWDjs + EtherCIS) - Project issues
Apache License 2.0
0 stars 0 forks source link

Entries trying to save to Marand, not EtherCIS #75

Open PhilBarrett opened 5 years ago

PhilBarrett commented 5 years ago

Problems/diagnosis

Plus edits not saving

Medications saving to Marand instead of EtherCISand not actually saving

{"error":"#1.0.0 Invocation exception to method:create:java.lang.IllegalArgumentException: Could not convert JSON map:com.marand.thinkehr.a.b: Unable to convert value to DateTime: Invalid date (path: medication_statement_list/medication_and_medical_devices/medication_order:0/order:0/order_details/order_start_date_time)","path":"/api/patients/:patientId/:heading"}

kuvakina commented 5 years ago

@tony-shannon @PhilBarrett

Sorry, but where I can check it?

PhilBarrett commented 5 years ago

These still exist, see 8111133448

kuvakina commented 5 years ago

These still exist, see 8111133448

@DmitrySolyannik could you check it, please?

kuvakina commented 5 years ago

Regarding Problems/diagnosis

When creating Problems, that data being sent from front: 1q1q1.png

When updating, that data being sent: 2q2q.png

We should send with update the same data as with POST, and this fixes the error

Regarding Medications Seems like it works normal now

Regarding saving to Marand

We can't tell why in error shown Marand, I think it'd better ask Ian or Christian.

@tony-shannon @PhilBarrett

PhilBarrett commented 4 years ago

Is this still writing to the wrong clinical data repository? @DmitrySolyannik to discuss with Rob if needed please.

kuvakina commented 4 years ago

@PhilBarrett if you mean in Problems/diagnosis different data sent when create and update, then Bogdan should fix it.

BogdanScherban commented 4 years ago

@PhilBarrett @tony-shannon

I fixed this issue (for Problems)

tony-shannon commented 4 years ago

@kuvakina to retest and update here

kuvakina commented 4 years ago

@tony-shannon @PhilBarrett As you can see now date created and updated in the same format for Problems/diagnosis:

When creating Problems, that data being sent from the front: PT-create

When updating, that data being sent: PT-upd