Skip to content

describe

fhir-test-data describe [options] <resource-type>

patient, practitioner, practitioner-role, organization, observation, condition, allergy-intolerance, medication-statement, encounter, diagnostic-report, bundle

Options:
--locale <code> include locale-specific identifier details for this locale
--pretty pretty-print JSON (default for stdout) (default: true)
--no-pretty compact JSON output
-h, --help display help for command

Returns a JSON object with:

  • resourceType — FHIR resource type name
  • description — plain-language description of what is generated
  • fields — map of JSONPath-style field paths to descriptions
  • supportedLocales — array of all locale codes
  • localeDetail (when --locale is supplied) — identifier definitions for that locale

Describe the patient resource type:

Terminal window
fhir-test-data describe patient

Describe a patient with UK locale detail:

Terminal window
fhir-test-data describe patient --locale uk

Describe a bundle:

Terminal window
fhir-test-data describe bundle