PV API Service

<back to all web services

VisitRequest

GET a response as to whether the visit was sent to Auto Charge Entry or not.

The following routes are available for this service:
GET, OPTIONS/AutoChargeEntry/Billing/Visits

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

HTTP + XML

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

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

<VisitRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.AutoChargeEntry.DataModel.Billing.AutoCode">
  <ClinicPk>00000000-0000-0000-0000-000000000000</ClinicPk>
  <CreatedOn>0001-01-01T00:00:00</CreatedOn>
  <CreatedUserId>String</CreatedUserId>
  <CreatedUserNumber>0</CreatedUserNumber>
  <DateOfService>0001-01-01T00:00:00</DateOfService>
  <PracticePk>00000000-0000-0000-0000-000000000000</PracticePk>
</VisitRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<VisitResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.AutoChargeEntry.DataModel.Billing.AutoCode">
  <VisitsToCharge xmlns:d2p1="http://schemas.datacontract.org/2004/07/PV.AutoChargeEntry.DataModel.POCOs">
    <d2p1:Visit>
      <d2p1:AdmitDate>0001-01-01T00:00:00</d2p1:AdmitDate>
      <d2p1:AutoCodesEligibility>
        <d2p1:AfterHoursEnabled>false</d2p1:AfterHoursEnabled>
        <d2p1:CaseRateEnabled>false</d2p1:CaseRateEnabled>
        <d2p1:UrgentCareEnabled>false</d2p1:UrgentCareEnabled>
      </d2p1:AutoCodesEligibility>
      <d2p1:ClinicId>00000000-0000-0000-0000-000000000000</d2p1:ClinicId>
      <d2p1:CreatedId>String</d2p1:CreatedId>
      <d2p1:CreatedOn>String</d2p1:CreatedOn>
      <d2p1:CreatedUserNumber>0</d2p1:CreatedUserNumber>
      <d2p1:Diagnosis>
        <d2p1:Diagnosis>
          <d2p1:DiagCodePk>00000000-0000-0000-0000-000000000000</d2p1:DiagCodePk>
          <d2p1:Icd10DiagCode>String</d2p1:Icd10DiagCode>
          <d2p1:Icd9DiagCode>String</d2p1:Icd9DiagCode>
          <d2p1:Priority>0</d2p1:Priority>
          <d2p1:Snomed>String</d2p1:Snomed>
        </d2p1:Diagnosis>
      </d2p1:Diagnosis>
      <d2p1:DischargeDate>0001-01-01T00:00:00</d2p1:DischargeDate>
      <d2p1:EmService>
        <d2p1:AssociatedDiagnosis>
          <d2p1:Diagnosis>
            <d2p1:DiagCodePk>00000000-0000-0000-0000-000000000000</d2p1:DiagCodePk>
            <d2p1:Icd10DiagCode>String</d2p1:Icd10DiagCode>
            <d2p1:Icd9DiagCode>String</d2p1:Icd9DiagCode>
            <d2p1:Priority>0</d2p1:Priority>
            <d2p1:Snomed>String</d2p1:Snomed>
          </d2p1:Diagnosis>
        </d2p1:AssociatedDiagnosis>
        <d2p1:CodeOverride>false</d2p1:CodeOverride>
        <d2p1:CptCode>String</d2p1:CptCode>
        <d2p1:DateOfService>0001-01-01T00:00:00</d2p1:DateOfService>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:Modifier xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </d2p1:Modifier>
        <d2p1:SuggestedCptCode>String</d2p1:SuggestedCptCode>
      </d2p1:EmService>
      <d2p1:EmServiceCptCodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:EmServiceCptCodes>
      <d2p1:Fees>
        <d2p1:FeeScheduleItem>
          <d2p1:ArAmount>
            <d2p1:Amount>0</d2p1:Amount>
            <d2p1:Currency>String</d2p1:Currency>
          </d2p1:ArAmount>
          <d2p1:Billable>false</d2p1:Billable>
          <d2p1:ChargeAmount>
            <d2p1:Amount>0</d2p1:Amount>
            <d2p1:Currency>String</d2p1:Currency>
          </d2p1:ChargeAmount>
          <d2p1:Description>String</d2p1:Description>
          <d2p1:FeeId>00000000-0000-0000-0000-000000000000</d2p1:FeeId>
          <d2p1:Modifier>String</d2p1:Modifier>
          <d2p1:ProcCode>String</d2p1:ProcCode>
          <d2p1:RevCode>String</d2p1:RevCode>
        </d2p1:FeeScheduleItem>
      </d2p1:Fees>
      <d2p1:LogNumber>0</d2p1:LogNumber>
      <d2p1:PatientId>00000000-0000-0000-0000-000000000000</d2p1:PatientId>
      <d2p1:Payers>
        <d2p1:VisitPayer>
          <d2p1:AuthorizationNumber>String</d2p1:AuthorizationNumber>
          <d2p1:EmcPid>String</d2p1:EmcPid>
          <d2p1:FinancialClass>String</d2p1:FinancialClass>
          <d2p1:ICDType>0</d2p1:ICDType>
          <d2p1:OrderOfResponsibility>String</d2p1:OrderOfResponsibility>
          <d2p1:PayerId>00000000-0000-0000-0000-000000000000</d2p1:PayerId>
          <d2p1:PayerType>String</d2p1:PayerType>
          <d2p1:WantsAllChargeLines>false</d2p1:WantsAllChargeLines>
          <d2p1:requiresNDC>false</d2p1:requiresNDC>
        </d2p1:VisitPayer>
      </d2p1:Payers>
      <d2p1:Payments>
        <d2p1:Payment>
          <d2p1:Amount>
            <d2p1:Amount>0</d2p1:Amount>
            <d2p1:Currency>String</d2p1:Currency>
          </d2p1:Amount>
          <d2p1:Notes>String</d2p1:Notes>
          <d2p1:PayerId>00000000-0000-0000-0000-000000000000</d2p1:PayerId>
          <d2p1:PaymentCategory>String</d2p1:PaymentCategory>
          <d2p1:PaymentId>00000000-0000-0000-0000-000000000000</d2p1:PaymentId>
          <d2p1:PaymentType>String</d2p1:PaymentType>
        </d2p1:Payment>
      </d2p1:Payments>
      <d2p1:PracticeId>00000000-0000-0000-0000-000000000000</d2p1:PracticeId>
      <d2p1:Protocols>
        <d2p1:Protocol>
          <d2p1:PracticeId>00000000-0000-0000-0000-000000000000</d2p1:PracticeId>
          <d2p1:Procedures>
            <d2p1:Procedure>
              <d2p1:ArAmount>
                <d2p1:Amount>0</d2p1:Amount>
                <d2p1:Currency>String</d2p1:Currency>
              </d2p1:ArAmount>
              <d2p1:Charge>
                <d2p1:Amount>0</d2p1:Amount>
                <d2p1:Currency>String</d2p1:Currency>
              </d2p1:Charge>
              <d2p1:CptCode>String</d2p1:CptCode>
              <d2p1:Description>String</d2p1:Description>
              <d2p1:IsOverridden>false</d2p1:IsOverridden>
              <d2p1:PayerId>00000000-0000-0000-0000-000000000000</d2p1:PayerId>
            </d2p1:Procedure>
          </d2p1:Procedures>
          <d2p1:ProtocolId>00000000-0000-0000-0000-000000000000</d2p1:ProtocolId>
        </d2p1:Protocol>
      </d2p1:Protocols>
      <d2p1:ProviderCredentials>String</d2p1:ProviderCredentials>
      <d2p1:ProviderId>00000000-0000-0000-0000-000000000000</d2p1:ProviderId>
      <d2p1:ProviderRequiresCredentialing>false</d2p1:ProviderRequiresCredentialing>
      <d2p1:SelfPay>false</d2p1:SelfPay>
      <d2p1:Services>
        <d2p1:Service>
          <d2p1:AssociatedDiagnosis>
            <d2p1:Diagnosis>
              <d2p1:DiagCodePk>00000000-0000-0000-0000-000000000000</d2p1:DiagCodePk>
              <d2p1:Icd10DiagCode>String</d2p1:Icd10DiagCode>
              <d2p1:Icd9DiagCode>String</d2p1:Icd9DiagCode>
              <d2p1:Priority>0</d2p1:Priority>
              <d2p1:Snomed>String</d2p1:Snomed>
            </d2p1:Diagnosis>
          </d2p1:AssociatedDiagnosis>
          <d2p1:Charge>
            <d2p1:Amount>0</d2p1:Amount>
            <d2p1:Currency>String</d2p1:Currency>
          </d2p1:Charge>
          <d2p1:CptCode>String</d2p1:CptCode>
          <d2p1:DateOfService>0001-01-01T00:00:00</d2p1:DateOfService>
          <d2p1:Description>String</d2p1:Description>
          <d2p1:IsDMECode>false</d2p1:IsDMECode>
          <d2p1:IsLab>false</d2p1:IsLab>
          <d2p1:IsXRay>false</d2p1:IsXRay>
          <d2p1:Modifier xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d2p1:Modifier>
          <d2p1:Quantity>0</d2p1:Quantity>
        </d2p1:Service>
      </d2p1:Services>
      <d2p1:VisitId>00000000-0000-0000-0000-000000000000</d2p1:VisitId>
      <d2p1:VisitSigned>false</d2p1:VisitSigned>
      <d2p1:VisitType>String</d2p1:VisitType>
    </d2p1:Visit>
  </VisitsToCharge>
  <rcmResponse>false</rcmResponse>
</VisitResponse>