-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/restore-forms-gql' into mp_commo…
…n_name
- Loading branch information
Showing
14 changed files
with
3,310 additions
and
1,258 deletions.
There are no files selected for viewing
80 changes: 80 additions & 0 deletions
80
client/src/app/forms/config/assertion-revise/assertion-revise.query.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
query AssertionRevisableFields($assertionId: Int!) { | ||
assertion(id: $assertionId) { | ||
...RevisableAssertionFields | ||
} | ||
} | ||
|
||
fragment RevisableAssertionFields on Assertion { | ||
id | ||
summary | ||
description | ||
molecularProfile { | ||
id | ||
name | ||
link | ||
} | ||
variantOrigin | ||
significance | ||
disease { | ||
id | ||
doid | ||
name | ||
displayName | ||
link | ||
} | ||
therapies { | ||
id | ||
ncitId | ||
name | ||
link | ||
} | ||
therapyInteractionType | ||
assertionDirection | ||
assertionType | ||
phenotypes { | ||
id | ||
hpoId | ||
name | ||
} | ||
ampLevel | ||
acmgCodes { | ||
id | ||
name | ||
code | ||
description | ||
tooltip | ||
} | ||
clingenCodes { | ||
id | ||
code | ||
description | ||
name | ||
tooltip | ||
exclusive | ||
} | ||
nccnGuideline { | ||
id | ||
name | ||
} | ||
nccnGuidelineVersion | ||
regulatoryApproval | ||
fdaCompanionTest | ||
evidenceItems { | ||
id | ||
name | ||
link | ||
status | ||
} | ||
} | ||
|
||
mutation SuggestAssertionRevision($input: SuggestAssertionRevisionInput!) { | ||
suggestAssertionRevision(input: $input) { | ||
clientMutationId | ||
assertion { | ||
id | ||
} | ||
results { | ||
newlyCreated | ||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
client/src/app/forms/config/assertion-submit/assertion-submit.query.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
mutation SubmitAssertion($input: SubmitAssertionInput!) { | ||
submitAssertion(input: $input) { | ||
clientMutationId | ||
assertion { | ||
id | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
client/src/app/forms/config/evidence-submit/evidence-submit.query.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
query EvidenceFieldsFromSourceSuggestion( | ||
$sourceId: Int | ||
$molecularProfileId: Int | ||
$diseaseId: Int | ||
) { | ||
sourceSuggestionValues( | ||
molecularProfileId: $molecularProfileId | ||
diseaseId: $diseaseId | ||
sourceId: $sourceId | ||
) { | ||
molecularProfile { | ||
id | ||
name | ||
link | ||
} | ||
disease { | ||
id | ||
name | ||
link | ||
} | ||
source { | ||
id | ||
sourceType | ||
citationId | ||
citation | ||
link | ||
} | ||
} | ||
} | ||
|
||
query EvidenceSubmittableFields($evidenceId: Int!) { | ||
evidenceItem(id: $evidenceId) { | ||
...SubmittableEvidenceFields | ||
} | ||
} | ||
|
||
fragment SubmittableEvidenceFields on EvidenceItem { | ||
id | ||
description | ||
variantOrigin | ||
evidenceType | ||
significance | ||
evidenceLevel | ||
evidenceDirection | ||
evidenceRating | ||
therapyInteractionType | ||
source { | ||
id | ||
citation | ||
sourceType | ||
} | ||
phenotypes { | ||
id | ||
name | ||
} | ||
therapies { | ||
id | ||
name | ||
} | ||
disease { | ||
id | ||
name | ||
} | ||
} | ||
|
||
mutation SubmitEvidenceItem($input: SubmitEvidenceItemInput!) { | ||
submitEvidence(input: $input) { | ||
clientMutationId | ||
evidenceItem { | ||
id | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.