mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
119 lines
2.6 KiB
GraphQL
119 lines
2.6 KiB
GraphQL
|
|
query getSampleGroupByStatus {
|
|
countSampleGroupByStatus {
|
|
data {
|
|
__typename
|
|
group
|
|
count
|
|
}
|
|
}
|
|
}
|
|
|
|
query getExtrasGroupByStatus {
|
|
countExtrasGroupByStatus {
|
|
data {
|
|
__typename
|
|
group
|
|
count
|
|
}
|
|
}
|
|
}
|
|
|
|
query getAnalysisGroupByStatus {
|
|
countAnalyteGroupByStatus {
|
|
data {
|
|
__typename
|
|
group
|
|
count
|
|
}
|
|
}
|
|
}
|
|
|
|
query getWorksheetGroupByStatus {
|
|
countWorksheetGroupByStatus {
|
|
data {
|
|
__typename
|
|
group
|
|
count
|
|
}
|
|
}
|
|
}
|
|
|
|
query getAnalysisGroupByInstrument($startDate: String!, $endDate: String!) {
|
|
countAnalyteGroupByInstrument(startDate: $startDate, endDate: $endDate) {
|
|
data {
|
|
__typename
|
|
group
|
|
count
|
|
}
|
|
}
|
|
}
|
|
|
|
query sampleProcessPeformance($startDate: String!, $endDate: String!) {
|
|
sampleProcessPerformance(startDate: $startDate, endDate: $endDate) {
|
|
__typename
|
|
data {
|
|
process
|
|
counts {
|
|
totalSamples
|
|
totalLate
|
|
totalNotLate
|
|
processAverage
|
|
avgExtraDays
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
query getAnalysisProcessPeformance($process: String!, $startDate: String!, $endDate: String!) {
|
|
analysisProcessPerformance(process: $process, startDate: $startDate, endDate: $endDate) {
|
|
__typename
|
|
data {
|
|
process
|
|
groups {
|
|
totalSamples
|
|
totalLate
|
|
totalNotLate
|
|
processAverage
|
|
avgExtraDays
|
|
service
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
query sampleGroupByAction($startDate: String!, $endDate: String!) {
|
|
countSampleGroupByAction(startDate: $startDate, endDate: $endDate) {
|
|
__typename
|
|
data {
|
|
__typename
|
|
group
|
|
counts {
|
|
__typename
|
|
group
|
|
count
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
query getSampleLaggards {
|
|
sampleLaggards {
|
|
__typename
|
|
data {
|
|
__typename
|
|
category
|
|
counts {
|
|
__typename
|
|
totalIncomplete
|
|
totalDelayed
|
|
totalNotDelayed
|
|
lessThanTen
|
|
tenToTwenty
|
|
twentyToThirty
|
|
graterThanThirty
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|