@memoarchitect/ontology 0.16.5 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/examples/connected-patient-monitor/model/catalog/connected_patient_monitor.sysml +11 -18
- package/examples/connected-patient-monitor/model/catalog/viewpoints/logical/views/connected_patient_monitor_overview.sysml +1 -3
- package/examples/connected-patient-monitor/model/methodology/project.sysml +2 -6
- package/examples/embedded-infusion-pump/model/catalog/embedded_infusion_pump.sysml +35 -47
- package/examples/embedded-infusion-pump/model/catalog/viewpoints/logical/views/embedded_infusion_pump_overview.sysml +1 -3
- package/examples/embedded-infusion-pump/model/methodology/project.sysml +2 -6
- package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +24 -36
- package/examples/functional-logical-physical/model/catalog/viewpoints/logical/views/functional_logical_physical_overview.sysml +1 -3
- package/examples/functional-logical-physical/model/methodology/project.sysml +2 -6
- package/examples/gastric-bypass-variants/memo.identity.yaml +6 -0
- package/examples/gastric-bypass-variants/model/catalog/gastric_bypass_variants.sysml +16 -30
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/clinical_workflow/viewpoint.sysml +8 -0
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/clinical_workflow/views/bypass_flow.sysml +16 -0
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/functional/viewpoint.sysml +8 -0
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/functional/views/bypass_flows.sysml +16 -0
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/views/bypass_flows.sysml +4 -23
- package/examples/gastric-bypass-variants/model/methodology/project.sysml +3 -6
- package/examples/gpca-pump/methodology/gpca_methodology.sysml +2 -4
- package/examples/gpca-pump/methodology/gpca_profiles.sysml +1 -10
- package/examples/gpca-pump/model/catalog/gpca_analysis.sysml +27 -30
- package/examples/gpca-pump/model/catalog/gpca_architecture.sysml +125 -136
- package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +1 -5
- package/examples/gpca-pump/model/catalog/gpca_behavior_modes.sysml +40 -44
- package/examples/gpca-pump/model/catalog/gpca_behavior_subsystems.sysml +36 -45
- package/examples/gpca-pump/model/catalog/gpca_context.sysml +14 -26
- package/examples/gpca-pump/model/catalog/gpca_cybersecurity.sysml +21 -29
- package/examples/gpca-pump/model/catalog/gpca_devices.sysml +4 -7
- package/examples/gpca-pump/model/catalog/gpca_formal_behavior.sysml +21 -28
- package/examples/gpca-pump/model/catalog/gpca_interfaces.sysml +14 -22
- package/examples/gpca-pump/model/catalog/gpca_operational.sysml +50 -60
- package/examples/gpca-pump/model/catalog/gpca_physical.sysml +7 -11
- package/examples/gpca-pump/model/catalog/gpca_requirements.sysml +211 -215
- package/examples/gpca-pump/model/catalog/gpca_risk.sysml +87 -106
- package/examples/gpca-pump/model/catalog/gpca_standards.sysml +44 -53
- package/examples/gpca-pump/model/catalog/gpca_system.sysml +15 -22
- package/examples/gpca-pump/model/catalog/gpca_trace.sysml +301 -322
- package/examples/gpca-pump/model/catalog/gpca_verification.sysml +38 -41
- package/examples/gpca-pump/model/catalog/viewpoints/context/views/context_system_context_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/cybersecurity_cybersecurity_view.sysml +2 -16
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_cyber_assessment_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_threat_model_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/functional/views/functional_function_allocation_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/functional/views/functional_function_browser_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/behavior_action_flow_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_device_interconnect_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_logical_architecture_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_mode_state_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_system_decomposition_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/operational/views/operational_scenario_sequence_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/operational/views/operational_use_case_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/physical/views/physical_physical_bom_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/requirements/views/requirements_requirements_trace_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_hazard_analysis_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_rmf_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/risk_fmea_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/risk_risk_chain_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/shared/views/document_architecture_description_view.sysml +3 -10
- package/examples/gpca-pump/model/catalog/viewpoints/shared/views/document_dhf_index_view.sysml +3 -10
- package/examples/gpca-pump/model/catalog/viewpoints/software/views/document_sdd_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/software/views/software_software_architecture_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/usability/views/document_usability_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/verification/views/document_vv_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/verification/views/verification_verification_coverage_view.sysml +2 -15
- package/examples/gpca-pump/model/methodology/project.sysml +1 -4
- package/examples/ivd-laboratory-system/model/catalog/ivd_laboratory_system.sysml +10 -19
- package/examples/ivd-laboratory-system/model/catalog/viewpoints/logical/views/ivd_laboratory_system_overview.sysml +1 -3
- package/examples/ivd-laboratory-system/model/methodology/project.sysml +2 -6
- package/examples/manual-surgical-instrument/model/catalog/manual_surgical_instrument.sysml +3 -8
- package/examples/manual-surgical-instrument/model/catalog/viewpoints/logical/views/manual_surgical_instrument_overview.sysml +1 -3
- package/examples/manual-surgical-instrument/model/methodology/project.sysml +2 -6
- package/examples/multidimensional-layers/model/catalog/multidimensional_layers.sysml +10 -20
- package/examples/multidimensional-layers/model/catalog/viewpoints/logical/views/multidimensional_layers_overview.sysml +1 -3
- package/examples/multidimensional-layers/model/methodology/project.sysml +2 -6
- package/examples/nested-architecture-dsm/README.md +5 -5
- package/examples/nested-architecture-dsm/model/catalog/architecture/functional/functions.sysml +19 -24
- package/examples/nested-architecture-dsm/model/catalog/architecture/logical/structure.sysml +19 -24
- package/examples/nested-architecture-dsm/model/catalog/architecture/operational/context.sysml +3 -7
- package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/needs.sysml +20 -24
- package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/requirements.sysml +15 -19
- package/examples/nested-architecture-dsm/model/catalog/assurance/verification_validation/verification_validation.sysml +25 -29
- package/examples/nested-architecture-dsm/model/catalog/traces.sysml +1 -2
- package/examples/nested-architecture-dsm/model/methodology/project.sysml +2 -6
- package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +21 -30
- package/examples/reusable-instrument/model/catalog/viewpoints/logical/views/reusable_instrument_overview.sysml +1 -3
- package/examples/reusable-instrument/model/methodology/project.sysml +2 -6
- package/examples/robot-cell-family/model/catalog/shared/shared.sysml +1 -6
- package/examples/robot-cell-family/model/catalog/sos/chains.sysml +3 -8
- package/examples/robot-cell-family/model/catalog/sos/icds.sysml +1 -4
- package/examples/robot-cell-family/model/catalog/sos/sos.sysml +1 -3
- package/examples/robot-cell-family/model/catalog/sos/use_cases.sysml +3 -6
- package/examples/robot-cell-family/model/catalog/systems/manipulation/manipulation_system.sysml +6 -11
- package/examples/robot-cell-family/model/catalog/systems/navigation/navigation_system.sysml +6 -11
- package/examples/robot-cell-family/model/catalog/systems/perception/perception_system.sysml +6 -11
- package/examples/robot-cell-family/model/methodology/project.sysml +2 -6
- package/examples/robot-platform/model/platform.sysml +1 -3
- package/examples/ros-mobile-robot/model/catalog/ros_mobile_robot.sysml +43 -56
- package/examples/ros-mobile-robot/model/catalog/viewpoints/logical/views/ros_mobile_robot_overview.sysml +1 -3
- package/examples/ros-mobile-robot/model/methodology/project.sysml +2 -6
- package/examples/software-only-medical-device/model/catalog/software_only_medical_device.sysml +16 -26
- package/examples/software-only-medical-device/model/catalog/viewpoints/logical/views/software_only_medical_device_overview.sysml +1 -3
- package/examples/software-only-medical-device/model/methodology/project.sysml +2 -6
- package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +34 -45
- package/examples/surgical-closure-workflow/model/catalog/viewpoints/logical/views/surgical_closure_workflow_overview.sysml +1 -3
- package/examples/surgical-closure-workflow/model/methodology/project.sysml +2 -6
- package/examples/surgical-robot/model/catalog/surgical_robot.sysml +9 -16
- package/examples/surgical-robot/model/catalog/viewpoints/logical/views/surgical_robot_overview.sysml +1 -3
- package/examples/surgical-robot/model/methodology/project.sysml +2 -6
- package/examples/sysml-diagram-samples/model/catalog/samples/action_flow_view.sysml +7 -17
- package/examples/sysml-diagram-samples/model/catalog/samples/browser_view.sysml +13 -21
- package/examples/sysml-diagram-samples/model/catalog/samples/context_view.sysml +4 -12
- package/examples/sysml-diagram-samples/model/catalog/samples/drill_down_view.sysml +9 -15
- package/examples/sysml-diagram-samples/model/catalog/samples/functional_flow_view.sysml +11 -19
- package/examples/sysml-diagram-samples/model/catalog/samples/grid_view.sysml +4 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/interconnection_view.sysml +10 -20
- package/examples/sysml-diagram-samples/model/catalog/samples/operational_behaviour_view.sysml +3 -12
- package/examples/sysml-diagram-samples/model/catalog/samples/package_view.sysml +8 -15
- package/examples/sysml-diagram-samples/model/catalog/samples/requirements_view.sysml +15 -23
- package/examples/sysml-diagram-samples/model/catalog/samples/sequence_view.sysml +2 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/standard_activity_view.sysml +1 -6
- package/examples/sysml-diagram-samples/model/catalog/samples/state_transition_view.sysml +4 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/tree_view.sysml +7 -14
- package/examples/sysml-diagram-samples/model/catalog/samples/use_case_view.sysml +14 -21
- package/examples/sysml-diagram-samples/model/catalog/viewpoints/shared/views/diagram_samples.sysml +1 -25
- package/examples/sysml-diagram-samples/model/methodology/project.sysml +2 -6
- package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +45 -65
- package/examples/temperature-alarm/model/catalog/viewpoints/logical/views/temperature_alarm_overview.sysml +1 -3
- package/examples/temperature-alarm/model/methodology/project.sysml +2 -6
- package/examples/ui-screen-regions/model/catalog/architecture/functional/functions.sysml +10 -28
- package/examples/ui-screen-regions/model/catalog/architecture/implementation/ui.sysml +14 -36
- package/examples/ui-screen-regions/model/catalog/artifacts/assets/catalog.sysml +4 -19
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/comments.sysml +4 -19
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/notes.sysml +2 -15
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/rationales.sysml +2 -15
- package/examples/ui-screen-regions/model/catalog/assurance/human_factors/human_factors.sysml +8 -25
- package/examples/ui-screen-regions/model/catalog/assurance/requirements/needs.sysml +3 -15
- package/examples/ui-screen-regions/model/catalog/assurance/requirements/requirements.sysml +25 -37
- package/examples/ui-screen-regions/model/catalog/assurance/safety_risk/risk.sysml +31 -48
- package/examples/ui-screen-regions/model/catalog/assurance/verification_validation/verification_validation.sysml +7 -19
- package/examples/ui-screen-regions/model/catalog/traces.sysml +53 -64
- package/examples/ui-screen-regions/model/catalog/viewpoints/functional/views/ui_functional_tree.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/requirements/views/ui_requirements_trace.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/risk/views/ui_risk_chain.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/main_screen_layout.sysml +1 -15
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/settings_screen_layout.sysml +1 -15
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/ui_region_trace.sysml +1 -15
- package/examples/ui-screen-regions/model/methodology/project.sysml +1 -5
- package/extensions/README.md +2 -2
- package/extensions/aadl/memo.package.yaml +1 -1
- package/extensions/aadl/src/correspondence/memo_aadl_correspondence.sysml +2 -2
- package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +9 -13
- package/extensions/anatomy/memo.package.yaml +1 -1
- package/extensions/clinical/memo.package.yaml +1 -1
- package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +12 -1
- package/extensions/cloud/memo.package.yaml +1 -1
- package/extensions/cloud/src/cloud_extension.sysml +2 -4
- package/extensions/container/memo.package.yaml +1 -1
- package/extensions/container/src/container_extension.sysml +2 -5
- package/extensions/messaging/memo.package.yaml +1 -1
- package/extensions/messaging/src/messaging_extension.sysml +4 -5
- package/extensions/ros/memo.package.yaml +1 -1
- package/extensions/ros/src/ros_extension.sysml +5 -10
- package/methodologies/default/memo.package.yaml +1 -1
- package/methodologies/gpca/memo.package.yaml +1 -1
- package/ontology/memo.package.yaml +1 -1
- package/package.json +1 -1
- package/profile/memo.package.yaml +1 -1
- package/src/architecture/functional/behavior/memo_behavior.sysml +15 -27
- package/src/architecture/functional/functions/memo_functions.sysml +31 -44
- package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +1 -1
- package/src/architecture/implementation/hardware/electrical/memo_hardware_electrical.sysml +3 -3
- package/src/architecture/implementation/hardware/fluidic/memo_hardware_fluidic.sysml +3 -2
- package/src/architecture/implementation/hardware/mechanical/memo_hardware_mechanical.sysml +2 -2
- package/src/architecture/implementation/hardware/optical/memo_hardware_optical.sysml +2 -2
- package/src/architecture/implementation/hardware/sensing/memo_hardware_sensing.sysml +2 -2
- package/src/architecture/implementation/hardware/structure/memo_hardware_structure.sysml +5 -4
- package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +17 -20
- package/src/architecture/implementation/software/structure/memo_software_structure.sysml +2 -2
- package/src/architecture/implementation/ui/memo_ui.sysml +33 -43
- package/src/architecture/logical/interfaces/memo_interfaces.sysml +21 -27
- package/src/architecture/logical/structure/memo_logical_structure.sysml +15 -18
- package/src/architecture/operational/activities/memo_activities.sysml +2 -2
- package/src/architecture/operational/context/actors/memo_actors.sysml +8 -7
- package/src/architecture/operational/context/stakeholders/memo_stakeholders.sysml +1 -1
- package/src/architecture/operational/context/use_context/memo_use_context.sysml +9 -13
- package/src/architecture/operational/rollups/memo_rollups.sysml +24 -8
- package/src/architecture/operational/scenarios/memo_scenarios.sysml +5 -6
- package/src/architecture/operational/structure/memo_operational.sysml +3 -5
- package/src/architecture/operational/use_cases/memo_use_cases.sysml +32 -26
- package/src/architecture/operational/workflows/memo_workflows.sysml +13 -60
- package/src/architecture/realization/deployment/memo_deployment.sysml +18 -24
- package/src/architecture/realization/physical/memo_physical_architecture.sysml +16 -19
- package/src/artifacts/configuration_management/memo_configuration_management.sysml +30 -22
- package/src/artifacts/standards/cfr_21_820.sysml +0 -1
- package/src/artifacts/standards/fda_cybersecurity_2023.sysml +2 -5
- package/src/artifacts/standards/iec_60601_1.sysml +0 -1
- package/src/artifacts/standards/iec_60601_1_2.sysml +0 -1
- package/src/artifacts/standards/iec_60812.sysml +0 -1
- package/src/artifacts/standards/iec_62304.sysml +0 -1
- package/src/artifacts/standards/iec_62366_1.sysml +0 -1
- package/src/artifacts/standards/iec_81001_5_1.sysml +1 -2
- package/src/artifacts/standards/iso_13485.sysml +0 -1
- package/src/artifacts/standards/iso_14971.sysml +0 -1
- package/src/artifacts/standards/iso_iec_ieee_42010.sysml +0 -1
- package/src/artifacts/standards/memo_artifacts_standards_traceability.sysml +2 -0
- package/src/artifacts/templates/dhf/21cfr820/user-needs.md +1 -1
- package/src/artifacts/templates/dhf/iec-62366/summative-eval.md +1 -1
- package/src/artifacts/templates/dhf/iec-62366/ue-plan.md +1 -1
- package/src/artifacts/templates/dhf/iec-62366/urra.md +1 -1
- package/src/artifacts/templates/dhf/iec-62366/use-spec.md +1 -1
- package/src/assurance/cybersecurity/memo_cybersecurity.sysml +1 -0
- package/src/assurance/human_factors/memo_human_factors.sysml +9 -6
- package/src/assurance/requirements/memo_requirements.sysml +6 -11
- package/src/assurance/requirements/needs/memo_needs.sysml +4 -5
- package/src/assurance/safety_risk/analysis/memo_fmea.sysml +1 -0
- package/src/assurance/safety_risk/memo_risk.sysml +19 -22
- package/src/assurance/verification_validation/memo_assurance.sysml +14 -18
- package/src/core/annotations/memo_annotations.sysml +2 -2
- package/src/core/common/memo_common.sysml +40 -56
- package/src/core/dimensions/dimensions.sysml +9 -12
- package/src/core/enumerations/memo_enumerations.sysml +4 -12
- package/src/core/methodology_scope/methodology_scope.sysml +3 -6
- package/src/core/relationships/memo_relationships.sysml +54 -85
- package/src/core/relationships/memo_workspace_membership.sysml +0 -2
- package/src/memo_namespaces.sysml +9 -0
- package/src/methodology/archetypes/memo_archetypes.sysml +0 -1
- package/src/methodology/core/memo_core.sysml +12 -12
- package/src/methodology/profiles/memo_profiles.sysml +9 -10
- package/src/methodology/workflow/memo_workflow.sysml +7 -8
- package/src/rules/closure/closure_rules.sysml +7 -9
- package/src/rules/crosslayer/cross_layer_rules.sysml +0 -1
- package/src/rules/ontology/ontology_invariants.sysml +97 -105
- package/src/rules/quantitative/quantitative_rules.sysml +0 -1
- package/src/viewpoints/catalog/memo_viewpoint_catalog.sysml +5 -6
- package/src/viewpoints/clinical/clinical_viewpoint.sysml +0 -1
- package/src/viewpoints/clinical/views/clinical_evidence_view/clinical_evidence_view.sysml +8 -8
- package/src/viewpoints/clinical_workflow/clinical_workflow_viewpoint.sysml +24 -0
- package/src/viewpoints/context/context_viewpoint.sysml +0 -1
- package/src/viewpoints/context/views/system_context_view/system_context_view.sysml +19 -20
- package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +0 -1
- package/src/viewpoints/cybersecurity/views/cybersecurity_assessment_view/cybersecurity_assessment_view.sysml +8 -8
- package/src/viewpoints/cybersecurity/views/threat_model_view/threat_model_view.sysml +8 -8
- package/src/viewpoints/definitions/memo_view_layout.sysml +27 -3
- package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +8 -12
- package/src/viewpoints/functional/functional_viewpoint.sysml +0 -1
- package/src/viewpoints/functional/views/function_allocation_view/function_allocation_view.sysml +19 -20
- package/src/viewpoints/functional/views/system_functional_tree_view/system_functional_tree_view.sysml +19 -20
- package/src/viewpoints/logical/logical_viewpoint.sysml +0 -1
- package/src/viewpoints/logical/views/logical_architecture_view/logical_architecture_view.sysml +19 -20
- package/src/viewpoints/operational/operational_viewpoint.sysml +0 -1
- package/src/viewpoints/operational/views/use_case_view/use_case_view.sysml +19 -20
- package/src/viewpoints/physical/physical_viewpoint.sysml +0 -1
- package/src/viewpoints/physical/views/network_topology_view/network_topology_view.sysml +19 -20
- package/src/viewpoints/physical/views/physical_bom_view/physical_bom_view.sysml +19 -20
- package/src/viewpoints/rendering/memo_rendering.sysml +5 -8
- package/src/viewpoints/requirements/requirements_viewpoint.sysml +0 -1
- package/src/viewpoints/requirements/views/requirements_traceability_view/requirements_traceability_view.sysml +19 -20
- package/src/viewpoints/risk/risk_viewpoint.sysml +0 -1
- package/src/viewpoints/risk/views/risk_chain_view/risk_chain_view.sysml +20 -21
- package/src/viewpoints/software/software_viewpoint.sysml +0 -1
- package/src/viewpoints/software/views/software_architecture_view/software_architecture_view.sysml +19 -20
- package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +7 -16
- package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +0 -1
- package/src/viewpoints/ui_layout/views/screen_layout_view/screen_layout_view.sysml +0 -1
- package/src/viewpoints/usability/usability_viewpoint.sysml +0 -1
- package/src/viewpoints/usability/views/usability_engineering_view/usability_engineering_view.sysml +8 -8
- package/src/viewpoints/verification/verification_viewpoint.sysml +0 -1
- package/src/viewpoints/verification/views/verification_coverage_view/verification_coverage_view.sysml +19 -20
- package/stage1/opensysml-ddad9e2794141c08532910cf.json.gz +0 -0
- package/stage1/syside-8176a62528c701f2f2e0fc7f.ids.gz +0 -0
- package/stage1/syside-8176a62528c701f2f2e0fc7f.json.gz +0 -0
- package/templates/default/model/catalog/assurance/requirements.sysml +1 -1
- package/stage1/opensysml-14b923f7fe63f4062aa23208.json.gz +0 -0
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
2
|
-
private import
|
|
2
|
+
private import memo::*;
|
|
3
3
|
private import ScalarValues::*;
|
|
4
4
|
|
|
5
|
-
private import memo_architecture_functional_behavior::*;
|
|
6
|
-
private import memo_core_enumerations::*;
|
|
7
|
-
private import memo_core_common::*;
|
|
8
5
|
private import memo_examples_gpca_pump_gpca_system::*;
|
|
9
6
|
private import memo_examples_gpca_pump_gpca_architecture::*;
|
|
10
7
|
|
|
11
|
-
private import memo_core_common::MemoIdentity;
|
|
12
8
|
// ═════════════════════════════════════════════════════════════
|
|
13
9
|
// GPCA mode machine per CriSys Ch.4 Fig 4.1 mode hierarchy:
|
|
14
10
|
// OFF, ON { IDLE, THERAPY { PAUSED, ACTIVE { BASAL,
|
|
@@ -35,28 +31,28 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
35
31
|
state modeOFF : MemoState {
|
|
36
32
|
@MemoIdentity { :>> providedId = "MODE-000"; }
|
|
37
33
|
attribute :>> stateKind = StateKind::mode;
|
|
38
|
-
@MemoIdentity { :>> label = "OFF"; }
|
|
34
|
+
@MemoIdentity { :>> label = "OFF"; }
|
|
39
35
|
attribute :>> modeKind = "top (default)";
|
|
40
36
|
doc /* No functionality; the GPCA is turned off. FlowRate_output = 0 (REQ 6). */
|
|
41
37
|
attribute :>> entryCondition = "System_stop_prog commanded while ON (REQ 5); default mode";
|
|
42
38
|
attribute :>> exitCondition = "System_start_prog commanded (REQ 4)";
|
|
43
|
-
|
|
39
|
+
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §4.1.2"; }
|
|
44
40
|
}
|
|
45
41
|
|
|
46
42
|
state modeON : MemoState {
|
|
47
43
|
@MemoIdentity { :>> providedId = "MODE-001"; }
|
|
48
44
|
attribute :>> stateKind = StateKind::mode;
|
|
49
|
-
@MemoIdentity { :>> label = "ON"; }
|
|
45
|
+
@MemoIdentity { :>> label = "ON"; }
|
|
50
46
|
attribute :>> modeKind = "operational parent";
|
|
51
47
|
doc /* Topmost operational mode: prescription configuration (REQ 8), infusion initiation gating (REQ 7, 9), notification (REQ 10) and logging (REQ 11) are available. */
|
|
52
48
|
attribute :>> entryCondition = "System_start_prog from OFF; A.4 variables set to defaults (REQ 4)";
|
|
53
49
|
attribute :>> exitCondition = "System_stop_prog: stop infusion, cancel all notifications (REQ 5)";
|
|
54
|
-
|
|
50
|
+
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §4.1.3"; }
|
|
55
51
|
|
|
56
52
|
state modeIDLE : MemoState {
|
|
57
53
|
@MemoIdentity { :>> providedId = "MODE-002"; }
|
|
58
54
|
attribute :>> stateKind = StateKind::mode;
|
|
59
|
-
@MemoIdentity { :>> label = "ON.IDLE"; }
|
|
55
|
+
@MemoIdentity { :>> label = "ON.IDLE"; }
|
|
60
56
|
attribute :>> modeKind = "idle";
|
|
61
57
|
doc /* Default sub-mode on entry to ON; no infusion, FlowRate_output = 0 (REQ 14); prescription set-up happens here. 'IDLE Time' actions after Max_IDLE_Duration_const (REQ 15). */
|
|
62
58
|
attribute :>> entryCondition = "OFF -> ON transition (REQ 4); infusion complete (REQ 28); PAUSED inhibit (REQ 47)";
|
|
@@ -67,7 +63,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
67
63
|
state modeTHERAPY : MemoState {
|
|
68
64
|
@MemoIdentity { :>> providedId = "MODE-003"; }
|
|
69
65
|
attribute :>> stateKind = StateKind::mode;
|
|
70
|
-
@MemoIdentity { :>> label = "ON.THERAPY"; }
|
|
66
|
+
@MemoIdentity { :>> label = "ON.THERAPY"; }
|
|
71
67
|
attribute :>> modeKind = "therapy parent";
|
|
72
68
|
doc /* Parent of all drug-delivering sub-modes. Delivers FlowRate_Mode_macro within Tolerance_Max_const (REQ 16); monitors under-infusion (REQ 17), low reservoir (REQ 18), over-infusion, VTBI, air, reverse delivery, empty reservoir (REQ 19-23). */
|
|
73
69
|
attribute :>> entryCondition = "infusion initiated (REQ 12/13)";
|
|
@@ -77,7 +73,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
77
73
|
state modePAUSED : MemoState {
|
|
78
74
|
@MemoIdentity { :>> providedId = "MODE-004"; }
|
|
79
75
|
attribute :>> stateKind = StateKind::mode;
|
|
80
|
-
@MemoIdentity { :>> label = "ON.THERAPY.PAUSED"; }
|
|
76
|
+
@MemoIdentity { :>> label = "ON.THERAPY.PAUSED"; }
|
|
81
77
|
attribute :>> modeKind = "paused (KVO delivery)";
|
|
82
78
|
doc /* Infusion paused by notification actions or manual inhibit. FlowRate_Mode_macro = FlowRate_kvo_hd — keep-vein-open flow within Tolerance_Max_const, NOT zero (REQ 43). 'PAUSED Time' actions after Max_PAUSED_Duration_const (REQ 44). Infusion_initiate_prog while Inhibited_Infusion_macro = TRUE causes no transition (REQ 45). */
|
|
83
79
|
attribute :>> entryCondition = "REQ 19-23 alarm transitions, REQ 29 manual inhibit, REQ 30 all-inhibited, REQ 37-39 sub-mode inhibits, REQ 13 initiate-while-inhibited";
|
|
@@ -88,7 +84,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
88
84
|
state modeACTIVE : MemoState {
|
|
89
85
|
@MemoIdentity { :>> providedId = "MODE-005"; }
|
|
90
86
|
attribute :>> stateKind = StateKind::mode;
|
|
91
|
-
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE"; }
|
|
87
|
+
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE"; }
|
|
92
88
|
attribute :>> modeKind = "active parent";
|
|
93
89
|
doc /* Actual infusion through BASAL, SQUARE BOLUS or PATIENT BOLUS. Only mode where a patient bolus may be requested (REQ 25). Square boluses are scheduled automatically every Interval_sbolus_prog for Duration_sbolus_prog (REQ 24). Actual_Infusion_Duration_macro accumulates here. */
|
|
94
90
|
attribute :>> entryCondition = "infusion initiated (REQ 12) or resumed (REQ 46)";
|
|
@@ -98,7 +94,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
98
94
|
state modeBASAL : MemoState {
|
|
99
95
|
@MemoIdentity { :>> providedId = "MODE-006"; }
|
|
100
96
|
attribute :>> stateKind = StateKind::mode;
|
|
101
|
-
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE.BASAL"; }
|
|
97
|
+
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE.BASAL"; }
|
|
102
98
|
attribute :>> modeKind = "active-basal";
|
|
103
99
|
doc /* Constant-rate delivery at FlowRate_basal_prog within Tolerance_Max_const (REQ 40). FlowRate_Mode_macro = FlowRate_basal_prog. */
|
|
104
100
|
attribute :>> entryCondition = "infusion initiated/resumed (REQ 12/46); square bolus ended (REQ 34); patient bolus ended (REQ 35)";
|
|
@@ -109,7 +105,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
109
105
|
state modeSQUARE : MemoState {
|
|
110
106
|
@MemoIdentity { :>> providedId = "MODE-007"; }
|
|
111
107
|
attribute :>> stateKind = StateKind::mode;
|
|
112
|
-
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE.SQUARE_BOLUS"; }
|
|
108
|
+
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE.SQUARE_BOLUS"; }
|
|
113
109
|
attribute :>> modeKind = "active-square-bolus (auto-scheduled)";
|
|
114
110
|
doc /* Prescribed extra delivery at FlowRate_sbolus_prog within Tolerance_Max_const (REQ 41). Auto-initiates at the prescribed frequency and ends after the prescribed duration — no external trigger (§4.1.8, REQ 24). FlowRate_Mode_macro = FlowRate_sbolus_prog. */
|
|
115
111
|
attribute :>> entryCondition = "scheduled start per REQ 24 with REQ 31 guards; patient bolus end with square scheduled (REQ 36)";
|
|
@@ -120,7 +116,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
120
116
|
state modePBOLUS : MemoState {
|
|
121
117
|
@MemoIdentity { :>> providedId = "MODE-008"; }
|
|
122
118
|
attribute :>> stateKind = StateKind::mode;
|
|
123
|
-
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE.PATIENT_BOLUS"; }
|
|
119
|
+
@MemoIdentity { :>> label = "ON.THERAPY.ACTIVE.PATIENT_BOLUS"; }
|
|
124
120
|
attribute :>> modeKind = "active-patient-bolus";
|
|
125
121
|
doc /* Patient-requested delivery at FlowRate_pbolus_prog within Tolerance_Max_const (REQ 42). Granted only when no REQ 25 ignore condition holds. FlowRate_Mode_macro = FlowRate_pbolus_prog. */
|
|
126
122
|
attribute :>> entryCondition = "BolusRequest_prog with no REQ 25 ignore condition (REQ 32/33)";
|
|
@@ -133,7 +129,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
133
129
|
|
|
134
130
|
// ── Mode transitions (CriSys §4.1, 1:1 with source REQs) ──
|
|
135
131
|
transition trSystemStart first modeOFF then modeON.modeIDLE {
|
|
136
|
-
@MemoIdentity { :>> label = "
|
|
132
|
+
@MemoIdentity { :>> label = "System start to idle"; }
|
|
137
133
|
@TransitionRecord {
|
|
138
134
|
:>> id = "TR-001";
|
|
139
135
|
:>> trigger = "System_start_prog commanded";
|
|
@@ -143,7 +139,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
143
139
|
}
|
|
144
140
|
}
|
|
145
141
|
transition trSystemStop first modeON then modeOFF {
|
|
146
|
-
@MemoIdentity { :>> label = "
|
|
142
|
+
@MemoIdentity { :>> label = "System stop to off"; }
|
|
147
143
|
@TransitionRecord {
|
|
148
144
|
:>> id = "TR-002";
|
|
149
145
|
:>> trigger = "System_stop_prog commanded";
|
|
@@ -153,7 +149,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
153
149
|
}
|
|
154
150
|
}
|
|
155
151
|
transition trStartTherapy first modeON.modeIDLE then modeON.modeTHERAPY.modeACTIVE.modeBASAL {
|
|
156
|
-
@MemoIdentity { :>> label = "
|
|
152
|
+
@MemoIdentity { :>> label = "Confirmed initiate to basal"; }
|
|
157
153
|
@TransitionRecord {
|
|
158
154
|
:>> id = "TR-003";
|
|
159
155
|
:>> trigger = "second Infusion_initiate_prog (confirmation per REQ 9)";
|
|
@@ -163,7 +159,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
163
159
|
}
|
|
164
160
|
}
|
|
165
161
|
transition trInitiateWhileInhibited first modeON.modeIDLE then modeON.modeTHERAPY.modePAUSED {
|
|
166
|
-
@MemoIdentity { :>> label = "
|
|
162
|
+
@MemoIdentity { :>> label = "Confirmed initiate while inhibited to paused"; }
|
|
167
163
|
@TransitionRecord {
|
|
168
164
|
:>> id = "TR-004";
|
|
169
165
|
:>> trigger = "second Infusion_initiate_prog (confirmation per REQ 9)";
|
|
@@ -173,7 +169,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
173
169
|
}
|
|
174
170
|
}
|
|
175
171
|
transition trAlarmPause first modeON.modeTHERAPY then modeON.modeTHERAPY.modePAUSED {
|
|
176
|
-
@MemoIdentity { :>> label = "
|
|
172
|
+
@MemoIdentity { :>> label = "Therapy alarm to paused KVO"; }
|
|
177
173
|
@TransitionRecord {
|
|
178
174
|
:>> id = "TR-005";
|
|
179
175
|
:>> trigger = "over-infusion flow rate (REQ 19), over-infusion VTBI (REQ 20), air embolism (REQ 21), reverse delivery (REQ 22), or empty reservoir (REQ 23) condition";
|
|
@@ -183,7 +179,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
183
179
|
}
|
|
184
180
|
}
|
|
185
181
|
transition trInfusionComplete first modeON.modeTHERAPY.modeACTIVE then modeON.modeIDLE {
|
|
186
|
-
@MemoIdentity { :>> label = "
|
|
182
|
+
@MemoIdentity { :>> label = "Infusion complete to idle"; }
|
|
187
183
|
@TransitionRecord {
|
|
188
184
|
:>> id = "TR-006";
|
|
189
185
|
:>> trigger = "Actual_Infusion_Duration_macro >= Duration_total_prog OR Actual_Volume_Infused_macro >= VTBI_total_prog";
|
|
@@ -193,7 +189,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
193
189
|
}
|
|
194
190
|
}
|
|
195
191
|
transition trManualInhibit first modeON.modeTHERAPY.modeACTIVE then modeON.modeTHERAPY.modePAUSED {
|
|
196
|
-
@MemoIdentity { :>> label = "
|
|
192
|
+
@MemoIdentity { :>> label = "Manual inhibit to paused"; }
|
|
197
193
|
@TransitionRecord {
|
|
198
194
|
:>> id = "TR-007";
|
|
199
195
|
:>> trigger = "Infusion_inhibit_prog commanded";
|
|
@@ -203,7 +199,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
203
199
|
}
|
|
204
200
|
}
|
|
205
201
|
transition trAllInhibited first modeON.modeTHERAPY.modeACTIVE then modeON.modeTHERAPY.modePAUSED {
|
|
206
|
-
@MemoIdentity { :>> label = "
|
|
202
|
+
@MemoIdentity { :>> label = "All inhibited to paused"; }
|
|
207
203
|
@TransitionRecord {
|
|
208
204
|
:>> id = "TR-008";
|
|
209
205
|
:>> trigger = "Inhibited_Infusion_macro AND Inhibited_Bolus_macro AND Inhibited_PatientBolus_macro all TRUE";
|
|
@@ -213,7 +209,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
213
209
|
}
|
|
214
210
|
}
|
|
215
211
|
transition trSquareBolus first modeON.modeTHERAPY.modeACTIVE.modeBASAL then modeON.modeTHERAPY.modeACTIVE.modeSQUARE {
|
|
216
|
-
@MemoIdentity { :>> label = "
|
|
212
|
+
@MemoIdentity { :>> label = "Scheduled square bolus start"; }
|
|
217
213
|
@TransitionRecord {
|
|
218
214
|
:>> id = "TR-009";
|
|
219
215
|
:>> trigger = "scheduled SQUARE BOLUS start — auto-initiates every Interval_sbolus_prog for Duration_sbolus_prog during Duration_total_prog (REQ 24); no external trigger";
|
|
@@ -223,7 +219,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
223
219
|
}
|
|
224
220
|
}
|
|
225
221
|
transition trPatientBolus first modeON.modeTHERAPY.modeACTIVE.modeBASAL then modeON.modeTHERAPY.modeACTIVE.modePBOLUS {
|
|
226
|
-
@MemoIdentity { :>> label = "
|
|
222
|
+
@MemoIdentity { :>> label = "Basal to patient bolus"; }
|
|
227
223
|
@TransitionRecord {
|
|
228
224
|
:>> id = "TR-010";
|
|
229
225
|
:>> trigger = "BolusRequest_prog";
|
|
@@ -233,7 +229,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
233
229
|
}
|
|
234
230
|
}
|
|
235
231
|
transition trSquareToPatientBolus first modeON.modeTHERAPY.modeACTIVE.modeSQUARE then modeON.modeTHERAPY.modeACTIVE.modePBOLUS {
|
|
236
|
-
@MemoIdentity { :>> label = "
|
|
232
|
+
@MemoIdentity { :>> label = "Square bolus to patient bolus"; }
|
|
237
233
|
@TransitionRecord {
|
|
238
234
|
:>> id = "TR-011";
|
|
239
235
|
:>> trigger = "BolusRequest_prog";
|
|
@@ -243,7 +239,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
243
239
|
}
|
|
244
240
|
}
|
|
245
241
|
transition trSquareToBasal first modeON.modeTHERAPY.modeACTIVE.modeSQUARE then modeON.modeTHERAPY.modeACTIVE.modeBASAL {
|
|
246
|
-
@MemoIdentity { :>> label = "
|
|
242
|
+
@MemoIdentity { :>> label = "Square bolus end to basal"; }
|
|
247
243
|
@TransitionRecord {
|
|
248
244
|
:>> id = "TR-012";
|
|
249
245
|
:>> trigger = "Inhibited_Bolus_macro = TRUE or scheduled square bolus end (REQ 24)";
|
|
@@ -253,7 +249,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
253
249
|
}
|
|
254
250
|
}
|
|
255
251
|
transition trPatientBolusToBasal first modeON.modeTHERAPY.modeACTIVE.modePBOLUS then modeON.modeTHERAPY.modeACTIVE.modeBASAL {
|
|
256
|
-
@MemoIdentity { :>> label = "
|
|
252
|
+
@MemoIdentity { :>> label = "Patient bolus end to basal"; }
|
|
257
253
|
@TransitionRecord {
|
|
258
254
|
:>> id = "TR-013";
|
|
259
255
|
:>> trigger = "Inhibited_PatientBolus_macro = TRUE or patient-bolus duration >= Duration_pbolus_prog";
|
|
@@ -263,7 +259,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
263
259
|
}
|
|
264
260
|
}
|
|
265
261
|
transition trPatientBolusToSquare first modeON.modeTHERAPY.modeACTIVE.modePBOLUS then modeON.modeTHERAPY.modeACTIVE.modeSQUARE {
|
|
266
|
-
@MemoIdentity { :>> label = "
|
|
262
|
+
@MemoIdentity { :>> label = "Patient bolus end to square bolus"; }
|
|
267
263
|
@TransitionRecord {
|
|
268
264
|
:>> id = "TR-014";
|
|
269
265
|
:>> trigger = "Inhibited_PatientBolus_macro = TRUE or patient-bolus duration >= Duration_pbolus_prog";
|
|
@@ -273,7 +269,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
273
269
|
}
|
|
274
270
|
}
|
|
275
271
|
transition trBasalInhibit first modeON.modeTHERAPY.modeACTIVE.modeBASAL then modeON.modeTHERAPY.modePAUSED {
|
|
276
|
-
@MemoIdentity { :>> label = "
|
|
272
|
+
@MemoIdentity { :>> label = "Basal inhibit to paused"; }
|
|
277
273
|
@TransitionRecord {
|
|
278
274
|
:>> id = "TR-015";
|
|
279
275
|
:>> trigger = "Inhibited_Infusion_macro = TRUE";
|
|
@@ -283,7 +279,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
283
279
|
}
|
|
284
280
|
}
|
|
285
281
|
transition trPatientBolusInhibit first modeON.modeTHERAPY.modeACTIVE.modePBOLUS then modeON.modeTHERAPY.modePAUSED {
|
|
286
|
-
@MemoIdentity { :>> label = "
|
|
282
|
+
@MemoIdentity { :>> label = "Patient bolus inhibit to paused"; }
|
|
287
283
|
@TransitionRecord {
|
|
288
284
|
:>> id = "TR-016";
|
|
289
285
|
:>> trigger = "Inhibited_PatientBolus_macro = TRUE AND Inhibited_Infusion_macro = TRUE";
|
|
@@ -293,7 +289,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
293
289
|
}
|
|
294
290
|
}
|
|
295
291
|
transition trSquareInhibit first modeON.modeTHERAPY.modeACTIVE.modeSQUARE then modeON.modeTHERAPY.modePAUSED {
|
|
296
|
-
@MemoIdentity { :>> label = "
|
|
292
|
+
@MemoIdentity { :>> label = "Square bolus inhibit to paused"; }
|
|
297
293
|
@TransitionRecord {
|
|
298
294
|
:>> id = "TR-017";
|
|
299
295
|
:>> trigger = "Inhibited_Bolus_macro = TRUE AND Inhibited_Infusion_macro = TRUE";
|
|
@@ -303,7 +299,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
303
299
|
}
|
|
304
300
|
}
|
|
305
301
|
transition trResume first modeON.modeTHERAPY.modePAUSED then modeON.modeTHERAPY.modeACTIVE.modeBASAL {
|
|
306
|
-
@MemoIdentity { :>> label = "
|
|
302
|
+
@MemoIdentity { :>> label = "Paused resume to basal"; }
|
|
307
303
|
@TransitionRecord {
|
|
308
304
|
:>> id = "TR-018";
|
|
309
305
|
:>> trigger = "Infusion_initiate_prog";
|
|
@@ -313,7 +309,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
313
309
|
}
|
|
314
310
|
}
|
|
315
311
|
transition trPausedStop first modeON.modeTHERAPY.modePAUSED then modeON.modeIDLE {
|
|
316
|
-
@MemoIdentity { :>> label = "
|
|
312
|
+
@MemoIdentity { :>> label = "Paused inhibit to idle"; }
|
|
317
313
|
@TransitionRecord {
|
|
318
314
|
:>> id = "TR-019";
|
|
319
315
|
:>> trigger = "Infusion_inhibit_prog commanded";
|
|
@@ -331,7 +327,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
331
327
|
// The individual configurations remain ordinary model elements, so their
|
|
332
328
|
// active mode is navigable as well as visible in the choice-point edge.
|
|
333
329
|
part basalConfiguration : ModeConfiguration {
|
|
334
|
-
@MemoIdentity { :>> providedId = "CFG-001"; :>> label = "
|
|
330
|
+
@MemoIdentity { :>> providedId = "CFG-001"; :>> label = "Basal therapy configuration"; }
|
|
335
331
|
ref :>> activeMode = topLevelModeMachine.modeON.modeTHERAPY.modeACTIVE.modeBASAL;
|
|
336
332
|
}
|
|
337
333
|
part squareBolusConfiguration : ModeConfiguration {
|
|
@@ -343,7 +339,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
343
339
|
ref :>> activeMode = topLevelModeMachine.modeON.modeTHERAPY.modeACTIVE.modePBOLUS;
|
|
344
340
|
}
|
|
345
341
|
part pausedConfiguration : ModeConfiguration {
|
|
346
|
-
@MemoIdentity { :>> providedId = "CFG-004"; :>> label = "
|
|
342
|
+
@MemoIdentity { :>> providedId = "CFG-004"; :>> label = "Paused KVO configuration"; }
|
|
347
343
|
ref :>> activeMode = topLevelModeMachine.modeON.modeTHERAPY.modePAUSED;
|
|
348
344
|
}
|
|
349
345
|
variation part activeTherapyConfiguration : ModeConfiguration[1] {
|
|
@@ -355,35 +351,35 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
355
351
|
|
|
356
352
|
// ── Behavior properties and timing constraints ──────────────
|
|
357
353
|
requirement propAlarmStopsSameStep : BehaviorProperty {
|
|
358
|
-
@MemoIdentity { :>> providedId = "BP-002"; :>> label = "
|
|
354
|
+
@MemoIdentity { :>> providedId = "BP-002"; :>> label = "Alarm response same step KVO"; }
|
|
359
355
|
attribute :>> propertyKind = BehaviorPropertyKind::safetyProperty;
|
|
360
356
|
attribute :>> languageKind = PropertyLanguageKind::pseudoFormal;
|
|
361
357
|
attribute :>> formalExpression = "ALARM.ALARM_OUT -> IM.ALARM_IN is an AADL immediate connection: when an infusion-inhibiting notification asserts, Infusion_Manager limits Commanded_Flow_Rate <= FlowRate_kvo_hd in the same execution step";
|
|
362
358
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl (ALARM_to_IM immediate) and AGREE flow <= KVO guarantees"; }
|
|
363
359
|
}
|
|
364
360
|
requirement propPausedNoResumeWhileInhibited : BehaviorProperty {
|
|
365
|
-
@MemoIdentity { :>> providedId = "BP-004"; :>> label = "
|
|
361
|
+
@MemoIdentity { :>> providedId = "BP-004"; :>> label = "Paused no transition while inhibited"; }
|
|
366
362
|
attribute :>> propertyKind = BehaviorPropertyKind::stateInvariant;
|
|
367
363
|
attribute :>> languageKind = PropertyLanguageKind::pseudoFormal;
|
|
368
364
|
attribute :>> formalExpression = "in PAUSED: Infusion_initiate_prog AND Inhibited_Infusion_macro = TRUE => mode unchanged";
|
|
369
365
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §4.1.10.1 (REQ 45)"; }
|
|
370
366
|
}
|
|
371
367
|
requirement propModeTimeoutActions : BehaviorProperty {
|
|
372
|
-
@MemoIdentity { :>> providedId = "BP-005"; :>> label = "
|
|
368
|
+
@MemoIdentity { :>> providedId = "BP-005"; :>> label = "Idle and paused timeout actions"; }
|
|
373
369
|
attribute :>> propertyKind = BehaviorPropertyKind::transitionRule;
|
|
374
370
|
attribute :>> languageKind = PropertyLanguageKind::pseudoFormal;
|
|
375
371
|
attribute :>> formalExpression = "time in IDLE > Max_IDLE_Duration_const => REQ 59 'IDLE Time' actions; time in PAUSED > Max_PAUSED_Duration_const => REQ 59 'PAUSED Time' actions (notification actions, not mode transitions)";
|
|
376
372
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §4.1.4.1 (REQ 15) and §4.1.10.1 (REQ 44)"; }
|
|
377
373
|
}
|
|
378
374
|
requirement propLockoutTimerMonotonic : BehaviorProperty {
|
|
379
|
-
@MemoIdentity { :>> providedId = "BP-003"; :>> label = "
|
|
375
|
+
@MemoIdentity { :>> providedId = "BP-003"; :>> label = "Lockout timer never shortened"; }
|
|
380
376
|
attribute :>> propertyKind = BehaviorPropertyKind::stateInvariant;
|
|
381
377
|
attribute :>> languageKind = PropertyLanguageKind::pseudoFormal;
|
|
382
378
|
attribute :>> formalExpression = "lockout_remaining decreases only with elapsed time; no input path resets it early";
|
|
383
379
|
@MemoIdentity { :>> sourceReference = "MEMO extension — supports the REQ 25.3 lockout ignore condition; invariant not stated by the source"; }
|
|
384
380
|
}
|
|
385
381
|
requirement tcAlarmLatency : TimingConstraint {
|
|
386
|
-
@MemoIdentity { :>> providedId = "TC-001"; :>> label = "
|
|
382
|
+
@MemoIdentity { :>> providedId = "TC-001"; :>> label = "Alarm to safe state latency"; }
|
|
387
383
|
attribute :>> constraintKind = TimingConstraintKind::latency;
|
|
388
384
|
attribute :>> minMs = 0 [milli*s];
|
|
389
385
|
attribute :>> maxMs = 20 [milli*s];
|
|
@@ -392,7 +388,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
392
388
|
@MemoIdentity { :>> sourceReference = "MEMO extension — illustrative wall-clock budget; the source specifies synchronous same-step (immediate) semantics with no timing figures"; }
|
|
393
389
|
}
|
|
394
390
|
requirement tcBolusResponse : TimingConstraint {
|
|
395
|
-
@MemoIdentity { :>> providedId = "TC-002"; :>> label = "
|
|
391
|
+
@MemoIdentity { :>> providedId = "TC-002"; :>> label = "Bolus request response latency"; }
|
|
396
392
|
attribute :>> constraintKind = TimingConstraintKind::latency;
|
|
397
393
|
attribute :>> minMs = 0 [milli*s];
|
|
398
394
|
attribute :>> maxMs = 100 [milli*s];
|
|
@@ -401,7 +397,7 @@ package memo_examples_gpca_pump_gpca_behavior_modes {
|
|
|
401
397
|
@MemoIdentity { :>> sourceReference = "MEMO extension — illustrative wall-clock budget; not specified by the source"; }
|
|
402
398
|
}
|
|
403
399
|
requirement tcWatchdogTimeout : TimingConstraint {
|
|
404
|
-
@MemoIdentity { :>> providedId = "TC-003"; :>> label = "
|
|
400
|
+
@MemoIdentity { :>> providedId = "TC-003"; :>> label = "Watchdog timeout"; }
|
|
405
401
|
attribute :>> constraintKind = TimingConstraintKind::deadline;
|
|
406
402
|
attribute :>> minMs = 40 [milli*s];
|
|
407
403
|
attribute :>> maxMs = 60 [milli*s];
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
2
|
-
private import
|
|
3
|
-
private import memo_core_relationships::*;
|
|
4
|
-
private import memo_assurance_verification_validation::*;
|
|
2
|
+
private import memo::*;
|
|
5
3
|
private import ScalarValues::*;
|
|
6
4
|
|
|
7
|
-
private import memo_architecture_functional_functions::*;
|
|
8
|
-
private import memo_core_enumerations::*;
|
|
9
|
-
private import memo_architecture_logical_interfaces::*;
|
|
10
|
-
private import memo_architecture_operational_use_cases::*;
|
|
11
|
-
private import memo_assurance_requirements::*;
|
|
12
|
-
private import memo_core_common::*;
|
|
13
5
|
|
|
14
|
-
private import memo_core_common::MemoIdentity;
|
|
15
6
|
// ── Logical functions ───────────────────────────────────────
|
|
16
7
|
action fnAcquireSensors : SystemFunction {
|
|
17
|
-
@MemoIdentity { :>> providedId = "FUNC-001"; :>> label = "
|
|
8
|
+
@MemoIdentity { :>> providedId = "FUNC-001"; :>> label = "Acquire sensor data"; }
|
|
18
9
|
out sensorVectorOut : InterfaceItem;
|
|
19
10
|
attribute :>> functionCategory = "sensing";
|
|
20
11
|
attribute :>> trigger = "every 20 ms execution step";
|
|
@@ -31,7 +22,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
31
22
|
// requires — a component function allocated nowhere is a
|
|
32
23
|
// responsibility nobody has accepted.
|
|
33
24
|
action cfnMeasureFlowRate : ComponentFunction {
|
|
34
|
-
@MemoIdentity { :>> providedId = "CFUN-001"; :>> label = "
|
|
25
|
+
@MemoIdentity { :>> providedId = "CFUN-001"; :>> label = "Measure flow rate"; }
|
|
35
26
|
attribute :>> functionCategory = "sensing";
|
|
36
27
|
attribute :>> actionKind = ActionKind::sense;
|
|
37
28
|
attribute :>> trigger = "continuous, sampled every 20 ms execution step";
|
|
@@ -40,7 +31,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
40
31
|
attribute :>> criticality = CriticalityKind::catastrophic;
|
|
41
32
|
}
|
|
42
33
|
action cfnDetectAirInLine : ComponentFunction {
|
|
43
|
-
@MemoIdentity { :>> providedId = "CFUN-002"; :>> label = "
|
|
34
|
+
@MemoIdentity { :>> providedId = "CFUN-002"; :>> label = "Detect air in line"; }
|
|
44
35
|
attribute :>> functionCategory = "protection";
|
|
45
36
|
attribute :>> actionKind = ActionKind::sense;
|
|
46
37
|
attribute :>> trigger = "continuous, sampled every 20 ms execution step";
|
|
@@ -50,7 +41,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
50
41
|
}
|
|
51
42
|
// The subassembly case: a component function need not sit on a leaf part.
|
|
52
43
|
action cfnAggregateSensorStatus : ComponentFunction {
|
|
53
|
-
@MemoIdentity { :>> providedId = "CFUN-003"; :>> label = "
|
|
44
|
+
@MemoIdentity { :>> providedId = "CFUN-003"; :>> label = "Aggregate sensor status"; }
|
|
54
45
|
attribute :>> functionCategory = "sensing";
|
|
55
46
|
attribute :>> actionKind = ActionKind::transform;
|
|
56
47
|
attribute :>> trigger = "every 20 ms execution step";
|
|
@@ -58,13 +49,13 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
58
49
|
attribute :>> concernKind = ConcernKind::safety;
|
|
59
50
|
attribute :>> criticality = CriticalityKind::catastrophic;
|
|
60
51
|
}
|
|
61
|
-
|
|
52
|
+
// The aggregate status is formed from the flow-rate and air-in-line readings.
|
|
62
53
|
succession first cfnMeasureFlowRate then cfnAggregateSensorStatus;
|
|
63
54
|
succession first cfnDetectAirInLine then cfnAggregateSensorStatus;
|
|
64
55
|
}
|
|
65
56
|
|
|
66
57
|
action fnValidatePrescription : SystemFunction {
|
|
67
|
-
@MemoIdentity { :>> providedId = "FUNC-002"; :>> label = "
|
|
58
|
+
@MemoIdentity { :>> providedId = "FUNC-002"; :>> label = "Validate prescription"; }
|
|
68
59
|
in prescriptionIn : InterfaceItem;
|
|
69
60
|
attribute :>> functionCategory = "configuration";
|
|
70
61
|
attribute :>> trigger = "prescription entry or edit";
|
|
@@ -73,7 +64,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
73
64
|
attribute :>> criticality = CriticalityKind::catastrophic;
|
|
74
65
|
}
|
|
75
66
|
action fnMonitorAlarm : SystemFunction {
|
|
76
|
-
@MemoIdentity { :>> providedId = "FUNC-003"; :>> label = "
|
|
67
|
+
@MemoIdentity { :>> providedId = "FUNC-003"; :>> label = "Monitor exceptional conditions"; }
|
|
77
68
|
in sensorVectorIn : InterfaceItem;
|
|
78
69
|
out alarmSignalOut : InterfaceItem;
|
|
79
70
|
attribute :>> functionCategory = "alarm";
|
|
@@ -83,7 +74,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
83
74
|
attribute :>> criticality = CriticalityKind::catastrophic;
|
|
84
75
|
}
|
|
85
76
|
action fnAnnunciate : SystemFunction {
|
|
86
|
-
@MemoIdentity { :>> providedId = "FUNC-004"; :>> label = "
|
|
77
|
+
@MemoIdentity { :>> providedId = "FUNC-004"; :>> label = "Annunciate alarms"; }
|
|
87
78
|
in alarmSignalIn : InterfaceItem;
|
|
88
79
|
attribute :>> functionCategory = "alarm";
|
|
89
80
|
attribute :>> trigger = "alarm raised, escalated, or cleared";
|
|
@@ -92,7 +83,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
92
83
|
attribute :>> criticality = CriticalityKind::high;
|
|
93
84
|
}
|
|
94
85
|
action fnManageInfusion : SystemFunction {
|
|
95
|
-
@MemoIdentity { :>> providedId = "FUNC-005"; :>> label = "
|
|
86
|
+
@MemoIdentity { :>> providedId = "FUNC-005"; :>> label = "Manage infusion"; }
|
|
96
87
|
out flowCommandOut : InterfaceItem;
|
|
97
88
|
attribute :>> functionCategory = "infusion";
|
|
98
89
|
attribute :>> trigger = "mode transitions and each execution step while therapy active";
|
|
@@ -101,7 +92,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
101
92
|
attribute :>> criticality = CriticalityKind::catastrophic;
|
|
102
93
|
}
|
|
103
94
|
action fnEnforceLimits : SystemFunction {
|
|
104
|
-
@MemoIdentity { :>> providedId = "FUNC-006"; :>> label = "
|
|
95
|
+
@MemoIdentity { :>> providedId = "FUNC-006"; :>> label = "Enforce dose limits"; }
|
|
105
96
|
attribute :>> functionCategory = "infusion";
|
|
106
97
|
attribute :>> trigger = "patient bolus request or clinician square bolus command";
|
|
107
98
|
attribute :>> outputDescription = "Bolus authorized or rejected against lockout interval and hourly maximum";
|
|
@@ -109,7 +100,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
109
100
|
attribute :>> criticality = CriticalityKind::catastrophic;
|
|
110
101
|
}
|
|
111
102
|
action fnCommandPump : SystemFunction {
|
|
112
|
-
@MemoIdentity { :>> providedId = "FUNC-007"; :>> label = "
|
|
103
|
+
@MemoIdentity { :>> providedId = "FUNC-007"; :>> label = "Command pump motor"; }
|
|
113
104
|
in flowCommandIn : InterfaceItem;
|
|
114
105
|
attribute :>> functionCategory = "actuation";
|
|
115
106
|
attribute :>> trigger = "flow command update";
|
|
@@ -118,7 +109,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
118
109
|
attribute :>> criticality = CriticalityKind::catastrophic;
|
|
119
110
|
}
|
|
120
111
|
action fnLogEvents : SystemFunction {
|
|
121
|
-
@MemoIdentity { :>> providedId = "FUNC-008"; :>> label = "
|
|
112
|
+
@MemoIdentity { :>> providedId = "FUNC-008"; :>> label = "Log therapy events"; }
|
|
122
113
|
attribute :>> functionCategory = "logging";
|
|
123
114
|
attribute :>> trigger = "dose delivered, mode change, alarm, or configuration change";
|
|
124
115
|
attribute :>> outputDescription = "Timestamped append-only event records";
|
|
@@ -126,7 +117,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
126
117
|
attribute :>> criticality = CriticalityKind::medium;
|
|
127
118
|
}
|
|
128
119
|
action fnManagePower : SystemFunction {
|
|
129
|
-
@MemoIdentity { :>> providedId = "FUNC-009"; :>> label = "
|
|
120
|
+
@MemoIdentity { :>> providedId = "FUNC-009"; :>> label = "Manage power"; }
|
|
130
121
|
attribute :>> functionCategory = "platform";
|
|
131
122
|
attribute :>> trigger = "mains-loss signal or battery level change";
|
|
132
123
|
attribute :>> outputDescription = "Power source selection, low/depleted battery conditions";
|
|
@@ -134,7 +125,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
134
125
|
attribute :>> criticality = CriticalityKind::high;
|
|
135
126
|
}
|
|
136
127
|
action fnPresentStatus : SystemFunction {
|
|
137
|
-
@MemoIdentity { :>> providedId = "FUNC-010"; :>> label = "
|
|
128
|
+
@MemoIdentity { :>> providedId = "FUNC-010"; :>> label = "Present status"; }
|
|
138
129
|
attribute :>> functionCategory = "user-interface";
|
|
139
130
|
attribute :>> trigger = "state or prescription change";
|
|
140
131
|
attribute :>> outputDescription = "Mode, prescription, delivered dose, and alarm text on display";
|
|
@@ -142,7 +133,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
142
133
|
attribute :>> criticality = CriticalityKind::high;
|
|
143
134
|
}
|
|
144
135
|
action fnSelfTest : SystemFunction {
|
|
145
|
-
@MemoIdentity { :>> providedId = "FUNC-011"; :>> label = "
|
|
136
|
+
@MemoIdentity { :>> providedId = "FUNC-011"; :>> label = "Execute self test"; }
|
|
146
137
|
attribute :>> functionCategory = "platform";
|
|
147
138
|
attribute :>> trigger = "power-on and periodic in-service checks";
|
|
148
139
|
attribute :>> outputDescription = "POST pass/fail; CPU, RAM, ROM, and sensor plausibility results";
|
|
@@ -157,7 +148,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
157
148
|
// CE-004 carries it from the operator keypad.
|
|
158
149
|
flow lfSensorAcquisition : FunctionalTransfer
|
|
159
150
|
from fnAcquireSensors.sensorVectorOut to fnMonitorAlarm.sensorVectorIn {
|
|
160
|
-
@MemoIdentity { :>> providedId = "LF-001"; :>> label = "
|
|
151
|
+
@MemoIdentity { :>> providedId = "LF-001"; :>> label = "Sensor acquisition flow"; }
|
|
161
152
|
attribute :>> flowKind = FlowKind::measurement;
|
|
162
153
|
attribute :>> latencyBudgetMs = 20 [milli*s];
|
|
163
154
|
attribute :>> staleAfterMs = 40 [milli*s];
|
|
@@ -165,7 +156,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
165
156
|
}
|
|
166
157
|
flow lfFlowCommand : FunctionalTransfer
|
|
167
158
|
from fnManageInfusion.flowCommandOut to fnCommandPump.flowCommandIn {
|
|
168
|
-
@MemoIdentity { :>> providedId = "LF-002"; :>> label = "
|
|
159
|
+
@MemoIdentity { :>> providedId = "LF-002"; :>> label = "Flow command flow"; }
|
|
169
160
|
attribute :>> flowKind = FlowKind::command;
|
|
170
161
|
attribute :>> latencyBudgetMs = 20 [milli*s];
|
|
171
162
|
attribute :>> staleAfterMs = 20 [milli*s];
|
|
@@ -173,7 +164,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
173
164
|
}
|
|
174
165
|
flow lfAlarmSignal : FunctionalTransfer
|
|
175
166
|
from fnMonitorAlarm.alarmSignalOut to fnAnnunciate.alarmSignalIn {
|
|
176
|
-
@MemoIdentity { :>> providedId = "LF-003"; :>> label = "
|
|
167
|
+
@MemoIdentity { :>> providedId = "LF-003"; :>> label = "Alarm signal flow"; }
|
|
177
168
|
attribute :>> flowKind = FlowKind::alarm;
|
|
178
169
|
attribute :>> latencyBudgetMs = 20 [milli*s];
|
|
179
170
|
attribute :>> staleAfterMs = 20 [milli*s];
|
|
@@ -182,7 +173,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
182
173
|
flow lfPrescriptionEntry : FunctionalTransfer
|
|
183
174
|
from memo_examples_gpca_pump_gpca_operational::oaProgram.prescriptionOut
|
|
184
175
|
to fnValidatePrescription.prescriptionIn {
|
|
185
|
-
@MemoIdentity { :>> providedId = "LF-004"; :>> label = "
|
|
176
|
+
@MemoIdentity { :>> providedId = "LF-004"; :>> label = "Prescription entry flow"; }
|
|
186
177
|
attribute :>> flowKind = FlowKind::configuration;
|
|
187
178
|
attribute :>> latencyBudgetMs = 500 [milli*s];
|
|
188
179
|
attribute :>> staleAfterMs = 0 [milli*s];
|
|
@@ -192,7 +183,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
192
183
|
// ── Exchange item definitions ───────────────────────────────
|
|
193
184
|
item ddPrescription : InterfaceItem {
|
|
194
185
|
attribute :>> itemKind = InterfaceItemKind::data;
|
|
195
|
-
@MemoIdentity { :>> providedId = "DD-001"; :>> label = "
|
|
186
|
+
@MemoIdentity { :>> providedId = "DD-001"; :>> label = "Prescription record"; }
|
|
196
187
|
attribute :>> semantics = "patient id, drug name, concentration, VTBI total, duration total, basal flow rate, square bolus rate/duration/interval, patient bolus rate/duration/lockout period, max boluses per hour (DD-005..DD-017)";
|
|
197
188
|
attribute :>> unit = "ml/hr, ml, minutes, mg/ml, per hour";
|
|
198
189
|
attribute :>> minValue = "pharmacy-database safe-value lower bounds (lo_hd)";
|
|
@@ -206,7 +197,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
206
197
|
}
|
|
207
198
|
item ddBolusRequest : InterfaceItem {
|
|
208
199
|
attribute :>> itemKind = InterfaceItemKind::data;
|
|
209
|
-
@MemoIdentity { :>> providedId = "DD-002"; :>> label = "
|
|
200
|
+
@MemoIdentity { :>> providedId = "DD-002"; :>> label = "Bolus request signal"; }
|
|
210
201
|
attribute :>> semantics = "debounced patient pendant press event";
|
|
211
202
|
attribute :>> encoding = "edge event with 50 ms debounce";
|
|
212
203
|
attribute :>> timestampRequired = true;
|
|
@@ -216,7 +207,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
216
207
|
}
|
|
217
208
|
item ddSensorVector : InterfaceItem {
|
|
218
209
|
attribute :>> itemKind = InterfaceItemKind::data;
|
|
219
|
-
@MemoIdentity { :>> providedId = "DD-003"; :>> label = "
|
|
210
|
+
@MemoIdentity { :>> providedId = "DD-003"; :>> label = "Sensor status vector"; }
|
|
220
211
|
attribute :>> semantics = "air-in-line, occlusion pressure, reservoir volume, door state, flow measurement, battery level, CPU/memory status";
|
|
221
212
|
attribute :>> encoding = "fixed-layout status word per 20 ms step";
|
|
222
213
|
attribute :>> timestampRequired = true;
|
|
@@ -226,7 +217,7 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
226
217
|
}
|
|
227
218
|
item ddEventRecord : InterfaceItem {
|
|
228
219
|
attribute :>> itemKind = InterfaceItemKind::data;
|
|
229
|
-
@MemoIdentity { :>> providedId = "DD-004"; :>> label = "
|
|
220
|
+
@MemoIdentity { :>> providedId = "DD-004"; :>> label = "Therapy event record"; }
|
|
230
221
|
attribute :>> semantics = "timestamped dose, alarm, mode, and configuration events";
|
|
231
222
|
attribute :>> encoding = "append-only sequenced records";
|
|
232
223
|
attribute :>> timestampRequired = true;
|
|
@@ -236,56 +227,56 @@ package memo_examples_gpca_pump_gpca_behavior_subsystems {
|
|
|
236
227
|
}
|
|
237
228
|
item cdFlowCommand : InterfaceItem {
|
|
238
229
|
attribute :>> itemKind = InterfaceItemKind::command;
|
|
239
|
-
@MemoIdentity { :>> providedId = "CD-001"; :>> label = "
|
|
230
|
+
@MemoIdentity { :>> providedId = "CD-001"; :>> label = "Flow command"; }
|
|
240
231
|
attribute :>> controlType = "commanded flow rate with enable interlock";
|
|
241
232
|
attribute :>> timeoutMs = 40 [milli*s];
|
|
242
233
|
attribute :>> retryPolicy = "no retry; missing command forces zero flow";
|
|
243
234
|
}
|
|
244
235
|
item cdAlarmSignal : InterfaceItem {
|
|
245
236
|
attribute :>> itemKind = InterfaceItemKind::command;
|
|
246
|
-
@MemoIdentity { :>> providedId = "CD-002"; :>> label = "
|
|
237
|
+
@MemoIdentity { :>> providedId = "CD-002"; :>> label = "Alarm signal"; }
|
|
247
238
|
attribute :>> controlType = "priority-coded alarm assertion (level 1 stops infusion, level 2 warns)";
|
|
248
239
|
attribute :>> timeoutMs = 20 [milli*s];
|
|
249
240
|
attribute :>> retryPolicy = "latched until acknowledged and condition cleared";
|
|
250
241
|
}
|
|
251
242
|
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
252
243
|
verification vcAuthoredCfnAggregateSensorStatus : VerificationCase {
|
|
253
|
-
@MemoIdentity { :>> providedId = "GP-VC-A01"; :>> label = "
|
|
244
|
+
@MemoIdentity { :>> providedId = "GP-VC-A01"; :>> label = "Verify aggregate sensor status"; }
|
|
254
245
|
attribute :>> methodKind = MemoVerificationMethodKind::test;
|
|
255
|
-
attribute :>> acceptanceCriteria = "'
|
|
246
|
+
attribute :>> acceptanceCriteria = "'Aggregate sensor status' meets its specified behaviour across its range, including the fault cases";
|
|
256
247
|
subject verified : Base::Anything[*] = (fnAcquireSensors.cfnAggregateSensorStatus);
|
|
257
248
|
}
|
|
258
249
|
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
259
250
|
verification vcAuthoredFnAcquireSensors : VerificationCase {
|
|
260
|
-
@MemoIdentity { :>> providedId = "GP-VC-A02"; :>> label = "
|
|
251
|
+
@MemoIdentity { :>> providedId = "GP-VC-A02"; :>> label = "Verify acquire sensor data"; }
|
|
261
252
|
attribute :>> methodKind = MemoVerificationMethodKind::test;
|
|
262
|
-
attribute :>> acceptanceCriteria = "'
|
|
253
|
+
attribute :>> acceptanceCriteria = "'Acquire sensor data' meets its specified behaviour across its range, including the fault cases";
|
|
263
254
|
subject verified : Base::Anything[*] = (fnAcquireSensors);
|
|
264
255
|
}
|
|
265
256
|
// Illustrative: authored for this example, not the record of a real test run.
|
|
266
257
|
part evAuthoredVcAuthoredCfnAggregateSensorStatus : MemoEvidence {
|
|
267
258
|
attribute :>> evidenceKind = EvidenceKind::evidence;
|
|
268
|
-
@MemoIdentity { :>> providedId = "GP-EV-A01"; :>> label = "
|
|
259
|
+
@MemoIdentity { :>> providedId = "GP-EV-A01"; :>> label = "Verify aggregate sensor status report"; }
|
|
269
260
|
attribute :>> evidenceType = "test report";
|
|
270
261
|
attribute :>> resultSummary = "Illustrative result: the acceptance criteria are met.";
|
|
271
262
|
}
|
|
272
|
-
connection : ProducesEvidence connect
|
|
263
|
+
connection : ProducesEvidence connect vcAuthoredCfnAggregateSensorStatus to evAuthoredVcAuthoredCfnAggregateSensorStatus;
|
|
273
264
|
// Illustrative: authored for this example, not the record of a real test run.
|
|
274
265
|
part evAuthoredVcAuthoredFnAcquireSensors : MemoEvidence {
|
|
275
266
|
attribute :>> evidenceKind = EvidenceKind::evidence;
|
|
276
|
-
@MemoIdentity { :>> providedId = "GP-EV-A02"; :>> label = "
|
|
267
|
+
@MemoIdentity { :>> providedId = "GP-EV-A02"; :>> label = "Verify acquire sensor data report"; }
|
|
277
268
|
attribute :>> evidenceType = "test report";
|
|
278
269
|
attribute :>> resultSummary = "Illustrative result: the acceptance criteria are met.";
|
|
279
270
|
}
|
|
280
|
-
connection : ProducesEvidence connect
|
|
271
|
+
connection : ProducesEvidence connect vcAuthoredFnAcquireSensors to evAuthoredVcAuthoredFnAcquireSensors;
|
|
281
272
|
// Illustrative: authored for this example.
|
|
282
273
|
action fcAuthoredManagePower : FunctionalFlow {
|
|
283
|
-
@MemoIdentity { :>> providedId = "FC-A01"; :>> label = "
|
|
274
|
+
@MemoIdentity { :>> providedId = "FC-A01"; :>> label = "Manage power chain"; }
|
|
284
275
|
attribute :>> flowCategory = FunctionalFlowKind::nominal;
|
|
285
276
|
attribute :>> safetyRelevant = true;
|
|
286
277
|
attribute :>> securityRelevant = false;
|
|
287
278
|
action fcsManagePower :> fnManagePower {
|
|
288
|
-
@MemoIdentity { :>> providedId = "FCS-A01"; :>> label = "
|
|
279
|
+
@MemoIdentity { :>> providedId = "FCS-A01"; :>> label = "Manage power chain step"; }
|
|
289
280
|
}
|
|
290
281
|
}
|
|
291
282
|
}
|