Retrieve Demographics for Cohort List Name or Subject Identifiers

get

/HSDataService-web/api/3.2.0/subjectapi/subjects

This endpoint supports the retrieval of Demographics for multiple Subject Identifiers or Cohort List Name. It returns Subject information like Name, Telecom, Address and other Subject associated information.

Request

Supported Media Types
  • application/json
  • application/xml
Query Parameters
cohortListName
Type: string
Cohort list name
id
Type: array
Collection Format: multi
Subject Row ID(s) (cannot be passed while requesting for subjects by cohort list name)
limit
Type: integer (int32)
Pagination query params: ?limit=2&offset=0
offset
Type: integer (int32)
Pagination query params: ?limit=2&offset=0

Response

Supported Media Types
  • application/json
  • application/xml
200 Response
successful operation
Body
Model for paginated collections of data.
Root Schema : PageableCollectionSubject
Type: object
Model for paginated collections of data.
Nested Schema : items
Type: array
A collection of paged items.
Nested Schema : Subject
Type: object
Nested Schema : Address
Type: object
Model for a postal address.
Nested Schema : LinkedReference
Type: object
Nested Schema : CodeableConcept
Type: object
Model that represents a value as a reference to one or more terminologies or ontologies or defined by the provision of text.
Nested Schema : identifiers
Type: array
Specimen Identifier
Nested Schema : HumanName
Type: object
Model for a name of a human with text and parts information.
Nested Schema : Telecom
Type: object
Nested Schema : line
Type: array
Street name, number, direction & P.O. Box etc.
Nested Schema : coding
Type: array
Read Only: true
Code(s) defined by a terminology system.
Nested Schema : Coding
Type: object
Model for a reference to a code defined by a terminology system.
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Nested Schema : given
Type: array
Given names (not always 'first'). Includes middle names.
400 Response
Invalid parameters supplied
404 Response
Subject(s) not found

Examples

The following example submits a GET request.

Example 1 — API URL with Cohort List Name as Input

http://localhost:7001/HSDataService-web/api/3.2.0/subjectapi/subjects?cohortListName=Cohort_List_Test5

Example of Response Body

The following example shows the response returned in JSON format.

{
  "items": [
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "1"
        },
        {
          "system": "Customer Defined",
          "value": "S1_1"
        }
      ],
      "studyName": "STUDY1",
      "studyIdentifier": "1",
      "patientIdentifier": "P2_2",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/1/patients"
      },
      "name": {
        "text": "Juan MN1 Hernandez",
        "family": "Hernandez",
        "given": [
          "Juan",
          "MN1"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "01/01/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD11",
          "SADD21",
          "SADD31"
        ],
        "city": "C1",
        "district": "C1",
        "state": {
          "coding": [
            {
              "code": "1",
              "display": "State1",
              "description": "State1Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z1",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/1/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/1/ethnicity"
      }
    },
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "2"
        },
        {
          "system": "Customer Defined",
          "value": "S2_2"
        }
      ],
      "studyName": "STUDY1",
      "studyIdentifier": "1",
      "patientIdentifier": "P3_3",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/2/patients"
      },
      "name": {
        "text": "John MN2 Jones",
        "family": "Jones",
        "given": [
          "John",
          "MN2"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "01/14/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD12",
          "SADD22",
          "SADD32"
        ],
        "city": "C2",
        "district": "C2",
        "state": {
          "coding": [
            {
              "code": "2",
              "display": "State2",
              "description": "State2Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z2",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/2/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/2/ethnicity"
      }
    },
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "3"
        },
        {
          "system": "Customer Defined",
          "value": "S3_3"
        }
      ],
      "studyName": "STUDY1",
      "studyIdentifier": "1",
      "patientIdentifier": "P3_3",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/3/patients"
      },
      "name": {
        "text": "Hans MN3 Olsen",
        "family": "Olsen",
        "given": [
          "Hans",
          "MN3"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "01/27/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD13",
          "SADD23",
          "SADD33"
        ],
        "city": "C3",
        "district": "C3",
        "state": {
          "coding": [
            {
              "code": "0",
              "display": "State0",
              "description": "State0Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z3",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/3/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/3/ethnicity"
      }
    },
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "4"
        },
        {
          "system": "Customer Defined",
          "value": "S4_4"
        }
      ],
      "studyName": "STUDY2",
      "studyIdentifier": "2",
      "patientIdentifier": "P4_4",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/4/patients"
      },
      "name": {
        "text": "Mary MN4 Johnson",
        "family": "Johnson",
        "given": [
          "Mary",
          "MN4"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "02/09/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD14",
          "SADD24",
          "SADD34"
        ],
        "city": "C4",
        "district": "C4",
        "state": {
          "coding": [
            {
              "code": "1",
              "display": "State1",
              "description": "State1Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z4",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/4/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/4/ethnicity"
      }
    }
  ],
  "count": 4,
  "hasMore": false,
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7001/HSDataService-web/api/3.2.0/subjectapi/subjects?cohortListName=Cohort_List_Test5"
    }
  ]
}

Example 1 — API URL with Subject IDs as Input

