@Service public class PatientServiceImpl extends Object implements PatientService
| Constructor and Description |
|---|
PatientServiceImpl(PatientRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int id) |
void |
delete(Patient patient) |
Patient |
findByFhirIdAndSandboxId(String fhirId,
String sandboxId) |
List<Patient> |
findBySandboxId(String sandboxId) |
Patient |
save(Patient patient) |
@Inject public PatientServiceImpl(PatientRepository repository)
public Patient save(Patient patient)
save in interface PatientServicepublic void delete(int id)
delete in interface PatientServicepublic void delete(Patient patient)
delete in interface PatientServicepublic Patient findByFhirIdAndSandboxId(String fhirId, String sandboxId)
findByFhirIdAndSandboxId in interface PatientServicepublic List<Patient> findBySandboxId(String sandboxId)
findBySandboxId in interface PatientServiceCopyright © 2014–2018 Healthcare Services Platform Consortium. All rights reserved.