Retrieve Studies for Study Identifiers and Names
get
/HSDataService-web/api/3.2.0/studies/search
This endpoint supports the retrieval of Studies for Zero or more for Study Identifiers and/or Names passed. It returns Study information like Name, Description, Start Date, End Date and other Study associated information.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
- id
-
Type:
arrayCollection Format:multiList of Study Identifier.-
Type:
string
- limit
Type:integer(int32)Pagination query params: ?limit=2&offset=0- name
Type:arrayCollection Format:multiList of Study Names,Response
Supported Media Types- application/json
- application/xml
200 Responsesuccessful operationBodyModel for paginated collections of data.Root Schema : PageableCollectionStudyType:objectModel for paginated collections of data.- count
-
Type:
integer(int64)Number of objects in the 'items' collection. - hasMore
-
Type:
booleanDefault Value:falseA boolean indicating if more pages are available. - items
-
Type:
arrayitemsA collection of paged items. - links
-
Type:
arraylinksA collection of links containing hrefs to the current, next, and previous pages as applicable. - resourceType
-
Type:
stringIdentify the resource type
Nested Schema : itemsNested Schema : linksNested Schema : StudyType:objectModel for a Clinical Study details.- identifier
-
Type:
objectIdentifierIdentifier assigned by a given system - principalInvestigator
-
Type:
objectPractitionerModel for a Practitioner, i.e. a person who is directly or indirectly involved in the provisioning of healthcare with a formal responsibility. - resourceType
-
Type:
stringAPI resource type. it's included if Response is not paginated. - studyDescription
-
Type:
stringClinical Study description. - studyEndDate
-
Type:
string(date-time) - studyId
-
Type:
stringClinical Study identifier. - studyName
-
Type:
stringClinical Study name. - studyPhenotype
-
Type:
objectStudyPhenotypeModel for a clinical study standardized Phenotype. - studySpecimens
-
Type:
objectLinkedReference - studyStartDate
-
Type:
string(date-time) - studySubjects
-
Type:
objectLinkedReference
Nested Schema : IdentifierType:objectIdentifier assigned by a given system- system
-
Type:
stringSystem which assigned this identifier - value
-
Type:
stringIdentifier value
Nested Schema : PractitionerType:objectModel for a Practitioner, i.e. a person who is directly or indirectly involved in the provisioning of healthcare with a formal responsibility.- address
-
Type:
objectAddressModel for a postal address. - identifier
-
Type:
objectCdmIdentifierIdentifier assigned by a given system - name
-
Type:
objectHumanNameModel for a name of a human with text and parts information. - speciality
-
Type:
objectCodeableConceptModel that represents a value as a reference to one or more terminologies or ontologies or defined by the provision of text. - specimenAliasIssuerFlag
-
Type:
stringThe flag that indicates that this Service Provider has issued Specimen Alias(es). - telecom
-
Type:
objectTelecom - type
-
Type:
objectCodeableConceptModel that represents a value as a reference to one or more terminologies or ontologies or defined by the provision of text.
Nested Schema : StudyPhenotypeType:objectModel for a clinical study standardized Phenotype.- identifier
-
Type:
objectIdentifierIdentifier assigned by a given system - type
-
Type:
objectCodingModel for a reference to a code defined by a terminology system.
Nested Schema : LinkedReferenceType:object- display
-
Type:
string - reference
-
Type:
string
Nested Schema : AddressType:objectModel for a postal address.- city
-
Type:
stringName of city, town etc. - country
-
Type:
objectCodeableConceptModel that represents a value as a reference to one or more terminologies or ontologies or defined by the provision of text. - district
-
Type:
stringDistrict name (aka county). - line
-
Type:
arraylineStreet name, number, direction & P.O. Box etc. - postalCode
-
Type:
stringPostal code for area. - state
-
Type:
objectCodeableConceptModel that represents a value as a reference to one or more terminologies or ontologies or defined by the provision of text.
Nested Schema : CdmIdentifierType:objectIdentifier assigned by a given system- system
-
Type:
stringSystem which assigned this identifier - value
-
Type:
stringIdentifier value
Nested Schema : HumanNameType:objectModel for a name of a human with text and parts information.- family
-
Type:
stringFamily name (often called 'Surname'). - given
-
Type:
arraygivenGiven names (not always 'first'). Includes middle names. - text
-
Type:
stringText representation of the full name.
Nested Schema : CodeableConceptType:objectModel that represents a value as a reference to one or more terminologies or ontologies or defined by the provision of text.- coding
-
Type:
arraycodingRead Only:trueCode(s) defined by a terminology system. - text
-
Type:
stringPlain text representation of the concept.
Nested Schema : TelecomType:object- use
-
Type:
objectCodeableConceptModel that represents a value as a reference to one or more terminologies or ontologies or defined by the provision of text. - value
-
Type:
stringTelecom Value
Nested Schema : lineNested Schema : givenNested Schema : codingNested Schema : CodingType:objectModel for a reference to a code defined by a terminology system.- code
-
Type:
stringSymbol in syntax defined by the system. - description
-
Type:
stringDescription defined by the system. - display
-
Type:
stringRepresentation defined by the system. - sysId
-
Type:
stringIdentity of the terminology system. - sysName
-
Type:
stringName of the terminology system. - sysVersion
-
Type:
stringVersion of the system - if relevant.
400 ResponseInvalid parameters supplied404 ResponseStudies were not foundExamples
The following example submits a GET request.
API URL
http://localhost:7001/HSDataService-web/api/3.2.0/studies/search?name=ami&id=ct
Example of Response Body
The following example shows the contents of the response body in JSON format:
{ "resourceType": "Study", "items": [ { "identifier": { "system": "CDM", "value": "2" }, "studyId": "NCT02085388", "studyName": "Effect Of Obesity Surgery on Gene Expression Profile", "studyDescription": "Gene expression profiling (whole genome analysis, with first interest in FTO and BDNF expression) to assess changes in gene expression before vs. after surgery, and to associate gene expression with weight loss after surgery.", "studyStartDate": "01/17/2015", "studyEndDate": "01/06/2017", "principalInvestigator": { "identifier": { "system": "CDM", "value": "NCT02085388:SPI" }, "type": { "coding": [ { "code": "STUDY-PI", "display": "Study PI", "description": "Study Principal Investigator", "sysId": "SVCPRV_TYP_CD_SYS", "sysName": "Service Provider System", "sysVersion": "2" } ] }, "name": { "text": "Sarah Jane Smith", "family": "Smith", "given": [ "Sarah", "Jane" ] }, "telecom": { "value": "sara.j.smith@somecompany.com", "use": { "coding": [ { "code": "EMAIL", "display": "Email", "description": "Company email", "sysId": "CONTACT_INFO_TYPE_CD_SYS_ID2", "sysName": "CONTACT_INFO_TYPE_CD_SYS_NAME2", "sysVersion": "CONTACT_INFO_TYPE_CD_SYS_VER2" } ] } }, "specimenAliasIssuerFlag": "Y" }, "studyPhenotype": { "identifier": { "system": "CDM", "value": "2" }, "type": { "code": "E66", "display": "Overweight and obesity", "description": "Includes: E66.0-Obesity due to excess calories; E66.3-Overweight; E66.8-Other obesity; E66.9-Obesity, unspecified", "sysId": "EHA_CUSTOM_CD_SYS", "sysName": "EHA Custom Code System", "sysVersion": "1" } }, "studySubjects": { "reference": "/HSDataService-web/api/3.2.0/studies/2/subjects" }, "studySpecimens": { "reference": "/HSDataService-web/api/3.2.0/studies/2/specimens" } }, { "identifier": { "system": "CDM", "value": "21" }, "studyId": "11", "studyName": "Troponin levels after AMI", "studyDescription": "Troponin levels after AMI", "studyStartDate": "01/17/2015", "studyEndDate": "01/06/2017", "principalInvestigator": { "identifier": { "system": "CDM", "value": "SVCPRV10" }, "type": { "coding": [ { "code": "SVCPRV_TYP_CD_VALUE", "display": "SVCPRV_TYP_CD_NAME", "description": "SVCPRV_TYP_CD_DESC", "sysId": "SVCPRV_TYP_CD_SYS", "sysName": "Service Provider System", "sysVersion": "2" } ] }, "specimenAliasIssuerFlag": "N" }, "studyPhenotype": { "identifier": { "system": "CDM", "value": "10" }, "type": { "code": "10", "display": "ST_PHENOTYPE_10", "description": "ST_PHENOTYPE_DESC10", "sysId": "EHA_CUSTOM_CD_SYS", "sysName": "EHA Custom Code System", "sysVersion": "1" } }, "studySubjects": { "reference": "/HSDataService-web/api/3.2.0/studies/21/subjects" }, "studySpecimens": { "reference": "/HSDataService-web/api/3.2.0/studies/21/specimens" } } ], "count": 2, "hasMore": false, "links": [ { "rel": "self", "href": "http://localhost:7001/HSDataService-web/api/3.2.0/studies/search?name=ami&id=ct" } ] } -