Summary Table
Categories |
Total Count |
PII |
0 |
URL |
0 |
DNS |
0 |
EKL |
0 |
IP |
0 |
PORT |
0 |
VsID |
0 |
CF |
0 |
AI |
0 |
VPD |
0 |
PL |
0 |
Other |
0 |
File Content
package gov.va.med.pbm.ampl.fhir.client;
import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.resource.Bundle;
import ca.uhn.fhir.model.dstu2.resource.Condition;
import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
import ca.uhn.fhir.model.dstu2.resource.Encounter;
import ca.uhn.fhir.model.dstu2.resource.Immunization;
import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.resource.Patient;
/**
*
* IFhirClient is the interface for all API FHIR Clients.
*
* @author Ian Meinert
* @since 1.0
*
*/
public interface IFhirClient {
/**
* Searches the FHIR context for a {@link Patient} with a given id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchPatientById(String id);
/**
* Searches the FHIR context for a {@link Patient} {@link AllergyIntolerance} with a given patient id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchAllergiesByPatientId(String id);
/**
* Searches the FHIR context for a {@link Patient} {@link DocumentReference} with a given patient id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchProgressNotesByPatientId(String id);
/**
* Searches the FHIR context for a {@link Patient} {@link Observation} with a given patient id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchMeasurementsByPatientId(String id);
/**
* Searches the FHIR context for a {@link Patient} {@link Encounter} with a given patient id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchConsultsByPatientId(String id);
/**
* Searches the FHIR context for a {@link Patient} {@link Immunization} with a given patient id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchImmunizationsByPatientId(String id);
/**
* Searches the FHIR context for a {@link Patient} {@link Condition} with a given patient id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchProblemListByPatientId(String id);
/**
* Searches the FHIR context for a {@link Patient} {@link Appointment} with a given patient id.
*
* @param id the patient id
* @return HAPI Bundle in a JSON string
*/
Bundle searchAppointmentsByPatientId(String id);
}