PV API Service

<back to all web services

ClockwisePatientRegistrationRequest

POST the patient registration data to create a LogBook entry in PVM.

- LastName and FirstName are required and not allowed to be blank.
- Requires a passed datetime (VisitTime) for which to create the entry.
- The datetime value for VisitTime 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, in minutes, from UTC time as returned by the Date.prototype.getTimezoneOffset() method.
- DOB should be a date value formatted as 'YYYY-MM-DD'.
- IsWalkin, IsOnline, IsStaffAdded are required, one of which should be true.
- AppointmentId is required.
- Email is an optional field so it can be left out entirely. But if email is given it will be validated to verify format.

The following routes are available for this service:
POST, OPTIONS/Clockwise/PatientRegistration

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/ClockwisePatientRegistrationRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/json
Content-Length: length

{"practicePk":"00000000000000000000000000000000","clinicPk":"00000000000000000000000000000000","visitTime":0,"timezoneOffset":0,"lastName":"String","firstName":"String","dob":"0001-01-01T00:00:00.0000000","address1":"String","city":"String","state":"String","zip":"String","sex":"String","ssn":"String","phone":"String","cellPhone":"String","isOnline":false,"isWalkin":false,"isStaffAdded":false,"appointmentID":0,"email":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}