Skip to content

Commit

Permalink
Added pmcids to result
Browse files Browse the repository at this point in the history
  • Loading branch information
remo87 committed May 9, 2022
1 parent add409c commit 5813b15
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/models/entities/Evidence.scala
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,15 @@ object Evidence {
Field(
"literature",
OptionType(ListType(StringType)),
description = None,
description = Some("list of pub med publications ids"),
resolve = js => (js.value \ "literature").asOpt[Seq[String]]
),
Field(
"pubMedCentralIds",
OptionType(ListType(StringType)),
description = Some("list of central pub med publications ids"),
resolve = js => (js.value \ "pmcIds").asOpt[Seq[String]]
),
Field(
"studyCases",
OptionType(LongType),
Expand Down

0 comments on commit 5813b15

Please sign in to comment.