Workflow or API calls:
Reminder: If this is referring to a client domain or EHR activity—not the public sandbox—do not include API request data or live patient data.
Background Information:
Failure to provide answers will impact our ability to respond in a timely and effective manner
Developer questions:
Are you an OPN Member? No
Have you signed up to be in the Healthcare Developer Track? Not sure
Are you a registered Code Program member? Not sure
Does your App have a presence on the Oracle Healthcare App Marketplace? No
Are you developing on behalf of an Oracle Health client? No
1. I was using the provider account `portal/portal` to get the access token, and then created an appointment with the following curl command. It was successful. And got the location is https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Appointment/6634715
curl --location --request POST 'https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Appointment' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxx' \
--header 'Accept: */*' \
--header 'Host: fhir-ehr-code.cerner.com' \
--header 'Connection: keep-alive' \
--data-raw '{
"resourceType": "Appointment",
"status": "booked",
"serviceType": [
{
"coding": [
{
"code": "408443003",
"system": "http://snomed.info/sct"
}
]
}
],
"reasonCode": [
{
"text": "I have a headache"
}
],
"comment": "Reserve for first time encounter",
"participant": [
{
"actor": {
"reference": "Patient/12724067"
},
"status": "accepted"
}
],
"requestedPeriod": [
{
"start": "2025-08-19T16:00:00-05:00",
"end": "2025-08-19T16:30:00-05:00"
}
],
"slot":[
{
"reference":"Slot/4047611-25442717-66319500-420"
}
]
}'
2. But I could not get the created appointment in the result of the list response. The API request address with filter params is: GET https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Appointment?date=ge2025-08-19T00:00:00.000Z&date=lt2025-08-21T17:00:00.000Z&practitioner=12742069
I am confused if there is some misunderstanding that I should pass the practitioner in the `Appointment Creation` request? But it is only allowed for Patient
in the actor field.
Expected Result:
The Appointment/6634715 can be fetched in the list result GET https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Appointment?date=ge2025-08-19T00:00:00.000Z&date=lt2025-08-21T17:00:00.000Z&practitioner=12742069
Actual Result:
{
"resourceType": "Bundle",
"id": "dd1f9d2f-322d-4066-8953-81da0dbb26fc",
"type": "searchset",
"link": [
{
"relation": "self",
"url": "https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Appointment?date=ge2025-08-19T00%3A00%3A00.000Z&date=lt2025-08-21T17%3A00%3A00.000Z&practitioner=12742069"
}
]
}