Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Examples

 

Laboratory Handler

...

  • Found in the org.openmrs.module.fhir.api.diagnosticreport.handler package
  • Extends org.openmrs.module.fhir.api.diagnosticreport.handler
Code Block
themeConfluence
languagejava
titleLaboratoryHandler.java
linenumberstrue
collapsetrue
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

...