Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Patient $merge

6 views
Skip to first unread message

Cristina Gagliardi

unread,
Apr 10, 2025, 11:38:02 AMApr 10
to HAPI FHIR
Hi, we have installed the latest version of the hapi-fhir-jpaserver-starter project which uses hapi-fhir 8.0.0 and R4 by default. We tried to use the $merge operation to merge two Patient. It seems that the method is not active. Some configuration is needed that is not present in the default application.yml? Is an additional configuration required?

This is the error message.
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Invalid request: The FHIR endpoint on this server does not know how to handle POST operation[Patient/$merge] with parameters [[]]"
}
]
}

Thanks!

Patrick Werner

unread,
Apr 10, 2025, 12:00:20 PMApr 10
to Cristina Gagliardi, HAPI FHIR
Hi Christina,

hapi has a PatientMergeProvider, but it is not enabled in the JPAStarter and has no config option.
I will create a PR to add this functionality to the jpastarter server.

Patrick

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hapi-fhir/c6138da9-e853-4aae-9194-f3334628fff7n%40googlegroups.com.

Patrick Werner

unread,
Apr 10, 2025, 12:40:20 PMApr 10
to Cristina Gagliardi, HAPI FHIR
PR: https://github.com/hapifhir/hapi-fhir-jpaserver-starter/pull/800

Waiting for review and to be merged. 
This introduces a config option in the application.yaml to enable the PatientMergeProvider:

patient-merge-enabled: true

Patrick
Reply all
Reply to author
Forward
0 new messages