prashant_react
10/29/2023, 6:23 AMrahul1
10/30/2023, 5:38 PMRelatedPerson is just like any other FHIR resource. As long as the Patient has access permissions to modify the RelatedPerson resource, they should be able to do itprashant_react
10/31/2023, 4:24 AM// Patient representing the parent
{
"resourceType": "Patient",
"id": "123",
"link": [
{
"other": {
"reference": "RelatedPerson/homer-lisa-related-person"
},
"type": "seealso"
},
{
"other": {
"reference": "RelatedPerson/homer-bart-related-person"
},
"type": "seealso"
}
]
}
// RelatedPerson modeling Father -> Daughter relationship
{
"resourceType": "RelatedPerson",
"id": "homer-lisa-related-person",
"relationship": [
{
"text": "father",
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"code": "FTH",
"display": "father"
}
]
}
]
}
//Patient
{
"resourceType": "Patient",
"id": "lisa-simpson"
}prashant_react
10/31/2023, 4:28 AMprashant_react
10/31/2023, 4:28 AMrahul1
10/31/2023, 6:34 PMRelatedPerson ) when logged in as a patientrahul1
10/31/2023, 6:35 PMRelatedPersonrahul1
10/31/2023, 6:37 PMrahul1
10/31/2023, 6:38 PM