Skip to content

Instantly share code, notes, and snippets.

@SeanCannon
Created April 20, 2016 18:06
Show Gist options
  • Save SeanCannon/67a76d8338a7a34f90b3e2c9738f8e8a to your computer and use it in GitHub Desktop.
Save SeanCannon/67a76d8338a7a34f90b3e2c9738f8e8a to your computer and use it in GitHub Desktop.
JavaScript object which helps populate the care coordinator workstation's "patient profile card"
[
{
id : 1,
status : 1,
lastCheckIn : '3 days',
profile : {
firstName : 'Greg',
lastName : 'Henderson',
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/felipebsb/128.jpg',
birthDate : '03/22/28',
age : 88,
gender : 'Male',
location : 'Walnut Creek, CA',
notes : 'Loves golf and fishing, etc.',
contact : {
phonePrimary : '123.456.7890',
phonePreferred : '555.456.7890'
}
},
operationalPhysician : 'Danielle Kay',
financialDetails : {
planCost : 1234.56,
expectedCost : 4321.03
},
tasks : {
complete : [
'Do PT',
'Exercises'
],
incomplete : []
},
advocate : {
firstName : 'Fran',
lastName : 'Henderson',
relationship : 'Spouse'
},
procedureDetails : {
category : 'Right TKA',
episodePointInTime : 'OR + 8',
description : 'Replacement of Right Knee Joint with Synthetic Substitute, Open Approach',
adherence : {
patientScore : 4,
possibleScore : 10
},
engagement : {
patientScore : 7,
possibleScore : 10
},
pain : {
patientScore : 8,
chartData : {}
},
movement : {
patientScore : 80,
chartData : {}
},
goals : 'Would like to recover by the summer'
},
badges : [
mockBadgeAdherence,
mockBadgeEngagement
],
alerts : [
{
status : 'Open',
holdDate : '5/21/2016',
type : 'Pain',
actual : 3,
threshold : 8,
comment : '',
description : 'Survey after Day 1 PAC'
}, {
status : 'Open',
holdDate : '--',
type : 'Satisfaction',
actual : 4,
threshold : 5,
comment : '',
description : ''
}
],
careCoordinatorCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'General',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Follow-up',
comment : 'Check on Greg\'s pain tomorrow',
status : 'Open'
}
],
patientCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'Physical Therapy',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Record Pain',
comment : '',
status : 'Open'
}
],
messages: MOCK_MESSAGES,
hospital : 'Greenfield Hospital',
careTeam : [
{
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/nuraika/128.jpg',
name : 'Sally Smith',
role : 'Surgeon'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/itsjonq/128.jpg',
name : 'Todd Boyd',
role : 'Care Coordinator'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/raquelromanp/128.jpg',
name : 'Danielle Kay',
role : 'Doctor'
}
],
trends : {
underlyingConditions: mockUnderlyingConditions
}
},
{
id : 2,
status : 1,
lastCheckIn : '3 days',
profile : {
firstName : 'John',
lastName : 'Doe',
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/tutvid/128.jpg',
birthDate : '03/22/83',
age : 46,
gender : 'Male',
location : 'San Francisco, CA',
notes : 'Loves karate and fishing, etc.',
contact : {
phonePrimary : '123.456.7890',
phonePreferred : '555.456.7890'
}
},
operationalPhysician : 'Danielle Kay',
financialDetails : {
planCost : 1234.56,
expectedCost : 4321.03
},
tasks : {
complete : [
'Stretch',
'Slow kicks'
],
incomplete : []
},
advocate : {
firstName : 'Jill',
lastName : 'Doe',
relationship : 'Spouse'
},
procedureDetails : {
category : 'Left TKA',
episodePointInTime : 'OR + 8',
description : 'Replacement of Left Knee Joint with Synthetic Substitute, Open Approach',
adherence : {
patientScore : 2,
possibleScore : 10
},
engagement : {
patientScore : 8,
possibleScore : 10
},
pain : {
patientScore : 1,
chartData : {}
},
movement : {
patientScore : 9,
chartData : {}
},
goals : 'Wants to kick with ultimate power again'
},
badges : [
mockBadgeEngagement
],
alerts : [
{
status : 'John Status 1',
holdDate : '5/21/2016',
type : 'Pain',
actual : 3,
threshold : 8,
comment : 'Lorem ipsum dolores esta en un.'
}, {
status : 'John Status 2',
holdDate : '--',
type : 'Satisfaction',
actual : 4,
threshold : 5,
comment : 'Lorem ipsum dolores esta en un.'
}
],
careCoordinatorCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'General',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Follow-up',
comment : 'Check on John\'s pain tomorrow',
status : 'Open'
}
],
patientCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'Physical Therapy',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Record Pain',
comment : '',
status : 'Open'
}
],
messages: MOCK_MESSAGES,
hospital : 'Greenfield Hospital',
careTeam : [
{
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/uxceo/128.jpg',
name : 'Maria Manson',
role : 'Surgeon'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/itsjonq/128.jpg',
name : 'Todd Boyd',
role : 'Care Coordinator'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/jasonlong/128.jpg',
name : 'Drew Smith',
role : 'Doctor'
}
],
trends : {
underlyingConditions: mockUnderlyingConditions
}
},
{
id : 3,
status : 1,
lastCheckIn : 'Today',
profile : {
firstName : 'Logan',
lastName : 'Claus',
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/chadengle/128.jpg',
birthDate : '02/13/77',
age : 50,
gender : 'Male',
location : 'Brentwood, CA',
notes : 'Be careful when applying dressings.',
contact : {
phonePrimary : '123.456.7890',
phonePreferred : '555.456.7890'
}
},
operationalPhysician : 'Danielle Kay',
financialDetails : {
planCost : 1234.56,
expectedCost : 4321.03
},
tasks : {
complete : [
'Regenerate'
],
incomplete : []
},
advocate : {},
procedureDetails : {
category : 'Right TKA',
episodePointInTime : 'OR + 3',
description : 'Replacement of Right Knee Joint with Synthetic Substitute, Open Approach',
adherence : {
patientScore : 2,
possibleScore : 10
},
engagement : {
patientScore : 8,
possibleScore : 10
},
pain : {
patientScore : 1,
chartData : {}
},
movement : {
patientScore : 9,
chartData : {}
},
goals : 'Needs to heal for another battle with Cyclops over Jean Grey'
},
badges : [
mockBadgeEngagement
],
alerts : [
{
status : 'Logan Status 1',
holdDate : '5/21/2016',
type : 'Pain',
actual : 3,
threshold : 8,
comment : 'Lorem ipsum dolores esta en un.'
}, {
status : 'Logan Status 2',
holdDate : '--',
type : 'Satisfaction',
actual : 4,
threshold : 5,
comment : 'Lorem ipsum dolores esta en un.'
}
],
careCoordinatorCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'General',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Follow-up',
comment : 'Check on Logan\'s pain tomorrow',
status : 'Open'
}
],
patientCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'Physical Therapy',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Record Pain',
comment : '',
status : 'Open'
}
],
messages: MOCK_MESSAGES,
hospital : 'Greenfield Hospital',
careTeam : [
{
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/nisaanjani/128.jpg',
name : 'Teresa Tenenbaum',
role : 'Surgeon'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/itsjonq/128.jpg',
name : 'Todd Boyd',
role : 'Care Coordinator'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/rhein_wein/128.jpg',
name : 'Estelle Parker',
role : 'Doctor'
}
],
trends : {
underlyingConditions: mockUnderlyingConditions
}
},
{
id : 4,
status : 1,
lastCheckIn : '3 days',
profile : {
firstName : 'Brian',
lastName : 'Doe',
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/spjpgrd/128.jpg',
birthDate : '03/22/83',
age : 48,
gender : 'Male',
location : 'San Jose, CA',
notes : 'Brian feels no pain. Possible nerve damage.',
contact : {
phonePrimary : '123.456.7890',
phonePreferred : '555.456.7890'
}
},
operationalPhysician : 'Danielle Kay',
financialDetails : {
planCost : 1234.56,
expectedCost : 4321.03
},
tasks : {
complete : [],
incomplete : []
},
advocate : {
firstName : 'John',
lastName : 'Doe',
relationship : 'Brother'
},
procedureDetails : {
category : 'Right TKA',
episodePointInTime : 'OR + 14',
description : 'Replacement of Right Knee Joint with Synthetic Substitute, Open Approach',
adherence : {
patientScore : 2,
possibleScore : 10
},
engagement : {
patientScore : 8,
possibleScore : 10
},
pain : {
patientScore : 1,
chartData : {}
},
movement : {
patientScore : 9,
chartData : {}
},
goals : 'Just wants to feel again.'
},
badges : [
mockBadgeAdherence
],
alerts : [
{
status : 'Brian Status 1',
holdDate : '5/21/2016',
type : 'Pain',
actual : 3,
threshold : 8,
comment : 'Lorem ipsum dolores esta en un.'
}, {
status : 'Brian Status 2',
holdDate : '--',
type : 'Satisfaction',
actual : 4,
threshold : 5,
comment : 'Lorem ipsum dolores esta en un.'
}
],
careCoordinatorCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'General',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Follow-up',
comment : 'Check on Brian\'s pain tomorrow',
status : 'Open'
}
],
patientCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'Physical Therapy',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Record Pain',
comment : '',
status : 'Open'
}
],
messages: [{
type: 'message',
timestamp : '4/12/2016 1:32PM',
author: 'patient',
recipient: 'careCoordinator',
content: 'Hello'
}, {
type: 'message',
timestamp : '4/12/2016 1:35PM',
author: 'careCoordinator',
recipient: 'doctor',
content: 'Hi'
}],
hospital : 'Greenfield Hospital',
careTeam : [
{
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/nisaanjani/128.jpg',
name : 'Pam Prelutsky',
role : 'Surgeon'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/itsjonq/128.jpg',
name : 'Todd Boyd',
role : 'Care Coordinator'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/nikkitaftw/128.jpg',
name : 'Melody Traeger',
role : 'Doctor'
}
],
trends : {
underlyingConditions: mockUnderlyingConditions
}
},
{
id : 5,
status : 1,
lastCheckIn : '3 days',
profile : {
firstName : 'Christina',
lastName : 'Doe',
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/esthercrawford/128.jpg',
birthDate : '11/11/90',
age : 29,
gender : 'Female',
location : 'Antioch, CA',
notes : '',
contact : {
phonePrimary : '123.456.7890',
phonePreferred : '555.456.7890'
}
},
operationalPhysician : 'Danielle Kay',
financialDetails : {
planCost : 331.04,
expectedCost : 4500.03
},
tasks : {
complete : [
'X-ray',
'MRI',
'PT'
],
incomplete : []
},
advocate : {
firstName : 'Jill',
lastName : 'Doe',
relationship : 'Sister'
},
procedureDetails : {
category : 'Left THA',
episodePointInTime : 'OR + 8',
description : 'Replacement of Left Hip Joint with Synthetic Substitute, Open Approach',
adherence : {
patientScore : 2,
possibleScore : 10
},
engagement : {
patientScore : 8,
possibleScore : 10
},
pain : {
patientScore : 1,
chartData : {}
},
movement : {
patientScore : 9,
chartData : {}
},
goals : 'Walk by summer, dance by autumn'
},
badges : [
mockBadgeEngagement,
mockBadgeAdherence
],
alerts : [
{
status : 'Christina Status 1',
holdDate : '5/21/2016',
type : 'Pain',
actual : 3,
threshold : 8,
comment : 'Lorem ipsum dolores esta en un.'
}, {
status : 'Christina Status 2',
holdDate : '--',
type : 'Satisfaction',
actual : 4,
threshold : 5,
comment : 'Lorem ipsum dolores esta en un.'
}
],
careCoordinatorCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'General',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Follow-up',
comment : 'Check on Christina\'s pain tomorrow',
status : 'Open'
}
],
patientCheckIns : [
{
timestamp : '4/4/2016 8:30AM',
type : 'Physical Therapy',
comment : '',
status : 'Open'
}, {
timestamp : '4/12/2016 8:30AM',
type : 'Record Pain',
comment : '',
status : 'Open'
}
],
messages: MOCK_MESSAGES,
hospital : 'Greenfield Hospital',
careTeam : [
{
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/graafdemichiel/128.jpg',
name : 'Frank Foley',
role : 'Surgeon'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/itsjonq/128.jpg',
name : 'Todd Boyd',
role : 'Care Coordinator'
}, {
avatar : 'https://s3.amazonaws.com/uifaces/faces/twitter/herrbertling/128.jpg',
name : 'Gregory Shocket',
role : 'Doctor'
}
],
trends : {
underlyingConditions: mockUnderlyingConditions
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment