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

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

Latest revision as of 21:51, 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
         }
       }
     },