Hi Cerner Team,
Today I have tested the request of getting an appointment by id using the appointment id synced from Mirth channel.
Firstly, I find that there are 2 kinds of appointment id synced from Mirth. One contains 7 numbers and the other contains 10 numbers. So I divide it into 3 cases as below.
Case 1: Getting appointment by id with 10 digit id
RequestURL: {{baseUrl}}/{{tenantId}}/Appointment?_id={{appointmentId}}
Actual response: Status 200 - OK but return nothing
X-Request-Id: d713af06-7ae2-4447-b15e-fbe9890d02f1
Case 2: Getting appointment by id with 7 digit id - Status 200 - Ok but return nothing
RequestURL: {{baseUrl}}/{{tenantId}}/Appointment?_id={{appointmentId}}
Actual response: Status 200 - OK but return nothing
X-Request-Id: 77919684-7194-4024-93c1-3b5b780b686a
Case 3: Getting appointment by id with 7 digit id - Status 200 - Ok return data
RequestURL: {{baseUrl}}/{{tenantId}}/Appointment?_id={{appointmentId}}
Actual response: Status 200 - OK but return data successfully
X-Request-Id: 88204e61-dd1f-4ed5-bcdc-3dd9e3b54298
The first two cases are confusing us because the 3 ids of the appointment above are in the same field "
ExternalId" in appointments. But it returns in different results.
Please help us to investigate this issue and find the root cause.
Thanks,
Do Thanh Long