Skip to content

MedicalProcedure entity

Generate medical procedures with clinical codes, specialty, duration, cost, and care characteristics.

Why: Use MedicalProcedure when clinical and billing tests need correlated procedure code, specialty, duration, cost, and care characteristics; use a source catalogue when governed codes are authoritative.

1
<variable name="value" entity="MedicalProcedure"/>

Output: Typed MedicalProcedure value.

Parameters

  • dataset: str | null; Default None — Country dataset controlling procedure codes, costs, and care conventions.

Attributes

  • category (str): Procedure category.
  • cost (float): Procedure cost.
  • cpt_code (str): CPT (Current Procedural Terminology) code.
  • description (str): Procedure description.
  • duration_minutes (int): Procedure duration in minutes.
  • is_diagnostic (bool): Whether the procedure is diagnostic.
  • is_preventive (bool): Whether the procedure is preventive.
  • is_surgical (bool): Whether the procedure is surgical.
  • name (str): Procedure name.
  • procedure_code (str): Internal procedure code.
  • procedure_id (str): Synthetic procedure identifier.
  • recovery_time_days (int): Recovery time in days.
  • requires_anesthesia (bool): Whether the procedure requires anesthesia.
  • specialty (str): Associated medical specialty.

Limits

The available attributes and values depend on the registered entity, its dataset, and its documented constructor options.