More tutorial work
This commit is contained in:
parent
b416944f89
commit
74ab9a779c
|
@ -19,7 +19,12 @@ import ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException;
|
||||||
public class Example02_PatientResourceProvider implements IResourceProvider {
|
public class Example02_PatientResourceProvider implements IResourceProvider {
|
||||||
|
|
||||||
private Map<IdDt, Patient> myPatients = new HashMap<IdDt, Patient>();
|
private Map<IdDt, Patient> myPatients = new HashMap<IdDt, Patient>();
|
||||||
|
|
||||||
|
/** Constructor */
|
||||||
|
public Example02_PatientResourceProvider() {
|
||||||
|
// Patient
|
||||||
|
}
|
||||||
|
|
||||||
/** All Resource Providers must implement this method */
|
/** All Resource Providers must implement this method */
|
||||||
@Override
|
@Override
|
||||||
public Class<? extends IResource> getResourceType() {
|
public Class<? extends IResource> getResourceType() {
|
||||||
|
|
Loading…
Reference in New Issue