Skip to content

Instantly share code, notes, and snippets.

View brandones's full-sized avatar

Brandon Istenes brandones

View GitHub Profile
@brandones
brandones / schema.ts
Last active December 16, 2020 21:21
Config schema for esm-patient-registration
import { Type, validator, validators } from '@openmrs/esm-module-config';
const builtInFields = ['name', 'gender', 'dob', 'address', 'id', 'death']
export const schema = {
sections: {
_type: Type.Array,
_default: ['demographics', 'contact', 'ids', 'death'],
_description: "An array of strings which are the keys from 'sectionDefinitions'",
_elements: {
@brandones
brandones / link-order.json
Created May 20, 2021 16:17
Config needed for openmrs-spa as temporary solution for ordering links
@brandones
brandones / update-translations.yml
Created September 1, 2021 21:13
GitHub Action to download translations from Transifex
name: Update translation files from Transifex
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build: