diff --git a/frontend/src/generated/graphql.ts b/frontend/src/generated/graphql.ts index b7343300..fcdaa0c0 100644 --- a/frontend/src/generated/graphql.ts +++ b/frontend/src/generated/graphql.ts @@ -1668,6 +1668,26 @@ export type CohortHasCohortSampleSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -2372,6 +2392,7 @@ export type CohortSampleHasCohortSampleSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -4262,6 +4283,26 @@ export type PatientHasSampleSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -5102,6 +5143,7 @@ export type PatientSampleHasSampleSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -7329,6 +7371,26 @@ export type RequestHasSampleSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -9050,6 +9112,7 @@ export type RequestSampleHasSampleSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -9439,6 +9502,7 @@ export type Sample = { costCenter?: Maybe; custodianInformation?: Maybe; datasource: Scalars["String"]; + dmpPatientId?: Maybe; embargoDate?: Maybe; genePanel?: Maybe; hasMetadataSampleMetadata: Array; @@ -9625,6 +9689,7 @@ export type SampleAggregateSelection = { count: Scalars["Int"]; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -10122,6 +10187,26 @@ export type SampleAliasIsAliasSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -10819,6 +10904,7 @@ export type SampleAliasSampleIsAliasSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -11259,6 +11345,7 @@ export type SampleCreateInput = { costCenter?: InputMaybe; custodianInformation?: InputMaybe; datasource: Scalars["String"]; + dmpPatientId?: InputMaybe; embargoDate?: InputMaybe; genePanel?: InputMaybe; hasMetadataSampleMetadata?: InputMaybe; @@ -12451,6 +12538,7 @@ export type SampleMetadataSampleSamplesHasMetadataNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -12887,6 +12975,26 @@ export type SampleMetadataSamplesHasMetadataNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -14912,6 +15020,7 @@ export type SampleSort = { costCenter?: InputMaybe; custodianInformation?: InputMaybe; datasource?: InputMaybe; + dmpPatientId?: InputMaybe; embargoDate?: InputMaybe; genePanel?: InputMaybe; igoComplete?: InputMaybe; @@ -14986,6 +15095,7 @@ export type SampleUpdateInput = { costCenter?: InputMaybe; custodianInformation?: InputMaybe; datasource?: InputMaybe; + dmpPatientId?: InputMaybe; embargoDate?: InputMaybe; genePanel?: InputMaybe; hasMetadataSampleMetadata?: InputMaybe< @@ -15228,6 +15338,16 @@ export type SampleWhere = { datasource_NOT_IN?: InputMaybe>; datasource_NOT_STARTS_WITH?: InputMaybe; datasource_STARTS_WITH?: InputMaybe; + dmpPatientId?: InputMaybe; + dmpPatientId_CONTAINS?: InputMaybe; + dmpPatientId_ENDS_WITH?: InputMaybe; + dmpPatientId_IN?: InputMaybe>>; + dmpPatientId_NOT?: InputMaybe; + dmpPatientId_NOT_CONTAINS?: InputMaybe; + dmpPatientId_NOT_ENDS_WITH?: InputMaybe; + dmpPatientId_NOT_IN?: InputMaybe>>; + dmpPatientId_NOT_STARTS_WITH?: InputMaybe; + dmpPatientId_STARTS_WITH?: InputMaybe; embargoDate?: InputMaybe; embargoDate_CONTAINS?: InputMaybe; embargoDate_ENDS_WITH?: InputMaybe; @@ -17301,6 +17421,7 @@ export type TempoSampleSamplesHasTempoNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -17731,6 +17852,26 @@ export type TempoSamplesHasTempoNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -18704,6 +18845,7 @@ export type PatientsListQuery = { primaryId: string; cmoSampleName?: string | null; additionalProperties: string; + cmoPatientId?: string | null; }>; }>; hasSampleSamplesConnection: { @@ -18780,6 +18922,7 @@ export type SamplesListQuery = { qcCompleteReason?: string | null; qcCompleteStatus?: string | null; recipe?: string | null; + dmpPatientId?: string | null; datasource: string; revisable: boolean; sampleCategory: string; @@ -18843,8 +18986,6 @@ export type SamplesListQuery = { patientsHasSample: Array<{ __typename?: "Patient"; smilePatientId: string; - cmoPatientId?: string | null; - dmpPatientId?: string | null; patientAliasesIsAlias: Array<{ __typename?: "PatientAlias"; namespace: string; @@ -19302,6 +19443,7 @@ export const PatientsListDocument = gql` primaryId cmoSampleName additionalProperties + cmoPatientId } } hasSampleSamplesConnection { @@ -19428,6 +19570,7 @@ export const SamplesListDocument = gql` qcCompleteReason qcCompleteStatus recipe + dmpPatientId hasMetadataSampleMetadata(options: $sampleMetadataOptions) { ...SampleMetadataParts hasStatusStatuses { @@ -19440,8 +19583,6 @@ export const SamplesListDocument = gql` } patientsHasSample { smilePatientId - cmoPatientId - dmpPatientId patientAliasesIsAlias { namespace value diff --git a/frontend/src/shared/helpers.tsx b/frontend/src/shared/helpers.tsx index 6670031d..8217bc0c 100644 --- a/frontend/src/shared/helpers.tsx +++ b/frontend/src/shared/helpers.tsx @@ -1045,7 +1045,7 @@ export function getSamplePopupParamId( paramId: string ) { if (parentWhereVariables.OR?.[0].patientsHasSampleConnection_SOME) { - const { cmoPatientId, dmpPatientId } = samples[0].patientsHasSample?.[0]; + const { cmoPatientId, dmpPatientId } = samples[0]; if (cmoPatientId) return cmoPatientId; return dmpPatientId; } diff --git a/graphql-server/src/generated/graphql.ts b/graphql-server/src/generated/graphql.ts index e421caab..8c4c972a 100644 --- a/graphql-server/src/generated/graphql.ts +++ b/graphql-server/src/generated/graphql.ts @@ -1667,6 +1667,26 @@ export type CohortHasCohortSampleSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -2371,6 +2391,7 @@ export type CohortSampleHasCohortSampleSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -4261,6 +4282,26 @@ export type PatientHasSampleSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -5101,6 +5142,7 @@ export type PatientSampleHasSampleSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -7328,6 +7370,26 @@ export type RequestHasSampleSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -9049,6 +9111,7 @@ export type RequestSampleHasSampleSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -9438,6 +9501,7 @@ export type Sample = { costCenter?: Maybe; custodianInformation?: Maybe; datasource: Scalars["String"]; + dmpPatientId?: Maybe; embargoDate?: Maybe; genePanel?: Maybe; hasMetadataSampleMetadata: Array; @@ -9624,6 +9688,7 @@ export type SampleAggregateSelection = { count: Scalars["Int"]; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -10121,6 +10186,26 @@ export type SampleAliasIsAliasSamplesNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -10818,6 +10903,7 @@ export type SampleAliasSampleIsAliasSamplesNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -11258,6 +11344,7 @@ export type SampleCreateInput = { costCenter?: InputMaybe; custodianInformation?: InputMaybe; datasource: Scalars["String"]; + dmpPatientId?: InputMaybe; embargoDate?: InputMaybe; genePanel?: InputMaybe; hasMetadataSampleMetadata?: InputMaybe; @@ -12450,6 +12537,7 @@ export type SampleMetadataSampleSamplesHasMetadataNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -12886,6 +12974,26 @@ export type SampleMetadataSamplesHasMetadataNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -14911,6 +15019,7 @@ export type SampleSort = { costCenter?: InputMaybe; custodianInformation?: InputMaybe; datasource?: InputMaybe; + dmpPatientId?: InputMaybe; embargoDate?: InputMaybe; genePanel?: InputMaybe; igoComplete?: InputMaybe; @@ -14985,6 +15094,7 @@ export type SampleUpdateInput = { costCenter?: InputMaybe; custodianInformation?: InputMaybe; datasource?: InputMaybe; + dmpPatientId?: InputMaybe; embargoDate?: InputMaybe; genePanel?: InputMaybe; hasMetadataSampleMetadata?: InputMaybe< @@ -15227,6 +15337,16 @@ export type SampleWhere = { datasource_NOT_IN?: InputMaybe>; datasource_NOT_STARTS_WITH?: InputMaybe; datasource_STARTS_WITH?: InputMaybe; + dmpPatientId?: InputMaybe; + dmpPatientId_CONTAINS?: InputMaybe; + dmpPatientId_ENDS_WITH?: InputMaybe; + dmpPatientId_IN?: InputMaybe>>; + dmpPatientId_NOT?: InputMaybe; + dmpPatientId_NOT_CONTAINS?: InputMaybe; + dmpPatientId_NOT_ENDS_WITH?: InputMaybe; + dmpPatientId_NOT_IN?: InputMaybe>>; + dmpPatientId_NOT_STARTS_WITH?: InputMaybe; + dmpPatientId_STARTS_WITH?: InputMaybe; embargoDate?: InputMaybe; embargoDate_CONTAINS?: InputMaybe; embargoDate_ENDS_WITH?: InputMaybe; @@ -17300,6 +17420,7 @@ export type TempoSampleSamplesHasTempoNodeAggregateSelection = { costCenter: StringAggregateSelectionNullable; custodianInformation: StringAggregateSelectionNullable; datasource: StringAggregateSelectionNonNullable; + dmpPatientId: StringAggregateSelectionNullable; embargoDate: StringAggregateSelectionNullable; genePanel: StringAggregateSelectionNullable; igoRequestId: StringAggregateSelectionNullable; @@ -17730,6 +17851,26 @@ export type TempoSamplesHasTempoNodeAggregationWhereInput = { datasource_SHORTEST_GTE?: InputMaybe; datasource_SHORTEST_LT?: InputMaybe; datasource_SHORTEST_LTE?: InputMaybe; + dmpPatientId_AVERAGE_EQUAL?: InputMaybe; + dmpPatientId_AVERAGE_GT?: InputMaybe; + dmpPatientId_AVERAGE_GTE?: InputMaybe; + dmpPatientId_AVERAGE_LT?: InputMaybe; + dmpPatientId_AVERAGE_LTE?: InputMaybe; + dmpPatientId_EQUAL?: InputMaybe; + dmpPatientId_GT?: InputMaybe; + dmpPatientId_GTE?: InputMaybe; + dmpPatientId_LONGEST_EQUAL?: InputMaybe; + dmpPatientId_LONGEST_GT?: InputMaybe; + dmpPatientId_LONGEST_GTE?: InputMaybe; + dmpPatientId_LONGEST_LT?: InputMaybe; + dmpPatientId_LONGEST_LTE?: InputMaybe; + dmpPatientId_LT?: InputMaybe; + dmpPatientId_LTE?: InputMaybe; + dmpPatientId_SHORTEST_EQUAL?: InputMaybe; + dmpPatientId_SHORTEST_GT?: InputMaybe; + dmpPatientId_SHORTEST_GTE?: InputMaybe; + dmpPatientId_SHORTEST_LT?: InputMaybe; + dmpPatientId_SHORTEST_LTE?: InputMaybe; embargoDate_AVERAGE_EQUAL?: InputMaybe; embargoDate_AVERAGE_GT?: InputMaybe; embargoDate_AVERAGE_GTE?: InputMaybe; @@ -18703,6 +18844,7 @@ export type PatientsListQuery = { primaryId: string; cmoSampleName?: string | null; additionalProperties: string; + cmoPatientId?: string | null; }>; }>; hasSampleSamplesConnection: { @@ -18779,6 +18921,7 @@ export type SamplesListQuery = { qcCompleteReason?: string | null; qcCompleteStatus?: string | null; recipe?: string | null; + dmpPatientId?: string | null; datasource: string; revisable: boolean; sampleCategory: string; @@ -18842,8 +18985,6 @@ export type SamplesListQuery = { patientsHasSample: Array<{ __typename?: "Patient"; smilePatientId: string; - cmoPatientId?: string | null; - dmpPatientId?: string | null; patientAliasesIsAlias: Array<{ __typename?: "PatientAlias"; namespace: string; @@ -19253,6 +19394,7 @@ export const PatientsListDocument = gql` primaryId cmoSampleName additionalProperties + cmoPatientId } } hasSampleSamplesConnection { @@ -19331,6 +19473,7 @@ export const SamplesListDocument = gql` qcCompleteReason qcCompleteStatus recipe + dmpPatientId hasMetadataSampleMetadata(options: $sampleMetadataOptions) { ...SampleMetadataParts hasStatusStatuses { @@ -19343,8 +19486,6 @@ export const SamplesListDocument = gql` } patientsHasSample { smilePatientId - cmoPatientId - dmpPatientId patientAliasesIsAlias { namespace value diff --git a/graphql-server/src/schemas/neo4j.ts b/graphql-server/src/schemas/neo4j.ts index 95a403a6..d084eaba 100644 --- a/graphql-server/src/schemas/neo4j.ts +++ b/graphql-server/src/schemas/neo4j.ts @@ -127,6 +127,7 @@ export async function buildNeo4jDbSchema() { qcCompleteStatus: String # Other recipe: String + dmpPatientId: String } extend type Cohort { @@ -307,6 +308,7 @@ function buildResolvers( primaryId cmoSampleName additionalProperties + cmoPatientId } } hasSampleSamplesConnection { @@ -399,8 +401,6 @@ function buildResolvers( } patientsHasSample { smilePatientId - cmoPatientId - dmpPatientId patientAliasesIsAlias { namespace value diff --git a/graphql-server/src/utils/flattening.ts b/graphql-server/src/utils/flattening.ts index 44ad1d29..cc6699ee 100644 --- a/graphql-server/src/utils/flattening.ts +++ b/graphql-server/src/utils/flattening.ts @@ -105,6 +105,7 @@ export const flattenedSampleFields = [ ...flattenedTempoCustomFields, ...flattenedOncotreeFields, "recipe", + "dmpPatientId", ]; export function generateFieldResolvers( @@ -154,9 +155,8 @@ const nestedValueGetters: NestedValueGetters = { Patient: (parent, fieldName, _context) => { switch (fieldName) { case "cmoPatientId": - return parent.patientAliasesIsAlias?.find( - (patientAlias) => patientAlias.namespace === "cmoId" - )?.value; + return parent.hasSampleSamples?.[0]?.hasMetadataSampleMetadata?.[0] + ?.cmoPatientId; case "dmpPatientId": return parent.patientAliasesIsAlias?.find( (patientAlias) => patientAlias.namespace === "dmpId" @@ -271,6 +271,10 @@ const nestedValueGetters: NestedValueGetters = { } catch { return null; } + case "dmpPatientId": + return parent.patientsHasSample?.[0]?.patientAliasesIsAlias?.find( + (patientAlias) => patientAlias.namespace === "dmpId" + )?.value; } }, Cohort: (parent, fieldName, _context) => { diff --git a/graphql.schema.json b/graphql.schema.json index f9935ae0..5335323d 100644 --- a/graphql.schema.json +++ b/graphql.schema.json @@ -17094,6 +17094,246 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId_AVERAGE_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate_AVERAGE_EQUAL", "description": null, @@ -25382,6 +25622,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringAggregateSelectionNullable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -44292,6 +44548,246 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId_AVERAGE_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate_AVERAGE_EQUAL", "description": null, @@ -53900,6 +54396,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringAggregateSelectionNullable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -77176,6 +77688,246 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId_AVERAGE_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate_AVERAGE_EQUAL", "description": null, @@ -95857,6 +96609,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringAggregateSelectionNullable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -100831,6 +101599,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -102481,6 +103261,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringAggregateSelectionNullable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -108107,6 +108903,246 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId_AVERAGE_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate_AVERAGE_EQUAL", "description": null, @@ -116375,6 +117411,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringAggregateSelectionNullable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -121258,6 +122310,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -134196,6 +135260,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringAggregateSelectionNullable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -139319,6 +140399,246 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId_AVERAGE_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate_AVERAGE_EQUAL", "description": null, @@ -162641,6 +163961,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "type": { + "kind": "ENUM", + "name": "SortDirection", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -163438,6 +164770,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -166325,6 +167669,134 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_CONTAINS", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_ENDS_WITH", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_IN", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_NOT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_NOT_CONTAINS", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_NOT_ENDS_WITH", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_NOT_IN", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_NOT_STARTS_WITH", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_STARTS_WITH", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -188091,6 +189563,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringAggregateSelectionNullable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate", "description": null, @@ -193214,6 +194702,246 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "dmpPatientId_AVERAGE_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_AVERAGE_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LONGEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_EQUAL", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_GTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LT", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dmpPatientId_SHORTEST_LTE", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "embargoDate_AVERAGE_EQUAL", "description": null, diff --git a/graphql/operations.graphql b/graphql/operations.graphql index 7664b58b..fe4b84cd 100644 --- a/graphql/operations.graphql +++ b/graphql/operations.graphql @@ -33,6 +33,7 @@ query PatientsList($options: PatientOptions, $where: PatientWhere) { primaryId cmoSampleName additionalProperties + cmoPatientId } } hasSampleSamplesConnection { @@ -112,6 +113,7 @@ query SamplesList( qcCompleteStatus # Flattened fields: Other recipe + dmpPatientId hasMetadataSampleMetadata(options: $sampleMetadataOptions) { ...SampleMetadataParts hasStatusStatuses { @@ -124,8 +126,6 @@ query SamplesList( } patientsHasSample { smilePatientId - cmoPatientId - dmpPatientId patientAliasesIsAlias { namespace value