GET api/MedicalCode/GetIcd9PcsList?idStartsWith={idStartsWith}&searchString={searchString}&pageSize={pageSize}&page={page}

List ICD-9-PCS codes associated with the specified search string, page size, and page number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idStartsWith

ID starts with.

string

Required

searchString

Search string.

string

Required

pageSize

Page size.

integer

Required

page

Page number.

integer

Required

Body Parameters

None.

Response Information

Resource Description

CodeList
NameDescriptionTypeAdditional information
codes

Collection of CodeModel

None.

Response Formats

application/json, text/json

Sample:
{
  "codes": [
    {
      "code": "sample string 1",
      "short_desc": "sample string 2",
      "long_desc": "sample string 3"
    },
    {
      "code": "sample string 1",
      "short_desc": "sample string 2",
      "long_desc": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<CodeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediProvider.Models">
  <codes>
    <CodeModel>
      <code>sample string 1</code>
      <long_desc>sample string 3</long_desc>
      <short_desc>sample string 2</short_desc>
    </CodeModel>
    <CodeModel>
      <code>sample string 1</code>
      <long_desc>sample string 3</long_desc>
      <short_desc>sample string 2</short_desc>
    </CodeModel>
  </codes>
</CodeList>