Skip to content

Instantly share code, notes, and snippets.

@dsandip
Last active November 30, 2018 08:58
Show Gist options
  • Save dsandip/b2b48887b16a20bb34d63dbc3f564c81 to your computer and use it in GitHub Desktop.
Save dsandip/b2b48887b16a20bb34d63dbc3f564c81 to your computer and use it in GitHub Desktop.
query {
Series(where:
{_and: [
{studyBystudyId: {StudyInstanceUID: {_eq: 1.2}}},
{Modality: {_eq: "something"}},
{SeriesNumber: {_lt: 54}},
{_or: [{SeriesDescription: {_ilike: "%somethingElse%"}},
{SeriesDescription: {_ilike: "%XYZ%"}},
{SeriesDescription: {_ilike: "%somethingElseV2%"}}
]}
]})
{
SeriesInstanceUID
SeriesNumber
SeriesDescription
SeriesDate
SeriesTime
BodyPartExamined
mrseriessByseriesId {
mrvolumesBymrSeriesId {
x
y
z
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment