PV API Service

<back to all web services

MedPodCurrentPatientRequest

GET a current list of patients for an entire practice or for a given clinic of a practice. Requires a passed date (ServiceDate) to filter to the relevant date of service, the date value for ServiceDate should be passed as the number of Milliseconds since Unix Epoch (Jan 1 1970 12AM UTC) which is the standard javascript format returned using the Date.prototype.getTime() method. TimezoneOffset represents the current timezone offset from UTC time as returned by the Date.prototype.getTimezoneOffset() method.

The following routes are available for this service:
GET, OPTIONS/MedPod/CurrentPatients/{ServiceDate}/{TimezoneOffset}/{Practice}
GET, OPTIONS/MedPod/CurrentPatients/{ServiceDate}/{TimezoneOffset}/{Practice}/{ClinicName}

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/MedPodCurrentPatientRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/json
Content-Length: length

{"practice":"String","serviceDate":0,"timezoneOffset":0,"clinicName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"practices":[{"practice":"String","practicePk":"00000000000000000000000000000000","description":"String","clinics":[{"clinicName":"String","clinicNum":0,"clinicPk":"00000000000000000000000000000000","description":"String","currentPatients":[{"patNum":0,"patInfoPk":"00000000000000000000000000000000","lastName":"String","firstName":"String","preferredName":"String","sex":"String","birthDate":"String","age":"String","timeIn":0,"roomName":"String","logNum":0,"logDetailPk":"00000000000000000000000000000000","visitType":"String","medPodId":"String"}]}]}]}