Open PhilBarrett opened 5 years ago
@BogdanScherban please can you update here
@tony-shannon @PhilBarrett
The problem has following reason. Server response doesn't include number of Vital. For this reason I add Vital number dynamically, when I parse response: https://github.com/PulseTile/PulseTile-RA/blob/40b06106fbaa8423db10d858d9ca8306a78e7486/src/core/dataProviders/dataProvider.js#L109
It works correctly, when we display the list of the Vitals:
But when we click on the row, program runs request of Details for current Vital. Number of Vital is absent in response:
When I parse server response, I don't know number of current Vital. For this reason I can't add it dynamically.
@DmitrySolyannik For this reason I ask add number of Vital to response of request: /api/patients/{patientId}/vitalsigns/{sourceId}
@tony-shannon @PhilBarrett This issue was solved: https://drive.google.com/file/d/1xuh1HnXF7GkKPK8n3IspGDwwyTRbwWYl/view
Hi @BogdanScherban please can you retest this creating a new entry. the table isn't automatically updated still. I have to click on a different view and return to the chart view for it to refresh.
@tony-shannon @PhilBarrett
Tested the changes on Showcase-devra. Vitals working correctly:
You can see the video: https://drive.google.com/file/d/1lJ-zs989wQ5YeOQCfeC-ESxsANLOz1hp/view
When I create a new entry,
The dates displayed are also defaulting to todays date