Skip to content

Commit

Permalink
Merge pull request #110 from opentargets/rm-evidence-integrate-pmcids
Browse files Browse the repository at this point in the history
Integrate pmcIds in the Platform
  • Loading branch information
remo87 authored May 10, 2022
2 parents add409c + 5813b15 commit 340831e
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 340831e

Please sign in to comment.