DataService

<back to all web services

PatientGet

Requires Authentication
The following routes are available for this service:
GET/data-api/v1/{clientid}/patients/{id}
PatientGet Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
RequestBase Parameters:
NameParameterData TypeRequiredDescription
ClientIdformstringNo
PatientDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FirstNameformstringNo
MiddleNameformstringNo
LastNameformstringNo
CaseTypeformstringNo
ContactInfoformPatientContactInfoNo
DemographicsformPatientDemographicsNo
ProviderformEntityReferenceNo
AppointmentformPatientAppointmentInfoNo
PatientContactInfo Parameters:
NameParameterData TypeRequiredDescription
MobileformstringNo
EmailformstringNo
PatientDemographics Parameters:
NameParameterData TypeRequiredDescription
BirthdateformDateTime?No
SexformstringNo
EntityReference Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DisplayNameformstringNo
PatientAppointmentInfo Parameters:
NameParameterData TypeRequiredDescription
PurposeformstringNo
DateformDateTimeNo
LengthformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /data-api/v1/{clientid}/patients/{id} HTTP/1.1 
Host: dataservice.mychirotouch.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PatientDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ips.ChiroTouch.DataService.Model.Core">
  <Appointment>
    <Date>0001-01-01T00:00:00</Date>
    <Length>0</Length>
    <Purpose>String</Purpose>
  </Appointment>
  <CaseType>String</CaseType>
  <ContactInfo>
    <Email>String</Email>
    <Mobile>String</Mobile>
  </ContactInfo>
  <Demographics>
    <Birthdate>0001-01-01T00:00:00</Birthdate>
    <Sex>String</Sex>
  </Demographics>
  <FirstName>String</FirstName>
  <Id>0</Id>
  <LastName>String</LastName>
  <MiddleName>String</MiddleName>
  <Provider xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ips.ChiroTouch.DataService.Model">
    <d2p1:DisplayName>String</d2p1:DisplayName>
    <d2p1:Id>0</d2p1:Id>
  </Provider>
</PatientDto>