openmrs-esm-patient-chart

esm-patient-orders-app

Central orders management system for OpenMRS 3 Patient Chart - handles medications, lab tests, procedures, and general orders.

Core functionality

Order management

Lab results

Order workflows

Configuration points

Order encounter type

// config-schema.ts
orderEncounterType: {
  _type: Type.UUID,
  _description: 'The encounter type for orders',
  _default: '39da3525-afe4-45ff-8977-c53b7b359158', // "Order" encounter type
}

What to change: Set to your organization’s preferred encounter type for orders

Order types & concept sets

orderTypes: {
  _type: Type.Array,
  _elements: {
    orderTypeUuid: '131168f4-15f5-102d-96e4-000c29c2a5d7', // Drug Order UUID
    orderableConceptSets: ['drug-concepts-uuid'], // Concept set UUIDs
    label: 'Medications', // Display label
    icon: 'omrs-icon-medication' // OpenMRS icon name
  }
}

What to change:

showPrintButton: {
  _type: Type.Boolean,
  _description: 'Show print button in order tables',
  _default: false
}

What to change: Enable/disable print functionality based on your printing needs

Reference number field

showReferenceNumberField: {
  _type: Type.Boolean,
  _description: 'Show reference number field in order forms',
  _default: true
}

What to change: Control whether accession/reference numbers are required

Customization points

Extension slots

Lab concept configuration

Lab forms are auto-generated based on concept metadata from the concept_numeric table.

Order validation rules

Implementation checklist

Required setup

Optional customizations

Testing

Key files for customizations