Skip to content

Commit

Permalink
fix: return a single questionnaire when listing the forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Salaton committed Feb 17, 2024
1 parent efefafa commit 722e6c8
Show file tree
Hide file tree
Showing 6 changed files with 382 additions and 467 deletions.
11 changes: 4 additions & 7 deletions pkg/clinical/presentation/graph/clinical.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,10 @@ extend type Query {
# Media
listPatientMedia(patientID: ID!, pagination: Pagination!): MediaConnection

# Questionnaire
listQuestionnaires(
searchParam: String
pagination: Pagination!
): QuestionnaireConnection!

getQuestionnaireResponseRiskLevel(encounterID: String!, screeningType: ScreeningTypeEnum!): String!
getQuestionnaireResponseRiskLevel(
encounterID: String!
screeningType: ScreeningTypeEnum!
): String!
}

extend type Mutation {
Expand Down
7 changes: 0 additions & 7 deletions pkg/clinical/presentation/graph/clinical.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 722e6c8

Please sign in to comment.