Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entries trying to save to Marand, not EtherCIS #75

Open
PhilBarrett opened this issue Jun 11, 2019 · 9 comments
Open

Entries trying to save to Marand, not EtherCIS #75

PhilBarrett opened this issue Jun 11, 2019 · 9 comments

Comments

@PhilBarrett
Copy link
Member

Problems/diagnosis

Plus edits not saving

  • {"error":"Clinical Statements - Edit button missing #1.0.0 Invocation exception to method:update:java.lang.IllegalArgumentException: Could not convert JSON map:com.marand.thinkehr.a.b: Unable to convert value to DateTime: 1.1738304E12 (path: problem_list/problems_and_issues:0/problem_diagnosis:0/date_time_of_onset)","path":"/api/patients/:patientId/:heading/:sourceId"}

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
Copy link
Collaborator

@tony-shannon @PhilBarrett

Sorry, but where I can check it?

@PhilBarrett
Copy link
Member Author

These still exist, see 8111133448

@kuvakina
Copy link
Collaborator

These still exist, see 8111133448

@DmitrySolyannik could you check it, please?

@kuvakina
Copy link
Collaborator

kuvakina commented Jul 2, 2019

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
Copy link
Member Author

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

@kuvakina
Copy link
Collaborator

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

@BogdanScherban
Copy link
Collaborator

@PhilBarrett @tony-shannon

I fixed this issue (for Problems)

@tony-shannon
Copy link
Member

@kuvakina to retest and update here

@kuvakina
Copy link
Collaborator

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants