Class Dstu3MeasureService

java.lang.Object
org.opencds.cqf.fhir.cr.measure.dstu3.Dstu3MeasureService

public class Dstu3MeasureService extends Object
  • Field Details

    • CQI_CONTACT_DETAIL

      public static final List<org.hl7.fhir.dstu3.model.ContactDetail> CQI_CONTACT_DETAIL
    • US_JURISDICTION_CODING

      public static final List<org.hl7.fhir.dstu3.model.CodeableConcept> US_JURISDICTION_CODING
    • SUPPLEMENTAL_DATA_SEARCHPARAMETER

      public static final org.hl7.fhir.dstu3.model.SearchParameter SUPPLEMENTAL_DATA_SEARCHPARAMETER
  • Constructor Details

    • Dstu3MeasureService

      public Dstu3MeasureService(org.opencds.cqf.fhir.api.Repository repository, MeasureEvaluationOptions measureEvaluationOptions)
  • Method Details

    • evaluateMeasure

      public org.hl7.fhir.dstu3.model.MeasureReport evaluateMeasure(org.hl7.fhir.dstu3.model.IdType id, String periodStart, String periodEnd, String reportType, String subject, String practitioner, String lastReceivedOn, String productLine, org.hl7.fhir.dstu3.model.Bundle additionalData, org.hl7.fhir.dstu3.model.Parameters parameters, org.hl7.fhir.dstu3.model.Endpoint terminologyEndpoint)
      Implements the $evaluate-measure operation found in the FHIR Clinical Reasoning Module. This implementation aims to be compatible with the CQF IG.
      Parameters:
      id - the Id of the Measure to evaluate
      periodStart - The start of the reporting period
      periodEnd - The end of the reporting period
      reportType - The type of MeasureReport to generate
      practitioner - the practitioner to use for the evaluation
      lastReceivedOn - the date the results of this measure were last received.
      productLine - the productLine (e.g. Medicare, Medicaid, etc) to use for the evaluation. This is a non-standard parameter.
      additionalData - the data bundle containing additional data
      terminologyEndpoint - the endpoint of terminology services for your measure valuesets
      Returns:
      the calculated MeasureReport
    • ensureSupplementalDataElementSearchParameter

      protected void ensureSupplementalDataElementSearchParameter()