Stream: cql
Topic: CDS Sandbox
Tien Thai (Sep 23 2020 at 14:31):
I have been looking for instructions on how to import a synthetic patients as well as how to generate the request to my CDS Service from the sandbox.cds-hooks.org web site but could not locate any of them. Can you please point me to the document? Many thanks for your help.
Best,
Tien Thai
Chris Moesel (Sep 23 2020 at 15:06):
I'm not an expert in the CDS Hooks sandbox, but you can find additional documentation on it here: https://github.com/cds-hooks/sandbox
If you want to use your own patients, and you have your own FHIR server, you should click the configuration icon (a "cog wheel") in the upper right corner and switch the FHIR server to your own FHIR server. (NOTE: It must be an open endpoint). Then you can change the patient and specify the id of a patient in your FHIR server.
If you do not have your own FHIR server, you can use an application like Postman to post your patient data to one of the open SMART FHIR servers (for example https://r4.smarthealthit.org/). Then change the FHIR server in the CDS Hooks sandbox to use that one and change to the patient ID you want (for whatever you just posted to the open FHIR server). Note that these FHIR servers sometimes have their database reset, so you may come back later and find that your patient is missing.
Chris Moesel (Sep 23 2020 at 15:08):
You'll likely have to post the patient data as a batch
or transaction
. I don't recall how Synthea outputs its patients. Maybe they are already set for this type of workflow, but you might have to modify the bundle some (if they are not batch
or transaction
). You'll have to look at FHIR API documentation for more details on that.
Last updated: Apr 12 2022 at 19:14 UTC