Difference between revisions of "Template:Json Patients Block - CSharp"

From Updox API
Jump to: navigation, search
Line 1: Line 1:
    patients = new[] {
+
      patients = new[] {
          new {
+
        new {
            id = 123, // not used and can be ignored
+
          id = 123, // not used and can be ignored
            chartNumber = 234,
+
          chartNumber = 234,
            internalId = 345,
+
          internalId = 345,
            firstName = "firstName",
+
          firstName = "firstName",
            middleName = "middleName",
+
          middleName = "middleName",
            lastName = "lastName",
+
          lastName = "lastName",
            sex = "male",
+
          sex = "male",
 +
          address1 = "address1",
 +
          address2 = "address2",
 +
          city = "Columbus",
 +
          state = "OH",
 +
          zip5 = "43017",
 +
          dob = "2015-12-30",
 +
          emailAddress = "valid@email.com",
 +
          homePhone = "6141231234",
 +
          workPhone = "6149879876",
 +
          workExtension = "x112",
 +
          mobileNumber = "6145675678",
 +
          faxNumber = "6145435432",
 +
          active = true,
 +
          contactType = "patient",
 +
          defaultProvider = "defaultProvider",
 +
          maritalStatus = "married",
 +
          primaryInsurance = new {
 +
            companyName = "companyName1",
 +
            phoneNumber = "6141231234",
 
             address1 = "address1",
 
             address1 = "address1",
 
             address2 = "address2",
 
             address2 = "address2",
 
             city = "Columbus",
 
             city = "Columbus",
 
             state = "OH",
 
             state = "OH",
             zip5 = "43017",
+
             zip = "43017",
             dob = "2015-12-30",
+
             policyNumber = "policyNumber",
            emailAddress = "valid@email.com",
+
            groupNumber = "groupNumber",
            homePhone = "6141231234",
+
            planName = "planName",
            workPhone = "6149879876",
+
            groupName = "groupName",
            workExtension = "x112",
+
            effectiveDate = "2015-12-30",
            mobileNumber = "6145675678",
+
            expirationDate = "2016-12-30",
            faxNumber = "6145435432",
+
            guarantorRelationship = "guarantorRelationship",
            active = true,
+
            guarantorName = "guarantorName",
            contactType = "patient",
+
            guarantorFirstName = "guarantorFirstName",
            defaultProvider = "defaultProvider",
+
            guarantorMiddleName = "guarantorMiddleName",
            maritalStatus = "married",
+
            guarantorLastName = "guarantorLastName",
            primaryInsurance = new {
+
            guarantorDob = "1978-10-20",
              companyName = "companyName1",
+
            guarantorGender = "male",
              phoneNumber = "6141231234",
+
            copayAmount = 50
              address1 = "address1",
+
          },
              address2 = "address2",
+
          secondaryInsurance = new {
              city = "Columbus",
+
            companyName = "companyName2",
              state = "OH",
+
            phoneNumber = "6141231234",
              zip = "43017",
+
            address1 = "address1",
              policyNumber = "policyNumber",
+
            address2 = "address2",
              groupNumber = "groupNumber",
+
            city = "Columbus",
              planName = "planName",
+
            state = "OH",
              groupName = "groupName",
+
            zip = "43017",
              effectiveDate = "2015-12-30",
+
            policyNumber = "policyNumber",
              expirationDate = "2016-12-30",
+
            groupNumber = "groupNumber",
              guarantorRelationship = "guarantorRelationship",
+
            planName = "planName",
              guarantorName = "guarantorName",
+
            groupName = "groupName",
              guarantorFirstName = "guarantorFirstName",
+
            effectiveDate = "2015-12-30",
              guarantorMiddleName = "guarantorMiddleName",
+
            expirationDate = "2016-12-30",
              guarantorLastName = "guarantorLastName",
+
            guarantorRelationship = "guarantorRelationship",
              guarantorDob = "1978-10-20",
+
            guarantorName = "guarantorName",
              guarantorGender = "male",
+
            guarantorFirstName = "guarantorFirstName",
              copayAmount = 50
+
            guarantorMiddleName = "guarantorMiddleName",
            },
+
            guarantorLastName = "guarantorLastName",
            secondaryInsurance = new {
+
            guarantorDob = "1978-10-20",
              companyName = "companyName2",
+
            guarantorGender = "female",
              phoneNumber = "6141231234",
+
            copayAmount = 50
              address1 = "address1",
+
              address2 = "address2",
+
              city = "Columbus",
+
              state = "OH",
+
              zip = "43017",
+
              policyNumber = "policyNumber",
+
              groupNumber = "groupNumber",
+
              planName = "planName",
+
              groupName = "groupName",
+
              effectiveDate = "2015-12-30",
+
              expirationDate = "2016-12-30",
+
              guarantorRelationship = "guarantorRelationship",
+
              guarantorName = "guarantorName",
+
              guarantorFirstName = "guarantorFirstName",
+
              guarantorMiddleName = "guarantorMiddleName",
+
              guarantorLastName = "guarantorLastName",
+
              guarantorDob = "1978-10-20",
+
              guarantorGender = "female",
+
              copayAmount = 50
+
            }
+
 
           }
 
           }
 
         }
 
         }
 +
      }

Revision as of 21:37, 11 December 2015

     patients = new[] {
       new {
         id = 123, // not used and can be ignored
         chartNumber = 234,
         internalId = 345,
         firstName = "firstName",
         middleName = "middleName",
         lastName = "lastName",
         sex = "male",
         address1 = "address1",
         address2 = "address2",
         city = "Columbus",
         state = "OH",
         zip5 = "43017",
         dob = "2015-12-30",
         emailAddress = "valid@email.com",
         homePhone = "6141231234",
         workPhone = "6149879876",
         workExtension = "x112",
         mobileNumber = "6145675678",
         faxNumber = "6145435432",
         active = true,
         contactType = "patient",
         defaultProvider = "defaultProvider",
         maritalStatus = "married",
         primaryInsurance = new {
           companyName = "companyName1",
           phoneNumber = "6141231234",
           address1 = "address1",
           address2 = "address2",
           city = "Columbus",
           state = "OH",
           zip = "43017",
           policyNumber = "policyNumber",
           groupNumber = "groupNumber",
           planName = "planName",
           groupName = "groupName",
           effectiveDate = "2015-12-30",
           expirationDate = "2016-12-30",
           guarantorRelationship = "guarantorRelationship",
           guarantorName = "guarantorName",
           guarantorFirstName = "guarantorFirstName",
           guarantorMiddleName = "guarantorMiddleName",
           guarantorLastName = "guarantorLastName",
           guarantorDob = "1978-10-20",
           guarantorGender = "male",
           copayAmount = 50
         },
         secondaryInsurance = new {
           companyName = "companyName2",
           phoneNumber = "6141231234",
           address1 = "address1",
           address2 = "address2",
           city = "Columbus",
           state = "OH",
           zip = "43017",
           policyNumber = "policyNumber",
           groupNumber = "groupNumber",
           planName = "planName",
           groupName = "groupName",
           effectiveDate = "2015-12-30",
           expirationDate = "2016-12-30",
           guarantorRelationship = "guarantorRelationship",
           guarantorName = "guarantorName",
           guarantorFirstName = "guarantorFirstName",
           guarantorMiddleName = "guarantorMiddleName",
           guarantorLastName = "guarantorLastName",
           guarantorDob = "1978-10-20",
           guarantorGender = "female",
           copayAmount = 50
         }
       }
     }