Hello
Good Morning
I am trying to create new appointment in proposed status as per r4. documentation. It gives us below error :
Error : {"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"invalid","details":{"text":"Unprocessable entity"}}]}
Status : 422
Below is the url on which we POST request:
I have implemented payload as per documentation provided on :
X-Request-ID : c947f8e4-6eab-4f09-b08e-565667e9d112
Actual JSON Payload :
--------------------------------
{
"resourceType": "Appointment",
"status": "proposed",
"participant": [
{
"actor": {
"reference": "Patient/1316024",
"display": "PETERS, Timothy"
},
"status": "needs-action"
},
{
"actor": {
"reference": "Location/633867",
"display": "Baseline West"
},
"status": "needs-action"
}
],
"requestedPeriod": [
{
"start": "2020-08-06T08:00:00-07:00",
"end": "2020-08-06T09:00:00-07:00"
}
],
"serviceType": [
{
"coding": [
{
"code": "394586005"
}
]
}
],
"reasonCode": [
{
"text": "Same Day"
}
]
}
------------------------------------------------------
Any help is appreciated.
Thank you
Have a Nice Time
Malhar...