diff --git a/include_notebooks/include_documentreference.ipynb b/include_notebooks/include_documentreference.ipynb
new file mode 100644
index 0000000..dff6db0
--- /dev/null
+++ b/include_notebooks/include_documentreference.ipynb
@@ -0,0 +1,2560 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stderr",
+ "output_type": "stream",
+ "text": [
+ "Warning message in system(\"timedatectl\", intern = TRUE):\n",
+ "“running command 'timedatectl' had status 1”\n",
+ "── \u001b[1mAttaching packages\u001b[22m ─────────────────────────────────────── tidyverse 1.3.1 ──\n",
+ "\n",
+ "\u001b[32m✔\u001b[39m \u001b[34mggplot2\u001b[39m 3.3.6 \u001b[32m✔\u001b[39m \u001b[34mpurrr \u001b[39m 0.3.4\n",
+ "\u001b[32m✔\u001b[39m \u001b[34mtibble \u001b[39m 3.1.7 \u001b[32m✔\u001b[39m \u001b[34mdplyr \u001b[39m 1.0.9\n",
+ "\u001b[32m✔\u001b[39m \u001b[34mtidyr \u001b[39m 1.2.0 \u001b[32m✔\u001b[39m \u001b[34mstringr\u001b[39m 1.4.0\n",
+ "\u001b[32m✔\u001b[39m \u001b[34mreadr \u001b[39m 2.1.2 \u001b[32m✔\u001b[39m \u001b[34mforcats\u001b[39m 0.5.1\n",
+ "\n",
+ "── \u001b[1mConflicts\u001b[22m ────────────────────────────────────────── tidyverse_conflicts() ──\n",
+ "\u001b[31m✖\u001b[39m \u001b[34mdplyr\u001b[39m::\u001b[32mfilter()\u001b[39m masks \u001b[34mstats\u001b[39m::filter()\n",
+ "\u001b[31m✖\u001b[39m \u001b[34mdplyr\u001b[39m::\u001b[32mlag()\u001b[39m masks \u001b[34mstats\u001b[39m::lag()\n",
+ "\n",
+ "\n",
+ "Attaching package: ‘jsonlite’\n",
+ "\n",
+ "\n",
+ "The following object is masked from ‘package:purrr’:\n",
+ "\n",
+ " flatten\n",
+ "\n",
+ "\n"
+ ]
+ }
+ ],
+ "source": [
+ "library(tidyverse)\n",
+ "library(httr)\n",
+ "library(jsonlite)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "INCLUDE_FHIR=\"https://include-api-fhir-service.includedcc.org/\"\n",
+ "cookie=gsub(\"\\n\",\"\",read_file(\"~/config/include_cookie\"))"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "#Create some reading functions to query the fhir server and extract resource responses.\n",
+ "\n",
+ "simple_get = function(request) {\n",
+ " res=GET(request,add_headers(Cookie=sprintf(\"AWSELBAuthSessionCookie-0=%s\",cookie), ContentType=\"application/json\"))\n",
+ " con=content(res,as=\"parsed\",type=\"application/json\")\n",
+ " con\n",
+ "}\n",
+ "\n",
+ "default_get=function(request) {\n",
+ " simple_get(paste0(INCLUDE_FHIR,request))\n",
+ "}\n",
+ "\n",
+ "\n",
+ "get_all=function(request) {\n",
+ " next_request=paste0(INCLUDE_FHIR,request)\n",
+ " all_content=list()\n",
+ " while(next_request!=\"\") {\n",
+ " my_content=simple_get(next_request)\n",
+ " if(my_content$resourceType==\"Bundle\") {\n",
+ " all_content=append(all_content,lapply(my_content$entry,function(x){x$resource}))\n",
+ " next_request=paste0(sapply(my_content$link,function(x){ifelse(x$relation==\"next\",x$url,\"\")}),collapse = \"\")\n",
+ " }\n",
+ " else {\n",
+ " all_content=append(all_content,list(my_content))\n",
+ " next_request=\"\"\n",
+ " }\n",
+ " }\n",
+ " all_content\n",
+ "}\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "
\n",
+ "\t- $resourceType
\n",
+ "\t\t- 'Bundle'
\n",
+ "\t- $id
\n",
+ "\t\t- '712ded52-8e11-49fd-b40e-7b8f5aa750a7'
\n",
+ "\t- $meta
\n",
+ "\t\t- $lastUpdated = '2022-06-27T20:35:56.151+00:00'
\n",
+ "\t- $type
\n",
+ "\t\t- 'searchset'
\n",
+ "\t- $total
\n",
+ "\t\t- 5
\n",
+ "\t- $link
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $relation
\n",
+ "\t\t- 'self'
\n",
+ "\t- $url
\n",
+ "\t\t- 'https://include-api-fhir-service.includedcc.org/ResearchStudy'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $entry
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $fullUrl
\n",
+ "\t\t- 'https://include-api-fhir-service.includedcc.org/ResearchStudy/258782'
\n",
+ "\t- $resource
\n",
+ "\t\t\n",
+ "\t- $resourceType
\n",
+ "\t\t- 'ResearchStudy'
\n",
+ "\t- $id
\n",
+ "\t\t- '258782'
\n",
+ "\t- $meta
\n",
+ "\t\t\n",
+ "\t- $versionId
\n",
+ "\t\t- '3'
\n",
+ "\t- $lastUpdated
\n",
+ "\t\t- '2022-05-24T18:07:03.253+00:00'
\n",
+ "\t- $source
\n",
+ "\t\t- '#N5kcXtbnx7TIz7Q7'
\n",
+ "\t- $profile
\n",
+ "\t\t\n",
+ "\t- 'https://ncpi-fhir.github.io/ncpi-fhir-study-summary-ig/StructureDefinition/ncpi-research-study'
\n",
+ "
\n",
+ " \n",
+ "\t- $tag
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://include.org/ds-connect/fhir/researchstudy'
\n",
+ "\t- $code
\n",
+ "\t\t- 'DSC'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $identifier
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $use
\n",
+ "\t\t- 'official'
\n",
+ "\t- $system
\n",
+ "\t\t- 'https://include.org/ds-connect/fhir/researchstudy'
\n",
+ "\t- $value
\n",
+ "\t\t- 'DSC'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $title
\n",
+ "\t\t- 'DS-Connect'
\n",
+ "\t- $status
\n",
+ "\t\t- 'completed'
\n",
+ "\t- $relatedArtifact
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $type
\n",
+ "\t\t- 'documentation'
\n",
+ "\t- $url
\n",
+ "\t\t- 'https://includedcc.org/studies/ds-connect'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $keyword
\n",
+ "\t\t\n",
+ "\t- $coding =
\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://includedcc.org/fhir/code-systems/programs'
\n",
+ "\t- $version
\n",
+ "\t\t- 'v1'
\n",
+ "\t- $code
\n",
+ "\t\t- 'INCLUDE'
\n",
+ "\t- $display
\n",
+ "\t\t- 'INCLUDE'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $coding =
\n",
+ "\t- $code = 'DSC'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $description
\n",
+ "\t\t- 'TBD'
\n",
+ "\t- $enrollment
\n",
+ "\t\t\n",
+ "\t- $reference = 'Group/258781'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $search
\n",
+ "\t\t- $mode = 'match'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $fullUrl
\n",
+ "\t\t- 'https://include-api-fhir-service.includedcc.org/ResearchStudy/286606'
\n",
+ "\t- $resource
\n",
+ "\t\t\n",
+ "\t- $resourceType
\n",
+ "\t\t- 'ResearchStudy'
\n",
+ "\t- $id
\n",
+ "\t\t- '286606'
\n",
+ "\t- $meta
\n",
+ "\t\t\n",
+ "\t- $versionId
\n",
+ "\t\t- '4'
\n",
+ "\t- $lastUpdated
\n",
+ "\t\t- '2022-03-18T23:56:17.258+00:00'
\n",
+ "\t- $source
\n",
+ "\t\t- '#hS1qQMSxTSqxl8KQ'
\n",
+ "\t- $profile
\n",
+ "\t\t\n",
+ "\t- 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $identifier
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $use
\n",
+ "\t\t- 'official'
\n",
+ "\t- $value
\n",
+ "\t\t- 'DS-COG-ALL'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'
\n",
+ "\t- $value
\n",
+ "\t\t- 'SD_FYCR78W0'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='
\n",
+ "\t- $value
\n",
+ "\t\t- 'phs002330.v1.p1'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $title
\n",
+ "\t\t- 'INCLUDE: (Lupo) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'
\n",
+ "\t- $status
\n",
+ "\t\t- 'completed'
\n",
+ "\t- $category
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $coding
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'http://snomed.info/sct'
\n",
+ "\t- $code
\n",
+ "\t\t- '276720006'
\n",
+ "\t- $display
\n",
+ "\t\t- 'Dysmorphism (disorder)'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'http://snomed.info/sct'
\n",
+ "\t- $code
\n",
+ "\t\t- '86049000'
\n",
+ "\t- $display
\n",
+ "\t\t- 'Malignant neoplasm, primary (morphologic abnormality)'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $text
\n",
+ "\t\t- 'CANCERANDBIRTHDEFECT'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $relatedArtifact
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $type
\n",
+ "\t\t- 'documentation'
\n",
+ "\t- $url
\n",
+ "\t\t- 'https://includedcc.org/studies/gmkf-ds-x01'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $keyword
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $coding
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://includedcc.org/fhir/code-systems/programs'
\n",
+ "\t- $code
\n",
+ "\t\t- 'INCLUDE-KF'
\n",
+ "\t- $display
\n",
+ "\t\t- 'INCLUDE/KF'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $text
\n",
+ "\t\t- 'INCLUDE'
\n",
+ "
\n",
+ " \n",
+ "\t- $coding =
\n",
+ "\t- $code = 'SDFYCR78W0'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $search
\n",
+ "\t\t- $mode = 'match'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $fullUrl
\n",
+ "\t\t- 'https://include-api-fhir-service.includedcc.org/ResearchStudy/276232'
\n",
+ "\t- $resource
\n",
+ "\t\t\n",
+ "\t- $resourceType
\n",
+ "\t\t- 'ResearchStudy'
\n",
+ "\t- $id
\n",
+ "\t\t- '276232'
\n",
+ "\t- $meta
\n",
+ "\t\t\n",
+ "\t- $versionId
\n",
+ "\t\t- '4'
\n",
+ "\t- $lastUpdated
\n",
+ "\t\t- '2022-03-18T23:53:40.068+00:00'
\n",
+ "\t- $source
\n",
+ "\t\t- '#NqZKaKuAnuiA2oD3'
\n",
+ "\t- $profile
\n",
+ "\t\t\n",
+ "\t- 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $identifier
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $use
\n",
+ "\t\t- 'official'
\n",
+ "\t- $value
\n",
+ "\t\t- 'DS-PCGC'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'
\n",
+ "\t- $value
\n",
+ "\t\t- 'SD_Y6VRG6MD'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='
\n",
+ "\t- $value
\n",
+ "\t\t- 'phs002330.v1.p1'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $title
\n",
+ "\t\t- 'INCLUDE: (PCGC) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'
\n",
+ "\t- $status
\n",
+ "\t\t- 'completed'
\n",
+ "\t- $category
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $coding
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'http://snomed.info/sct'
\n",
+ "\t- $code
\n",
+ "\t\t- '276720006'
\n",
+ "\t- $display
\n",
+ "\t\t- 'Dysmorphism (disorder)'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $text
\n",
+ "\t\t- 'BIRTHDEFECT'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $relatedArtifact
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $type
\n",
+ "\t\t- 'documentation'
\n",
+ "\t- $url
\n",
+ "\t\t- 'https://includedcc.org/studies/gmkf-ds-x01'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $keyword
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $coding
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://includedcc.org/fhir/code-systems/programs'
\n",
+ "\t- $code
\n",
+ "\t\t- 'INCLUDE-KF'
\n",
+ "\t- $display
\n",
+ "\t\t- 'INCLUDE/KF'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $text
\n",
+ "\t\t- 'INCLUDE'
\n",
+ "
\n",
+ " \n",
+ "\t- $coding =
\n",
+ "\t- $code = 'SDY6VRG6MD'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $search
\n",
+ "\t\t- $mode = 'match'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $fullUrl
\n",
+ "\t\t- 'https://include-api-fhir-service.includedcc.org/ResearchStudy/264848'
\n",
+ "\t- $resource
\n",
+ "\t\t\n",
+ "\t- $resourceType
\n",
+ "\t\t- 'ResearchStudy'
\n",
+ "\t- $id
\n",
+ "\t\t- '264848'
\n",
+ "\t- $meta
\n",
+ "\t\t\n",
+ "\t- $versionId
\n",
+ "\t\t- '4'
\n",
+ "\t- $lastUpdated
\n",
+ "\t\t- '2022-03-18T23:52:46.428+00:00'
\n",
+ "\t- $source
\n",
+ "\t\t- '#Shp5BEo2bLs7S3Sk'
\n",
+ "\t- $profile
\n",
+ "\t\t\n",
+ "\t- 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $identifier
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $use
\n",
+ "\t\t- 'official'
\n",
+ "\t- $value
\n",
+ "\t\t- 'DS360-CHD'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'
\n",
+ "\t- $value
\n",
+ "\t\t- 'SD_65064P2Z'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='
\n",
+ "\t- $value
\n",
+ "\t\t- 'phs002330.v1.p1'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $title
\n",
+ "\t\t- 'INCLUDE: (Sherman) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'
\n",
+ "\t- $status
\n",
+ "\t\t- 'completed'
\n",
+ "\t- $category
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $coding
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'http://snomed.info/sct'
\n",
+ "\t- $code
\n",
+ "\t\t- '276720006'
\n",
+ "\t- $display
\n",
+ "\t\t- 'Dysmorphism (disorder)'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $text
\n",
+ "\t\t- 'BIRTHDEFECT'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $relatedArtifact
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $type
\n",
+ "\t\t- 'documentation'
\n",
+ "\t- $url
\n",
+ "\t\t- 'https://includedcc.org/studies/gmkf-ds-x01'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $keyword
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $coding
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://includedcc.org/fhir/code-systems/programs'
\n",
+ "\t- $code
\n",
+ "\t\t- 'INCLUDE-KF'
\n",
+ "\t- $display
\n",
+ "\t\t- 'INCLUDE/KF'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $text
\n",
+ "\t\t- 'INCLUDE'
\n",
+ "
\n",
+ " \n",
+ "\t- $coding =
\n",
+ "\t- $code = 'SD65064P2Z'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $search
\n",
+ "\t\t- $mode = 'match'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $fullUrl
\n",
+ "\t\t- 'https://include-api-fhir-service.includedcc.org/ResearchStudy/19908'
\n",
+ "\t- $resource
\n",
+ "\t\t\n",
+ "\t- $resourceType
\n",
+ "\t\t- 'ResearchStudy'
\n",
+ "\t- $id
\n",
+ "\t\t- '19908'
\n",
+ "\t- $meta
\n",
+ "\t\t\n",
+ "\t- $versionId
\n",
+ "\t\t- '3'
\n",
+ "\t- $lastUpdated
\n",
+ "\t\t- '2022-03-17T22:09:38.053+00:00'
\n",
+ "\t- $source
\n",
+ "\t\t- '#PQXswYZi3FTYGhdS'
\n",
+ "\t- $tag
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://include.org/htp/fhir/researchstudy'
\n",
+ "\t- $code
\n",
+ "\t\t- 'HTP'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $identifier
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $use
\n",
+ "\t\t- 'official'
\n",
+ "\t- $system
\n",
+ "\t\t- 'https://include.org/htp/fhir/researchstudy'
\n",
+ "\t- $value
\n",
+ "\t\t- 'HTP'
\n",
+ "
\n",
+ " \n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='
\n",
+ "\t- $value
\n",
+ "\t\t- 'phs002330'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $title
\n",
+ "\t\t- 'Crnic Institute Human Trisome Project'
\n",
+ "\t- $status
\n",
+ "\t\t- 'completed'
\n",
+ "\t- $relatedArtifact
\n",
+ "\t\t\n",
+ "\t\n",
+ "\t- $type
\n",
+ "\t\t- 'documentation'
\n",
+ "\t- $url
\n",
+ "\t\t- 'https://includedcc.org/studies/human-trisome-project'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $keyword
\n",
+ "\t\t\n",
+ "\t- $coding =
\n",
+ "\t\n",
+ "\t- $system
\n",
+ "\t\t- 'https://includedcc.org/fhir/code-systems/programs'
\n",
+ "\t- $version
\n",
+ "\t\t- 'v1'
\n",
+ "\t- $code
\n",
+ "\t\t- 'INCLUDE-KF'
\n",
+ "\t- $display
\n",
+ "\t\t- 'INCLUDE/KF'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $coding =
\n",
+ "\t- $code = 'HTP'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $description
\n",
+ "\t\t- 'TBD'
\n",
+ "\t- $enrollment
\n",
+ "\t\t\n",
+ "\t- $reference = 'Group/15367'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "\t- $search
\n",
+ "\t\t- $mode = 'match'
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ " \n",
+ "
\n"
+ ],
+ "text/latex": [
+ "\\begin{description}\n",
+ "\\item[\\$resourceType] 'Bundle'\n",
+ "\\item[\\$id] '712ded52-8e11-49fd-b40e-7b8f5aa750a7'\n",
+ "\\item[\\$meta] \\textbf{\\$lastUpdated} = '2022-06-27T20:35:56.151+00:00'\n",
+ "\\item[\\$type] 'searchset'\n",
+ "\\item[\\$total] 5\n",
+ "\\item[\\$link] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$relation] 'self'\n",
+ "\\item[\\$url] 'https://include-api-fhir-service.includedcc.org/ResearchStudy'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$entry] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$fullUrl] 'https://include-api-fhir-service.includedcc.org/ResearchStudy/258782'\n",
+ "\\item[\\$resource] \\begin{description}\n",
+ "\\item[\\$resourceType] 'ResearchStudy'\n",
+ "\\item[\\$id] '258782'\n",
+ "\\item[\\$meta] \\begin{description}\n",
+ "\\item[\\$versionId] '3'\n",
+ "\\item[\\$lastUpdated] '2022-05-24T18:07:03.253+00:00'\n",
+ "\\item[\\$source] '\\#N5kcXtbnx7TIz7Q7'\n",
+ "\\item[\\$profile] \\begin{enumerate}\n",
+ "\\item 'https://ncpi-fhir.github.io/ncpi-fhir-study-summary-ig/StructureDefinition/ncpi-research-study'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$tag] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://include.org/ds-connect/fhir/researchstudy'\n",
+ "\\item[\\$code] 'DSC'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$identifier] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$use] 'official'\n",
+ "\\item[\\$system] 'https://include.org/ds-connect/fhir/researchstudy'\n",
+ "\\item[\\$value] 'DSC'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$title] 'DS-Connect'\n",
+ "\\item[\\$status] 'completed'\n",
+ "\\item[\\$relatedArtifact] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$type] 'documentation'\n",
+ "\\item[\\$url] 'https://includedcc.org/studies/ds-connect'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$keyword] \\begin{enumerate}\n",
+ "\\item \\textbf{\\$coding} = \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "\\item[\\$version] 'v1'\n",
+ "\\item[\\$code] 'INCLUDE'\n",
+ "\\item[\\$display] 'INCLUDE'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item \\textbf{\\$coding} = \\begin{enumerate}\n",
+ "\\item \\textbf{\\$code} = 'DSC'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$description] 'TBD'\n",
+ "\\item[\\$enrollment] \\begin{enumerate}\n",
+ "\\item \\textbf{\\$reference} = 'Group/258781'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$search] \\textbf{\\$mode} = 'match'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$fullUrl] 'https://include-api-fhir-service.includedcc.org/ResearchStudy/286606'\n",
+ "\\item[\\$resource] \\begin{description}\n",
+ "\\item[\\$resourceType] 'ResearchStudy'\n",
+ "\\item[\\$id] '286606'\n",
+ "\\item[\\$meta] \\begin{description}\n",
+ "\\item[\\$versionId] '4'\n",
+ "\\item[\\$lastUpdated] '2022-03-18T23:56:17.258+00:00'\n",
+ "\\item[\\$source] '\\#hS1qQMSxTSqxl8KQ'\n",
+ "\\item[\\$profile] \\begin{enumerate}\n",
+ "\\item 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$identifier] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$use] 'official'\n",
+ "\\item[\\$value] 'DS-COG-ALL'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'\n",
+ "\\item[\\$value] 'SD\\_FYCR78W0'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study\\_id='\n",
+ "\\item[\\$value] 'phs002330.v1.p1'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$title] 'INCLUDE: (Lupo) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'\n",
+ "\\item[\\$status] 'completed'\n",
+ "\\item[\\$category] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$coding] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'http://snomed.info/sct'\n",
+ "\\item[\\$code] '276720006'\n",
+ "\\item[\\$display] 'Dysmorphism (disorder)'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'http://snomed.info/sct'\n",
+ "\\item[\\$code] '86049000'\n",
+ "\\item[\\$display] 'Malignant neoplasm, primary (morphologic abnormality)'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$text] 'CANCERANDBIRTHDEFECT'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$relatedArtifact] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$type] 'documentation'\n",
+ "\\item[\\$url] 'https://includedcc.org/studies/gmkf-ds-x01'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$keyword] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$coding] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "\\item[\\$code] 'INCLUDE-KF'\n",
+ "\\item[\\$display] 'INCLUDE/KF'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$text] 'INCLUDE'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\textbf{\\$coding} = \\begin{enumerate}\n",
+ "\\item \\textbf{\\$code} = 'SDFYCR78W0'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$search] \\textbf{\\$mode} = 'match'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$fullUrl] 'https://include-api-fhir-service.includedcc.org/ResearchStudy/276232'\n",
+ "\\item[\\$resource] \\begin{description}\n",
+ "\\item[\\$resourceType] 'ResearchStudy'\n",
+ "\\item[\\$id] '276232'\n",
+ "\\item[\\$meta] \\begin{description}\n",
+ "\\item[\\$versionId] '4'\n",
+ "\\item[\\$lastUpdated] '2022-03-18T23:53:40.068+00:00'\n",
+ "\\item[\\$source] '\\#NqZKaKuAnuiA2oD3'\n",
+ "\\item[\\$profile] \\begin{enumerate}\n",
+ "\\item 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$identifier] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$use] 'official'\n",
+ "\\item[\\$value] 'DS-PCGC'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'\n",
+ "\\item[\\$value] 'SD\\_Y6VRG6MD'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study\\_id='\n",
+ "\\item[\\$value] 'phs002330.v1.p1'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$title] 'INCLUDE: (PCGC) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'\n",
+ "\\item[\\$status] 'completed'\n",
+ "\\item[\\$category] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$coding] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'http://snomed.info/sct'\n",
+ "\\item[\\$code] '276720006'\n",
+ "\\item[\\$display] 'Dysmorphism (disorder)'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$text] 'BIRTHDEFECT'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$relatedArtifact] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$type] 'documentation'\n",
+ "\\item[\\$url] 'https://includedcc.org/studies/gmkf-ds-x01'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$keyword] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$coding] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "\\item[\\$code] 'INCLUDE-KF'\n",
+ "\\item[\\$display] 'INCLUDE/KF'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$text] 'INCLUDE'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\textbf{\\$coding} = \\begin{enumerate}\n",
+ "\\item \\textbf{\\$code} = 'SDY6VRG6MD'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$search] \\textbf{\\$mode} = 'match'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$fullUrl] 'https://include-api-fhir-service.includedcc.org/ResearchStudy/264848'\n",
+ "\\item[\\$resource] \\begin{description}\n",
+ "\\item[\\$resourceType] 'ResearchStudy'\n",
+ "\\item[\\$id] '264848'\n",
+ "\\item[\\$meta] \\begin{description}\n",
+ "\\item[\\$versionId] '4'\n",
+ "\\item[\\$lastUpdated] '2022-03-18T23:52:46.428+00:00'\n",
+ "\\item[\\$source] '\\#Shp5BEo2bLs7S3Sk'\n",
+ "\\item[\\$profile] \\begin{enumerate}\n",
+ "\\item 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$identifier] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$use] 'official'\n",
+ "\\item[\\$value] 'DS360-CHD'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'\n",
+ "\\item[\\$value] 'SD\\_65064P2Z'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study\\_id='\n",
+ "\\item[\\$value] 'phs002330.v1.p1'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$title] 'INCLUDE: (Sherman) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'\n",
+ "\\item[\\$status] 'completed'\n",
+ "\\item[\\$category] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$coding] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'http://snomed.info/sct'\n",
+ "\\item[\\$code] '276720006'\n",
+ "\\item[\\$display] 'Dysmorphism (disorder)'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$text] 'BIRTHDEFECT'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$relatedArtifact] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$type] 'documentation'\n",
+ "\\item[\\$url] 'https://includedcc.org/studies/gmkf-ds-x01'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$keyword] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$coding] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "\\item[\\$code] 'INCLUDE-KF'\n",
+ "\\item[\\$display] 'INCLUDE/KF'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$text] 'INCLUDE'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\textbf{\\$coding} = \\begin{enumerate}\n",
+ "\\item \\textbf{\\$code} = 'SD65064P2Z'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$search] \\textbf{\\$mode} = 'match'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$fullUrl] 'https://include-api-fhir-service.includedcc.org/ResearchStudy/19908'\n",
+ "\\item[\\$resource] \\begin{description}\n",
+ "\\item[\\$resourceType] 'ResearchStudy'\n",
+ "\\item[\\$id] '19908'\n",
+ "\\item[\\$meta] \\begin{description}\n",
+ "\\item[\\$versionId] '3'\n",
+ "\\item[\\$lastUpdated] '2022-03-17T22:09:38.053+00:00'\n",
+ "\\item[\\$source] '\\#PQXswYZi3FTYGhdS'\n",
+ "\\item[\\$tag] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://include.org/htp/fhir/researchstudy'\n",
+ "\\item[\\$code] 'HTP'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$identifier] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$use] 'official'\n",
+ "\\item[\\$system] 'https://include.org/htp/fhir/researchstudy'\n",
+ "\\item[\\$value] 'HTP'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study\\_id='\n",
+ "\\item[\\$value] 'phs002330'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$title] 'Crnic Institute Human Trisome Project'\n",
+ "\\item[\\$status] 'completed'\n",
+ "\\item[\\$relatedArtifact] \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$type] 'documentation'\n",
+ "\\item[\\$url] 'https://includedcc.org/studies/human-trisome-project'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$keyword] \\begin{enumerate}\n",
+ "\\item \\textbf{\\$coding} = \\begin{enumerate}\n",
+ "\\item \\begin{description}\n",
+ "\\item[\\$system] 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "\\item[\\$version] 'v1'\n",
+ "\\item[\\$code] 'INCLUDE-KF'\n",
+ "\\item[\\$display] 'INCLUDE/KF'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item \\textbf{\\$coding} = \\begin{enumerate}\n",
+ "\\item \\textbf{\\$code} = 'HTP'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\item[\\$description] 'TBD'\n",
+ "\\item[\\$enrollment] \\begin{enumerate}\n",
+ "\\item \\textbf{\\$reference} = 'Group/15367'\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n",
+ "\n",
+ "\\item[\\$search] \\textbf{\\$mode} = 'match'\n",
+ "\\end{description}\n",
+ "\n",
+ "\\end{enumerate}\n",
+ "\n",
+ "\\end{description}\n"
+ ],
+ "text/markdown": [
+ "$resourceType\n",
+ ": 'Bundle'\n",
+ "$id\n",
+ ": '712ded52-8e11-49fd-b40e-7b8f5aa750a7'\n",
+ "$meta\n",
+ ": **$lastUpdated** = '2022-06-27T20:35:56.151+00:00'\n",
+ "$type\n",
+ ": 'searchset'\n",
+ "$total\n",
+ ": 5\n",
+ "$link\n",
+ ": 1. $relation\n",
+ ": 'self'\n",
+ "$url\n",
+ ": 'https://include-api-fhir-service.includedcc.org/ResearchStudy'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry\n",
+ ": 1. $fullUrl\n",
+ ": 'https://include-api-fhir-service.includedcc.org/ResearchStudy/258782'\n",
+ "$resource\n",
+ ": $resourceType\n",
+ ": 'ResearchStudy'\n",
+ "$id\n",
+ ": '258782'\n",
+ "$meta\n",
+ ": $versionId\n",
+ ": '3'\n",
+ "$lastUpdated\n",
+ ": '2022-05-24T18:07:03.253+00:00'\n",
+ "$source\n",
+ ": '#N5kcXtbnx7TIz7Q7'\n",
+ "$profile\n",
+ ": 1. 'https://ncpi-fhir.github.io/ncpi-fhir-study-summary-ig/StructureDefinition/ncpi-research-study'\n",
+ "\n",
+ "\n",
+ "\n",
+ "$tag\n",
+ ": 1. $system\n",
+ ": 'https://include.org/ds-connect/fhir/researchstudy'\n",
+ "$code\n",
+ ": 'DSC'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$identifier\n",
+ ": 1. $use\n",
+ ": 'official'\n",
+ "$system\n",
+ ": 'https://include.org/ds-connect/fhir/researchstudy'\n",
+ "$value\n",
+ ": 'DSC'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$title\n",
+ ": 'DS-Connect'\n",
+ "$status\n",
+ ": 'completed'\n",
+ "$relatedArtifact\n",
+ ": 1. $type\n",
+ ": 'documentation'\n",
+ "$url\n",
+ ": 'https://includedcc.org/studies/ds-connect'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$keyword\n",
+ ": 1. **$coding** = 1. $system\n",
+ ": 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "$version\n",
+ ": 'v1'\n",
+ "$code\n",
+ ": 'INCLUDE'\n",
+ "$display\n",
+ ": 'INCLUDE'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. **$coding** = 1. **$code** = 'DSC'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$description\n",
+ ": 'TBD'\n",
+ "$enrollment\n",
+ ": 1. **$reference** = 'Group/258781'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$search\n",
+ ": **$mode** = 'match'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. $fullUrl\n",
+ ": 'https://include-api-fhir-service.includedcc.org/ResearchStudy/286606'\n",
+ "$resource\n",
+ ": $resourceType\n",
+ ": 'ResearchStudy'\n",
+ "$id\n",
+ ": '286606'\n",
+ "$meta\n",
+ ": $versionId\n",
+ ": '4'\n",
+ "$lastUpdated\n",
+ ": '2022-03-18T23:56:17.258+00:00'\n",
+ "$source\n",
+ ": '#hS1qQMSxTSqxl8KQ'\n",
+ "$profile\n",
+ ": 1. 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$identifier\n",
+ ": 1. $use\n",
+ ": 'official'\n",
+ "$value\n",
+ ": 'DS-COG-ALL'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. $system\n",
+ ": 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'\n",
+ "$value\n",
+ ": 'SD_FYCR78W0'\n",
+ "\n",
+ "\n",
+ "\n",
+ "3. $system\n",
+ ": 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='\n",
+ "$value\n",
+ ": 'phs002330.v1.p1'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$title\n",
+ ": 'INCLUDE: (Lupo) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'\n",
+ "$status\n",
+ ": 'completed'\n",
+ "$category\n",
+ ": 1. $coding\n",
+ ": 1. $system\n",
+ ": 'http://snomed.info/sct'\n",
+ "$code\n",
+ ": '276720006'\n",
+ "$display\n",
+ ": 'Dysmorphism (disorder)'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. $system\n",
+ ": 'http://snomed.info/sct'\n",
+ "$code\n",
+ ": '86049000'\n",
+ "$display\n",
+ ": 'Malignant neoplasm, primary (morphologic abnormality)'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$text\n",
+ ": 'CANCERANDBIRTHDEFECT'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$relatedArtifact\n",
+ ": 1. $type\n",
+ ": 'documentation'\n",
+ "$url\n",
+ ": 'https://includedcc.org/studies/gmkf-ds-x01'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$keyword\n",
+ ": 1. $coding\n",
+ ": 1. $system\n",
+ ": 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "$code\n",
+ ": 'INCLUDE-KF'\n",
+ "$display\n",
+ ": 'INCLUDE/KF'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$text\n",
+ ": 'INCLUDE'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. **$coding** = 1. **$code** = 'SDFYCR78W0'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$search\n",
+ ": **$mode** = 'match'\n",
+ "\n",
+ "\n",
+ "\n",
+ "3. $fullUrl\n",
+ ": 'https://include-api-fhir-service.includedcc.org/ResearchStudy/276232'\n",
+ "$resource\n",
+ ": $resourceType\n",
+ ": 'ResearchStudy'\n",
+ "$id\n",
+ ": '276232'\n",
+ "$meta\n",
+ ": $versionId\n",
+ ": '4'\n",
+ "$lastUpdated\n",
+ ": '2022-03-18T23:53:40.068+00:00'\n",
+ "$source\n",
+ ": '#NqZKaKuAnuiA2oD3'\n",
+ "$profile\n",
+ ": 1. 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$identifier\n",
+ ": 1. $use\n",
+ ": 'official'\n",
+ "$value\n",
+ ": 'DS-PCGC'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. $system\n",
+ ": 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'\n",
+ "$value\n",
+ ": 'SD_Y6VRG6MD'\n",
+ "\n",
+ "\n",
+ "\n",
+ "3. $system\n",
+ ": 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='\n",
+ "$value\n",
+ ": 'phs002330.v1.p1'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$title\n",
+ ": 'INCLUDE: (PCGC) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'\n",
+ "$status\n",
+ ": 'completed'\n",
+ "$category\n",
+ ": 1. $coding\n",
+ ": 1. $system\n",
+ ": 'http://snomed.info/sct'\n",
+ "$code\n",
+ ": '276720006'\n",
+ "$display\n",
+ ": 'Dysmorphism (disorder)'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$text\n",
+ ": 'BIRTHDEFECT'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$relatedArtifact\n",
+ ": 1. $type\n",
+ ": 'documentation'\n",
+ "$url\n",
+ ": 'https://includedcc.org/studies/gmkf-ds-x01'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$keyword\n",
+ ": 1. $coding\n",
+ ": 1. $system\n",
+ ": 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "$code\n",
+ ": 'INCLUDE-KF'\n",
+ "$display\n",
+ ": 'INCLUDE/KF'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$text\n",
+ ": 'INCLUDE'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. **$coding** = 1. **$code** = 'SDY6VRG6MD'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$search\n",
+ ": **$mode** = 'match'\n",
+ "\n",
+ "\n",
+ "\n",
+ "4. $fullUrl\n",
+ ": 'https://include-api-fhir-service.includedcc.org/ResearchStudy/264848'\n",
+ "$resource\n",
+ ": $resourceType\n",
+ ": 'ResearchStudy'\n",
+ "$id\n",
+ ": '264848'\n",
+ "$meta\n",
+ ": $versionId\n",
+ ": '4'\n",
+ "$lastUpdated\n",
+ ": '2022-03-18T23:52:46.428+00:00'\n",
+ "$source\n",
+ ": '#Shp5BEo2bLs7S3Sk'\n",
+ "$profile\n",
+ ": 1. 'http://hl7.org/fhir/StructureDefinition/ResearchStudy'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$identifier\n",
+ ": 1. $use\n",
+ ": 'official'\n",
+ "$value\n",
+ ": 'DS360-CHD'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. $system\n",
+ ": 'https://kf-api-dataservice.kidsfirstdrc.org/studies/'\n",
+ "$value\n",
+ ": 'SD_65064P2Z'\n",
+ "\n",
+ "\n",
+ "\n",
+ "3. $system\n",
+ ": 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='\n",
+ "$value\n",
+ ": 'phs002330.v1.p1'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$title\n",
+ ": 'INCLUDE: (Sherman) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome'\n",
+ "$status\n",
+ ": 'completed'\n",
+ "$category\n",
+ ": 1. $coding\n",
+ ": 1. $system\n",
+ ": 'http://snomed.info/sct'\n",
+ "$code\n",
+ ": '276720006'\n",
+ "$display\n",
+ ": 'Dysmorphism (disorder)'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$text\n",
+ ": 'BIRTHDEFECT'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$relatedArtifact\n",
+ ": 1. $type\n",
+ ": 'documentation'\n",
+ "$url\n",
+ ": 'https://includedcc.org/studies/gmkf-ds-x01'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$keyword\n",
+ ": 1. $coding\n",
+ ": 1. $system\n",
+ ": 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "$code\n",
+ ": 'INCLUDE-KF'\n",
+ "$display\n",
+ ": 'INCLUDE/KF'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$text\n",
+ ": 'INCLUDE'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. **$coding** = 1. **$code** = 'SD65064P2Z'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$search\n",
+ ": **$mode** = 'match'\n",
+ "\n",
+ "\n",
+ "\n",
+ "5. $fullUrl\n",
+ ": 'https://include-api-fhir-service.includedcc.org/ResearchStudy/19908'\n",
+ "$resource\n",
+ ": $resourceType\n",
+ ": 'ResearchStudy'\n",
+ "$id\n",
+ ": '19908'\n",
+ "$meta\n",
+ ": $versionId\n",
+ ": '3'\n",
+ "$lastUpdated\n",
+ ": '2022-03-17T22:09:38.053+00:00'\n",
+ "$source\n",
+ ": '#PQXswYZi3FTYGhdS'\n",
+ "$tag\n",
+ ": 1. $system\n",
+ ": 'https://include.org/htp/fhir/researchstudy'\n",
+ "$code\n",
+ ": 'HTP'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$identifier\n",
+ ": 1. $use\n",
+ ": 'official'\n",
+ "$system\n",
+ ": 'https://include.org/htp/fhir/researchstudy'\n",
+ "$value\n",
+ ": 'HTP'\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. $system\n",
+ ": 'https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id='\n",
+ "$value\n",
+ ": 'phs002330'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$title\n",
+ ": 'Crnic Institute Human Trisome Project'\n",
+ "$status\n",
+ ": 'completed'\n",
+ "$relatedArtifact\n",
+ ": 1. $type\n",
+ ": 'documentation'\n",
+ "$url\n",
+ ": 'https://includedcc.org/studies/human-trisome-project'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$keyword\n",
+ ": 1. **$coding** = 1. $system\n",
+ ": 'https://includedcc.org/fhir/code-systems/programs'\n",
+ "$version\n",
+ ": 'v1'\n",
+ "$code\n",
+ ": 'INCLUDE-KF'\n",
+ "$display\n",
+ ": 'INCLUDE/KF'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "2. **$coding** = 1. **$code** = 'HTP'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$description\n",
+ ": 'TBD'\n",
+ "$enrollment\n",
+ ": 1. **$reference** = 'Group/15367'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$search\n",
+ ": **$mode** = 'match'\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "text/plain": [
+ "$resourceType\n",
+ "[1] \"Bundle\"\n",
+ "\n",
+ "$id\n",
+ "[1] \"712ded52-8e11-49fd-b40e-7b8f5aa750a7\"\n",
+ "\n",
+ "$meta\n",
+ "$meta$lastUpdated\n",
+ "[1] \"2022-06-27T20:35:56.151+00:00\"\n",
+ "\n",
+ "\n",
+ "$type\n",
+ "[1] \"searchset\"\n",
+ "\n",
+ "$total\n",
+ "[1] 5\n",
+ "\n",
+ "$link\n",
+ "$link[[1]]\n",
+ "$link[[1]]$relation\n",
+ "[1] \"self\"\n",
+ "\n",
+ "$link[[1]]$url\n",
+ "[1] \"https://include-api-fhir-service.includedcc.org/ResearchStudy\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry\n",
+ "$entry[[1]]\n",
+ "$entry[[1]]$fullUrl\n",
+ "[1] \"https://include-api-fhir-service.includedcc.org/ResearchStudy/258782\"\n",
+ "\n",
+ "$entry[[1]]$resource\n",
+ "$entry[[1]]$resource$resourceType\n",
+ "[1] \"ResearchStudy\"\n",
+ "\n",
+ "$entry[[1]]$resource$id\n",
+ "[1] \"258782\"\n",
+ "\n",
+ "$entry[[1]]$resource$meta\n",
+ "$entry[[1]]$resource$meta$versionId\n",
+ "[1] \"3\"\n",
+ "\n",
+ "$entry[[1]]$resource$meta$lastUpdated\n",
+ "[1] \"2022-05-24T18:07:03.253+00:00\"\n",
+ "\n",
+ "$entry[[1]]$resource$meta$source\n",
+ "[1] \"#N5kcXtbnx7TIz7Q7\"\n",
+ "\n",
+ "$entry[[1]]$resource$meta$profile\n",
+ "$entry[[1]]$resource$meta$profile[[1]]\n",
+ "[1] \"https://ncpi-fhir.github.io/ncpi-fhir-study-summary-ig/StructureDefinition/ncpi-research-study\"\n",
+ "\n",
+ "\n",
+ "$entry[[1]]$resource$meta$tag\n",
+ "$entry[[1]]$resource$meta$tag[[1]]\n",
+ "$entry[[1]]$resource$meta$tag[[1]]$system\n",
+ "[1] \"https://include.org/ds-connect/fhir/researchstudy\"\n",
+ "\n",
+ "$entry[[1]]$resource$meta$tag[[1]]$code\n",
+ "[1] \"DSC\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[1]]$resource$identifier\n",
+ "$entry[[1]]$resource$identifier[[1]]\n",
+ "$entry[[1]]$resource$identifier[[1]]$use\n",
+ "[1] \"official\"\n",
+ "\n",
+ "$entry[[1]]$resource$identifier[[1]]$system\n",
+ "[1] \"https://include.org/ds-connect/fhir/researchstudy\"\n",
+ "\n",
+ "$entry[[1]]$resource$identifier[[1]]$value\n",
+ "[1] \"DSC\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[1]]$resource$title\n",
+ "[1] \"DS-Connect\"\n",
+ "\n",
+ "$entry[[1]]$resource$status\n",
+ "[1] \"completed\"\n",
+ "\n",
+ "$entry[[1]]$resource$relatedArtifact\n",
+ "$entry[[1]]$resource$relatedArtifact[[1]]\n",
+ "$entry[[1]]$resource$relatedArtifact[[1]]$type\n",
+ "[1] \"documentation\"\n",
+ "\n",
+ "$entry[[1]]$resource$relatedArtifact[[1]]$url\n",
+ "[1] \"https://includedcc.org/studies/ds-connect\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[1]]$resource$keyword\n",
+ "$entry[[1]]$resource$keyword[[1]]\n",
+ "$entry[[1]]$resource$keyword[[1]]$coding\n",
+ "$entry[[1]]$resource$keyword[[1]]$coding[[1]]\n",
+ "$entry[[1]]$resource$keyword[[1]]$coding[[1]]$system\n",
+ "[1] \"https://includedcc.org/fhir/code-systems/programs\"\n",
+ "\n",
+ "$entry[[1]]$resource$keyword[[1]]$coding[[1]]$version\n",
+ "[1] \"v1\"\n",
+ "\n",
+ "$entry[[1]]$resource$keyword[[1]]$coding[[1]]$code\n",
+ "[1] \"INCLUDE\"\n",
+ "\n",
+ "$entry[[1]]$resource$keyword[[1]]$coding[[1]]$display\n",
+ "[1] \"INCLUDE\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[1]]$resource$keyword[[2]]\n",
+ "$entry[[1]]$resource$keyword[[2]]$coding\n",
+ "$entry[[1]]$resource$keyword[[2]]$coding[[1]]\n",
+ "$entry[[1]]$resource$keyword[[2]]$coding[[1]]$code\n",
+ "[1] \"DSC\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[1]]$resource$description\n",
+ "[1] \"TBD\"\n",
+ "\n",
+ "$entry[[1]]$resource$enrollment\n",
+ "$entry[[1]]$resource$enrollment[[1]]\n",
+ "$entry[[1]]$resource$enrollment[[1]]$reference\n",
+ "[1] \"Group/258781\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[1]]$search\n",
+ "$entry[[1]]$search$mode\n",
+ "[1] \"match\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]\n",
+ "$entry[[2]]$fullUrl\n",
+ "[1] \"https://include-api-fhir-service.includedcc.org/ResearchStudy/286606\"\n",
+ "\n",
+ "$entry[[2]]$resource\n",
+ "$entry[[2]]$resource$resourceType\n",
+ "[1] \"ResearchStudy\"\n",
+ "\n",
+ "$entry[[2]]$resource$id\n",
+ "[1] \"286606\"\n",
+ "\n",
+ "$entry[[2]]$resource$meta\n",
+ "$entry[[2]]$resource$meta$versionId\n",
+ "[1] \"4\"\n",
+ "\n",
+ "$entry[[2]]$resource$meta$lastUpdated\n",
+ "[1] \"2022-03-18T23:56:17.258+00:00\"\n",
+ "\n",
+ "$entry[[2]]$resource$meta$source\n",
+ "[1] \"#hS1qQMSxTSqxl8KQ\"\n",
+ "\n",
+ "$entry[[2]]$resource$meta$profile\n",
+ "$entry[[2]]$resource$meta$profile[[1]]\n",
+ "[1] \"http://hl7.org/fhir/StructureDefinition/ResearchStudy\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$identifier\n",
+ "$entry[[2]]$resource$identifier[[1]]\n",
+ "$entry[[2]]$resource$identifier[[1]]$use\n",
+ "[1] \"official\"\n",
+ "\n",
+ "$entry[[2]]$resource$identifier[[1]]$value\n",
+ "[1] \"DS-COG-ALL\"\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$identifier[[2]]\n",
+ "$entry[[2]]$resource$identifier[[2]]$system\n",
+ "[1] \"https://kf-api-dataservice.kidsfirstdrc.org/studies/\"\n",
+ "\n",
+ "$entry[[2]]$resource$identifier[[2]]$value\n",
+ "[1] \"SD_FYCR78W0\"\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$identifier[[3]]\n",
+ "$entry[[2]]$resource$identifier[[3]]$system\n",
+ "[1] \"https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id=\"\n",
+ "\n",
+ "$entry[[2]]$resource$identifier[[3]]$value\n",
+ "[1] \"phs002330.v1.p1\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$title\n",
+ "[1] \"INCLUDE: (Lupo) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome\"\n",
+ "\n",
+ "$entry[[2]]$resource$status\n",
+ "[1] \"completed\"\n",
+ "\n",
+ "$entry[[2]]$resource$category\n",
+ "$entry[[2]]$resource$category[[1]]\n",
+ "$entry[[2]]$resource$category[[1]]$coding\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[1]]\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[1]]$system\n",
+ "[1] \"http://snomed.info/sct\"\n",
+ "\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[1]]$code\n",
+ "[1] \"276720006\"\n",
+ "\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[1]]$display\n",
+ "[1] \"Dysmorphism (disorder)\"\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[2]]\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[2]]$system\n",
+ "[1] \"http://snomed.info/sct\"\n",
+ "\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[2]]$code\n",
+ "[1] \"86049000\"\n",
+ "\n",
+ "$entry[[2]]$resource$category[[1]]$coding[[2]]$display\n",
+ "[1] \"Malignant neoplasm, primary (morphologic abnormality)\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$category[[1]]$text\n",
+ "[1] \"CANCERANDBIRTHDEFECT\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$relatedArtifact\n",
+ "$entry[[2]]$resource$relatedArtifact[[1]]\n",
+ "$entry[[2]]$resource$relatedArtifact[[1]]$type\n",
+ "[1] \"documentation\"\n",
+ "\n",
+ "$entry[[2]]$resource$relatedArtifact[[1]]$url\n",
+ "[1] \"https://includedcc.org/studies/gmkf-ds-x01\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$keyword\n",
+ "$entry[[2]]$resource$keyword[[1]]\n",
+ "$entry[[2]]$resource$keyword[[1]]$coding\n",
+ "$entry[[2]]$resource$keyword[[1]]$coding[[1]]\n",
+ "$entry[[2]]$resource$keyword[[1]]$coding[[1]]$system\n",
+ "[1] \"https://includedcc.org/fhir/code-systems/programs\"\n",
+ "\n",
+ "$entry[[2]]$resource$keyword[[1]]$coding[[1]]$code\n",
+ "[1] \"INCLUDE-KF\"\n",
+ "\n",
+ "$entry[[2]]$resource$keyword[[1]]$coding[[1]]$display\n",
+ "[1] \"INCLUDE/KF\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$keyword[[1]]$text\n",
+ "[1] \"INCLUDE\"\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$resource$keyword[[2]]\n",
+ "$entry[[2]]$resource$keyword[[2]]$coding\n",
+ "$entry[[2]]$resource$keyword[[2]]$coding[[1]]\n",
+ "$entry[[2]]$resource$keyword[[2]]$coding[[1]]$code\n",
+ "[1] \"SDFYCR78W0\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[2]]$search\n",
+ "$entry[[2]]$search$mode\n",
+ "[1] \"match\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]\n",
+ "$entry[[3]]$fullUrl\n",
+ "[1] \"https://include-api-fhir-service.includedcc.org/ResearchStudy/276232\"\n",
+ "\n",
+ "$entry[[3]]$resource\n",
+ "$entry[[3]]$resource$resourceType\n",
+ "[1] \"ResearchStudy\"\n",
+ "\n",
+ "$entry[[3]]$resource$id\n",
+ "[1] \"276232\"\n",
+ "\n",
+ "$entry[[3]]$resource$meta\n",
+ "$entry[[3]]$resource$meta$versionId\n",
+ "[1] \"4\"\n",
+ "\n",
+ "$entry[[3]]$resource$meta$lastUpdated\n",
+ "[1] \"2022-03-18T23:53:40.068+00:00\"\n",
+ "\n",
+ "$entry[[3]]$resource$meta$source\n",
+ "[1] \"#NqZKaKuAnuiA2oD3\"\n",
+ "\n",
+ "$entry[[3]]$resource$meta$profile\n",
+ "$entry[[3]]$resource$meta$profile[[1]]\n",
+ "[1] \"http://hl7.org/fhir/StructureDefinition/ResearchStudy\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$identifier\n",
+ "$entry[[3]]$resource$identifier[[1]]\n",
+ "$entry[[3]]$resource$identifier[[1]]$use\n",
+ "[1] \"official\"\n",
+ "\n",
+ "$entry[[3]]$resource$identifier[[1]]$value\n",
+ "[1] \"DS-PCGC\"\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$identifier[[2]]\n",
+ "$entry[[3]]$resource$identifier[[2]]$system\n",
+ "[1] \"https://kf-api-dataservice.kidsfirstdrc.org/studies/\"\n",
+ "\n",
+ "$entry[[3]]$resource$identifier[[2]]$value\n",
+ "[1] \"SD_Y6VRG6MD\"\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$identifier[[3]]\n",
+ "$entry[[3]]$resource$identifier[[3]]$system\n",
+ "[1] \"https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id=\"\n",
+ "\n",
+ "$entry[[3]]$resource$identifier[[3]]$value\n",
+ "[1] \"phs002330.v1.p1\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$title\n",
+ "[1] \"INCLUDE: (PCGC) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome\"\n",
+ "\n",
+ "$entry[[3]]$resource$status\n",
+ "[1] \"completed\"\n",
+ "\n",
+ "$entry[[3]]$resource$category\n",
+ "$entry[[3]]$resource$category[[1]]\n",
+ "$entry[[3]]$resource$category[[1]]$coding\n",
+ "$entry[[3]]$resource$category[[1]]$coding[[1]]\n",
+ "$entry[[3]]$resource$category[[1]]$coding[[1]]$system\n",
+ "[1] \"http://snomed.info/sct\"\n",
+ "\n",
+ "$entry[[3]]$resource$category[[1]]$coding[[1]]$code\n",
+ "[1] \"276720006\"\n",
+ "\n",
+ "$entry[[3]]$resource$category[[1]]$coding[[1]]$display\n",
+ "[1] \"Dysmorphism (disorder)\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$category[[1]]$text\n",
+ "[1] \"BIRTHDEFECT\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$relatedArtifact\n",
+ "$entry[[3]]$resource$relatedArtifact[[1]]\n",
+ "$entry[[3]]$resource$relatedArtifact[[1]]$type\n",
+ "[1] \"documentation\"\n",
+ "\n",
+ "$entry[[3]]$resource$relatedArtifact[[1]]$url\n",
+ "[1] \"https://includedcc.org/studies/gmkf-ds-x01\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$keyword\n",
+ "$entry[[3]]$resource$keyword[[1]]\n",
+ "$entry[[3]]$resource$keyword[[1]]$coding\n",
+ "$entry[[3]]$resource$keyword[[1]]$coding[[1]]\n",
+ "$entry[[3]]$resource$keyword[[1]]$coding[[1]]$system\n",
+ "[1] \"https://includedcc.org/fhir/code-systems/programs\"\n",
+ "\n",
+ "$entry[[3]]$resource$keyword[[1]]$coding[[1]]$code\n",
+ "[1] \"INCLUDE-KF\"\n",
+ "\n",
+ "$entry[[3]]$resource$keyword[[1]]$coding[[1]]$display\n",
+ "[1] \"INCLUDE/KF\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$keyword[[1]]$text\n",
+ "[1] \"INCLUDE\"\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$resource$keyword[[2]]\n",
+ "$entry[[3]]$resource$keyword[[2]]$coding\n",
+ "$entry[[3]]$resource$keyword[[2]]$coding[[1]]\n",
+ "$entry[[3]]$resource$keyword[[2]]$coding[[1]]$code\n",
+ "[1] \"SDY6VRG6MD\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[3]]$search\n",
+ "$entry[[3]]$search$mode\n",
+ "[1] \"match\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]\n",
+ "$entry[[4]]$fullUrl\n",
+ "[1] \"https://include-api-fhir-service.includedcc.org/ResearchStudy/264848\"\n",
+ "\n",
+ "$entry[[4]]$resource\n",
+ "$entry[[4]]$resource$resourceType\n",
+ "[1] \"ResearchStudy\"\n",
+ "\n",
+ "$entry[[4]]$resource$id\n",
+ "[1] \"264848\"\n",
+ "\n",
+ "$entry[[4]]$resource$meta\n",
+ "$entry[[4]]$resource$meta$versionId\n",
+ "[1] \"4\"\n",
+ "\n",
+ "$entry[[4]]$resource$meta$lastUpdated\n",
+ "[1] \"2022-03-18T23:52:46.428+00:00\"\n",
+ "\n",
+ "$entry[[4]]$resource$meta$source\n",
+ "[1] \"#Shp5BEo2bLs7S3Sk\"\n",
+ "\n",
+ "$entry[[4]]$resource$meta$profile\n",
+ "$entry[[4]]$resource$meta$profile[[1]]\n",
+ "[1] \"http://hl7.org/fhir/StructureDefinition/ResearchStudy\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$identifier\n",
+ "$entry[[4]]$resource$identifier[[1]]\n",
+ "$entry[[4]]$resource$identifier[[1]]$use\n",
+ "[1] \"official\"\n",
+ "\n",
+ "$entry[[4]]$resource$identifier[[1]]$value\n",
+ "[1] \"DS360-CHD\"\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$identifier[[2]]\n",
+ "$entry[[4]]$resource$identifier[[2]]$system\n",
+ "[1] \"https://kf-api-dataservice.kidsfirstdrc.org/studies/\"\n",
+ "\n",
+ "$entry[[4]]$resource$identifier[[2]]$value\n",
+ "[1] \"SD_65064P2Z\"\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$identifier[[3]]\n",
+ "$entry[[4]]$resource$identifier[[3]]$system\n",
+ "[1] \"https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id=\"\n",
+ "\n",
+ "$entry[[4]]$resource$identifier[[3]]$value\n",
+ "[1] \"phs002330.v1.p1\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$title\n",
+ "[1] \"INCLUDE: (Sherman) Genomic Analysis of Congenital Heart Defects and Acute Lymphoblastic Leukemia in Children with Down Syndrome\"\n",
+ "\n",
+ "$entry[[4]]$resource$status\n",
+ "[1] \"completed\"\n",
+ "\n",
+ "$entry[[4]]$resource$category\n",
+ "$entry[[4]]$resource$category[[1]]\n",
+ "$entry[[4]]$resource$category[[1]]$coding\n",
+ "$entry[[4]]$resource$category[[1]]$coding[[1]]\n",
+ "$entry[[4]]$resource$category[[1]]$coding[[1]]$system\n",
+ "[1] \"http://snomed.info/sct\"\n",
+ "\n",
+ "$entry[[4]]$resource$category[[1]]$coding[[1]]$code\n",
+ "[1] \"276720006\"\n",
+ "\n",
+ "$entry[[4]]$resource$category[[1]]$coding[[1]]$display\n",
+ "[1] \"Dysmorphism (disorder)\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$category[[1]]$text\n",
+ "[1] \"BIRTHDEFECT\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$relatedArtifact\n",
+ "$entry[[4]]$resource$relatedArtifact[[1]]\n",
+ "$entry[[4]]$resource$relatedArtifact[[1]]$type\n",
+ "[1] \"documentation\"\n",
+ "\n",
+ "$entry[[4]]$resource$relatedArtifact[[1]]$url\n",
+ "[1] \"https://includedcc.org/studies/gmkf-ds-x01\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$keyword\n",
+ "$entry[[4]]$resource$keyword[[1]]\n",
+ "$entry[[4]]$resource$keyword[[1]]$coding\n",
+ "$entry[[4]]$resource$keyword[[1]]$coding[[1]]\n",
+ "$entry[[4]]$resource$keyword[[1]]$coding[[1]]$system\n",
+ "[1] \"https://includedcc.org/fhir/code-systems/programs\"\n",
+ "\n",
+ "$entry[[4]]$resource$keyword[[1]]$coding[[1]]$code\n",
+ "[1] \"INCLUDE-KF\"\n",
+ "\n",
+ "$entry[[4]]$resource$keyword[[1]]$coding[[1]]$display\n",
+ "[1] \"INCLUDE/KF\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$keyword[[1]]$text\n",
+ "[1] \"INCLUDE\"\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$resource$keyword[[2]]\n",
+ "$entry[[4]]$resource$keyword[[2]]$coding\n",
+ "$entry[[4]]$resource$keyword[[2]]$coding[[1]]\n",
+ "$entry[[4]]$resource$keyword[[2]]$coding[[1]]$code\n",
+ "[1] \"SD65064P2Z\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[4]]$search\n",
+ "$entry[[4]]$search$mode\n",
+ "[1] \"match\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[5]]\n",
+ "$entry[[5]]$fullUrl\n",
+ "[1] \"https://include-api-fhir-service.includedcc.org/ResearchStudy/19908\"\n",
+ "\n",
+ "$entry[[5]]$resource\n",
+ "$entry[[5]]$resource$resourceType\n",
+ "[1] \"ResearchStudy\"\n",
+ "\n",
+ "$entry[[5]]$resource$id\n",
+ "[1] \"19908\"\n",
+ "\n",
+ "$entry[[5]]$resource$meta\n",
+ "$entry[[5]]$resource$meta$versionId\n",
+ "[1] \"3\"\n",
+ "\n",
+ "$entry[[5]]$resource$meta$lastUpdated\n",
+ "[1] \"2022-03-17T22:09:38.053+00:00\"\n",
+ "\n",
+ "$entry[[5]]$resource$meta$source\n",
+ "[1] \"#PQXswYZi3FTYGhdS\"\n",
+ "\n",
+ "$entry[[5]]$resource$meta$tag\n",
+ "$entry[[5]]$resource$meta$tag[[1]]\n",
+ "$entry[[5]]$resource$meta$tag[[1]]$system\n",
+ "[1] \"https://include.org/htp/fhir/researchstudy\"\n",
+ "\n",
+ "$entry[[5]]$resource$meta$tag[[1]]$code\n",
+ "[1] \"HTP\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[5]]$resource$identifier\n",
+ "$entry[[5]]$resource$identifier[[1]]\n",
+ "$entry[[5]]$resource$identifier[[1]]$use\n",
+ "[1] \"official\"\n",
+ "\n",
+ "$entry[[5]]$resource$identifier[[1]]$system\n",
+ "[1] \"https://include.org/htp/fhir/researchstudy\"\n",
+ "\n",
+ "$entry[[5]]$resource$identifier[[1]]$value\n",
+ "[1] \"HTP\"\n",
+ "\n",
+ "\n",
+ "$entry[[5]]$resource$identifier[[2]]\n",
+ "$entry[[5]]$resource$identifier[[2]]$system\n",
+ "[1] \"https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id=\"\n",
+ "\n",
+ "$entry[[5]]$resource$identifier[[2]]$value\n",
+ "[1] \"phs002330\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[5]]$resource$title\n",
+ "[1] \"Crnic Institute Human Trisome Project\"\n",
+ "\n",
+ "$entry[[5]]$resource$status\n",
+ "[1] \"completed\"\n",
+ "\n",
+ "$entry[[5]]$resource$relatedArtifact\n",
+ "$entry[[5]]$resource$relatedArtifact[[1]]\n",
+ "$entry[[5]]$resource$relatedArtifact[[1]]$type\n",
+ "[1] \"documentation\"\n",
+ "\n",
+ "$entry[[5]]$resource$relatedArtifact[[1]]$url\n",
+ "[1] \"https://includedcc.org/studies/human-trisome-project\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[5]]$resource$keyword\n",
+ "$entry[[5]]$resource$keyword[[1]]\n",
+ "$entry[[5]]$resource$keyword[[1]]$coding\n",
+ "$entry[[5]]$resource$keyword[[1]]$coding[[1]]\n",
+ "$entry[[5]]$resource$keyword[[1]]$coding[[1]]$system\n",
+ "[1] \"https://includedcc.org/fhir/code-systems/programs\"\n",
+ "\n",
+ "$entry[[5]]$resource$keyword[[1]]$coding[[1]]$version\n",
+ "[1] \"v1\"\n",
+ "\n",
+ "$entry[[5]]$resource$keyword[[1]]$coding[[1]]$code\n",
+ "[1] \"INCLUDE-KF\"\n",
+ "\n",
+ "$entry[[5]]$resource$keyword[[1]]$coding[[1]]$display\n",
+ "[1] \"INCLUDE/KF\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[5]]$resource$keyword[[2]]\n",
+ "$entry[[5]]$resource$keyword[[2]]$coding\n",
+ "$entry[[5]]$resource$keyword[[2]]$coding[[1]]\n",
+ "$entry[[5]]$resource$keyword[[2]]$coding[[1]]$code\n",
+ "[1] \"HTP\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[5]]$resource$description\n",
+ "[1] \"TBD\"\n",
+ "\n",
+ "$entry[[5]]$resource$enrollment\n",
+ "$entry[[5]]$resource$enrollment[[1]]\n",
+ "$entry[[5]]$resource$enrollment[[1]]$reference\n",
+ "[1] \"Group/15367\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "$entry[[5]]$search\n",
+ "$entry[[5]]$search$mode\n",
+ "[1] \"match\"\n",
+ "\n",
+ "\n",
+ "\n"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "default_get(\"ResearchStudy\")"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "all_files=get_all(\"DocumentReference?_tag=HTP&category=RNA-Seq&type=Gene-Expression,Gene-Expression-Quantifications&location:missing=false\")"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "1155"
+ ],
+ "text/latex": [
+ "1155"
+ ],
+ "text/markdown": [
+ "1155"
+ ],
+ "text/plain": [
+ "[1] 1155"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "length(all_files)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "filter_files=all_files[grepl(\"rsem.genes\",sapply(all_files,function(x){x$content[[1]]$attachment$title}))]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 25,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "385"
+ ],
+ "text/latex": [
+ "385"
+ ],
+ "text/markdown": [
+ "385"
+ ],
+ "text/plain": [
+ "[1] 385"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "length(filter_files)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "df = as_tibble_col(filter_files,\"resource\")"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "- 385
- 1
\n"
+ ],
+ "text/latex": [
+ "\\begin{enumerate*}\n",
+ "\\item 385\n",
+ "\\item 1\n",
+ "\\end{enumerate*}\n"
+ ],
+ "text/markdown": [
+ "1. 385\n",
+ "2. 1\n",
+ "\n",
+ "\n"
+ ],
+ "text/plain": [
+ "[1] 385 1"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "dim(df)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 28,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stderr",
+ "output_type": "stream",
+ "text": [
+ "opening file output connection.\n",
+ "\n"
+ ]
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Complete! Processed total of 385 rows.\n"
+ ]
+ },
+ {
+ "name": "stderr",
+ "output_type": "stream",
+ "text": [
+ "closing file output connection.\n",
+ "\n"
+ ]
+ }
+ ],
+ "source": [
+ "stream_out(df, file(tmp <- tempfile()))"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "[1] \"/tmp/RtmpSqDkLt/file1e0207e400c\"\n"
+ ]
+ }
+ ],
+ "source": [
+ "print(tmp)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 30,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "system2(\"gsutil\", args=c(\"cp\", tmp, \"$WORKSPACE_BUCKET/DocumentReference/include.ndjson\"))"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "R",
+ "language": "R",
+ "name": "ir"
+ },
+ "language_info": {
+ "codemirror_mode": "r",
+ "file_extension": ".r",
+ "mimetype": "text/x-r-source",
+ "name": "R",
+ "pygments_lexer": "r",
+ "version": "4.2.0"
+ },
+ "toc": {
+ "base_numbering": 1,
+ "nav_menu": {},
+ "number_sections": true,
+ "sideBar": true,
+ "skip_h1_title": false,
+ "title_cell": "Table of Contents",
+ "title_sidebar": "Contents",
+ "toc_cell": false,
+ "toc_position": {},
+ "toc_section_display": true,
+ "toc_window_display": false
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}