-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
542 care gaps non document mode (#543)
* add non-document mode version of care-gaps * add javadocs * simplify makePatientBundle to remove dup code * make var static * reduce congnitive load of method * constant naming convention fix * parameters class, to reduce qty of parameter values, primitive boolean parameter instead of wrapper * spotless fix
- Loading branch information
Showing
6 changed files
with
408 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/r4/R4CareGapsParameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
package org.opencds.cqf.fhir.cr.measure.r4; | ||
|
||
import java.time.ZonedDateTime; | ||
import java.util.List; | ||
import org.hl7.fhir.r4.model.CanonicalType; | ||
import org.hl7.fhir.r4.model.IdType; | ||
import org.opencds.cqf.fhir.utility.monad.Either3; | ||
|
||
/** | ||
* Parameters class to manage input parameters for care-gaps service | ||
*/ | ||
public class R4CareGapsParameters { | ||
private ZonedDateTime periodStart; | ||
private ZonedDateTime periodEnd; | ||
private String subject; | ||
private List<String> status; | ||
private List<Either3<IdType, String, CanonicalType>> measure; | ||
private boolean notDocument; | ||
|
||
public void setPeriodStart(ZonedDateTime periodStart) { | ||
this.periodStart = periodStart; | ||
} | ||
|
||
public ZonedDateTime getPeriodStart() { | ||
return periodStart; | ||
} | ||
|
||
public void setPeriodEnd(ZonedDateTime periodEnd) { | ||
this.periodEnd = periodEnd; | ||
} | ||
|
||
public ZonedDateTime getPeriodEnd() { | ||
return periodEnd; | ||
} | ||
|
||
public void setSubject(String subject) { | ||
this.subject = subject; | ||
} | ||
|
||
public String getSubject() { | ||
return subject; | ||
} | ||
|
||
public void setNotDocument(boolean notDocument) { | ||
this.notDocument = notDocument; | ||
} | ||
|
||
public boolean isNotDocument() { | ||
return notDocument; | ||
} | ||
|
||
public void setMeasure(List<Either3<IdType, String, CanonicalType>> measure) { | ||
this.measure = measure; | ||
} | ||
|
||
public List<Either3<IdType, String, CanonicalType>> getMeasure() { | ||
return measure; | ||
} | ||
|
||
public void setStatus(List<String> status) { | ||
this.status = status; | ||
} | ||
|
||
public List<String> getStatus() { | ||
return status; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.