Skip to content

Instantly share code, notes, and snippets.

Avatar

Brandon Istenes brandones

View GitHub Profile
@brandones
brandones / schema.ts
Last active Dec 16, 2020
Config schema for esm-patient-registration
View schema.ts
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
Config needed for openmrs-spa as temporary solution for ordering links
View link-order.json
@brandones
brandones / update-translations.yml
Created Sep 1, 2021
GitHub Action to download translations from Transifex
View update-translations.yml
name: Update translation files from Transifex
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build: