{ "template_id": "T5_CLINICAL_PROGRESS_NOTE_POSTOP", "name": "Clinical Progress Note Postop", "status": "active", "version": 2, "match": { "keywords_all": [], "keywords_any": [ "clinical progress note", "progress note", "post-op", "assessment", "plan" ] }, "schema": { "form_id": "trainer_e75eb5b93bb54c28934f43cacc406cc8", "version": 3, "page": 1, "scalar_value_region_mode": "offset_from_anchor_v1", "fields": [ { "field_id": "facility_organization", "label": "Facility / Organization", "type": "entity", "anchor_bbox_norm": null, "value_bbox_norm": null, "value_offset_norm": null }, { "field_id": "case_location", "label": "Case Location / Address", "type": "text", "anchor_bbox_norm": null, "value_bbox_norm": null, "value_offset_norm": null }, { "field_id": "vendor", "label": "Vendor", "type": "entity", "anchor_bbox_norm": null, "value_bbox_norm": null, "value_offset_norm": null }, { "field_id": "physician_name", "label": "Physician Name", "type": "person", "anchor_bbox_norm": null, "value_bbox_norm": null, "value_offset_norm": null }, { "field_id": "date_of_surgery", "label": "Date of Surgery", "type": "date", "anchor_bbox_norm": null, "value_bbox_norm": null, "value_offset_norm": null }, { "field_id": "items", "label": "Items / Line Items", "type": "table", "table_bbox_norm": null, "header_bbox_norm": null, "row_height_hint_norm": null, "columns": [ { "key": "item_number", "label": "Item Number", "bbox_rel_norm": null }, { "key": "lot_number", "label": "Lot Number", "bbox_rel_norm": null }, { "key": "description", "label": "Description", "bbox_rel_norm": null }, { "key": "qty", "label": "Qty", "bbox_rel_norm": null }, { "key": "price", "label": "Price", "bbox_rel_norm": null } ], "table_anchors": [ { "key": "item_number", "expected_text": "Item Number", "bbox_norm": null }, { "key": "description", "expected_text": "Description", "bbox_norm": null }, { "key": "qty", "expected_text": "Qty", "bbox_norm": null } ], "notes": "Anchors are used at runtime to localize table/header/columns under drift." } ], "notes": "Trainer exports config only. Runtime should localize anchors then apply offsets/table mappings to extract values + line items." } }