{
"resourceType": "Appointment",
"status": "booked",
"slot": [
{
"reference": "Slot/4047611-32216049-64339033-970"
}
],
"serviceType": [
{
"coding": [
{
"system": https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/14249,
"code": "4047611",
"display": "Surgery Rapid",
"userSelected": true
},
{
"system": http://snomed.info/sct,
"code": "394576009",
"display": "Accident & emergency (qualifier value)",
"userSelected": false
}
],
"text": "Surgery Rapid"
}
],
"reasonCode": [
{
"text": "I have a cramp"
}
],
"comment": "Appointment request comment",
"participant": [
{
"actor": {
"reference": "Patient/12724066",
"display": "SMART III, NANCYU NHA EEEEEE"
},
"required": "required",
"status": "accepted"
},
{
"actor": {
"reference": "Location/32216049",
"display": "MX Clinic 1"
},
"status": "accepted"
}
]
}
This is the response:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "business-rule",
"details": {
"coding": [
{
"system": http://terminology.hl7.org/CodeSystem/operation-outcome,
"code": "MSG_PARAM_INVALID",
"display": "Parameter 'Appointment.participant[1].actor.reference' content is invalid"
}
],
"text": "The value for Appointment.participant[1].actor.reference is not supported."
},
"diagnostics": "Appointment.participant[1].actor.reference: expected resource type 'Patient'",
"expression": [
"Appointment.participant[1].actor.reference"
]
}
]
}
Appointment.participant.actor
must be a reference to a Patient.--
You received this message because you are subscribed to the Google Groups "Oracle Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/9ee2925c-33ff-49f6-bf86-dfd5e5b54c05n%40googlegroups.com.