Visit (Obsolete)

Visit import into PI Web

Obsolete

This class is obsolete. Please consider use of Visit2.

Visit Definition

FOTO defines a visit record as time spent with a single clinician

This API presents methods to add and delete patient visit information

SOAP Methods

SOAP Discovery

SOAP 1.1
    http://devs.patient-inquiry.com/visit/soap?wsdl
SOAP 1.2
    http://devs.patient-inquiry.com/visit/soap12?wsdl

APIVisitResponse[] Create(APIVisitInput apiVisitInput)

Insert a patient's visit with a clinician


APIVisitResponse Delete(string visitId)

Deletes a patient visit record

REST Methods

Resource URLs

REST XML
    http://devs.patient-inquiry.com/visit/ 
REST json
    http://devs.patient-inquiry.com/visit/json/ 

POST

Insert a patient's visit with a clinician

Parameter: APIVisitInput
Response: APIVisitResponse[]

Example Request: POST http://devs.patient-inquiry.com/visit/?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

DELETE

Deletes a patient visit record with the provided visitId>

Parameter: visitId
Response: APIVisitResponse

Example Request: DELETE http://devs.patient-inquiry.com/visit/FOTOVisitId?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

Supporting Objects and Structures (order matters when using XML)

  public class APIVisitInput
  {
    public string ClinicianType;
    public string ExternalEpisodeId;
    public int MinutesSpent;
    public DateTime VisitDate;
  }
  public class APIVisitResponse
  {
    public int EpisodeId;
    public string ExternalEpisodeId;
    public int MessageID;
    public bool Success;
    public string Text;
    public int VisitId;
  }
Recognized ClinicianType Values - Any values outside of this list will be set to "Other"
    NA,
    ATC,
    COTA,
    DC,
    DPT,
    EP,
    LPN,
    MPT,
    MSPT,
    OT,
    PhD,
    PT,
    PTA,
    RN,
    SLP,
    OTR,
    SPT,
    CCCSLP,
    ST,
    RT,
    Other