yaaaaale
11/20/2023, 5:09 PMlink: []
so that in subsequent batch entries, we could use JSON patch to add links without having to have any logic for checking whether a link was already set.
It looks like something changed, and now any patient created with link
set to an empty array results in link
being unset.
As an example, I tried creating the following patient:
{
"resourceType": "Patient",
"name": [
{
"given": [
"YaleTestLink"
],
"family": "YaleTestLink"
}
],
"link": []
}
And the resulting patient JSON:
{
"resourceType": "Patient",
"name": [
{
"given": [
"YaleTestLink"
],
"family": "YaleTestLink"
}
],
"id": "7ed75a99-a4d1-40d5-bc2c-578340da9755",
"meta": {
[omitted]
}
}
Is this expected behavior? If so, how would you recommend we implement adding patient `link`s in a bundle using JSON patch?rahul1
11/20/2023, 5:18 PMundefined
, so our server peforms that cleanup on your behalfrahul1
11/20/2023, 5:18 PMyaaaaale
11/20/2023, 5:21 PMyaaaaale
11/20/2023, 5:23 PMrahul1
11/20/2023, 5:23 PMrahul1
11/20/2023, 5:24 PMyaaaaale
11/20/2023, 5:25 PMrahul1
11/20/2023, 5:27 PMyaaaaale
11/20/2023, 5:28 PMrahul1
11/20/2023, 5:36 PMyaaaaale
11/20/2023, 5:38 PMyaaaaale
11/20/2023, 5:38 PMyaaaaale
11/20/2023, 6:48 PM