Skip to content

Instantly share code, notes, and snippets.

@aleksa-krolls
Last active December 19, 2018 20:23
Show Gist options
  • Save aleksa-krolls/1bbc40a02ca6153c4a9ef6a17cd0e0e0 to your computer and use it in GitHub Desktop.
Save aleksa-krolls/1bbc40a02ca6153c4a9ef6a17cd0e0e0 to your computer and use it in GitHub Desktop.
field('Name', (state) => {
return state.data.properties.patient_name + "(" +
state.data.properties.patient_id + ") (" +
state.data.properties.date_opened + ")"
//I used date_opened because i didn't see a visit_date property in the message body data
//you will want to confirm that this is the right date field to user
}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment