From 31a8ebf63c039b468a847e1801820f111bd649f8 Mon Sep 17 00:00:00 2001 From: pearl-truss Date: Wed, 4 Oct 2023 09:48:25 -0400 Subject: [PATCH] add mccrsid field to HealthPlanPackage schema and relevant mutations and queries --- services/app-graphql/src/mutations/updateContract.graphql | 1 + services/app-graphql/src/queries/fetchHealthPlanPackage.graphql | 1 + .../app-graphql/src/queries/indexHealthPlanPackages.graphql | 1 + services/app-graphql/src/schema.graphql | 2 ++ 4 files changed, 5 insertions(+) diff --git a/services/app-graphql/src/mutations/updateContract.graphql b/services/app-graphql/src/mutations/updateContract.graphql index f25938bf9d..c4b58ed3bb 100644 --- a/services/app-graphql/src/mutations/updateContract.graphql +++ b/services/app-graphql/src/mutations/updateContract.graphql @@ -3,6 +3,7 @@ mutation updateContract($input: UpdateContractInput!) { pkg { id stateCode + mccrsID state { code name diff --git a/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql b/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql index 306f155a55..41d397c62d 100644 --- a/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql +++ b/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql @@ -14,6 +14,7 @@ query fetchHealthPlanPackage($input: FetchHealthPlanPackageInput!) { } status initiallySubmittedAt + mccrsID revisions { node { id diff --git a/services/app-graphql/src/queries/indexHealthPlanPackages.graphql b/services/app-graphql/src/queries/indexHealthPlanPackages.graphql index 1bce86d4a5..2fa132bd6e 100644 --- a/services/app-graphql/src/queries/indexHealthPlanPackages.graphql +++ b/services/app-graphql/src/queries/indexHealthPlanPackages.graphql @@ -5,6 +5,7 @@ query indexHealthPlanPackages { node { id stateCode + mccrsID state { code name diff --git a/services/app-graphql/src/schema.graphql b/services/app-graphql/src/schema.graphql index 7f6443cac7..f3a5dacb3c 100644 --- a/services/app-graphql/src/schema.graphql +++ b/services/app-graphql/src/schema.graphql @@ -554,6 +554,8 @@ type HealthPlanPackage { stateCode: String! "Fuller state data for the submitting state" state: State! + "MC-CRS record number provided by CMS user (e.g. 1234)" + mccrsID: String """ Array of revisions for this package. Each revision represents a single submission for the package and contains the full data from when it was submitted