http://localhost:7001/HSDataService-web/api/3.2.0/subjectapi/subjects?id=1&id=2&id=3&id=4&id=5&limit=10&offset=0

Example of Response Body

The following example shows the response returned in JSON format.

{
  "items": [
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "1"
        },
        {
          "system": "Customer Defined",
          "value": "S1_1"
        }
      ],
      "studyName": "STUDY1",
      "studyIdentifier": "1",
      "patientIdentifier": "P2_2",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/1/patients"
      },
      "name": {
        "text": "Juan MN1 Hernandez",
        "family": "Hernandez",
        "given": [
          "Juan",
          "MN1"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "01/01/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD11",
          "SADD21",
          "SADD31"
        ],
        "city": "C1",
        "district": "C1",
        "state": {
          "coding": [
            {
              "code": "1",
              "display": "State1",
              "description": "State1Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z1",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/1/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/1/ethnicity"
      }
    },
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "2"
        },
        {
          "system": "Customer Defined",
          "value": "S2_2"
        }
      ],
      "studyName": "STUDY1",
      "studyIdentifier": "1",
      "patientIdentifier": "P3_3",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/2/patients"
      },
      "name": {
        "text": "John MN2 Jones",
        "family": "Jones",
        "given": [
          "John",
          "MN2"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "01/14/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD12",
          "SADD22",
          "SADD32"
        ],
        "city": "C2",
        "district": "C2",
        "state": {
          "coding": [
            {
              "code": "2",
              "display": "State2",
              "description": "State2Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z2",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/2/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/2/ethnicity"
      }
    },
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "3"
        },
        {
          "system": "Customer Defined",
          "value": "S3_3"
        }
      ],
      "studyName": "STUDY1",
      "studyIdentifier": "1",
      "patientIdentifier": "P3_3",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/3/patients"
      },
      "name": {
        "text": "Hans MN3 Olsen",
        "family": "Olsen",
        "given": [
          "Hans",
          "MN3"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "01/27/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD13",
          "SADD23",
          "SADD33"
        ],
        "city": "C3",
        "district": "C3",
        "state": {
          "coding": [
            {
              "code": "0",
              "display": "State0",
              "description": "State0Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z3",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/3/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/3/ethnicity"
      }
    },
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "4"
        },
        {
          "system": "Customer Defined",
          "value": "S4_4"
        }
      ],
      "studyName": "STUDY2",
      "studyIdentifier": "2",
      "patientIdentifier": "P4_4",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/4/patients"
      },
      "name": {
        "text": "Mary MN4 Johnson",
        "family": "Johnson",
        "given": [
          "Mary",
          "MN4"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "02/09/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD14",
          "SADD24",
          "SADD34"
        ],
        "city": "C4",
        "district": "C4",
        "state": {
          "coding": [
            {
              "code": "1",
              "display": "State1",
              "description": "State1Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z4",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/4/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/4/ethnicity"
      }
    },
    {
      "identifiers": [
        {
          "system": "CDM",
          "value": "5"
        },
        {
          "system": "Customer Defined",
          "value": "S5_5"
        }
      ],
      "studyName": "STUDY1",
      "studyIdentifier": "1",
      "patientIdentifier": "P4_4",
      "patient": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/5/patients"
      },
      "name": {
        "text": "FN5 MN5 LN5",
        "family": "LN5",
        "given": [
          "FN5",
          "MN5"
        ]
      },
      "telecom": {
        "value": "info@oracle.com",
        "use": {
          "coding": [
            {
              "code": "CNTCT_INFO_SUBTYP_EML",
              "display": "Email",
              "description": "Communicate electronically on the computer",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "gender": {
        "coding": [
          {
            "code": "1",
            "display": "Male",
            "description": "Male",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "birthDate": "02/22/1945",
      "deceasedBoolean": false,
      "maritalStatus": {
        "coding": [
          {
            "code": "1",
            "display": "Married",
            "description": "Married",
            "sysId": "EHA_CUSTOM_CD_SYS",
            "sysName": "EHA Custom Code System",
            "sysVersion": "1"
          }
        ]
      },
      "address": {
        "line": [
          "SADD15",
          "SADD25",
          "SADD35"
        ],
        "city": "C5",
        "district": "C5",
        "state": {
          "coding": [
            {
              "code": "2",
              "display": "State2",
              "description": "State2Desc",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        },
        "postalCode": "Z5",
        "country": {
          "coding": [
            {
              "code": "1",
              "display": "USA",
              "description": "United state of America",
              "sysId": "EHA_CUSTOM_CD_SYS",
              "sysName": "EHA Custom Code System",
              "sysVersion": "1"
            }
          ]
        }
      },
      "race": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/5/race"
      },
      "ethnicity": {
        "reference": "/HSDataService-web/api/3.2.0/subjectapi/subjects/5/ethnicity"
      }
    }
  ],
  "count": 5,
  "hasMore": false,
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7001/HSDataService-web/api/3.2.0/subjectapi/subjects?id=1&id=2&id=3&id=4&id=5&limit=10&offset=0"
    }
  ]
}