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",
+
            address1 = "address1",
        address2 = "address2",
+
            address2 = "address2",
        city = "Columbus",
+
            city = "Columbus",
        state = "OH",
+
            state = "OH",
        zip5 = "43017",
+
            zip5 = "43017",
        dob = "2015-12-30",
+
            dob = "2015-12-30",
        emailAddress = "valid@email.com",
+
            emailAddress = "valid@email.com",
        homePhone = "6141231234",
+
            homePhone = "6141231234",
        workPhone = "6149879876",
+
            workPhone = "6149879876",
        workExtension = "x112",
+
            workExtension = "x112",
        mobileNumber = "6145675678",
+
            mobileNumber = "6145675678",
        faxNumber = "6145435432",
+
            faxNumber = "6145435432",
        active = true,
+
            active = true,
        contactType = "patient",
+
            contactType = "patient",
        defaultProvider = "defaultProvider",
+
            defaultProvider = "defaultProvider",
        maritalStatus = "married",
+
            maritalStatus = "married",
        primaryInsurance = new {
+
            primaryInsurance = new {
          companyName = "companyName1",
+
              companyName = "companyName1",
          phoneNumber = "6141231234",
+
              phoneNumber = "6141231234",
          address1 = "address1",
+
              address1 = "address1",
          address2 = "address2",
+
              address2 = "address2",
          city = "Columbus",
+
              city = "Columbus",
          state = "OH",
+
              state = "OH",
          zip = "43017",
+
              zip = "43017",
          policyNumber = "policyNumber",
+
              policyNumber = "policyNumber",
          groupNumber = "groupNumber",
+
              groupNumber = "groupNumber",
          planName = "planName",
+
              planName = "planName",
          groupName = "groupName",
+
              groupName = "groupName",
          effectiveDate = "2015-12-30",
+
              effectiveDate = "2015-12-30",
          expirationDate = "2016-12-30",
+
              expirationDate = "2016-12-30",
          guarantorRelationship = "guarantorRelationship",
+
              guarantorRelationship = "guarantorRelationship",
          guarantorName = "guarantorName",
+
              guarantorName = "guarantorName",
          guarantorFirstName = "guarantorFirstName",
+
              guarantorFirstName = "guarantorFirstName",
          guarantorMiddleName = "guarantorMiddleName",
+
              guarantorMiddleName = "guarantorMiddleName",
          guarantorLastName = "guarantorLastName",
+
              guarantorLastName = "guarantorLastName",
          guarantorDob = "1978-10-20",
+
              guarantorDob = "1978-10-20",
          guarantorGender = "male",
+
              guarantorGender = "male",
          copayAmount = 50
+
              copayAmount = 50
        },
+
            },
        secondaryInsurance = new {
+
            secondaryInsurance = new {
          companyName = "companyName2",
+
              companyName = "companyName2",
          phoneNumber = "6141231234",
+
              phoneNumber = "6141231234",
          address1 = "address1",
+
              address1 = "address1",
          address2 = "address2",
+
              address2 = "address2",
          city = "Columbus",
+
              city = "Columbus",
          state = "OH",
+
              state = "OH",
          zip = "43017",
+
              zip = "43017",
          policyNumber = "policyNumber",
+
              policyNumber = "policyNumber",
          groupNumber = "groupNumber",
+
              groupNumber = "groupNumber",
          planName = "planName",
+
              planName = "planName",
          groupName = "groupName",
+
              groupName = "groupName",
          effectiveDate = "2015-12-30",
+
              effectiveDate = "2015-12-30",
          expirationDate = "2016-12-30",
+
              expirationDate = "2016-12-30",
          guarantorRelationship = "guarantorRelationship",
+
              guarantorRelationship = "guarantorRelationship",
          guarantorName = "guarantorName",
+
              guarantorName = "guarantorName",
          guarantorFirstName = "guarantorFirstName",
+
              guarantorFirstName = "guarantorFirstName",
          guarantorMiddleName = "guarantorMiddleName",
+
              guarantorMiddleName = "guarantorMiddleName",
          guarantorLastName = "guarantorLastName",
+
              guarantorLastName = "guarantorLastName",
          guarantorDob = "1978-10-20",
+
              guarantorDob = "1978-10-20",
          guarantorGender = "female",
+
              guarantorGender = "female",
          copayAmount = 50
+
              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
           }
         }
       }