Closed balamurugan-clustrex closed 6 months ago
@balamurugan-clustrex,
Please refer to the https://github.com/athenahealth/apiserver-athenaFlex/issues/286, explained the details on location participant issue.
Hello @balamurugan-clustrex, hoping we have answered your question. Marking this issue as closed, if you have any further questions, please open a new ticket.
Description: I am unable to create the appointment against the patient.
Steps to Reproduce: Use OAuth2.0 in Postman or a Web UI.
Expected Behavior: I wish to create the patient.
Additional Information: I have tried to create the appointment against the patient, but I am unable to create it. I got this error: { "resourceType": "OperationOutcome", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table width=\"100%\">
URL : https://ap22sandbox.fhirapi.athenahealth.com/demoAPIServer/fhir/r4/Appointment
body:
{ "resourceType": "Appointment", "id": "Example2", "serviceType": [ { "coding": [ { "system": "https://docs.mydata.athenahealth.com/fhir-r4/CodeSystem/athena-appointment-service-type.html", "code": "5", "display": "Established Patient-New Problem " } ], "text": "Established Patient-New Problem " } ], "reasonCode": [ { "text": "chronic pain, right wrist" } ], "description": "Established Patient-New Problem", "start": "2012-03-20T08:45:00.000+05:30", "end": "2012-03-20T09:15:00.000+05:30", "minutesDuration": 30, "comment": "chronic pain, right wrist", "participant": [ { "actor": { "reference": "Patient/126230400001500" }, "status": "tentative" }, { "type": [ { "coding": [ { "system": "http://hl7.org/fhir/v3/ParticipationType", "code": "PPRF", "display": "primary performer" } ], "text": "primary performer" }, { "coding": [ { "system": "http://hl7.org/fhir/ValueSet/c80-practice-codes", "code": "394601005", "display": "Physical Therapy" } ], "text": "Physical Therapy" } ], "actor": { "reference": "Practitioner/1225652472001060" }, "status": "tentative" }, { "actor": { "reference": "Location/1225648184001060" }, "status": "tentative" }, { "type": [ { "coding": [ { "system": "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/PARTICIPANTTYPECPS", "code": "Resource", "display": "Resource" } ], "text": "Resource" } ], "actor": { "reference": "Practitioner/1225652472001060" }, "status": "tentative" } ] }