public class Sync extends Object
| Constructor and Description |
|---|
Sync(FhirApi fhirApi,
FhirReporting fhirReporting,
DirectoryApi directoryApi,
DirectoryService directoryService) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
List<org.hl7.fhir.r4.model.OperationOutcome> |
syncCollectionSizesToDirectory()
Updates collection sample count information for all collections that exist with the same
BBMRI-ERIC identifier on the FHIR server and in the directory.
|
List<org.hl7.fhir.r4.model.OperationOutcome> |
updateAllBiobanksOnFhirServerIfNecessary()
Updates all biobanks from the FHIR server with information from the Directory.
|
public Sync(FhirApi fhirApi, FhirReporting fhirReporting, DirectoryApi directoryApi, DirectoryService directoryService)
public static void main(String[] args)
public List<org.hl7.fhir.r4.model.OperationOutcome> updateAllBiobanksOnFhirServerIfNecessary()
OperationOutcomes from each updatepublic List<org.hl7.fhir.r4.model.OperationOutcome> syncCollectionSizesToDirectory()
Copyright © 2022. All rights reserved.