public class FhirReporting extends Object
| Constructor and Description |
|---|
FhirReporting(ca.uhn.fhir.context.FhirContext fhirContext,
FhirApi fhirApi) |
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Either<org.hl7.fhir.r4.model.OperationOutcome,Map<BbmriEricId,Integer>> |
fetchCollectionSizes()
Returns collection sample counts indexed by BBMRI-ERIC identifier.
|
io.vavr.control.Either<String,Void> |
initLibrary()
Tries to create Library and Measure resources if not present on the FHIR server.
|
io.vavr.control.Either<String,Void> |
initMeasure() |
public FhirReporting(ca.uhn.fhir.context.FhirContext fhirContext,
FhirApi fhirApi)
public io.vavr.control.Either<String,Void> initLibrary()
public io.vavr.control.Either<org.hl7.fhir.r4.model.OperationOutcome,Map<BbmriEricId,Integer>> fetchCollectionSizes()
Executes the collection-size measure.
In case all samples are unassigned, meaning the stratum code has text null and only one collection exists, all that samples are assigned to this single collection.
Copyright © 2022. All rights reserved.