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

Import URL from Documents to Problems/Diagnoses #114

Closed
anna-otrokhova opened this issue Jan 31, 2018 · 8 comments
Closed

Import URL from Documents to Problems/Diagnoses #114

anna-otrokhova opened this issue Jan 31, 2018 · 8 comments

Comments

@anna-otrokhova
Copy link
Contributor

anna-otrokhova commented Jan 31, 2018

When we import Data using Documents heading (Diagnosis List) for example:
http://prntscr.com/i86vlq
http://prntscr.com/i87oci

When we send POST to create Diagnoses we send these fields to mark these heading that they were created from Documents and have this imported URL :
http://joxi.net/nAyLDXLfYzeoz2
But we get them empty in response:
http://joxi.net/Drl7DO7svgjL3A

Could you check it please?

Related issue: QEWD-Courier/Ripple-Qewd#79

@anna-otrokhova
Copy link
Contributor Author

@tony-shannon
We would need an assistance from Rob as backend side doesn't send the expected data.
Could you ask Rob to check, please, as I can't mention him here?

@robtweed
Copy link

robtweed commented Mar 1, 2018

Sorry, I don't understand the issue sufficiently. What API / URL are we talking about? eg is it

POST /api/documents/patient/:patientId/:host ?

or are you referring to a different API?

@anna-otrokhova
Copy link
Contributor Author

@robtweed
When we import documents in Documents heading we use the following requests:

Documents
Propblem/Diagnosis
GET /api/patients/{patientId}/problems/{sourceId}
PUT /api/patients/{patientId}/problems/{sourceId}
POST /api/patients/{patientId}/problems

Allergies
GET /api/patients/{patientId}/allergies/{sourceId}
PUT /api/patients/{patientId}/allergies/{sourceId}
POST /api/patients/{patientId}/allergies

Medications
GET /api/patients/{patientId}/medications/{sourceId}
PUT /api/patients/{patientId}/medications/{sourceId}
POST /api/patients/{patientId}/medications

We need these fields to be added:
isImport: boolean,
originalSource: string
originalComposition: string

These three fields should be saved on the server with POST and PUT и be returned with GET

@robtweed
Copy link

robtweed commented Mar 1, 2018

I don't remember enough about how Documents are supposed to work and the mechanics that are supposed to take place. It would be useful to have a short screen cast showing the steps typically involved in importing documents, or a document that steps me through what you do so that I can reproduce the issue and trace through the middle tier code.

@robtweed
Copy link

robtweed commented Mar 1, 2018

One thing I don't understand is: where do the Discharge Summary records for 9999999000 and 9999999068 come from? I don't see a Create or Add button anywhere that allows one to be added via PulseTile. I'm sure I once knew about this, but I really can't remember how these Documents are supposed to work

@anna-otrokhova
Copy link
Contributor Author

@robtweed
I try to record a video. The templates of Documents are taken from DB. We don't create them. For now, there is only one template we get -> Discharged Summary ( but there could be also Referrals Summary, they are a little bit different). By the way, there is an issue on github to add it -> #132

@anna-otrokhova
Copy link
Contributor Author

@kuvakina
Copy link
Collaborator

In current Angular and React versions I don't see URLs, so could we consider this task Done:

https://www.screencast.com/t/42EHOz7mQ

https://www.screencast.com/t/eDFLjNKZ

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

4 participants