public class PatientResourceProvider
extends java.lang.Object
implements ca.uhn.fhir.rest.server.IResourceProvider
Modifier and Type | Field and Description |
---|---|
protected ca.uhn.fhir.context.FhirContext |
ctx |
protected I2B2CellFR |
i2b2 |
protected FHIRToPDO |
mapper |
Constructor and Description |
---|
PatientResourceProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<ca.uhn.fhir.model.dstu2.resource.Patient> |
getResourceType()
Returns the resource type: Patient
|
ca.uhn.fhir.rest.api.MethodOutcome |
update(ca.uhn.fhir.model.dstu2.resource.Patient patient)
The patient PUT handle
|
protected ca.uhn.fhir.context.FhirContext ctx
protected FHIRToPDO mapper
protected I2B2CellFR i2b2
public java.lang.Class<ca.uhn.fhir.model.dstu2.resource.Patient> getResourceType()
getResourceType
in interface ca.uhn.fhir.rest.server.IResourceProvider
public ca.uhn.fhir.rest.api.MethodOutcome update(ca.uhn.fhir.model.dstu2.resource.Patient patient)
patient
- The Patient resource