I'm trying to test my CDS Service to respond to open-chart to write some data from payer into Cerner. I'm using the CDS sandbox, but I need it to pass to my service the following data:
- a patient in prefetch section that is in cerner sandbox
- a fhirAuthorization Token to cerner sandbox (so my app can write data)
I was able to get the first issue working by changing FHIR server that CDS service talk to. However there seems to be no way to have it send me a FhirAuthorization, since it (the cds sandbox app) would need to be registered as a SMART app in cerner sandbox. (To work around, I've been creating a POST in postman that includes an token I generated from a separate registered SMART app). Is this the best way to do this?