boogiecoco.
04/14/2023, 3:53 PMcody
04/14/2023, 7:27 PMCareTeamList query in the PatientList query, and it will automatically be added:
graphql
{
PatientList(name:"Homer") {
resourceType
id
name {
given
family
}
CareTeamList(_reference: subject) {
resourceType
id
}
}
}cody
04/14/2023, 7:27 PMjson
{
"data": {
"PatientList": [
{
"resourceType": "Patient",
"id": "e92fa10f-7d67-45e8-9667-896d94df2ce2",
"name": [
{
"given": [
"Homer",
"J"
],
"family": "Simpson"
}
],
"CareTeamList": [
{
"resourceType": "CareTeam",
"id": "77749218-466b-4a26-9572-4d647049783a"
}
]
}
]
}
}cody
04/14/2023, 7:27 PM_reference syntaxcody
04/14/2023, 7:28 PMboogiecoco.
04/14/2023, 9:06 PMrahul1
04/18/2023, 1:50 AMrahul1
04/18/2023, 1:51 AMPatientList(...) parensboogiecoco.
04/18/2023, 1:52 AMboogiecoco.
05/17/2023, 7:41 PMboogiecoco.
05/17/2023, 7:41 PMrahul1
05/17/2023, 8:10 PMboogiecoco.
05/26/2023, 12:28 AMboogiecoco.
05/26/2023, 1:45 AMcody
05/26/2023, 3:55 PMboogiecoco.
05/26/2023, 8:24 PMcody
05/26/2023, 8:25 PMboogiecoco.
05/26/2023, 8:48 PMcody
05/26/2023, 10:16 PMcody
05/26/2023, 10:16 PMboogiecoco.
05/31/2023, 5:48 AMboogiecoco.
05/31/2023, 6:29 PMboogiecoco.
05/31/2023, 11:07 PMcody
06/01/2023, 2:14 AMcody
06/01/2023, 2:15 AMgraphql-tag (https://www.npmjs.com/package/graphql-tag )? Or something else?boogiecoco.
06/13/2023, 2:03 AMcody
06/13/2023, 4:55 PM"type": "transaction" and then create operations can refer to other create operations using the urn:uuid: syntax. This is useful when you want to create resources that refer to each other.
2. With Batch, you can use "ifNoneExist" for conditional creates / upserts
3. With Batch, you can mix and match "update" and "patch" (there is no "patch" defined for GraphQL)
4. With GraphQL, you can selectively return only the fields that you care about
Those are just a few off the top of my head. There are probably many more. So... I suppose it depends on the specific use case. If you're comfortable and happy with the GraphQL API, then go for it 👍boogiecoco.
06/13/2023, 9:24 PMboogiecoco.
08/18/2023, 9:47 PMrahul1
08/18/2023, 9:51 PMboogiecoco.
08/18/2023, 9:55 PMrahul1
08/18/2023, 9:56 PM