Include HFR ID in HIP link payloads for e-Atria bridge
This commit is contained in:
parent
b12652d6e0
commit
40cd6d6414
|
|
@ -544,11 +544,17 @@ class EAtriaBridgeConnector implements AbdmConnectorInterface
|
||||||
|
|
||||||
public function hipLinkToken(array $payload): array
|
public function hipLinkToken(array $payload): array
|
||||||
{
|
{
|
||||||
|
if ($this->hfrId !== '' && empty($payload['hfr_id'])) {
|
||||||
|
$payload['hfr_id'] = $this->hfrId;
|
||||||
|
}
|
||||||
return $this->post('/v3/hip/link-token', $payload);
|
return $this->post('/v3/hip/link-token', $payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hipLinkCareContext(array $payload): array
|
public function hipLinkCareContext(array $payload): array
|
||||||
{
|
{
|
||||||
|
if ($this->hfrId !== '' && empty($payload['hfr_id'])) {
|
||||||
|
$payload['hfr_id'] = $this->hfrId;
|
||||||
|
}
|
||||||
return $this->post('/v3/hip/link/carecontext', $payload);
|
return $this->post('/v3/hip/link/carecontext', $payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user