cqframework / opioid-cds-r4

CDC Opioid Prescribing Support Guideline (for FHIR R4)
Other
5 stars 3 forks source link

Update the Quick Start Documentation #335

Open c-schuler opened 1 year ago

c-schuler commented 1 year ago

This purpose of this task is to walk through the Quick Start guide in the IG and update links, content (artifacts, request/response, etc) and workflows. This issue is relevant for both the master (2022) and 2016 branches.

Pull request 2022: https://github.com/cqframework/opioid-cds-r4/pull/336 Pull request 2016: https://github.com/cqframework/opioid-cds-r4/pull/337

alackerbauer commented 1 year ago
1anja1 commented 1 year ago
1anja1 commented 1 year ago

For me the CDS sandbox worked up until the point where it cannot find the patient

Screenshot 2023-05-11 at 13 27 52

The patient exists though:

Screenshot 2023-05-11 at 13 35 40
1anja1 commented 1 year ago

I updated the 2022 quick start guide with all changes except the links to the bundles - (responses need to be checked once the correct bundles are available) The changes can be found in this branch: #335-update-quick-start-documentation

alackerbauer commented 1 year ago

@1anja1 the thing you describe about not being able to switch the patient might be an actual bug in the sandbox. All GET requests go through and are successful (status code 200) - just the JS code has some problem since it is expecting something else in the bundle, and/or our setup for this scenario is not properly providing everything that is expected: of note, the conditions of our patients are empty, or better said: there is no single condition on the server.

--> solved by making sure the patient has a name element (see comment below)

alackerbauer commented 1 year ago

do you have any idea where the quickstart-medications-bundle could be found? i searched through different tags but also in older versions it seems to not be existent.

can't find that bundle, created a new bundle with the MedicationRequest resources originating from this bundle: request for the rec 10 patient view.

1anja1 commented 1 year ago

all bundles and links in the 2022 version are now updated (on the branch for this ticket), however, when executing all the statements as described in the guide the cards response does not contain the suggestions element like it was shown in the old version of the quickstart guide Current:

Screenshot 2023-05-20 at 12 17 47

Old version:

Screenshot 2023-05-20 at 12 18 11
alackerbauer commented 1 year ago

@1anja1 I went through the new guide and it is looking good in general. some things I have discovered:

1anja1 commented 1 year ago

all bundles and links in the 2022 version are now updated (on the branch for this ticket), however, when executing all the statements as described in the guide the cards response does not contain the suggestions element like it was shown in the old version of the quickstart guide Current:

Screenshot 2023-05-20 at 12 17 47

Old version:

Screenshot 2023-05-20 at 12 18 11

The card we are getting might actually be the expected behaviour. It is the same as the response in this File: https://github.com/cqframework/opioid-cds-r4/blob/31916c12adeaf2f3dece330910e0f06d896340e5/input/pagecontent/responses/OpioidCDSREC10PatientView/response-example-rec-10-patient-view-no-screenings.json

alackerbauer commented 1 year ago

finished 2016 including comments of last stand up meeting. still need to pull in changes for 2022.