POST api/v{version}/laboratory/{laboratoryId}/adt

Request Information

URI Parameters

NameDescriptionTypeAdditional information
laboratoryId

integer

Required

version

string

None.

Body Parameters

ADTMessageModel
NameDescriptionTypeAdditional information
MedicaidID

string

String length: inclusive between 0 and 15

MPI

string

Required

String length: inclusive between 1 and 50

PatientClass

string

Required

String length: inclusive between 1 and 1

PatientClassDesc

string

Required

String length: inclusive between 1 and 50

MessageType

string

Required

String length: inclusive between 3 and 3

MessageDate

date

None.

MessageControlID

string

Required

String length: inclusive between 0 and 50

AttendingProvider

string

String length: inclusive between 0 and 50

AdmissionSource

string

String length: inclusive between 0 and 50

AdmissionDate

date

None.

DischargeDate

date

None.

DiagnosisCode

string

String length: inclusive between 0 and 15

DiagnosisCodeDesc

string

String length: inclusive between 0 and 500

DrgCode

string

String length: inclusive between 0 and 15

DrgCodeDesc

string

String length: inclusive between 0 and 500

DischargeDisposition

string

String length: inclusive between 0 and 50

SendingFacilityName

string

String length: inclusive between 0 and 50

SendingFacilityAddress

string

String length: inclusive between 0 and 100

LevelOfCare

string

String length: inclusive between 0 and 50

PatientPCP

string

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "medicaidID": "sample string 1",
  "mpi": "sample string 2",
  "patientClass": "sample string 3",
  "patientClassDesc": "sample string 4",
  "messageType": "sample string 5",
  "messageDate": "2024-10-30T09:11:27.7428118-07:00",
  "messageControlID": "sample string 6",
  "attendingProvider": "sample string 7",
  "admissionSource": "sample string 8",
  "admissionDate": "2024-10-30T09:11:27.7428118-07:00",
  "dischargeDate": "2024-10-30T09:11:27.7428118-07:00",
  "diagnosisCode": "sample string 9",
  "diagnosisCodeDesc": "sample string 10",
  "drgCode": "sample string 11",
  "drgCodeDesc": "sample string 12",
  "dischargeDisposition": "sample string 13",
  "sendingFacilityName": "sample string 14",
  "sendingFacilityAddress": "sample string 15",
  "levelOfCare": "sample string 16",
  "patientPCP": "sample string 17"
}

application/xml, text/xml

Sample:
<ADTMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Models">
  <AdmissionDate>2024-10-30T09:11:27.7428118-07:00</AdmissionDate>
  <AdmissionSource>sample string 8</AdmissionSource>
  <AttendingProvider>sample string 7</AttendingProvider>
  <DiagnosisCode>sample string 9</DiagnosisCode>
  <DiagnosisCodeDesc>sample string 10</DiagnosisCodeDesc>
  <DischargeDate>2024-10-30T09:11:27.7428118-07:00</DischargeDate>
  <DischargeDisposition>sample string 13</DischargeDisposition>
  <DrgCode>sample string 11</DrgCode>
  <DrgCodeDesc>sample string 12</DrgCodeDesc>
  <LevelOfCare>sample string 16</LevelOfCare>
  <MPI>sample string 2</MPI>
  <MedicaidID>sample string 1</MedicaidID>
  <MessageControlID>sample string 6</MessageControlID>
  <MessageDate>2024-10-30T09:11:27.7428118-07:00</MessageDate>
  <MessageType>sample string 5</MessageType>
  <PatientClass>sample string 3</PatientClass>
  <PatientClassDesc>sample string 4</PatientClassDesc>
  <PatientPCP>sample string 17</PatientPCP>
  <SendingFacilityAddress>sample string 15</SendingFacilityAddress>
  <SendingFacilityName>sample string 14</SendingFacilityName>
</ADTMessageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfIEnumerableOfADTMessageListItem
NameDescriptionTypeAdditional information
Data

Collection of ADTMessageListItem

None.

StatusCode

Gets or sets the status code.

HttpStatusCode

None.

StatusDescription

Gets or sets the status description.

