Facility administration
Edit and verify activity catalogue usage
Open an existing laboratory activity, review a Usage change, save it and verify the persisted details.
5 min read · Source baseline f6e9f05f
Verification and applicability
Eleven actual 1920 × 1080 original f6e9 Chrome screenshots, exact control pointers and narrow hash-bound step reviews. Normal existing Laboratory Facility Admin saved one Usage edit and a separate Status edit through UI. Independent normal authenticated detail/search GET200 checkpoints verify the same UUID, unchanged code73050-15-50 and synthetic category, revised Usage, Active then Retired, Active filtered count0 and Retired count1. No Delete execution, patient/order, price, grant or external effects.
Check your installed version, permissions and local configuration.
Before you begin
- Sign in with your existing authorized Facility Admin account and open the intended Laboratory. This observed account already has activity-definition read/write rights; no role or membership is changed.
- This guide continues with the existing SYNTHETIC glucose order teaching item in the SYNTHETIC laboratory training category. The example is a reusable catalogue definition with no patient order, real clinical work or pricing.
1. Open the intended existing activity
On saved detail, confirm the synthetic title, current Active status and NPHIES laboratory code 73050-15-50. Use Edit for this exact catalogue item.
1234Capture details
Actual 1920 × 1080 Chrome pixels; pinned source f6e9f05f. Laboratory Facility Admin activity metadata and retained status maintenance
- Existing synthetic definition: Confirm the intended title and Active state.
- Stable code identity: This exercise keeps the procedurecode unchanged.
- Current usage: Review the existing note before editing.
- Edit: Open normal authorized maintenance.
2. Review the Usage edit and preserve the identity
Update Usage with the illustrated synthetic training text. Review the existing title, slug, Active status, Laboratory classification, Resource Category and selected code. This example changes Usage only.
123456Capture details
Actual 1920 × 1080 Chrome pixels; pinned source f6e9f05f. Laboratory Facility Admin activity metadata and retained status maintenance
- Usage: Review the revised synthetic usage text before saving.
- Title: The existing activity identity remains unchanged.
- Slug: The existing short slug remains unchanged.
- Active status: This metadata-only edit retains Active.
- Classification: Laboratory is the activity classification.
- Code: The previously selected NPHIES laboratory code remains unchanged.
3. Review the footer and save
Scroll through the optional associations. This base example keeps specimen, observation, charge, service, location and report links empty. Use Save once to persist the reviewed metadata edit; Cancel is available before saving.
12345Capture details
Actual 1920 × 1080 Chrome pixels; pinned source f6e9f05f. Laboratory Facility Admin activity metadata and retained status maintenance
- Save: Save the reviewed metadata change.
- Cancel: Cancel is available before saving.
- Specimen requirements: No specimen association has been added.
- Observation requirements: No observation association has been added.
- Charge item definitions: No price or charge association has been added.
4. Verify the saved Usage
Confirm the revised Usage on saved detail, the Active badge and unchanged laboratory code. Independent normal detail and scoped search reads verify the same UUID, revised text and Active status. A separate status change follows in the retirement guide.
1234Capture details
Actual 1920 × 1080 Chrome pixels; pinned source f6e9f05f. Laboratory Facility Admin activity metadata and retained status maintenance
- Saved Usage: The revised text is now shown on saved detail.
- Active: The metadata edit did not change the catalogue status.
- Stable code: The selected laboratory code remains 73050-15-50.
- Edit: Open the existing record for a separate status change.
Role and version scope
The screenshots show one existing Laboratory Facility Admin on the original f6e9 software. A visible Edit control does not establish another role’s authorization. The source grants catalogue writes to Facility Admin/Admin; this guide does not qualify other role or facility variants.
Retained item and separate associations
Changing Status to Retired keeps the same catalogue record and coding identity. This example leaves specimen, observation, charge, healthcare-service, location, body-site and diagnostic-report associations empty. Those links require separate setup and evidence. The Delete control is not used.
Troubleshooting
The old Active row remains visible just after a status edit
Use an explicit search or reload to request the current list, then confirm the Status filter. In this observed sequence a cached Active row briefly appeared until the glucose search refreshed; independent saved detail and list reads confirmed the Retired state.
The category says no activity definition found
Check the category, search text and Status together. The illustrated Active search excludes the retained retired item. Select Retired to locate it; the empty filtered result does not prove deletion.
Source evidence
References are pinned to the private MANSOQ source repository. Repository access is required to open these links.
- repositories/platform/mansoq-web/src/pages/Facility/settings/activityDefinition/ActivityDefinitionList.tsx:17 · f6e9f05f
- repositories/platform/mansoq-web/src/components/Common/ResourceCategoryList.tsx:387 · f6e9f05f
- repositories/platform/mansoq-web/src/components/Common/ResourceCategoryForm.tsx:70 · f6e9f05f
- repositories/platform/mansoq-web/src/components/Common/ResourceCategoryForm.tsx:170 · f6e9f05f
- repositories/platform/mansoq-web/src/pages/Facility/settings/activityDefinition/ActivityDefinitionForm.tsx:131 · f6e9f05f
- repositories/platform/mansoq-web/src/pages/Facility/settings/activityDefinition/ActivityDefinitionForm.tsx:393 · f6e9f05f
- repositories/platform/mansoq-web/src/pages/Facility/settings/activityDefinition/ActivityDefinitionForm.tsx:685 · f6e9f05f
- repositories/platform/mansoq-web/src/pages/Facility/settings/activityDefinition/ActivityDefinitionListComponent.tsx:184 · f6e9f05f
- repositories/platform/mansoq-web/src/pages/Facility/settings/activityDefinition/ActivityDefinitionListComponent.tsx:244 · f6e9f05f
- repositories/platform/mansoq-web/src/pages/Facility/settings/activityDefinition/ActivityDefinitionView.tsx:97 · f6e9f05f
- repositories/platform/mansoq-web/src/types/emr/activityDefinition/activityDefinitionApi.ts:19 · f6e9f05f
- repositories/platform/mansoq-core/mansoq/security/permissions/activity_definition.py:16 · f6e9f05f
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/activity_definition.py:202 · f6e9f05f
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/activity_definition.py:162 · f6e9f05f
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/activity_definition.py:95 · f6e9f05f
- repositories/platform/mansoq-core/mansoq/emr/resources/activity_definition/spec.py:71 · f6e9f05f