bubbly_puppy_96894
03/09/2024, 5:37 AMRelatedPerson, I'm able to get Patient & RelatedPerson details except for relationship {} which is returning null.
What is the correct way to query relationship on RelatedPerson?
{
PatientList(name: "P") {
id
...
RelatedPersonList(_reference:patient) {
id
...
relationship {
text
coding {
version
system
}
}
}
}
}
relationship data exists in the resource http://localhost:3000/RelatedPerson/UUID-HERE
{
"id": UUID-HERE,
"resourceType": "RelatedPerson",
...
"relationship": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"code": "N",
"display": "Next-of-Kin"
}
]
}
]
}rahul1
03/11/2024, 6:24 PMrahul1
03/11/2024, 6:24 PMbubbly_puppy_96894
03/12/2024, 5:38 AM