@memoarchitect/ontology 0.17.1 → 0.19.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/model/catalog/gastric_bypass_variants.sysml +5 -19
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/clinical_workflow/views/bypass_flow.sysml +1 -5
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/functional/views/bypass_flows.sysml +1 -5
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/views/bypass_flows.sysml +1 -5
- package/examples/gastric-bypass-variants/model/methodology/project.sysml +2 -6
- package/examples/gpca-pump/memo.identity.yaml +26 -0
- 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 +45 -55
- 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 +18 -27
- 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 +2 -7
- 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 +1 -4
- package/examples/robot-cell-family/model/catalog/systems/manipulation/manipulation_system.sysml +4 -9
- package/examples/robot-cell-family/model/catalog/systems/navigation/navigation_system.sysml +4 -9
- package/examples/robot-cell-family/model/catalog/systems/perception/perception_system.sysml +4 -9
- 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/memo.identity.yaml +1 -0
- package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +32 -43
- 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 +8 -16
- 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 +5 -12
- 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 +43 -63
- 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/memo.identity.yaml +6 -0
- 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/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 +12 -10
- 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 +5 -4
- 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 +18 -23
- package/src/architecture/operational/workflows/memo_workflows.sysml +4 -7
- 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/assurance/cybersecurity/memo_cybersecurity.sysml +7 -2
- 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 +6 -12
- package/src/core/methodology_scope/methodology_scope.sysml +3 -6
- package/src/core/relationships/memo_relationships.sysml +54 -85
- package/src/memo_namespaces.sysml +3 -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 +63 -95
- 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 +0 -1
- 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 +26 -4
- 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-2902fc96d9371a808836d5f2.json.gz +0 -0
- package/stage1/syside-4582d53a6eb0fc817277b4d3.ids.gz +0 -0
- package/stage1/syside-4582d53a6eb0fc817277b4d3.json.gz +0 -0
- package/templates/default/model/catalog/assurance/requirements.sysml +1 -1
- package/stage1/opensysml-78b939a8e298313dd51f9813.json.gz +0 -0
- package/stage1/syside-d48ff8bfaf540531526ec21a.ids.gz +0 -0
- package/stage1/syside-d48ff8bfaf540531526ec21a.json.gz +0 -0
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
package memo_examples_gpca_pump_gpca_context {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import ScalarValues::*;
|
|
3
4
|
|
|
4
|
-
private import memo_architecture_operational_context_actors::*;
|
|
5
|
-
private import memo_architecture_operational_context_use_context::*;
|
|
6
|
-
private import memo_architecture_operational_structure::*;
|
|
7
|
-
private import memo_assurance_requirements::*;
|
|
8
|
-
private import memo_assurance_safety_risk::*;
|
|
9
|
-
private import memo_assurance_human_factors::*;
|
|
10
|
-
private import memo_core_enumerations::*;
|
|
11
5
|
private import memo_examples_gpca_pump_gpca_operational::*;
|
|
12
6
|
|
|
13
|
-
private import memo_core_common::*;
|
|
14
|
-
private import memo_core_common::MemoIdentity;
|
|
15
7
|
// ── Intended use (ISO 14971 §5.2, IEC 62366-1) ──────────────
|
|
16
8
|
requirement gpcaIntendedUse : IntendedUse {
|
|
17
|
-
@MemoIdentity { :>> providedId = "IU-001"; }
|
|
18
|
-
@MemoIdentity { :>> shortDescription = "Patient-controlled analgesia infusion of prescribed opioid analgesics."; }
|
|
9
|
+
@MemoIdentity { :>> providedId = "IU-001"; :>> shortDescription = "Patient-controlled analgesia infusion of prescribed opioid analgesics."; }
|
|
19
10
|
doc /* The GPCA pump delivers a prescribed analgesic drug intravenously at a programmed basal rate, supplemented by square boluses delivered automatically at programmed intervals and by patient-requested bolus doses, subject to lockout intervals and maximum-dose limits. */
|
|
20
11
|
attribute :>> indication = "Management of acute post-operative or chronic pain requiring titrated intravenous opioid analgesia.";
|
|
21
12
|
attribute :>> contraindication = "Patients unable to comprehend or operate the bolus request mechanism; drugs without safe-value records in the hospital pharmacy database.";
|
|
@@ -28,8 +19,7 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
28
19
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §2.1-2.3 (GPCA overview, system functions, user characteristics)"; }
|
|
29
20
|
}
|
|
30
21
|
part bolusByProxyMisuse : ReasonablyForeseeableMisuse {
|
|
31
|
-
@MemoIdentity { :>> providedId = "RFM-001"; :>> label = "
|
|
32
|
-
@MemoIdentity { :>> shortDescription = "A caregiver or visitor presses the patient bolus control."; }
|
|
22
|
+
@MemoIdentity { :>> providedId = "RFM-001"; :>> label = "Bolus request by someone other than patient"; :>> shortDescription = "A caregiver or visitor presses the patient bolus control."; }
|
|
33
23
|
doc /* A person other than the patient activates the bolus request control, bypassing the intended patient self-limiting behavior. */
|
|
34
24
|
attribute :>> misuseContext = "Patient-controlled analgesia in a supervised hospital setting.";
|
|
35
25
|
attribute :>> foreseeableBasis = "Known PCA use pattern represented in the GPCA hazard analysis.";
|
|
@@ -39,7 +29,7 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
39
29
|
|
|
40
30
|
// ── Use contexts ────────────────────────────────────────────
|
|
41
31
|
part hospitalWardContext : UseContext {
|
|
42
|
-
@MemoIdentity { :>> providedId = "UC-001"; :>> label = "
|
|
32
|
+
@MemoIdentity { :>> providedId = "UC-001"; :>> label = "Hospital ward use context"; }
|
|
43
33
|
attribute :>> careSetting = "acute-care hospital ward and post-anesthesia care unit";
|
|
44
34
|
attribute :>> environment = "indoor clinical environment, mains power with battery backup, pole or bed-rail mounted";
|
|
45
35
|
attribute :>> jurisdiction = "generic (FDA/EU reference model)";
|
|
@@ -58,7 +48,7 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
58
48
|
}
|
|
59
49
|
part actorNurse : User {
|
|
60
50
|
attribute :>> actorKind = ActorKind::clinician;
|
|
61
|
-
@MemoIdentity { :>> providedId = "ACT-002"; :>> label = "
|
|
51
|
+
@MemoIdentity { :>> providedId = "ACT-002"; :>> label = "Clinician nurse"; }
|
|
62
52
|
attribute :>> trainingLevel = "trained clinical user; programs prescriptions and responds to alarms";
|
|
63
53
|
doc /* Loads the drug reservoir, programs and confirms the prescription, starts/stops therapy, and responds to alarms. */
|
|
64
54
|
perform oaProgram;
|
|
@@ -68,7 +58,7 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
68
58
|
}
|
|
69
59
|
part actorPrescriber : User {
|
|
70
60
|
attribute :>> actorKind = ActorKind::clinician;
|
|
71
|
-
@MemoIdentity { :>> providedId = "ACT-003"; :>> label = "
|
|
61
|
+
@MemoIdentity { :>> providedId = "ACT-003"; :>> label = "Prescribing physician"; }
|
|
72
62
|
attribute :>> trainingLevel = "licensed prescriber";
|
|
73
63
|
doc /* Prescribes drug, concentration, basal rate, bolus volume, lockout interval, and maximum dose limits. */
|
|
74
64
|
perform oaPrescribe;
|
|
@@ -82,7 +72,7 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
82
72
|
}
|
|
83
73
|
part actorTechnician : User {
|
|
84
74
|
attribute :>> actorKind = ActorKind::technician;
|
|
85
|
-
@MemoIdentity { :>> providedId = "ACT-005"; :>> label = "
|
|
75
|
+
@MemoIdentity { :>> providedId = "ACT-005"; :>> label = "Biomedical technician"; }
|
|
86
76
|
attribute :>> trainingLevel = "service-trained; authenticated service access";
|
|
87
77
|
doc /* Performs maintenance, battery replacement, and calibration through the service interface. */
|
|
88
78
|
perform oaMaintain;
|
|
@@ -90,7 +80,7 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
90
80
|
|
|
91
81
|
// ── Foreseeable use errors (IEC 62366-1, AAMI TIR PCA) ──────
|
|
92
82
|
part ueMisprogrammedRate : UseError {
|
|
93
|
-
@MemoIdentity { :>> providedId = "UE-001"; :>> label = "
|
|
83
|
+
@MemoIdentity { :>> providedId = "UE-001"; :>> label = "Misprogrammed infusion parameters"; }
|
|
94
84
|
attribute :>> errorCategory = UseErrorCategoryKind::actionCategory;
|
|
95
85
|
attribute :>> severity = SeverityKind::catastrophic;
|
|
96
86
|
attribute :>> rootCauseType = "decimal-point / unit entry slip during prescription programming";
|
|
@@ -103,18 +93,16 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
103
93
|
attribute :>> severity = SeverityKind::catastrophic;
|
|
104
94
|
attribute :>> rootCauseType = "family member or caregiver presses bolus button on behalf of a sedated patient";
|
|
105
95
|
doc /* Bolus doses requested by someone other than the patient defeat the inherent safety of patient-limited dosing. */
|
|
106
|
-
@MemoIdentity { :>> sourceReference = "illustrative — no source"; }
|
|
107
96
|
}
|
|
108
97
|
part ueWrongDrugLoaded : UseError {
|
|
109
|
-
@MemoIdentity { :>> providedId = "UE-003"; :>> label = "
|
|
98
|
+
@MemoIdentity { :>> providedId = "UE-003"; :>> label = "Wrong drug or concentration loaded"; }
|
|
110
99
|
attribute :>> errorCategory = UseErrorCategoryKind::cognition;
|
|
111
100
|
attribute :>> severity = SeverityKind::catastrophic;
|
|
112
101
|
attribute :>> rootCauseType = "reservoir containing wrong drug or concentration mounted without verification";
|
|
113
102
|
doc /* Loaded drug or concentration differs from the programmed prescription, so delivered dose differs from intended dose. */
|
|
114
|
-
@MemoIdentity { :>> sourceReference = "illustrative — no source"; }
|
|
115
103
|
}
|
|
116
104
|
part ueAlarmDisregard : UseError {
|
|
117
|
-
@MemoIdentity { :>> providedId = "UE-004"; :>> label = "
|
|
105
|
+
@MemoIdentity { :>> providedId = "UE-004"; :>> label = "Alarm silenced and forgotten"; }
|
|
118
106
|
attribute :>> errorCategory = UseErrorCategoryKind::memoryRecall;
|
|
119
107
|
attribute :>> severity = SeverityKind::serious;
|
|
120
108
|
attribute :>> rootCauseType = "alarm silenced during high workload and the underlying condition never resolved";
|
|
@@ -124,8 +112,8 @@ package memo_examples_gpca_pump_gpca_context {
|
|
|
124
112
|
// Which task each use error is committed during (IEC 62366-1). This was
|
|
125
113
|
// a `taskReference` string naming the task by id and title; nothing could
|
|
126
114
|
// follow it, and CommitsUseError is what the ontology declares for it.
|
|
127
|
-
connection : CommitsUseError connect
|
|
128
|
-
connection : CommitsUseError connect
|
|
129
|
-
connection : CommitsUseError connect
|
|
130
|
-
connection : CommitsUseError connect
|
|
115
|
+
connection : CommitsUseError connect oaProgram to ueMisprogrammedRate;
|
|
116
|
+
connection : CommitsUseError connect oaRequestBolus to ueBolusByProxy;
|
|
117
|
+
connection : CommitsUseError connect oaLoadReservoir to ueWrongDrugLoaded;
|
|
118
|
+
connection : CommitsUseError connect oaRespondAlarm to ueAlarmDisregard;
|
|
131
119
|
}
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
package memo_examples_gpca_pump_gpca_cybersecurity {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import ScalarValues::*;
|
|
3
4
|
private import memo_core_dimensions::*; // ElementStatusKind
|
|
4
5
|
|
|
5
|
-
private import memo_assurance_cybersecurity::*;
|
|
6
|
-
private import memo_assurance_requirements::*;
|
|
7
|
-
private import memo_assurance_safety_risk::*;
|
|
8
|
-
private import memo_assurance_verification_validation::*;
|
|
9
|
-
private import memo_core_enumerations::*;
|
|
10
|
-
private import memo_core_common::*;
|
|
11
|
-
private import memo_architecture_operational_scenarios::*;
|
|
12
|
-
private import memo_core_relationships::*;
|
|
13
6
|
private import memo_examples_gpca_pump_gpca_architecture::*;
|
|
14
7
|
private import memo_examples_gpca_pump_gpca_risk::*;
|
|
15
8
|
private import memo_examples_gpca_pump_gpca_requirements::*;
|
|
16
9
|
private import memo_examples_gpca_pump_gpca_verification::*;
|
|
17
10
|
|
|
18
|
-
private import memo_core_common::MemoIdentity;
|
|
19
11
|
part therapyConfigurationAsset : CybersecurityAsset {
|
|
20
12
|
@MemoIdentity { :>> providedId = "AST-CYB-001"; }
|
|
21
13
|
attribute :>> assetKind = AssetKind::configuration;
|
|
@@ -47,18 +39,18 @@ package memo_examples_gpca_pump_gpca_cybersecurity {
|
|
|
47
39
|
|
|
48
40
|
// --8<-- [start:threat]
|
|
49
41
|
part unauthorizedConfigChangeThreat : Threat {
|
|
50
|
-
@MemoIdentity { :>> providedId = "TH-001"; :>> label = "
|
|
42
|
+
@MemoIdentity { :>> providedId = "TH-001"; :>> label = "Unauthorized therapy configuration change"; }
|
|
51
43
|
attribute :>> driverKind = "cybersecurity";
|
|
52
44
|
attribute :>> threatCategory = ThreatCategoryKind::tampering;
|
|
53
45
|
attribute :>> attackVector = "maintenance port";
|
|
54
46
|
attribute :>> threatSource = "unauthorized actor with local access";
|
|
55
47
|
attribute :>> precondition = "maintenance interface exposed without strong authentication";
|
|
56
48
|
attribute :>> affectedConcern = ConcernKind::cybersecurity;
|
|
57
|
-
|
|
49
|
+
// --8<-- [end:threat]
|
|
58
50
|
}
|
|
59
51
|
|
|
60
52
|
part eventLogTamperingThreat : Threat {
|
|
61
|
-
@MemoIdentity { :>> providedId = "TH-002"; :>> label = "
|
|
53
|
+
@MemoIdentity { :>> providedId = "TH-002"; :>> label = "Patient event log tampering"; }
|
|
62
54
|
attribute :>> driverKind = "cybersecurity";
|
|
63
55
|
attribute :>> threatCategory = ThreatCategoryKind::repudiation;
|
|
64
56
|
attribute :>> attackVector = "maintenance port";
|
|
@@ -75,18 +67,18 @@ package memo_examples_gpca_pump_gpca_cybersecurity {
|
|
|
75
67
|
attribute :>> discoveryMethod = "architecture review";
|
|
76
68
|
ref :>> affectedElement = gpcaSoftware.config;
|
|
77
69
|
attribute :>> cweReference = "CWE-798";
|
|
78
|
-
|
|
70
|
+
// --8<-- [end:vulnerability]
|
|
79
71
|
}
|
|
80
72
|
|
|
81
73
|
action tamperedConfigurationScenario : OperativeScenario {
|
|
82
|
-
@MemoIdentity { :>> providedId = "SCN-001"; :>> label = "
|
|
74
|
+
@MemoIdentity { :>> providedId = "SCN-001"; :>> label = "Tampered therapy configuration scenario"; }
|
|
83
75
|
doc /* An attacker with local access to the maintenance port alters lockout or dose parameters, aiming to bypass safety limits; may enable unsafe therapy delivery or bypass safeguards. */
|
|
84
76
|
attribute :>> actorDescription = "unauthorized actor with local access to the maintenance port";
|
|
85
77
|
attribute :>> defaultCategory = ThreatCategoryKind::tampering;
|
|
86
78
|
}
|
|
87
79
|
|
|
88
80
|
item unsafeDoseCyberHazard : CyberHazard {
|
|
89
|
-
@MemoIdentity { :>> providedId = "CHZ-001"; :>> label = "
|
|
81
|
+
@MemoIdentity { :>> providedId = "CHZ-001"; :>> label = "Unsafe therapy configuration hazard"; }
|
|
90
82
|
attribute :>> hazardType = HazardTypeKind::drugDeliveryError;
|
|
91
83
|
attribute :>> foreseeable = true;
|
|
92
84
|
attribute :>> securityImpact = "loss of configuration integrity";
|
|
@@ -109,7 +101,7 @@ package memo_examples_gpca_pump_gpca_cybersecurity {
|
|
|
109
101
|
}
|
|
110
102
|
|
|
111
103
|
part strongServiceAuthentication : CyberMitigation {
|
|
112
|
-
@MemoIdentity { :>> providedId = "CMIT-001"; :>> label = "
|
|
104
|
+
@MemoIdentity { :>> providedId = "CMIT-001"; :>> label = "Strong service authentication and audit"; }
|
|
113
105
|
attribute :>> controlKind = RiskControlKind::protectiveMeasure;
|
|
114
106
|
attribute :>> implementationKind = RiskControlImplementationKind::softwareDesign;
|
|
115
107
|
attribute :>> verificationStatus = "planned";
|
|
@@ -119,8 +111,8 @@ package memo_examples_gpca_pump_gpca_cybersecurity {
|
|
|
119
111
|
}
|
|
120
112
|
|
|
121
113
|
requirement reqAuthenticatedServiceAccess : SecurityRequirement {
|
|
122
|
-
@MemoIdentity { :>> providedId = "SREQ-001"; :>> label = "
|
|
123
|
-
|
|
114
|
+
@MemoIdentity { :>> providedId = "SREQ-001"; :>> label = "Authenticated service access"; }
|
|
115
|
+
doc /* The system shall require authenticated and authorized service access before any therapy configuration parameter can be modified. */
|
|
124
116
|
attribute :>> sourceKind = RequirementSourceKind::risk;
|
|
125
117
|
attribute :>> concernKind = ConcernKind::cybersecurity;
|
|
126
118
|
attribute :>> status = ElementStatusKind::approved;
|
|
@@ -134,7 +126,7 @@ package memo_examples_gpca_pump_gpca_cybersecurity {
|
|
|
134
126
|
}
|
|
135
127
|
|
|
136
128
|
verification vcAuthenticatedServiceAccess : VerificationCase {
|
|
137
|
-
@MemoIdentity { :>> providedId = "CVER-001"; :>> label = "
|
|
129
|
+
@MemoIdentity { :>> providedId = "CVER-001"; :>> label = "Verify authenticated service access"; }
|
|
138
130
|
attribute :>> methodKind = MemoVerificationMethodKind::test;
|
|
139
131
|
attribute :>> acceptanceCriteria = "Only authenticated and authorized service sessions may modify therapy configuration; all attempts are logged.";
|
|
140
132
|
attribute :>> status = ElementStatusKind::approved;
|
|
@@ -143,27 +135,27 @@ package memo_examples_gpca_pump_gpca_cybersecurity {
|
|
|
143
135
|
}
|
|
144
136
|
|
|
145
137
|
// --8<-- [start:chain]
|
|
146
|
-
connection : ThreatenedBy connect
|
|
138
|
+
connection : ThreatenedBy connect therapyConfigurationAsset to unauthorizedConfigChangeThreat;
|
|
147
139
|
|
|
148
|
-
connection : ThreatenedBy connect
|
|
140
|
+
connection : ThreatenedBy connect patientEventLogAsset to eventLogTamperingThreat;
|
|
149
141
|
|
|
150
|
-
connection : Exploits connect
|
|
142
|
+
connection : Exploits connect unauthorizedConfigChangeThreat to weakServiceAuthentication;
|
|
151
143
|
|
|
152
|
-
connection : RealizedByScenario connect
|
|
144
|
+
connection : RealizedByScenario connect unauthorizedConfigChangeThreat to tamperedConfigurationScenario;
|
|
153
145
|
// --8<-- [end:chain]
|
|
154
146
|
|
|
155
|
-
connection : Mitigates connect
|
|
147
|
+
connection : Mitigates connect strongServiceAuthentication to weakServiceAuthentication { attribute :>> mitigationKind = MitigationKind::vulnerability; }
|
|
156
148
|
|
|
157
|
-
connection : DerivesCyberRequirement connect
|
|
149
|
+
connection : DerivesCyberRequirement connect unauthorizedConfigChangeThreat to reqAuthenticatedServiceAccess;
|
|
158
150
|
|
|
159
|
-
connection : DerivesCyberRequirement connect
|
|
151
|
+
connection : DerivesCyberRequirement connect eventLogTamperingThreat to reqAuthenticatedServiceAccess;
|
|
160
152
|
|
|
161
153
|
// A security risk feeds safety risk management at the hazard it can
|
|
162
154
|
// cause (AAMI TIR57), not at another risk's estimate: tampered therapy
|
|
163
155
|
// configuration is a route to over-infusion.
|
|
164
|
-
connection : ImpactsSafety connect
|
|
156
|
+
connection : ImpactsSafety connect configurationTamperingRisk to overdoseHazard;
|
|
165
157
|
|
|
166
|
-
connection : CrossesTrustBoundary connect
|
|
158
|
+
connection : CrossesTrustBoundary connect maintenancePortBoundary to therapyConfigurationAsset;
|
|
167
159
|
|
|
168
|
-
connection : ProducesEvidence connect
|
|
160
|
+
connection : ProducesEvidence connect vcAuthenticatedServiceAccess to evidenceLockout;
|
|
169
161
|
}
|
|
@@ -3,21 +3,18 @@
|
|
|
3
3
|
// the harmonised IEC/ISO packs and 21 CFR Part 820 where a CE-only project would not be asked for the FDA
|
|
4
4
|
// clauses. They replace the project binding's `regulatoryRegime`.
|
|
5
5
|
package memo_examples_gpca_pump_gpca_devices {
|
|
6
|
-
private import
|
|
7
|
-
private import memo_core_common::*;
|
|
8
|
-
private import memo_core_common::MemoIdentity;
|
|
9
|
-
private import memo_artifacts_configuration_management::*;
|
|
6
|
+
private import memo::*;
|
|
10
7
|
|
|
11
8
|
part deviceCe : RegulatedDevice {
|
|
12
|
-
@MemoIdentity { :>> providedId = "DEV-CE"; :>> label = "
|
|
9
|
+
@MemoIdentity { :>> providedId = "DEV-CE"; :>> label = "GPCA pump CE"; }
|
|
13
10
|
attribute :>> jurisdiction = RegulatoryRegimeKind::CE;
|
|
14
11
|
}
|
|
15
12
|
part deviceMdr : RegulatedDevice {
|
|
16
|
-
@MemoIdentity { :>> providedId = "DEV-MDR"; :>> label = "
|
|
13
|
+
@MemoIdentity { :>> providedId = "DEV-MDR"; :>> label = "GPCA pump MDR"; }
|
|
17
14
|
attribute :>> jurisdiction = RegulatoryRegimeKind::MDR;
|
|
18
15
|
}
|
|
19
16
|
part deviceFda : RegulatedDevice {
|
|
20
|
-
@MemoIdentity { :>> providedId = "DEV-FDA"; :>> label = "
|
|
17
|
+
@MemoIdentity { :>> providedId = "DEV-FDA"; :>> label = "GPCA pump FDA 510(k)"; }
|
|
21
18
|
attribute :>> jurisdiction = RegulatoryRegimeKind::FDA_510k;
|
|
22
19
|
}
|
|
23
20
|
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
package memo_examples_gpca_pump_gpca_formal_behavior {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import ScalarValues::*;
|
|
3
4
|
|
|
4
|
-
private import memo_architecture_functional_behavior::*;
|
|
5
|
-
private import memo_core_enumerations::*;
|
|
6
5
|
|
|
7
|
-
private import memo_core_common::*;
|
|
8
|
-
private import memo_core_common::MemoIdentity;
|
|
9
6
|
private import memo_examples_gpca_pump_gpca_architecture::*;
|
|
10
7
|
// ═════════════════════════════════════════════════════════════
|
|
11
8
|
// Formal assume/guarantee properties translated 1:1 from the
|
|
@@ -20,8 +17,7 @@ package memo_examples_gpca_pump_gpca_formal_behavior {
|
|
|
20
17
|
// The three subcomponent contracts name their component only: their AGREE
|
|
21
18
|
// annexes are cited, not translated.
|
|
22
19
|
requirement gpcaSwContract : Contract {
|
|
23
|
-
@MemoIdentity { :>> providedId = "CTR-000"; :>> label = "
|
|
24
|
-
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex"; }
|
|
20
|
+
@MemoIdentity { :>> providedId = "CTR-000"; :>> label = "GPCA SW composite contract"; :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex"; }
|
|
25
21
|
subject :>> component = gpcaSoftware;
|
|
26
22
|
assume assumeVtbiHighPositive;
|
|
27
23
|
assume assumeEmptyReservoirPositive;
|
|
@@ -39,39 +35,36 @@ package memo_examples_gpca_pump_gpca_formal_behavior {
|
|
|
39
35
|
require guaranteeLockoutPreventsBolus;
|
|
40
36
|
}
|
|
41
37
|
requirement topLevelContract : Contract {
|
|
42
|
-
@MemoIdentity { :>> providedId = "CTR-001"; :>> label = "
|
|
43
|
-
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, Top_Level_Mode.aadl AGREE annex"; }
|
|
38
|
+
@MemoIdentity { :>> providedId = "CTR-001"; :>> label = "Top level mode contract"; :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, Top_Level_Mode.aadl AGREE annex"; }
|
|
44
39
|
subject :>> component = gpcaSoftware.tlm;
|
|
45
40
|
}
|
|
46
41
|
requirement infusionManagerContract : Contract {
|
|
47
|
-
@MemoIdentity { :>> providedId = "CTR-002"; }
|
|
48
|
-
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, Infusion_Manager.aadl AGREE annex"; }
|
|
42
|
+
@MemoIdentity { :>> providedId = "CTR-002"; :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, Infusion_Manager.aadl AGREE annex"; }
|
|
49
43
|
subject :>> component = gpcaSoftware.infusionMgr;
|
|
50
44
|
}
|
|
51
45
|
requirement alarmContract : Contract {
|
|
52
|
-
@MemoIdentity { :>> providedId = "CTR-003"; }
|
|
53
|
-
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, Alarm.aadl AGREE annex"; }
|
|
46
|
+
@MemoIdentity { :>> providedId = "CTR-003"; :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, Alarm.aadl AGREE annex"; }
|
|
54
47
|
subject :>> component = gpcaSoftware.alarm;
|
|
55
48
|
}
|
|
56
49
|
|
|
57
50
|
// ── Assumptions (GPCA_SW.aadl) ──────────────────────────────
|
|
58
51
|
requirement assumeVtbiHighPositive : BehaviorProperty {
|
|
59
52
|
attribute :>> propertyKind = BehaviorPropertyKind::assumption;
|
|
60
|
-
@MemoIdentity { :>> providedId = "AP-002"; :>> label = "
|
|
53
|
+
@MemoIdentity { :>> providedId = "AP-002"; :>> label = "VTBI high positive"; }
|
|
61
54
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
62
55
|
attribute :>> formalExpression = "assume DB_IN.VTBI_High > 0";
|
|
63
56
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex"; }
|
|
64
57
|
}
|
|
65
58
|
requirement assumeEmptyReservoirPositive : BehaviorProperty {
|
|
66
59
|
attribute :>> propertyKind = BehaviorPropertyKind::assumption;
|
|
67
|
-
@MemoIdentity { :>> providedId = "AP-003"; :>> label = "
|
|
60
|
+
@MemoIdentity { :>> providedId = "AP-003"; :>> label = "Empty reservoir const positive"; }
|
|
68
61
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
69
62
|
attribute :>> formalExpression = "assume CONST_IN.Empty_Reservoir > 0";
|
|
70
63
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex"; }
|
|
71
64
|
}
|
|
72
65
|
requirement assumeValidPrescriptionSaved : BehaviorProperty {
|
|
73
66
|
attribute :>> propertyKind = BehaviorPropertyKind::assumption;
|
|
74
|
-
@MemoIdentity { :>> providedId = "AP-001"; :>> label = "
|
|
67
|
+
@MemoIdentity { :>> providedId = "AP-001"; :>> label = "Valid prescription saved before therapy"; }
|
|
75
68
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
76
69
|
attribute :>> formalExpression = "assume a saved prescription is available before infusion initiation";
|
|
77
70
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §4.1.3.1 (REQ 7)"; }
|
|
@@ -80,77 +73,77 @@ package memo_examples_gpca_pump_gpca_formal_behavior {
|
|
|
80
73
|
// ── Guarantees (GPCA_SW.aadl AGREE annex, 1:1) ──────────────
|
|
81
74
|
requirement guaranteeExclusiveMode : BehaviorProperty {
|
|
82
75
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
83
|
-
@MemoIdentity { :>> providedId = "GP-001"; :>> label = "
|
|
76
|
+
@MemoIdentity { :>> providedId = "GP-001"; :>> label = "Mode range"; }
|
|
84
77
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
85
78
|
attribute :>> formalExpression = "guarantee mode_range: GPCA_SW_OUT.Current_System_Mode in {0, 1, 2, 3, 4, 6, 7, 8} (source enumeration omits 5)";
|
|
86
79
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex (REQ 1)"; }
|
|
87
80
|
}
|
|
88
81
|
requirement guaranteeOffMode : BehaviorProperty {
|
|
89
82
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
90
|
-
@MemoIdentity { :>> providedId = "GP-004"; :>> label = "
|
|
83
|
+
@MemoIdentity { :>> providedId = "GP-004"; :>> label = "Not start implies mode zero"; }
|
|
91
84
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
92
85
|
attribute :>> formalExpression = "guarantee not(OP_CMD_IN.System_Start) => GPCA_SW_OUT.Current_System_Mode = 0";
|
|
93
86
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex"; }
|
|
94
87
|
}
|
|
95
88
|
requirement guaranteeInitialStart : BehaviorProperty {
|
|
96
89
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
97
|
-
@MemoIdentity { :>> providedId = "GP-005"; :>> label = "
|
|
90
|
+
@MemoIdentity { :>> providedId = "GP-005"; :>> label = "Initial system start implies mode one"; }
|
|
98
91
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
99
92
|
attribute :>> formalExpression = "guarantee sys_initial and OP_CMD_IN.System_Start => GPCA_SW_OUT.Current_System_Mode = 1";
|
|
100
93
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex (REQ 4 allocation: TLM System_Start -> System_On; IM System_On -> mode 1)"; }
|
|
101
94
|
}
|
|
102
95
|
requirement guaranteeOffToOn : BehaviorProperty {
|
|
103
96
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
104
|
-
@MemoIdentity { :>> providedId = "GP-006"; :>> label = "
|
|
97
|
+
@MemoIdentity { :>> providedId = "GP-006"; :>> label = "Off to on implies mode one"; }
|
|
105
98
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
106
99
|
attribute :>> formalExpression = "guarantee not(sys_initial) and pre(GPCA_SW_OUT.Current_System_Mode) = 0 and OP_CMD_IN.System_Start => GPCA_SW_OUT.Current_System_Mode = 1";
|
|
107
100
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex (REQ 4)"; }
|
|
108
101
|
}
|
|
109
102
|
requirement guaranteeEmptyReservoirNoFlow : BehaviorProperty {
|
|
110
103
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
111
|
-
@MemoIdentity { :>> providedId = "GP-007"; :>> label = "
|
|
104
|
+
@MemoIdentity { :>> providedId = "GP-007"; :>> label = "Empty reservoir implies no flow"; }
|
|
112
105
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
113
106
|
attribute :>> formalExpression = "guarantee (OP_CMD_IN.System_Start and pre(Current_System_Mode) > 1 and GPCA_SW_OUT.Reservoir_Volume < CONST_IN.Empty_Reservoir) => GPCA_SW_OUT.Commanded_Flow_Rate = 0";
|
|
114
107
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex (REQ 59 'Empty Reservoir')"; }
|
|
115
108
|
}
|
|
116
109
|
requirement guaranteeVtbiKvo : BehaviorProperty {
|
|
117
110
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
118
|
-
@MemoIdentity { :>> providedId = "GP-008"; :>> label = "
|
|
111
|
+
@MemoIdentity { :>> providedId = "GP-008"; :>> label = "Over VTBI implies flow at most KVO"; }
|
|
119
112
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
120
113
|
attribute :>> formalExpression = "guarantee (OP_CMD_IN.System_Start and pre(Current_System_Mode) > 1 and GPCA_SW_OUT.Volume_Infused > DB_IN.VTBI_High) => GPCA_SW_OUT.Commanded_Flow_Rate <= GPCA_SW_OUT.Flow_Rate_KVO";
|
|
121
114
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex (over-infusion => keep-vein-open, not zero)"; }
|
|
122
115
|
}
|
|
123
116
|
requirement guaranteeAirInLineKvo : BehaviorProperty {
|
|
124
117
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
125
|
-
@MemoIdentity { :>> providedId = "GP-009"; :>> label = "
|
|
118
|
+
@MemoIdentity { :>> providedId = "GP-009"; :>> label = "Air in line implies flow at most KVO"; }
|
|
126
119
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
127
120
|
attribute :>> formalExpression = "guarantee (OP_CMD_IN.System_Start and SENSOR_IN.Air_In_Line) => GPCA_SW_OUT.Commanded_Flow_Rate <= GPCA_SW_OUT.Flow_Rate_KVO";
|
|
128
121
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex (REQ 21 'Air embolism')"; }
|
|
129
122
|
}
|
|
130
123
|
requirement guaranteeOcclusionKvo : BehaviorProperty {
|
|
131
124
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
132
|
-
@MemoIdentity { :>> providedId = "GP-010"; :>> label = "
|
|
125
|
+
@MemoIdentity { :>> providedId = "GP-010"; :>> label = "Occlusion implies flow at most KVO"; }
|
|
133
126
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
134
127
|
attribute :>> formalExpression = "guarantee (OP_CMD_IN.System_Start and SENSOR_IN.Occlusion) => GPCA_SW_OUT.Commanded_Flow_Rate <= GPCA_SW_OUT.Flow_Rate_KVO";
|
|
135
128
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex"; }
|
|
136
129
|
}
|
|
137
130
|
requirement guaranteeDoorOpenKvo : BehaviorProperty {
|
|
138
131
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
139
|
-
@MemoIdentity { :>> providedId = "GP-011"; :>> label = "
|
|
132
|
+
@MemoIdentity { :>> providedId = "GP-011"; :>> label = "Door open implies flow at most KVO"; }
|
|
140
133
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
141
134
|
attribute :>> formalExpression = "guarantee (OP_CMD_IN.System_Start and SENSOR_IN.Door_Open) => GPCA_SW_OUT.Commanded_Flow_Rate <= GPCA_SW_OUT.Flow_Rate_KVO";
|
|
142
135
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl AGREE annex"; }
|
|
143
136
|
}
|
|
144
137
|
requirement guaranteeAlarmStopsSameStep : BehaviorProperty {
|
|
145
138
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
146
|
-
@MemoIdentity { :>> providedId = "GP-003"; :>> label = "
|
|
139
|
+
@MemoIdentity { :>> providedId = "GP-003"; :>> label = "Same step alarm KVO guarantee"; }
|
|
147
140
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
148
141
|
attribute :>> formalExpression = "guarantee an infusion-inhibiting notification in a step implies Commanded_Flow_Rate <= Flow_Rate_KVO in the same step (ALARM_OUT -> IM.ALARM_IN is an immediate connection)";
|
|
149
142
|
@MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, GPCA_SW.aadl (ALARM_to_IM immediate) with the flow <= KVO guarantees above"; }
|
|
150
143
|
}
|
|
151
144
|
requirement guaranteeLockoutPreventsBolus : BehaviorProperty {
|
|
152
145
|
attribute :>> propertyKind = BehaviorPropertyKind::guarantee;
|
|
153
|
-
@MemoIdentity { :>> providedId = "GP-002"; :>> label = "
|
|
146
|
+
@MemoIdentity { :>> providedId = "GP-002"; :>> label = "Lockout guarantee"; }
|
|
154
147
|
attribute :>> languageKind = PropertyLanguageKind::agreeLike;
|
|
155
148
|
attribute :>> formalExpression = "guarantee a BolusRequest_prog inside the LockOutPeriod_pbolus_prog window is ignored and no PATIENT BOLUS is initiated";
|
|
156
149
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §4.1.6.1 (REQ 25.3, REQ 26)"; }
|
|
@@ -158,14 +151,14 @@ package memo_examples_gpca_pump_gpca_formal_behavior {
|
|
|
158
151
|
|
|
159
152
|
// ── Temporal properties over the mode machine ───────────────
|
|
160
153
|
requirement temporalNoInvalidTransition : BehaviorProperty {
|
|
161
|
-
@MemoIdentity { :>> providedId = "BP-010"; :>> label = "
|
|
154
|
+
@MemoIdentity { :>> providedId = "BP-010"; :>> label = "No invalid transition"; }
|
|
162
155
|
attribute :>> propertyKind = BehaviorPropertyKind::temporalProperty;
|
|
163
156
|
attribute :>> languageKind = PropertyLanguageKind::ltlLike;
|
|
164
157
|
attribute :>> formalExpression = "G(mode transitions follow only the edges of the Fig 4.1 hierarchy as constrained by REQ 4-5, 12-13, 19-23, 28-39, 46-47)";
|
|
165
158
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §4.1 Fig 4.1"; }
|
|
166
159
|
}
|
|
167
160
|
requirement temporalPauseOnCriticalAlarm : BehaviorProperty {
|
|
168
|
-
@MemoIdentity { :>> providedId = "BP-011"; :>> label = "
|
|
161
|
+
@MemoIdentity { :>> providedId = "BP-011"; :>> label = "Pause at KVO on inhibiting notification"; }
|
|
169
162
|
attribute :>> propertyKind = BehaviorPropertyKind::safetyProperty;
|
|
170
163
|
attribute :>> languageKind = PropertyLanguageKind::ltlLike;
|
|
171
164
|
attribute :>> formalExpression = "G(infusion_inhibiting_notification -> X (mode = PAUSED and Commanded_Flow_Rate <= Flow_Rate_KVO))";
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
package memo_examples_gpca_pump_gpca_interfaces {
|
|
2
|
-
private import
|
|
2
|
+
private import memo::*;
|
|
3
3
|
private import ScalarValues::*;
|
|
4
4
|
|
|
5
|
-
private import memo_architecture_logical_interfaces::*;
|
|
6
|
-
private import memo_architecture_logical_structure::*;
|
|
7
|
-
private import memo_architecture_realization_physical::*;
|
|
8
|
-
private import memo_architecture_functional_functions::*;
|
|
9
|
-
private import memo_core_common::*;
|
|
10
5
|
private import memo_examples_gpca_pump_gpca_architecture::*;
|
|
11
6
|
private import memo_examples_gpca_pump_gpca_physical::*;
|
|
12
7
|
private import memo_examples_gpca_pump_gpca_behavior_subsystems::*;
|
|
13
|
-
private import memo_core_enumerations::*;
|
|
14
|
-
private import memo_core_dimensions::*;
|
|
15
|
-
private import memo_core_common::MemoIdentity;
|
|
16
8
|
abstract interface def SensorDataInterface :> DataInterface {
|
|
17
9
|
attribute :>> interfaceKind = InterfaceKind::data;
|
|
18
10
|
attribute :>> protocolSemantics = "flow, air, occlusion, door, battery, cpu, memory, pump state";
|
|
@@ -66,7 +58,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
66
58
|
// Wired: the three physical interfaces whose controller-side connector is
|
|
67
59
|
// modelled (gpca_physical). The rest are abstract until their ends are.
|
|
68
60
|
interface pumpMotorDrive : PhysicalInterface connect portMotorDrive to pumpMotorAssembly.portFlowCommandIn {
|
|
69
|
-
@MemoIdentity { :>> providedId = "PI-002"; :>> label = "
|
|
61
|
+
@MemoIdentity { :>> providedId = "PI-002"; :>> label = "Pump motor step drive"; }
|
|
70
62
|
attribute :>> interfaceKind = InterfaceKind::digitalSignal;
|
|
71
63
|
attribute :>> signalingKind = SignalingKind::pulse;
|
|
72
64
|
attribute :>> mediumKind = PhysicalMediumKind::electrical;
|
|
@@ -79,7 +71,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
79
71
|
attribute :>> protocolSemantics = "step/dir with enable interlock";
|
|
80
72
|
}
|
|
81
73
|
interface bolusButtonLine : PhysicalInterface connect bolusButton.portPendantOut to portPatientPendant {
|
|
82
|
-
@MemoIdentity { :>> providedId = "PI-003"; :>> label = "
|
|
74
|
+
@MemoIdentity { :>> providedId = "PI-003"; :>> label = "Bolus button input line"; }
|
|
83
75
|
attribute :>> interfaceKind = InterfaceKind::digitalSignal;
|
|
84
76
|
attribute :>> signalingKind = SignalingKind::discrete;
|
|
85
77
|
attribute :>> mediumKind = PhysicalMediumKind::electrical;
|
|
@@ -91,7 +83,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
91
83
|
attribute :>> nominalCurrentA = 0.001 [A];
|
|
92
84
|
}
|
|
93
85
|
interface occlusionAnalogLine : PhysicalInterface connect occlusionSensor.portOcclusionOut to portSensorHarness {
|
|
94
|
-
@MemoIdentity { :>> providedId = "PI-004"; :>> label = "
|
|
86
|
+
@MemoIdentity { :>> providedId = "PI-004"; :>> label = "Occlusion pressure analog line"; }
|
|
95
87
|
attribute :>> interfaceKind = InterfaceKind::analogSignal;
|
|
96
88
|
attribute :>> signalingKind = SignalingKind::analog;
|
|
97
89
|
attribute :>> mediumKind = PhysicalMediumKind::electrical;
|
|
@@ -102,7 +94,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
102
94
|
attribute :>> signalRange = "0 to 30 psi line pressure";
|
|
103
95
|
}
|
|
104
96
|
abstract interface batteryMonitorLine : PhysicalInterface {
|
|
105
|
-
@MemoIdentity { :>> providedId = "PI-005"; :>> label = "
|
|
97
|
+
@MemoIdentity { :>> providedId = "PI-005"; :>> label = "Battery voltage monitor line"; }
|
|
106
98
|
attribute :>> interfaceKind = InterfaceKind::power;
|
|
107
99
|
attribute :>> signalingKind = SignalingKind::analog;
|
|
108
100
|
attribute :>> mediumKind = PhysicalMediumKind::electrical;
|
|
@@ -115,7 +107,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
115
107
|
|
|
116
108
|
// ── System-level interfaces (CriSys Ch.3, I 1-I 11) ─────────
|
|
117
109
|
abstract interface siDataEntry : LogicalInterface {
|
|
118
|
-
@MemoIdentity { :>> providedId = "SI-001"; :>> label = "
|
|
110
|
+
@MemoIdentity { :>> providedId = "SI-001"; :>> label = "Data entry interface"; }
|
|
119
111
|
attribute :>> interfaceKind = InterfaceKind::userInteraction;
|
|
120
112
|
attribute :>> direction = DirectionKind::input;
|
|
121
113
|
attribute :>> protocol = "CriSys I 1, I 2, I 3";
|
|
@@ -124,7 +116,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
124
116
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §3.1 Data Entry Interface"; }
|
|
125
117
|
}
|
|
126
118
|
abstract interface siBolusRequest : LogicalInterface {
|
|
127
|
-
@MemoIdentity { :>> providedId = "SI-002"; :>> label = "
|
|
119
|
+
@MemoIdentity { :>> providedId = "SI-002"; :>> label = "Bolus request interface"; }
|
|
128
120
|
attribute :>> interfaceKind = InterfaceKind::userInteraction;
|
|
129
121
|
attribute :>> direction = DirectionKind::input;
|
|
130
122
|
attribute :>> protocol = "CriSys I 4";
|
|
@@ -133,7 +125,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
133
125
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §3.2 Bolus Request Interface"; }
|
|
134
126
|
}
|
|
135
127
|
abstract interface siDrugFlow : LogicalInterface {
|
|
136
|
-
@MemoIdentity { :>> providedId = "SI-003"; :>> label = "
|
|
128
|
+
@MemoIdentity { :>> providedId = "SI-003"; :>> label = "Drug flow interface"; }
|
|
137
129
|
attribute :>> interfaceKind = InterfaceKind::fluidic;
|
|
138
130
|
attribute :>> direction = DirectionKind::output;
|
|
139
131
|
attribute :>> protocol = "CriSys I 5, I 6";
|
|
@@ -142,7 +134,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
142
134
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §3.3 Drug Flow Interface"; }
|
|
143
135
|
}
|
|
144
136
|
abstract interface siNotification : LogicalInterface {
|
|
145
|
-
@MemoIdentity { :>> providedId = "SI-004"; :>> label = "
|
|
137
|
+
@MemoIdentity { :>> providedId = "SI-004"; :>> label = "Notification interface"; }
|
|
146
138
|
attribute :>> interfaceKind = InterfaceKind::notification;
|
|
147
139
|
attribute :>> direction = DirectionKind::output;
|
|
148
140
|
attribute :>> protocol = "CriSys I 7, I 8";
|
|
@@ -151,7 +143,7 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
151
143
|
@MemoIdentity { :>> sourceReference = "CITE-001: CriSys GPCA System Requirements (2013), §3.4 Notification Interface"; }
|
|
152
144
|
}
|
|
153
145
|
abstract interface siPharmacyDb : LogicalInterface {
|
|
154
|
-
@MemoIdentity { :>> providedId = "SI-005"; :>> label = "
|
|
146
|
+
@MemoIdentity { :>> providedId = "SI-005"; :>> label = "Hospital pharmacy database interface"; }
|
|
155
147
|
attribute :>> interfaceKind = InterfaceKind::data;
|
|
156
148
|
attribute :>> direction = DirectionKind::inputOutput;
|
|
157
149
|
attribute :>> protocol = "CriSys I 9, I 10, I 11";
|
|
@@ -554,28 +546,28 @@ package memo_examples_gpca_pump_gpca_interfaces {
|
|
|
554
546
|
// extension declares for the exchange that needs it.
|
|
555
547
|
interface exSensorVector : ComponentExchange
|
|
556
548
|
connect gpcaDevice.gpcaDeviceSensors.snsSensorOut to gpcaSoftware.portSensorIn {
|
|
557
|
-
@MemoIdentity { :>> providedId = "CE-001"; :>> label = "
|
|
549
|
+
@MemoIdentity { :>> providedId = "CE-001"; :>> label = "Sensor status vector exchange"; }
|
|
558
550
|
attribute :>> exchangeKind = FlowKind::measurement;
|
|
559
551
|
attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
|
|
560
552
|
@MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-001; not a GPCA_Device.aadl connection"; }
|
|
561
553
|
}
|
|
562
554
|
interface exFlowCommand : ComponentExchange
|
|
563
555
|
connect gpcaSoftware.portGpcaSwOut to pumpMotorAssembly.portFlowCommandIn {
|
|
564
|
-
@MemoIdentity { :>> providedId = "CE-002"; :>> label = "
|
|
556
|
+
@MemoIdentity { :>> providedId = "CE-002"; :>> label = "Flow command exchange"; }
|
|
565
557
|
attribute :>> exchangeKind = FlowKind::command;
|
|
566
558
|
attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
|
|
567
559
|
@MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-002; not a GPCA_Device.aadl connection"; }
|
|
568
560
|
}
|
|
569
561
|
interface exAlarmAnnunciation : ComponentExchange
|
|
570
562
|
connect gpcaSoftware.portGpcaSwOut to audibleAlarm.portAlarmIn {
|
|
571
|
-
@MemoIdentity { :>> providedId = "CE-003"; :>> label = "
|
|
563
|
+
@MemoIdentity { :>> providedId = "CE-003"; :>> label = "Alarm annunciation exchange"; }
|
|
572
564
|
attribute :>> exchangeKind = FlowKind::alarm;
|
|
573
565
|
attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
|
|
574
566
|
@MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-003; not a GPCA_Device.aadl connection"; }
|
|
575
567
|
}
|
|
576
568
|
interface exPrescriptionEntry : ComponentExchange
|
|
577
569
|
connect operatorKeypad.portPrescriptionOut to gpcaSoftware.portPresIn {
|
|
578
|
-
@MemoIdentity { :>> providedId = "CE-004"; :>> label = "
|
|
570
|
+
@MemoIdentity { :>> providedId = "CE-004"; :>> label = "Prescription entry exchange"; }
|
|
579
571
|
attribute :>> exchangeKind = FlowKind::configuration;
|
|
580
572
|
attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
|
|
581
573
|
@MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-004; not a GPCA_Device.aadl connection"; }
|