NIH-NCPI / ncpi-fhir-ig

🔥 NCPI FHIR Implementation Guide
https://nih-ncpi.github.io/ncpi-fhir-ig/
Creative Commons Zero v1.0 Universal
5 stars 2 forks source link

ResearchStudy.enrollment Inconsistencies b/t dbGap, KidsFirst and AnVIL #41

Open bwalsh opened 3 years ago

bwalsh commented 3 years ago

The following queries will produce a Bundle of ResearchStudy and all its subjects:

However, only dbGap will return a populated enrollment field

  "enrollment": [ {
        "reference": "Group/phs002409.v1.p1-all-subjects"
      } ]

Which in turn points to enrollment description


{
  "resourceType": "Group",
  "id": "phs002409.v1.p1-all-subjects",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2021-11-04T03:02:17.853-04:00",
    "source": "#RE1Du0b0kHjND2mT"
  },
  "text": {
    "status": "additional",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Simulated data to be used for FHIR testing</p><dl><dt>Actual</dt><dd>True</dd><dt>Active</dt><dd>True</dd><dt>Name</dt><dd>All subjects in phs002409.v1.p1</dd><dt>Total Subjects</dt><dd>813</dd></dl></div>"
  },
  "active": true,
  "type": "person",
  "actual": true,
  "name": "All subjects in phs002409.v1.p1",
  "quantity": 813
}```