User Initiated Linking

Hi @Shubhanshu_Shukla @Arvind_Tomar @adnan_360 @neha.parnami

I tried to link two Carecontexts but only one carecontext gets linked with provider in Sandbox.
Can you please check.

API : https://dev.abdm.gov.in/cm/v1/links/link/init/

Request :
{
“requestId”: “a60ec0de-ae21-4b0e-b4af-b5dc30c769b4”,
“timestamp”: “2022-04-12T11:19:10.258771”,
“transactionId”: “fd6d51d2-5220-4579-ac2c-5046b0329a3d”,
“patient”: {
“id”: “hemant@sbx”,
“referenceNumber”: “hemant@sbx”,
“careContexts”: [
{
“referenceNumber”: “DRiefcase_2022-04-12-17468”
},
{
“referenceNumber”: “DRiefcase_2022-04-12-17469”
}
]
}
}

Response : StatusCode = 200
{
“transactionId”: “fd6d51d2-5220-4579-ac2c-5046b0329a3d”,
“link”: {
“referenceNumber”: “fbe38b8f-82bd-407c-9072-1b3c3af51c66”,
“authenticationType”: “DIRECT”,
“meta”: {
“communicationMedium”: “MOBILE”,
“communicationHint”: “”,
“communicationExpiry”: “2022-04-12T11:28:59Z”
}
}
}

API : https://dev.abdm.gov.in/cm/v1/links/link/confirm/

Request :
{
“requestId”: “a1426087-3a19-400b-a3f2-91c3d9d35dee”,
“timestamp”: “2022-04-12T11:19:26.500107”,
“confirmation”: {
“linkRefNumber”: “fbe38b8f-82bd-407c-9072-1b3c3af51c66”,
“token”: “xxxxxx”
}
}

Response : StatusCode = 200
{
“patient”: {
“referenceNumber”: “hemant@sbx”,
“display”: “Hemant Bhadesia”,
“careContexts”: [
{
“referenceNumber”: “DRiefcase_2022-04-12-17468”,
“display”: “Xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx”
}
]
}
}

Thanks

@Shubhanshu_Shukla @Arvind_Tomar @adnan_360 @neha.parnami

Please update.

@Shubhanshu_S @Shubhanshu_Shukla
This issue was resolved in sandbox. but it is again started on Sandbox. Can you please resolved this issue. Thanks!

Hi @Hemant,
Please provide the request body and payload body to check the error message.

Thanks,
Govind D.

API : https://dev.abdm.gov.in/cm/v1/links/link/init/

Request :
{
“requestId”: “a60ec0de-ae21-4b0e-b4af-b5dc30c769b4”,
“timestamp”: “2022-04-12T11:19:10.258771”,
“transactionId”: “fd6d51d2-5220-4579-ac2c-5046b0329a3d”,
“patient”: {
“id”: “hemant@sbx”,
“referenceNumber”: “hemant@sbx”,
“careContexts”: [
{
“referenceNumber”: “DRiefcase_2022-04-12-17468”
},
{
“referenceNumber”: “DRiefcase_2022-04-12-17469”
}
]
}
}

Response : StatusCode = 200
{
“transactionId”: “fd6d51d2-5220-4579-ac2c-5046b0329a3d”,
“link”: {
“referenceNumber”: “fbe38b8f-82bd-407c-9072-1b3c3af51c66”,
“authenticationType”: “DIRECT”,
“meta”: {
“communicationMedium”: “MOBILE”,
“communicationHint”: “”,
“communicationExpiry”: “2022-04-12T11:28:59Z”
}
}
}

API : https://dev.abdm.gov.in/cm/v1/links/link/confirm/

Request :
{
“requestId”: “a1426087-3a19-400b-a3f2-91c3d9d35dee”,
“timestamp”: “2022-04-12T11:19:26.500107”,
“confirmation”: {
“linkRefNumber”: “fbe38b8f-82bd-407c-9072-1b3c3af51c66”,
“token”: “xxxxxx”
}
}

Response : StatusCode = 200
{
“patient”: {
“referenceNumber”: “hemant@sbx”,
“display”: “Hemant Bhadesia”,
“careContexts”: [
{
“referenceNumber”: “DRiefcase_2022-04-12-17468”,
“display”: “Xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx”
}
]
}
}

Hi @Govind_Deshmukh

Please update.

Thanks

Hi @Govind_Deshmukh

Please update.

Thanks

Hi, @Hemant,

The concern is your sharing older data in the body, please do one thing add new data and share it once again to check the error in logs.

Thanks.

Hi @Govind_Deshmukh,

Please check below details, It is recently tested.

[1] Two carecontexts have been selected (DRiefcase_2022-08-25-0017951, DRiefcase_2022-08-25-0017952)

[2] Only one carecontext is linked (DRiefcase_2022-08-25-0017951)

Let me know if you have any doubt.

[1] API : https://dev.abdm.gov.in/cm/v1/links/link/init/

Request :
{
“requestId”: “b6bd02f5-1efb-4020-a020-6c5f42034d63”,
“timestamp”: “2022-08-25T07:21:38.980161”,
“transactionId”: “d4b80b84-73fb-4f7a-a62d-cf35b5dd6e99”,
“patient”: {
“id”: “hemant@sbx”,
“referenceNumber”: “hemant@sbx”,
“careContexts”: [
{
“referenceNumber”: “DRiefcase_2022-08-25-0017951”
},
{
“referenceNumber”: “DRiefcase_2022-08-25-0017952”
}
]
}
}

Response : StatusCode = 200
{
“transactionId”: “d4b80b84-73fb-4f7a-a62d-cf35b5dd6e99”,
“link”: {
“referenceNumber”: “ef761ff8-b492-4322-b83b-9db365eaebf3”,
“authenticationType”: “DIRECT”,
“meta”: {
“communicationMedium”: “MOBILE”,
“communicationHint”: “”,
“communicationExpiry”: “2022-08-25T07:31:34Z”
}
}
}

[2] API : https://dev.abdm.gov.in/cm/v1/links/link/confirm/

Request :
{
“requestId”: “386eb364-4783-48bd-9ba6-b172a7f821cb”,
“timestamp”: “2022-08-25T07:22:07.932929”,
“confirmation”: {
“linkRefNumber”: “ef761ff8-b492-4322-b83b-9db365eaebf3”,
“token”: “807079”
}
}

Response : StatusCode = 200
{
“patient”: {
“referenceNumber”: “hemant@sbx”,
“display”: “Hemant Bhadesia”,
“careContexts”: [
{
“referenceNumber”: “DRiefcase_2022-08-25-0017951”,
“display”: “Xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx”
}
]
}
}

Thanks

Hi @Govind_Deshmukh

Please update

Thanks

Hi @Govind_Deshmukh

Please update

Thanks

@Hemant,

Sorry for delaying response but I’m not getting proper logs for this issue & I’m expecting need to be join in single call and close those things please share your contact details to set call.

Thanks

Hi @Govind_Deshmukh

Please send email to below. I will share my contact details.
Email : hemant.bhadesia@driefcase.com

Hi @Govind_Deshmukh,

Please update