More tutorial work

This commit is contained in:
James Agnew 2014-11-21 11:18:41 -05:00
parent b416944f89
commit 74ab9a779c
1 changed files with 6 additions and 1 deletions

View File

@ -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() {