Skip to content

Instantly share code, notes, and snippets.

@Hilaryous
Last active April 24, 2018 15:57
Show Gist options
  • Save Hilaryous/96b30f417c195cf0ea66a48e99779396 to your computer and use it in GitHub Desktop.
Save Hilaryous/96b30f417c195cf0ea66a48e99779396 to your computer and use it in GitHub Desktop.
Notes for BE Suites Assessment

note 1

  • cannot be required, we need to be able to save a “draft” of an assessment

  • cardiopulmonary

  • fall_risks

  • gastrointestinal

  • genitourinary

  • integumentary

  • neurological_emotional_status

  • neurovascular

  • surgical_incisions

note 2

  • need an updated_at field

note 3

  • need to transition to objects (sorry that transitioned to checklist with each field being required)

  • Interventions,

  • Addendums,

  • Safety,

addendums: {
  ”navigatorAndAscFormsReviewed":true,
  "clientMedicationProfileCompleted":true,
  "scrPreAscDosCompleted":true,
  "medRecCompletedWithClientSupportPerson":true,
  "vsPainAmbulationAssessmentFlowsheetsInitiated":true
}
interventions: {
  "initiatedClinicalProtocols":true,
  "verifiedSupportPersonAvailabilityUpTo72hrsPostSurgery":true,
  "mdLipContactedToReportClinicalFindingsOrRequestOrders":true,
  "assistedWithAdls":true
}
safety: {
  "ensureSafeEnvironment":true,
  "emergencyPreparednessInformationProvided":true
}

note 4

  • All values get converted to strings, so while we have advanceDirective, allergies, advanceDirectiveInfoProvided, diabetic, etc. as having a boolean value they get converted to "true" or "false"

note 5

  • boolean -> string comment only applies to advance_directive, allergies, advance_directiveInfoProvided, diabetic, not the values inside of fall_risk, addendums, interventions, or safety

note 6

  • fall_risk, can we make older_than_65 be older_than65 instead? The conversion from camelcase to snake case doesn’t catch the number as a point to snake case.

note 7

  • allergies_list needs to be an array of objects, not an array of strings, the objects look like: {allergy: 'Grasses', reaction: 'Sneezing'} or jsonb

note 8

  • In the seed, name the form 'Comprehensive Assessment' instead of 'Suites Assessment'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment