Hi, I'm trying to kick off a group export operation in the sandbox environment using the Millennium Ignite API following the below example:
https://fhir.cerner.com/millennium/bulk-data/group-export/#testing-in-sandbox
- Group with 10 patients:
11ec-d16a-b40370f8-9d31-577f11a339c5
Here's what my request looks like:
curl -X GET \ "https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Group/11ec-d16a-c763b73e-98e8-a31715e6a2bf/$export?_type=Patient" \ -H "Authorization: Bearer my_auth_bearer_token"
And here's the response I get:
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"forbidden","details":{"text":"Forbidden resource"},"diagnostics":"Client is not allowed to access the resource path"}]}
I thought the problem is possibly with my bearer token. Here's the response I get after using my application client ID and secret to get a Bearer token, it looks right to me (system, and read access to observation and patient)
{"access_token":"access_token_text_here","scope":"system\/Observation.read system\/Patient.read","token_type":"Bearer","expires_in":570}
Could you help me understand what I'm doing wrong?