This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
subtypes: { ... }, | |
frequency_id: value, | |
frequency: { ... }, | |
description: string, | |
code: string, | |
category_id: value, | |
category: { ... }, | |
sections: [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Tim Warren | |
" http://github.com/kreas | |
" | |
" Version: | |
" 1.1 - 2016-08-12 | |
" | |
" Sections: | |
" * Vundle Packages & Setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Just do | |
defstruct value: nil | |
end | |
defmodule Nothing do | |
defstruct value: nil | |
end | |
defmodule Maybe do | |
defstruct id: :nothing, value: nil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
order = Order.find(id) | |
order.address = order.patient.address unless order.address | |
order.save |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Tim Warren | |
" http://github.com/kreas | |
" | |
" Version: | |
" 1.1 - 2016-08-12 | |
" | |
" Sections: | |
" * Vundle Packages & Setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta_data": { | |
"total_pages": 229, | |
"total_entries": 2283, | |
"page_size": 10, | |
"page_number": 2, | |
}, | |
"data": [ | |
{ | |
"user_defined_fields": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From the rails productio console | |
# Set up the client connection to Twilio | |
client = Twilio::REST::Client.new TWILIO_SID, TWILIO_TOKEN | |
# Get the "main" queue, or the queue where a call is stuck. | |
main = Twilio::CallQueue.get_queue("main") | |
# You can see how many calls are in the queue by running | |
main.current_size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUBTYPE_DEFINITIONS = { | |
# Indor Modular AHU | |
'23.73.13': { | |
min_outdoor_damper: { | |
descritpion: "Min Outdoor Damper?", | |
type: "boolean", | |
required: false, | |
column_name: | |
}, | |
integral_return_fan: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add WalkIn to the headers | |
headers <- c("AccountNumber", "FirstName", "LastName", "PhoneNumber","MobileNumber", "Email", "DOB", "StreetAddress", | |
"City", "State", "Zip", "InsuranceCompany", "Insurance", "ProductCode", "ItemID", | |
"ItemName", "ServiceDate", "EligibilityDate", "SleepCoach", "DelayedActivationDate","Branch","Qty", "Allowable", "WalkIn") | |
# Add this block somewhere in for processor before rm(patients) Bright Tree | |
output$WalkIn <- sapply(patients$Sales.Order.Detail.Proc.Code, function(code){ | |
walk.in.codes <- c('A7027', 'A7028', 'A7029', 'A7030', 'A7031', 'A7032', 'A7033', 'A7034') | |
if (code %in% walk.in.codes) T else F | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Event id: 130, | |
user_guid: "5e843530-a5cb-11e5-bf7f-feff819cdc9f", | |
parameters: { | |
"guid"=>"1f49bfbd-232f-45f4-a406-ff671a1b111e", | |
"eventGuid"=>"1f49bfbd-232f-45f4-a406-ff671a1b111e", | |
"eventName"=>"jj", | |
"weather_deg"=>"80", | |
"priority_rate"=>"", | |
"rooms_on_peak"=>"200", | |
"sf_account_id"=>"", |