string

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "adtMessageID": 1,
      "laboratoryID": 2,
      "medicaidID": "sample string 3",
      "mpi": "sample string 4",
      "patientClass": "sample string 5",
      "messageType": "sample string 6",
      "subjectID": 7,
      "messageTypeDescription": "sample string 6",
      "messageDate": "2024-10-30T09:11:27.7905776-07:00",
      "messageControlID": "sample string 8",
      "attendingProvider": "sample string 9",
      "admissionSource": "sample string 10",
      "admissionDate": "2024-10-30T09:11:27.7905776-07:00",
      "dischargeDate": "2024-10-30T09:11:27.7905776-07:00",
      "diagnosisCode": "sample string 11",
      "diagnosisCodeDesc": "sample string 12",
      "drgCode": "sample string 13",
      "drgCodeDesc": "sample string 14",
      "dischargeDisposition": "sample string 15",
      "sendingFacilityName": "sample string 16",
      "sendingFacilityAddress": "sample string 17",
      "patientName": "sample string 18",
      "dismissDate": "2024-10-30T09:11:27.7905776-07:00"
    },
    {
      "adtMessageID": 1,
      "laboratoryID": 2,
      "medicaidID": "sample string 3",
      "mpi": "sample string 4",
      "patientClass": "sample string 5",
      "messageType": "sample string 6",
      "subjectID": 7,
      "messageTypeDescription": "sample string 6",
      "messageDate": "2024-10-30T09:11:27.7905776-07:00",
      "messageControlID": "sample string 8",
      "attendingProvider": "sample string 9",
      "admissionSource": "sample string 10",
      "admissionDate": "2024-10-30T09:11:27.7905776-07:00",
      "dischargeDate": "2024-10-30T09:11:27.7905776-07:00",
      "diagnosisCode": "sample string 11",
      "diagnosisCodeDesc": "sample string 12",
      "drgCode": "sample string 13",
      "drgCodeDesc": "sample string 14",
      "dischargeDisposition": "sample string 15",
      "sendingFacilityName": "sample string 16",
      "sendingFacilityAddress": "sample string 17",
      "patientName": "sample string 18",
      "dismissDate": "2024-10-30T09:11:27.7905776-07:00"
    }
  ],
  "statusCode": 100,
  "statusDescription": "sample string 1",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfADTMessageListItemuFpbgzW1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Response">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <StatusCode>Continue</StatusCode>
  <StatusDescription>sample string 1</StatusDescription>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DomainObjects">
    <d2p1:ADTMessageListItem>
      <d2p1:ADTMessageID>1</d2p1:ADTMessageID>
      <d2p1:AdmissionDate>2024-10-30T09:11:27.7905776-07:00</d2p1:AdmissionDate>
      <d2p1:AdmissionSource>sample string 10</d2p1:AdmissionSource>
      <d2p1:AttendingProvider>sample string 9</d2p1:AttendingProvider>
      <d2p1:DiagnosisCode>sample string 11</d2p1:DiagnosisCode>
      <d2p1:DiagnosisCodeDesc>sample string 12</d2p1:DiagnosisCodeDesc>
      <d2p1:DischargeDate>2024-10-30T09:11:27.7905776-07:00</d2p1:DischargeDate>
      <d2p1:DischargeDisposition>sample string 15</d2p1:DischargeDisposition>
      <d2p1:DismissDate>2024-10-30T09:11:27.7905776-07:00</d2p1:DismissDate>
      <d2p1:DrgCode>sample string 13</d2p1:DrgCode>
      <d2p1:DrgCodeDesc>sample string 14</d2p1:DrgCodeDesc>
      <d2p1:LaboratoryID>2</d2p1:LaboratoryID>
      <d2p1:MPI>sample string 4</d2p1:MPI>
      <d2p1:MedicaidID>sample string 3</d2p1:MedicaidID>
      <d2p1:MessageControlID>sample string 8</d2p1:MessageControlID>
      <d2p1:MessageDate>2024-10-30T09:11:27.7905776-07:00</d2p1:MessageDate>
      <d2p1:MessageType>sample string 6</d2p1:MessageType>
      <d2p1:PatientClass>sample string 5</d2p1:PatientClass>
      <d2p1:PatientName>sample string 18</d2p1:PatientName>
      <d2p1:SendingFacilityAddress>sample string 17</d2p1:SendingFacilityAddress>
      <d2p1:SendingFacilityName>sample string 16</d2p1:SendingFacilityName>
      <d2p1:SubjectID>7</d2p1:SubjectID>
    </d2p1:ADTMessageListItem>
    <d2p1:ADTMessageListItem>
      <d2p1:ADTMessageID>1</d2p1:ADTMessageID>
      <d2p1:AdmissionDate>2024-10-30T09:11:27.7905776-07:00</d2p1:AdmissionDate>
      <d2p1:AdmissionSource>sample string 10</d2p1:AdmissionSource>
      <d2p1:AttendingProvider>sample string 9</d2p1:AttendingProvider>
      <d2p1:DiagnosisCode>sample string 11</d2p1:DiagnosisCode>
      <d2p1:DiagnosisCodeDesc>sample string 12</d2p1:DiagnosisCodeDesc>
      <d2p1:DischargeDate>2024-10-30T09:11:27.7905776-07:00</d2p1:DischargeDate>
      <d2p1:DischargeDisposition>sample string 15</d2p1:DischargeDisposition>
      <d2p1:DismissDate>2024-10-30T09:11:27.7905776-07:00</d2p1:DismissDate>
      <d2p1:DrgCode>sample string 13</d2p1:DrgCode>
      <d2p1:DrgCodeDesc>sample string 14</d2p1:DrgCodeDesc>
      <d2p1:LaboratoryID>2</d2p1:LaboratoryID>
      <d2p1:MPI>sample string 4</d2p1:MPI>
      <d2p1:MedicaidID>sample string 3</d2p1:MedicaidID>
      <d2p1:MessageControlID>sample string 8</d2p1:MessageControlID>
      <d2p1:MessageDate>2024-10-30T09:11:27.7905776-07:00</d2p1:MessageDate>
      <d2p1:MessageType>sample string 6</d2p1:MessageType>
      <d2p1:PatientClass>sample string 5</d2p1:PatientClass>
      <d2p1:PatientName>sample string 18</d2p1:PatientName>
      <d2p1:SendingFacilityAddress>sample string 17</d2p1:SendingFacilityAddress>
      <d2p1:SendingFacilityName>sample string 16</d2p1:SendingFacilityName>
      <d2p1:SubjectID>7</d2p1:SubjectID>
    </d2p1:ADTMessageListItem>
  </Data>
</ResponseOfArrayOfADTMessageListItemuFpbgzW1>