...
Examples
Laboratory Handler
...
- Found in the org.openmrs.module.fhir.api.diagnosticreport.handler package
- Extends org.openmrs.module.fhir.api.diagnosticreport.handler
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
package org.openmrs.module.fhir.api.diagnosticreport.handler;
public class LaboratoryHandler extends AbstractHandler implements DiagnosticReportHandler {
private static final String ServiceCategory = "LAB";
public LaboratoryHandler() {
super();
}
public String getServiceCategory() {
return ServiceCategory;
}
public DiagnosticReport getFHIRDiagnosticReportById(String id) {
// Implement code here
}
public List<DiagnosticReport> getFHIRDiagnosticReportBySubjectName(String name) {
// Implement code here
}
public DiagnosticReport saveFHIRDiagnosticReport(DiagnosticReport diagnosticReport) {
// Implement code here
}
public DiagnosticReport updateFHIRDiagnosticReport(DiagnosticReport diagnosticReport, String theId) {
// Implement code here
}
public void retireFHIRDiagnosticReport(String id) {
// Implement code here
}
} |
Register LaboratoryHandler
...