NextGen Healthcare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for NextGen Office FHIR Medication Request API

3 actions 3 updates phrasing extends openapi/nextgen-healthcare-medication-request-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for NextGen Healthcare's API. It is a proposal applied on top of the contract, not a document NextGen Healthcare publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/fhir/r4/MedicationRequest/{id}'].get
$.paths['/fhir/r4/MedicationRequest'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for NextGen Office FHIR Medication Request API
  version: 1.0.0
extends: openapi/nextgen-healthcare-medication-request-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/fhir/r4/MedicationRequest/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one prescription
      effect: read
      questions:
      - Can I fetch one prescription record by its id?
      - Is the drug on a single MedicationRequest given as an RxNorm code?
      instructions:
      - text: Get prescription {id}.
        slots:
          id: path.id
      - text: Show the drug and dosing on medication request {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-10-01'
- target: $.paths['/fhir/r4/MedicationRequest'].get
  update:
    x-apievangelist-phrasing:
      intent: List a patient's prescriptions
      effect: read
      questions:
      - Which prescriptions does a patient have?
      - Can I see only a patient's active prescriptions?
      - Can I filter a patient's prescriptions by intent, like order versus plan?
      instructions:
      - text: List prescriptions for patient {patient}.
        slots:
          patient: query.patient
      - text: Show prescriptions with status {status} for patient {patient}.
        slots:
          status: query.status
          patient: query.patient
      - text: Find patient {patient}'s prescriptions with intent {intent} written {date}.
        slots:
          patient: query.patient
          intent: query.intent
          date: query.date
      method: generated
      generated: '2026-10-01'