Actions18
- Condition Actions
- Custom API Call Actions
- Diagnostic Report Actions
- Encounter Actions
- Medication Statement Actions
- Observation Actions
- Patient Actions
Encounter → Create
AI-generatedSummary
Creates a new Encounter resource in OpenMRS.
Inputs
- encounterPayload (required) — Full FHIR Encounter resource. Must include resourceType, status, class, subject (Patient reference), and period.
Output shape
a single Encounter resource
The created Encounter is returned; validation errors cause a node operation error.
Examples
Example 1: Add an ambulatory encounter for a patient
Set resource to Encounter, operation to Create, and provide a valid Encounter JSON in encounterPayload
Example 2: Create an encounter via custom FHIR JSON
Supply a custom Encounter JSON in encounterPayload, optionally adjust period or type coding, then execute