Package ca.uhn.fhir.jpa.provider.merge
Class PatientMergeProvider
java.lang.Object
ca.uhn.fhir.jpa.provider.BaseJpaProvider
ca.uhn.fhir.jpa.provider.BaseJpaResourceProvider<org.hl7.fhir.r4.model.Patient>
ca.uhn.fhir.jpa.provider.merge.PatientMergeProvider
- All Implemented Interfaces:
ca.uhn.fhir.rest.server.IResourceProvider
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.provider.BaseJpaProvider
myStorageSettings, REMOTE_ADDR, REMOTE_UA
-
Constructor Summary
ConstructorDescriptionPatientMergeProvider
(ca.uhn.fhir.context.FhirContext theFhirContext, DaoRegistry theDaoRegistry, ResourceMergeService theResourceMergeService) -
Method Summary
Modifier and TypeMethodDescriptionClass
<org.hl7.fhir.r4.model.Patient> org.hl7.fhir.instance.model.api.IBaseParameters
patientMerge
(jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, List<org.hl7.fhir.r4.model.Identifier> theSourcePatientIdentifier, List<org.hl7.fhir.r4.model.Identifier> theTargetPatientIdentifier, org.hl7.fhir.instance.model.api.IBaseReference theSourcePatient, org.hl7.fhir.instance.model.api.IBaseReference theTargetPatient, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> thePreview, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theDeleteSource, org.hl7.fhir.instance.model.api.IBaseResource theResultPatient, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theResourceLimit) /Patient/$mergeMethods inherited from class ca.uhn.fhir.jpa.provider.BaseJpaResourceProvider
create, delete, doExpunge, expunge, expunge, getDao, getHistoryForResourceInstance, getHistoryForResourceType, meta, meta, metaAdd, metaDelete, patch, read, setDao, update, validate, validate
Methods inherited from class ca.uhn.fhir.jpa.provider.BaseJpaProvider
createExpungeOptions, createExpungeResponse, endRequest, endRequest, getContext, processSinceOrAt, setContext, setStorageSettingsForUnitTest, startRequest, startRequest
-
Constructor Details
-
PatientMergeProvider
public PatientMergeProvider(ca.uhn.fhir.context.FhirContext theFhirContext, DaoRegistry theDaoRegistry, ResourceMergeService theResourceMergeService)
-
-
Method Details
-
getResourceType
- Specified by:
getResourceType
in interfaceca.uhn.fhir.rest.server.IResourceProvider
- Overrides:
getResourceType
in classBaseJpaResourceProvider<org.hl7.fhir.r4.model.Patient>
-
patientMerge
public org.hl7.fhir.instance.model.api.IBaseParameters patientMerge(jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, List<org.hl7.fhir.r4.model.Identifier> theSourcePatientIdentifier, List<org.hl7.fhir.r4.model.Identifier> theTargetPatientIdentifier, org.hl7.fhir.instance.model.api.IBaseReference theSourcePatient, org.hl7.fhir.instance.model.api.IBaseReference theTargetPatient, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> thePreview, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theDeleteSource, org.hl7.fhir.instance.model.api.IBaseResource theResultPatient, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theResourceLimit) /Patient/$merge
-