Groups
Sign in
Groups
Oracle Cerner FHIR Developers
Conversations
Labels
About
Send feedback
Help
appointment creation issue
89 views
appointment
Skip to first unread message
gunjan kumar
unread,
Oct 26, 2021, 10:48:01 AM
10/26/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cerner FHIR Developers
i am got to create an appointment but facing some issue;
This is my first request
curl --location --request POST '
https://fhir-ehr-code.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/Appointment'
\
--header 'Authorization: Bearer eyJraWQiOiIyMDIxLTEwLTI1VDA0OjU1OjIwLjk1MC5lYyIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczpcL1wvYXV0aG9yaXphdGlvbi5jZXJuZXIuY29tXC8iLCJleHAiOjE2MzUyNDcwMzIsImlhdCI6MTYzNTI0NjQzMiwianRpIjoiNWE0Zjc4YzAtMmE4NC00Nzg3LThmM2MtMWZhNmZkMGQ4ODA0IiwidXJuOmNlcm5lcjphdXRob3JpemF0aW9uOmNsYWltczp2ZXJzaW9uOjEiOnsidmVyIjoiMS4wIiwicHJvZmlsZXMiOnsic21hcnQtdjEiOnsiYXpzIjoic3lzdGVtXC9BcHBvaW50bWVudC5yZWFkIHN5c3RlbVwvT2JzZXJ2YXRpb24ucmVhZCBzeXN0ZW1cL1BhdGllbnQucmVhZCBzeXN0ZW1cL1ByYWN0aXRpb25lci5yZWFkIHN5c3RlbVwvU2NoZWR1bGUucmVhZCBzeXN0ZW1cL1Nsb3QucmVhZCBzeXN0ZW1cL0FwcG9pbnRtZW50LndyaXRlIHN5c3RlbVwvUGF0aWVudC53cml0ZSJ9fSwiY2xpZW50Ijp7Im5hbWUiOiJDZXJuZXJQTVQiLCJpZCI6ImJkNDBmNTAxLTQ1ZGQtNDI1YS05Y2Q4LTNmZDJiODA3YzE1OCJ9LCJ0ZW5hbnQiOiJlYzI0NThmMi0xZTI0LTQxYzgtYjcxYi0wZTcwMWFmNzU4M2QifX0.Jsd4jvlwxK55gnD5oO1-jATwaS50qUNYblZbwzXl3DQmnbX9XkrcxeEBBbbjeDAXnqqur5UqdjYeTVBPQ5s1BA' \
--header 'Content-Type: application/json' \
--data-raw ' {
"resourceType": "Appointment",
"status": "proposed",
"slot": [
{
"reference": "Slot/12742069-21304876-202110261645-15"
}
],
"participant": [
{
"actor": {
"reference": "Patient/12765927",
"display": "kumar, gunjan"
},
"required": "required",
"status": "needs-action"
}
]
}
'
i got 422 Unprocessable entity error
One more thing what is the combination of this
Slot/12742069-21304876-202110261645-15
please help me out
Thanks in advance
Richard Leaf
unread,
Oct 27, 2021, 9:23:57 AM
10/27/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cerner FHIR Developers
It looks like you're trying to create a proposed appointment with a slot.
That's not how Cerner's implementation works.
If you already have a slot identified, you can just
create a booked appointment
. If you want to create a proposed appointment you instead use a requestedPeriod.
Reply all
Reply to author
Forward
0 new messages