@memoarchitect/ontology 0.16.1 → 0.16.2
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 +2 -2
- package/examples/connected-patient-monitor/memo.identity.yaml +16 -1
- package/examples/connected-patient-monitor/model/catalog/connected_patient_monitor.sysml +5 -1
- package/examples/connected-patient-monitor/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/connected-patient-monitor/model/catalog/viewpoints/{unassigned → logical}/views/connected_patient_monitor_overview.sysml +3 -2
- package/examples/connected-patient-monitor/model/methodology/project.sysml +1 -2
- package/examples/embedded-infusion-pump/memo.identity.yaml +79 -0
- package/examples/embedded-infusion-pump/model/catalog/embedded_infusion_pump.sysml +131 -4
- package/examples/embedded-infusion-pump/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/embedded-infusion-pump/model/catalog/viewpoints/{unassigned → logical}/views/embedded_infusion_pump_overview.sysml +3 -2
- package/examples/embedded-infusion-pump/model/methodology/project.sysml +1 -2
- package/examples/functional-logical-physical/memo.identity.yaml +31 -1
- package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +71 -0
- package/examples/functional-logical-physical/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/functional-logical-physical/model/catalog/viewpoints/{unassigned → logical}/views/functional_logical_physical_overview.sysml +3 -2
- package/examples/functional-logical-physical/model/methodology/project.sysml +1 -2
- package/examples/gpca-pump/memo.identity.yaml +53 -13
- package/examples/gpca-pump/methodology/gpca_profiles.sysml +4 -15
- package/examples/gpca-pump/model/catalog/gpca_architecture.sysml +23 -10
- package/examples/gpca-pump/model/catalog/gpca_behavior_modes.sysml +7 -6
- package/examples/gpca-pump/model/catalog/gpca_behavior_subsystems.sysml +74 -28
- package/examples/gpca-pump/model/catalog/gpca_devices.sysml +23 -0
- package/examples/gpca-pump/model/catalog/gpca_interfaces.sysml +11 -29
- package/examples/gpca-pump/model/catalog/gpca_operational.sysml +17 -0
- package/examples/gpca-pump/model/catalog/gpca_physical.sysml +2 -1
- package/examples/gpca-pump/model/catalog/gpca_standards.sysml +4 -4
- package/examples/gpca-pump/model/catalog/gpca_system.sysml +4 -3
- package/examples/gpca-pump/model/catalog/gpca_trace.sysml +11 -3
- package/examples/gpca-pump/model/catalog/gpca_verification.sysml +12 -12
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_cyber_assessment_view.sysml +1 -1
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_threat_model_view.sysml +1 -1
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_hazard_analysis_view.sysml +1 -1
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_rmf_view.sysml +1 -1
- package/examples/{ros-mobile-robot/model/catalog/viewpoints/unassigned → gpca-pump/model/catalog/viewpoints/shared}/viewpoint.sysml +3 -2
- package/examples/gpca-pump/model/catalog/viewpoints/{logical → shared}/views/document_architecture_description_view.sysml +3 -3
- package/examples/gpca-pump/model/catalog/viewpoints/{requirements → shared}/views/document_dhf_index_view.sysml +3 -3
- package/examples/gpca-pump/model/catalog/viewpoints/software/views/document_sdd_view.sysml +1 -1
- package/examples/gpca-pump/model/catalog/viewpoints/usability/views/document_usability_view.sysml +1 -1
- package/examples/gpca-pump/model/catalog/viewpoints/verification/views/document_vv_view.sysml +1 -1
- package/examples/gpca-pump/model/methodology/project.sysml +1 -5
- package/examples/ivd-laboratory-system/memo.identity.yaml +43 -0
- package/examples/ivd-laboratory-system/model/catalog/ivd_laboratory_system.sysml +16 -1
- package/examples/ivd-laboratory-system/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/ivd-laboratory-system/model/catalog/viewpoints/{unassigned → logical}/views/ivd_laboratory_system_overview.sysml +3 -2
- package/examples/ivd-laboratory-system/model/methodology/project.sysml +1 -2
- package/examples/manual-surgical-instrument/memo.identity.yaml +28 -0
- package/examples/manual-surgical-instrument/model/catalog/manual_surgical_instrument.sysml +3 -0
- package/examples/manual-surgical-instrument/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/manual-surgical-instrument/model/catalog/viewpoints/{unassigned → logical}/views/manual_surgical_instrument_overview.sysml +3 -2
- package/examples/manual-surgical-instrument/model/methodology/project.sysml +1 -2
- package/examples/multidimensional-layers/memo.identity.yaml +34 -0
- package/examples/multidimensional-layers/model/catalog/multidimensional_layers.sysml +34 -4
- package/examples/multidimensional-layers/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/multidimensional-layers/model/catalog/viewpoints/{unassigned → logical}/views/multidimensional_layers_overview.sysml +3 -1
- package/examples/multidimensional-layers/model/methodology/project.sysml +1 -2
- package/examples/nested-architecture-dsm/memo.identity.yaml +27 -0
- package/examples/nested-architecture-dsm/model/catalog/architecture/functional/functions.sysml +9 -9
- package/examples/nested-architecture-dsm/model/catalog/assurance/verification_validation/verification_validation.sysml +64 -0
- package/examples/nested-architecture-dsm/model/catalog/nested_architecture_dsm_system.sysml +5 -0
- package/examples/nested-architecture-dsm/model/catalog/traces.sysml +6 -0
- package/examples/reusable-instrument/memo.identity.yaml +46 -0
- package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +28 -0
- package/examples/reusable-instrument/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/reusable-instrument/model/catalog/viewpoints/{unassigned → logical}/views/reusable_instrument_overview.sysml +3 -1
- package/examples/reusable-instrument/model/methodology/project.sysml +1 -2
- package/examples/robot-cell-family/memo.identity.yaml +96 -81
- package/examples/robot-cell-family/model/{sos → catalog/sos}/chains.sysml +5 -5
- package/examples/robot-cell-family/model/{sos → catalog/sos}/icds.sysml +1 -1
- package/examples/robot-cell-family/model/{sos → catalog/sos}/sos.sysml +4 -4
- package/examples/robot-cell-family/model/{sos → catalog/sos}/use_cases.sysml +4 -4
- package/examples/robot-cell-family/model/{systems → catalog/systems}/manipulation/manipulation_system.sysml +11 -3
- package/examples/robot-cell-family/model/{systems → catalog/systems}/navigation/navigation_system.sysml +9 -4
- package/examples/robot-cell-family/model/{systems → catalog/systems}/perception/perception_system.sysml +8 -3
- package/examples/robot-cell-family/model/methodology/project.sysml +6 -6
- package/examples/ros-mobile-robot/memo.identity.yaml +22 -1
- package/examples/ros-mobile-robot/model/catalog/ros_mobile_robot.sysml +89 -26
- package/examples/ros-mobile-robot/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/ros-mobile-robot/model/catalog/viewpoints/{unassigned → logical}/views/ros_mobile_robot_overview.sysml +3 -1
- package/examples/ros-mobile-robot/model/methodology/project.sysml +1 -2
- package/examples/software-only-medical-device/memo.identity.yaml +46 -0
- package/examples/software-only-medical-device/model/catalog/software_only_medical_device.sysml +34 -1
- package/examples/software-only-medical-device/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/software-only-medical-device/model/catalog/viewpoints/{unassigned → logical}/views/software_only_medical_device_overview.sysml +3 -1
- package/examples/software-only-medical-device/model/methodology/project.sysml +1 -2
- package/examples/surgical-closure-workflow/memo.identity.yaml +103 -0
- package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +28 -0
- package/examples/surgical-closure-workflow/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/surgical-closure-workflow/model/catalog/viewpoints/{unassigned → logical}/views/surgical_closure_workflow_overview.sysml +3 -1
- package/examples/surgical-closure-workflow/model/methodology/project.sysml +1 -2
- package/examples/surgical-robot/memo.identity.yaml +40 -0
- package/examples/surgical-robot/model/catalog/surgical_robot.sysml +6 -1
- package/examples/surgical-robot/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/surgical-robot/model/catalog/viewpoints/{unassigned → logical}/views/surgical_robot_overview.sysml +3 -1
- package/examples/surgical-robot/model/methodology/project.sysml +1 -2
- package/examples/sysml-diagram-samples/README.md +5 -3
- package/examples/sysml-diagram-samples/memo.identity.yaml +548 -391
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/action_flow_view.sysml +2 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/browser_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/context_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/drill_down_view.sysml +30 -5
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/functional_flow_view.sysml +15 -3
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/grid_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/interconnection_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/operational_behaviour_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/package_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/requirements_view.sysml +7 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/sequence_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/standard_activity_view.sysml +2 -3
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/state_transition_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/tree_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/use_case_view.sysml +1 -2
- package/examples/sysml-diagram-samples/model/catalog/sysml_diagram_samples_system.sysml +5 -0
- package/examples/sysml-diagram-samples/model/catalog/viewpoints/shared/viewpoint.sysml +8 -0
- package/examples/sysml-diagram-samples/model/catalog/viewpoints/{unassigned → shared}/views/diagram_samples.sysml +78 -44
- package/examples/sysml-diagram-samples/model/methodology/project.sysml +0 -16
- package/examples/temperature-alarm/memo.identity.yaml +22 -1
- package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +48 -0
- package/examples/temperature-alarm/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
- package/examples/temperature-alarm/model/catalog/viewpoints/{unassigned → logical}/views/temperature_alarm_overview.sysml +3 -1
- package/examples/temperature-alarm/model/methodology/project.sysml +1 -2
- package/examples/ui-screen-regions/memo.identity.yaml +33 -0
- package/examples/ui-screen-regions/model/catalog/architecture/functional/functions.sysml +3 -0
- package/examples/ui-screen-regions/model/catalog/architecture/implementation/ui.sysml +2 -1
- package/examples/ui-screen-regions/model/catalog/assurance/safety_risk/risk.sysml +60 -0
- package/examples/ui-screen-regions/model/catalog/assurance/verification_validation/verification_validation.sysml +3 -3
- package/examples/ui-screen-regions/model/catalog/ui_screen_regions_system.sysml +5 -0
- package/extensions/aadl/memo.package.yaml +1 -1
- package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +2 -1
- package/extensions/clinical/memo.package.yaml +1 -1
- package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +2 -1
- package/extensions/cloud/memo.package.yaml +1 -1
- package/extensions/container/memo.package.yaml +1 -1
- package/extensions/messaging/memo.package.yaml +1 -1
- package/extensions/messaging/src/messaging_extension.sysml +2 -1
- package/extensions/ros/memo.package.yaml +1 -1
- package/extensions/ros/src/ros_extension.sysml +3 -2
- 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 +4 -4
- package/profile/memo.package.yaml +1 -1
- package/src/architecture/functional/behavior/memo_behavior.sysml +19 -8
- package/src/architecture/functional/constraints/memo_constraints.sysml +5 -4
- package/src/architecture/functional/functions/memo_functions.sysml +18 -6
- package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +2 -3
- package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +5 -4
- package/src/architecture/implementation/software/structure/memo_software_structure.sysml +0 -1
- package/src/architecture/implementation/ui/memo_ui.sysml +16 -0
- package/src/architecture/logical/interfaces/memo_interfaces.sysml +9 -3
- package/src/architecture/logical/structure/memo_logical_structure.sysml +9 -0
- package/src/architecture/operational/activities/memo_activities.sysml +3 -2
- package/src/architecture/operational/scenarios/memo_scenarios.sysml +6 -1
- package/src/architecture/operational/use_cases/memo_use_cases.sysml +0 -4
- package/src/architecture/realization/deployment/memo_deployment.sysml +3 -2
- package/src/architecture/realization/physical/memo_physical_architecture.sysml +11 -4
- package/src/artifacts/configuration_management/memo_configuration_management.sysml +17 -4
- package/src/artifacts/templates/dhf/fda-cybersecurity/security-arch.md +1 -1
- package/src/artifacts/templates/dhf/fda-cybersecurity/threat-model.md +1 -1
- package/src/artifacts/templates/dhf/iec-62304/detailed-design.md +1 -1
- package/src/artifacts/templates/dhf/iec-62304/sad.md +1 -1
- package/src/artifacts/templates/dhf/iec-62366/task-analysis.md +7 -7
- 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/system/sad.md +1 -1
- package/src/artifacts/templates/dhf/system/standards-checklist.md +2 -2
- package/src/assurance/safety_risk/memo_risk.sysml +15 -0
- package/src/assurance/verification_validation/memo_assurance.sysml +25 -0
- package/src/core/common/memo_common.sysml +22 -0
- package/src/core/enumerations/memo_enumerations.sysml +23 -5
- package/src/core/relationships/memo_relationships.sysml +5 -0
- package/src/core/relationships/memo_workspace_membership.sysml +11 -0
- package/src/core/stdlib/quantities/quantities.sysml +22 -0
- package/src/memo_namespaces.sysml +5 -0
- package/src/methodology/core/memo_core.sysml +2 -12
- package/src/methodology/profiles/memo_profiles.sysml +2 -2
- package/src/rules/closure/closure_rules.sysml +46 -3
- package/src/rules/ontology/ontology_invariants.sysml +67 -30
- package/src/rules/quantitative/quantitative_rules.sysml +29 -0
- package/src/viewpoints/clinical/clinical_viewpoint.sysml +1 -1
- package/src/viewpoints/context/context_viewpoint.sysml +1 -1
- package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +1 -1
- package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +1 -1
- package/src/viewpoints/functional/functional_viewpoint.sysml +1 -1
- package/src/viewpoints/logical/logical_viewpoint.sysml +1 -1
- package/src/viewpoints/operational/operational_viewpoint.sysml +1 -1
- package/src/viewpoints/physical/physical_viewpoint.sysml +1 -1
- package/src/viewpoints/requirements/requirements_viewpoint.sysml +1 -1
- package/src/viewpoints/risk/risk_viewpoint.sysml +1 -1
- package/src/viewpoints/software/software_viewpoint.sysml +1 -1
- package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +14 -3
- package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +1 -1
- package/src/viewpoints/usability/usability_viewpoint.sysml +1 -1
- package/src/viewpoints/verification/verification_viewpoint.sysml +1 -1
- package/stage1/opensysml-23e5a5f26f7b25370edc4f26.json.gz +0 -0
- package/stage1/syside-eb527547500a60b508b4578c.ids.gz +0 -0
- package/stage1/syside-eb527547500a60b508b4578c.json.gz +0 -0
- package/examples/connected-patient-monitor/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/embedded-infusion-pump/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/functional-logical-physical/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/ivd-laboratory-system/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/manual-surgical-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/multidimensional-layers/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/reusable-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/software-only-medical-device/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/surgical-closure-workflow/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/surgical-robot/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -74
- package/examples/temperature-alarm/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
- /package/examples/robot-cell-family/model/{shared → catalog/shared}/shared.sysml +0 -0
- /package/examples/sysml-diagram-samples/model/{sysml_v2_activity_example.sysml → catalog/sysml_v2_activity_example.sysml} +0 -0
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
// Focused example: a ROS 2 mobile logistics robot, modelled with the ROS
|
|
2
|
+
private import memo_core_stdlib_quantities::*;
|
|
3
|
+
private import memo_assurance_requirements_needs::*;
|
|
4
|
+
private import memo_core_dimensions::*;
|
|
5
|
+
private import memo_assurance_requirements::*;
|
|
6
|
+
private import memo_assurance_verification_validation::*;
|
|
2
7
|
// extension. The point of the example is the MECHANISM, not the robot — it
|
|
3
8
|
// demonstrates how an extension is used, and it is deliberately the only place
|
|
4
9
|
// ROS vocabulary appears outside `extensions/ros`.
|
|
@@ -29,6 +34,9 @@ package memo_examples_ros_mobile_robot {
|
|
|
29
34
|
|
|
30
35
|
private import memo_core_common::*;
|
|
31
36
|
private import memo_core_common::MemoIdentity;
|
|
37
|
+
part def RosMobileRobotSystem specializes memo_architecture_logical_structure::System {
|
|
38
|
+
attribute :>> systemBoundaryDescription = "The ROS mobile robot: the system this example models, with the software and hardware that realize it.";
|
|
39
|
+
}
|
|
32
40
|
// ── Message definitions and named topic instances ──────────────────
|
|
33
41
|
// The definition is the ROS message contract. A named usage is the topic
|
|
34
42
|
// deployed in this system; publisher/subscriber ports reference that same
|
|
@@ -88,17 +96,17 @@ package memo_examples_ros_mobile_robot {
|
|
|
88
96
|
attribute :>> nodeNamespace = "/robot/perception";
|
|
89
97
|
attribute :>> lifecycleManaged = true;
|
|
90
98
|
attribute :>> executorModel = "single-threaded executor, composed";
|
|
91
|
-
attribute :>> periodMs = 50
|
|
92
|
-
attribute :>> wcetMs = 8
|
|
99
|
+
attribute :>> periodMs = 50 [milli*s];
|
|
100
|
+
attribute :>> wcetMs = 8 [milli*s];
|
|
93
101
|
attribute :>> safetyClass = SafetyClassKind::B;
|
|
94
102
|
out port scanPublisher : RosPublisher {
|
|
95
103
|
ref :>> topic = topicScan;
|
|
96
104
|
attribute :>> deliverySemantics = MessagingDeliveryKind::atMostOnce;
|
|
97
|
-
attribute :>> publishRateHz = 20
|
|
105
|
+
attribute :>> publishRateHz = 20 [Hz];
|
|
98
106
|
attribute :>> offeredQos {
|
|
99
107
|
attribute :>> durability = RosDurabilityKind::volatile;
|
|
100
|
-
attribute :>> deadlineMs = 60
|
|
101
|
-
attribute :>> livelinessLeaseMs = 200
|
|
108
|
+
attribute :>> deadlineMs = 60 [milli*s];
|
|
109
|
+
attribute :>> livelinessLeaseMs = 200 [milli*s];
|
|
102
110
|
attribute :>> historyDepth = 5;
|
|
103
111
|
}
|
|
104
112
|
}
|
|
@@ -109,8 +117,8 @@ package memo_examples_ros_mobile_robot {
|
|
|
109
117
|
attribute :>> nodeNamespace = "/robot/navigation";
|
|
110
118
|
attribute :>> lifecycleManaged = true;
|
|
111
119
|
attribute :>> executorModel = "multi-threaded executor, composed";
|
|
112
|
-
attribute :>> periodMs = 100
|
|
113
|
-
attribute :>> wcetMs = 35
|
|
120
|
+
attribute :>> periodMs = 100 [milli*s];
|
|
121
|
+
attribute :>> wcetMs = 35 [milli*s];
|
|
114
122
|
attribute :>> safetyClass = SafetyClassKind::B;
|
|
115
123
|
in port scanSubscriber : RosSubscriber {
|
|
116
124
|
ref :>> topic = topicScan;
|
|
@@ -118,19 +126,19 @@ package memo_examples_ros_mobile_robot {
|
|
|
118
126
|
attribute :>> lossBehaviour = "hold the last costmap for 200 ms, then command zero velocity";
|
|
119
127
|
attribute :>> requestedQos {
|
|
120
128
|
attribute :>> durability = RosDurabilityKind::volatile;
|
|
121
|
-
attribute :>> deadlineMs = 60
|
|
122
|
-
attribute :>> livelinessLeaseMs = 200
|
|
129
|
+
attribute :>> deadlineMs = 60 [milli*s];
|
|
130
|
+
attribute :>> livelinessLeaseMs = 200 [milli*s];
|
|
123
131
|
attribute :>> historyDepth = 5;
|
|
124
132
|
}
|
|
125
133
|
}
|
|
126
134
|
out port cmdVelPublisher : RosPublisher {
|
|
127
135
|
ref :>> topic = topicCmdVel;
|
|
128
136
|
attribute :>> deliverySemantics = MessagingDeliveryKind::atLeastOnce;
|
|
129
|
-
attribute :>> publishRateHz = 10
|
|
137
|
+
attribute :>> publishRateHz = 10 [Hz];
|
|
130
138
|
attribute :>> offeredQos {
|
|
131
139
|
attribute :>> durability = RosDurabilityKind::volatile;
|
|
132
|
-
attribute :>> deadlineMs = 150
|
|
133
|
-
attribute :>> livelinessLeaseMs = 300
|
|
140
|
+
attribute :>> deadlineMs = 150 [milli*s];
|
|
141
|
+
attribute :>> livelinessLeaseMs = 300 [milli*s];
|
|
134
142
|
attribute :>> historyDepth = 1;
|
|
135
143
|
}
|
|
136
144
|
}
|
|
@@ -140,8 +148,8 @@ package memo_examples_ros_mobile_robot {
|
|
|
140
148
|
attribute :>> lossBehaviour = "no publisher within the liveliness lease is treated as stop asserted";
|
|
141
149
|
attribute :>> requestedQos {
|
|
142
150
|
attribute :>> durability = RosDurabilityKind::transientLocal;
|
|
143
|
-
attribute :>> deadlineMs = 100
|
|
144
|
-
attribute :>> livelinessLeaseMs = 200
|
|
151
|
+
attribute :>> deadlineMs = 100 [milli*s];
|
|
152
|
+
attribute :>> livelinessLeaseMs = 200 [milli*s];
|
|
145
153
|
attribute :>> historyDepth = 1;
|
|
146
154
|
}
|
|
147
155
|
}
|
|
@@ -158,9 +166,9 @@ package memo_examples_ros_mobile_robot {
|
|
|
158
166
|
attribute :>> nodeNamespace = "/robot/safety";
|
|
159
167
|
attribute :>> lifecycleManaged = false;
|
|
160
168
|
attribute :>> executorModel = "own process, real-time priority";
|
|
161
|
-
attribute :>> periodMs = 20
|
|
162
|
-
attribute :>> deadlineMs = 20
|
|
163
|
-
attribute :>> wcetMs = 3
|
|
169
|
+
attribute :>> periodMs = 20 [milli*s];
|
|
170
|
+
attribute :>> deadlineMs = 20 [milli*s];
|
|
171
|
+
attribute :>> wcetMs = 3 [milli*s];
|
|
164
172
|
attribute :>> priority = 90;
|
|
165
173
|
attribute :>> safetyClass = SafetyClassKind::C;
|
|
166
174
|
attribute :>> faultContainment = "separate process; watchdog-fed; stops the base on its own timeout";
|
|
@@ -170,8 +178,8 @@ package memo_examples_ros_mobile_robot {
|
|
|
170
178
|
attribute :>> lossBehaviour = "two consecutive misses assert the stop";
|
|
171
179
|
attribute :>> requestedQos {
|
|
172
180
|
attribute :>> durability = RosDurabilityKind::volatile;
|
|
173
|
-
attribute :>> deadlineMs = 60
|
|
174
|
-
attribute :>> livelinessLeaseMs = 200
|
|
181
|
+
attribute :>> deadlineMs = 60 [milli*s];
|
|
182
|
+
attribute :>> livelinessLeaseMs = 200 [milli*s];
|
|
175
183
|
attribute :>> historyDepth = 5;
|
|
176
184
|
}
|
|
177
185
|
}
|
|
@@ -181,19 +189,19 @@ package memo_examples_ros_mobile_robot {
|
|
|
181
189
|
attribute :>> lossBehaviour = "missing velocity commands assert the stop";
|
|
182
190
|
attribute :>> requestedQos {
|
|
183
191
|
attribute :>> durability = RosDurabilityKind::volatile;
|
|
184
|
-
attribute :>> deadlineMs = 150
|
|
185
|
-
attribute :>> livelinessLeaseMs = 300
|
|
192
|
+
attribute :>> deadlineMs = 150 [milli*s];
|
|
193
|
+
attribute :>> livelinessLeaseMs = 300 [milli*s];
|
|
186
194
|
attribute :>> historyDepth = 1;
|
|
187
195
|
}
|
|
188
196
|
}
|
|
189
197
|
out port estopPublisher : RosPublisher {
|
|
190
198
|
ref :>> topic = topicEstop;
|
|
191
199
|
attribute :>> deliverySemantics = MessagingDeliveryKind::atLeastOnce;
|
|
192
|
-
attribute :>> publishRateHz = 50
|
|
200
|
+
attribute :>> publishRateHz = 50 [Hz];
|
|
193
201
|
attribute :>> offeredQos {
|
|
194
202
|
attribute :>> durability = RosDurabilityKind::transientLocal;
|
|
195
|
-
attribute :>> deadlineMs = 100
|
|
196
|
-
attribute :>> livelinessLeaseMs = 200
|
|
203
|
+
attribute :>> deadlineMs = 100 [milli*s];
|
|
204
|
+
attribute :>> livelinessLeaseMs = 200 [milli*s];
|
|
197
205
|
attribute :>> historyDepth = 1;
|
|
198
206
|
}
|
|
199
207
|
}
|
|
@@ -215,24 +223,30 @@ package memo_examples_ros_mobile_robot {
|
|
|
215
223
|
// ── Native topic, service, and action interfaces ───────────────────
|
|
216
224
|
interface scanToNavigation : RosTopicInterface
|
|
217
225
|
connect nodeLidar.scanPublisher to nodeNavigation.scanSubscriber {
|
|
226
|
+
attribute :>> direction = DirectionKind::output;
|
|
218
227
|
}
|
|
219
228
|
interface scanToSafety : RosTopicInterface
|
|
220
229
|
connect nodeLidar.scanPublisher to nodeSafetyMonitor.scanSubscriber {
|
|
230
|
+
attribute :>> direction = DirectionKind::output;
|
|
221
231
|
}
|
|
222
232
|
interface cmdVelToSafety : RosTopicInterface
|
|
223
233
|
connect nodeNavigation.cmdVelPublisher to nodeSafetyMonitor.cmdVelSubscriber {
|
|
234
|
+
attribute :>> direction = DirectionKind::output;
|
|
224
235
|
}
|
|
225
236
|
interface estopToNavigation : RosTopicInterface
|
|
226
237
|
connect nodeSafetyMonitor.estopPublisher to nodeNavigation.estopSubscriber {
|
|
238
|
+
attribute :>> direction = DirectionKind::output;
|
|
227
239
|
}
|
|
228
240
|
|
|
229
241
|
|
|
230
242
|
interface setModeService : RosServiceInterface
|
|
231
243
|
connect nodeNavigation.setModeClient to nodeSafetyMonitor.setModeServer {
|
|
232
|
-
attribute :>>
|
|
244
|
+
attribute :>> direction = DirectionKind::inputOutput;
|
|
245
|
+
attribute :>> timeoutMs = 500 [milli*s];
|
|
233
246
|
}
|
|
234
247
|
interface navigateAction : RosActionInterface
|
|
235
248
|
connect nodeSafetyMonitor.navigateActionClient to nodeNavigation.navigateActionServer {
|
|
249
|
+
attribute :>> direction = DirectionKind::inputOutput;
|
|
236
250
|
}
|
|
237
251
|
|
|
238
252
|
// ── Deployment: base relations, unchanged ───────────────────────────
|
|
@@ -266,7 +280,7 @@ package memo_examples_ros_mobile_robot {
|
|
|
266
280
|
@MemoIdentity { :>> providedId = "RMR-HW-001"; :>> label = "OnboardComputeUnit"; }
|
|
267
281
|
attribute :>> nodeKind = ProcessingNodeKind::SoC;
|
|
268
282
|
attribute :>> processorArchitecture = "arm64, 8 core";
|
|
269
|
-
attribute :>> memoryMB =
|
|
283
|
+
attribute :>> memoryMB = 16384 [mega*B];
|
|
270
284
|
attribute :>> operatingSystem = "Linux with PREEMPT_RT";
|
|
271
285
|
attribute :>> supportsContainerization = true;
|
|
272
286
|
attribute :>> realTimeCapable = true;
|
|
@@ -292,4 +306,53 @@ package memo_examples_ros_mobile_robot {
|
|
|
292
306
|
attribute :>> rosDomainId = 42;
|
|
293
307
|
}
|
|
294
308
|
connection : ProvidesEnvironment connect node ::> nodeComputeUnit to environment ::> rosRuntime;
|
|
309
|
+
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
310
|
+
verification vcAuthoredSwSafety : VerificationCase {
|
|
311
|
+
@MemoIdentity { :>> providedId = "RMR-VC-A01"; :>> label = "VerifySafetyMonitor"; }
|
|
312
|
+
attribute :>> methodKind = MemoVerificationMethodKind::test;
|
|
313
|
+
attribute :>> acceptanceCriteria = "unit, integration and system tests of 'SafetyMonitor' with the coverage IEC 62304 requires for software safety class C";
|
|
314
|
+
subject verified : Base::Anything[*] = (swSafety);
|
|
315
|
+
}
|
|
316
|
+
// Illustrative: authored for this example, not the record of a real test run.
|
|
317
|
+
part evAuthoredVcAuthoredSwSafety : MemoEvidence {
|
|
318
|
+
attribute :>> evidenceKind = EvidenceKind::evidence;
|
|
319
|
+
@MemoIdentity { :>> providedId = "RMR-EV-A01"; :>> label = "VerifySafetyMonitor report"; }
|
|
320
|
+
attribute :>> evidenceType = "test report";
|
|
321
|
+
attribute :>> resultSummary = "Illustrative result: the acceptance criteria are met.";
|
|
322
|
+
}
|
|
323
|
+
connection : ProducesEvidence connect producer ::> vcAuthoredSwSafety to producedEvidence ::> evAuthoredVcAuthoredSwSafety;
|
|
324
|
+
// Illustrative: authored for this example.
|
|
325
|
+
requirement reqAuthoredSwPerception : Requirement {
|
|
326
|
+
attribute :>> requirementType = RequirementTypeKind::system;
|
|
327
|
+
@MemoIdentity { :>> providedId = "RMR-REQ-A01"; :>> label = "PerceptionStack requirement"; }
|
|
328
|
+
attribute :>> statement = "The software item PerceptionStack shall perform the function allocated to it in the software architecture.";
|
|
329
|
+
attribute :>> status = ElementStatusKind::draft;
|
|
330
|
+
}
|
|
331
|
+
satisfy reqAuthoredSwPerception by swPerception;
|
|
332
|
+
// Illustrative: authored for this example.
|
|
333
|
+
requirement reqAuthoredSwNavigation : Requirement {
|
|
334
|
+
attribute :>> requirementType = RequirementTypeKind::system;
|
|
335
|
+
@MemoIdentity { :>> providedId = "RMR-REQ-A02"; :>> label = "NavigationStack requirement"; }
|
|
336
|
+
attribute :>> statement = "The software item NavigationStack shall perform the function allocated to it in the software architecture.";
|
|
337
|
+
attribute :>> status = ElementStatusKind::draft;
|
|
338
|
+
}
|
|
339
|
+
satisfy reqAuthoredSwNavigation by swNavigation;
|
|
340
|
+
// Illustrative: authored for this example.
|
|
341
|
+
requirement reqAuthoredSwSafety : Requirement {
|
|
342
|
+
attribute :>> requirementType = RequirementTypeKind::system;
|
|
343
|
+
@MemoIdentity { :>> providedId = "RMR-REQ-A03"; :>> label = "SafetyMonitor requirement"; }
|
|
344
|
+
attribute :>> statement = "The software item SafetyMonitor shall perform the function allocated to it in the software architecture.";
|
|
345
|
+
attribute :>> status = ElementStatusKind::draft;
|
|
346
|
+
}
|
|
347
|
+
satisfy reqAuthoredSwSafety by swSafety;
|
|
348
|
+
// Illustrative: authored for this example.
|
|
349
|
+
requirement needAuthoredSafeOperation : Need {
|
|
350
|
+
attribute :>> needKind = NeedKind::'stakeholder';
|
|
351
|
+
@MemoIdentity { :>> providedId = "RMR-NEED-A01"; :>> label = "SafeOperation"; }
|
|
352
|
+
attribute :>> statement = "The device shall operate safely and as intended.";
|
|
353
|
+
attribute :>> priority = "high";
|
|
354
|
+
}
|
|
355
|
+
connection : DerivesFrom connect sourceDriver ::> needAuthoredSafeOperation to targetRequirement ::> reqAuthoredSwPerception;
|
|
356
|
+
connection : DerivesFrom connect sourceDriver ::> needAuthoredSafeOperation to targetRequirement ::> reqAuthoredSwNavigation;
|
|
357
|
+
connection : DerivesFrom connect sourceDriver ::> needAuthoredSafeOperation to targetRequirement ::> reqAuthoredSwSafety;
|
|
295
358
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// logical viewpoint.
|
|
2
|
+
//
|
|
3
|
+
// This project does not define its own viewpoint here; it binds the reusable
|
|
4
|
+
// MEMO viewpoint that frames these concerns. The views it governs sit beneath
|
|
5
|
+
// `views/`.
|
|
6
|
+
package memo_examples_ros_mobile_robot_viewpoints_logical {
|
|
7
|
+
public import memo_viewpoints_logical_logical_viewpoint::*;
|
|
8
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
package
|
|
1
|
+
package memo_examples_ros_mobile_robot_viewpoints_logical_views_ros_mobile_robot_overview {
|
|
2
2
|
private import memo_examples_ros_mobile_robot::*;
|
|
3
3
|
private import memo_viewpoints_definitions::*;
|
|
4
|
+
private import memo_viewpoints_logical_logical_viewpoint::*;
|
|
4
5
|
private import memo_core_enumerations::*;
|
|
5
6
|
|
|
6
7
|
view rosMobileRobotOverview : MemoDiagramView {
|
|
@@ -8,5 +9,6 @@ package memo_examples_ros_mobile_robot_viewpoints_unassigned_views_ros_mobile_ro
|
|
|
8
9
|
attribute depth = 2;
|
|
9
10
|
attribute :>> viewKind = DiagramViewKind::general;
|
|
10
11
|
attribute :>> diagramType = "bdd";
|
|
12
|
+
ref :>> viewpointDefinition = logicalArchitectureViewpoint;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -11,8 +11,7 @@ package memo_examples_ros_mobile_robot_project {
|
|
|
11
11
|
|
|
12
12
|
// The project's own content, imported so the catalog is one reachable
|
|
13
13
|
// closure from a single entrypoint.
|
|
14
|
-
private import
|
|
15
|
-
private import memo_examples_ros_mobile_robot_viewpoints_unassigned_views_ros_mobile_robot_overview::*;
|
|
14
|
+
private import memo_examples_ros_mobile_robot_viewpoints_logical_views_ros_mobile_robot_overview::*;
|
|
16
15
|
|
|
17
16
|
private import memo_core_common::*;
|
|
18
17
|
private import memo_core_common::MemoIdentity;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# memo.identity.yaml — element identity registry (auto-generated)
|
|
2
|
+
# Assigned once and never reassigned. COMMIT THIS FILE: deleting it does
|
|
3
|
+
# not regenerate the same identities, it mints new ones, and every
|
|
4
|
+
# external reference to a shortId or uuid then points at nothing.
|
|
5
|
+
# Entries for deleted elements are retained so their numbers stay retired.
|
|
6
|
+
|
|
7
|
+
elements:
|
|
8
|
+
"memo_examples_software_only_medical_device::SoftwareOnlyMedicalDeviceSystem":
|
|
9
|
+
shortId: "SYS-1"
|
|
10
|
+
uuid: "a2649ede-e44c-584d-8f41-4b7b7fc14d94"
|
|
11
|
+
"memo_examples_software_only_medical_device::algGrading":
|
|
12
|
+
shortId: "ALG-1"
|
|
13
|
+
uuid: "ffec4896-d3dd-5d6b-9a70-b992693d18fa"
|
|
14
|
+
"memo_examples_software_only_medical_device::duContainerImage":
|
|
15
|
+
shortId: "SFT-1"
|
|
16
|
+
uuid: "a943c78d-74c1-5d6d-a475-c962e5d95972"
|
|
17
|
+
"memo_examples_software_only_medical_device::needAuthoredSafeOperation":
|
|
18
|
+
shortId: "NDX-1"
|
|
19
|
+
uuid: "45182aa5-5880-5184-8949-1678fe5979f8"
|
|
20
|
+
"memo_examples_software_only_medical_device::nodeCloud":
|
|
21
|
+
shortId: "PRC-1"
|
|
22
|
+
uuid: "e918e362-1e21-53b7-af17-9a28b9e481b3"
|
|
23
|
+
"memo_examples_software_only_medical_device::reqAuthoredSoupInference":
|
|
24
|
+
shortId: "REQ-1"
|
|
25
|
+
uuid: "7097da17-c413-5252-80d0-81e4c24dec1d"
|
|
26
|
+
"memo_examples_software_only_medical_device::reqAuthoredSwGradingModule":
|
|
27
|
+
shortId: "REQ-2"
|
|
28
|
+
uuid: "7a554a06-3143-5129-b7b5-0a68a6130556"
|
|
29
|
+
"memo_examples_software_only_medical_device::soupInference":
|
|
30
|
+
shortId: "OXX-1"
|
|
31
|
+
uuid: "955d034f-3db5-53b6-ab7e-0e32a5c3d42e"
|
|
32
|
+
"memo_examples_software_only_medical_device::svcGrading":
|
|
33
|
+
shortId: "CLD-1"
|
|
34
|
+
uuid: "61bf7c9a-c45e-5db3-978e-369f035451c5"
|
|
35
|
+
"memo_examples_software_only_medical_device::swGradingModule":
|
|
36
|
+
shortId: "SFT-2"
|
|
37
|
+
uuid: "114b4993-012d-5f0d-8a5e-042be3529411"
|
|
38
|
+
"memo_examples_software_only_medical_device::swScreeningApp":
|
|
39
|
+
shortId: "SFT-3"
|
|
40
|
+
uuid: "f9970165-f525-5024-9b84-ab1e87c94ff9"
|
|
41
|
+
"memo_examples_software_only_medical_device_project::projectBinding":
|
|
42
|
+
shortId: "PRJ-1"
|
|
43
|
+
uuid: "8a17582d-c03a-5123-8912-08915e3ffbfb"
|
|
44
|
+
"memo_examples_software_only_medical_device_viewpoints_logical_views_software_only_medical_device_overview::softwareOnlyMedicalDeviceOverview":
|
|
45
|
+
shortId: "MMX-1"
|
|
46
|
+
uuid: "609c5e73-aea2-51a1-af3d-73824c7bb8c0"
|
package/examples/software-only-medical-device/model/catalog/software_only_medical_device.sysml
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
// Focused example: software-only medical device (SaMD, IMDRF N10/N12).
|
|
2
|
+
private import memo_assurance_requirements_needs::*;
|
|
3
|
+
private import memo_core_dimensions::*;
|
|
4
|
+
private import memo_assurance_requirements::*;
|
|
2
5
|
// There is deliberately no device-specific product record or physical layer.
|
|
3
6
|
// Deployment targets
|
|
4
7
|
// off-the-shelf infrastructure the manufacturer does not control.
|
|
@@ -20,10 +23,12 @@ package memo_examples_software_only_medical_device {
|
|
|
20
23
|
|
|
21
24
|
private import memo_core_common::*;
|
|
22
25
|
private import memo_core_common::MemoIdentity;
|
|
26
|
+
part def SoftwareOnlyMedicalDeviceSystem specializes memo_architecture_logical_structure::System {
|
|
27
|
+
attribute :>> systemBoundaryDescription = "The software-only medical device: the system this example models, with the software and hardware that realize it.";
|
|
28
|
+
}
|
|
23
29
|
part swScreeningApp : SoftwareSystem {
|
|
24
30
|
@MemoIdentity { :>> providedId = "SMD-SW-001"; :>> label = "ScreeningApplication"; }
|
|
25
31
|
attribute :>> safetyClass = SafetyClassKind::B;
|
|
26
|
-
attribute :>> version = "1.4.0";
|
|
27
32
|
}
|
|
28
33
|
part algGrading : Algorithm {
|
|
29
34
|
@MemoIdentity { :>> providedId = "SMD-ALG-001"; :>> label = "RetinopathyGradingModel"; }
|
|
@@ -34,6 +39,9 @@ package memo_examples_software_only_medical_device {
|
|
|
34
39
|
@MemoIdentity { :>> providedId = "SMD-SOUP-001"; :>> label = "InferenceRuntimeLibrary"; }
|
|
35
40
|
attribute :>> supplier = "third-party OSS";
|
|
36
41
|
attribute :>> soupClassification = SOUPClassificationKind::classB;
|
|
42
|
+
attribute :>> safetyClass = SafetyClassKind::B;
|
|
43
|
+
attribute :>> version = "1.14.0";
|
|
44
|
+
attribute :>> knownAnomalies = "Illustrative: the supplier's published anomaly list was reviewed; none leads to a hazardous situation in this use.";
|
|
37
45
|
}
|
|
38
46
|
part swGradingModule : SoftwareModule {
|
|
39
47
|
@MemoIdentity { :>> providedId = "SMD-SW-002"; :>> label = "GradingModule"; }
|
|
@@ -66,4 +74,29 @@ package memo_examples_software_only_medical_device {
|
|
|
66
74
|
attribute :>> deploymentKind = DeploymentKind::containerized;
|
|
67
75
|
}
|
|
68
76
|
allocation : HostedBy allocate svcGrading to nodeCloud;
|
|
77
|
+
// Illustrative: authored for this example.
|
|
78
|
+
requirement reqAuthoredSwGradingModule : Requirement {
|
|
79
|
+
attribute :>> requirementType = RequirementTypeKind::system;
|
|
80
|
+
@MemoIdentity { :>> providedId = "SOMD-REQ-A01"; :>> label = "GradingModule requirement"; }
|
|
81
|
+
attribute :>> statement = "The software item GradingModule shall perform the function allocated to it in the software architecture.";
|
|
82
|
+
attribute :>> status = ElementStatusKind::draft;
|
|
83
|
+
}
|
|
84
|
+
satisfy reqAuthoredSwGradingModule by swGradingModule;
|
|
85
|
+
// Illustrative: authored for this example.
|
|
86
|
+
requirement reqAuthoredSoupInference : Requirement {
|
|
87
|
+
attribute :>> requirementType = RequirementTypeKind::system;
|
|
88
|
+
@MemoIdentity { :>> providedId = "SOMD-REQ-A02"; :>> label = "InferenceRuntimeLibrary requirement"; }
|
|
89
|
+
attribute :>> statement = "The software item InferenceRuntimeLibrary shall perform the function allocated to it in the software architecture.";
|
|
90
|
+
attribute :>> status = ElementStatusKind::draft;
|
|
91
|
+
}
|
|
92
|
+
satisfy reqAuthoredSoupInference by soupInference;
|
|
93
|
+
// Illustrative: authored for this example.
|
|
94
|
+
requirement needAuthoredSafeOperation : Need {
|
|
95
|
+
attribute :>> needKind = NeedKind::'stakeholder';
|
|
96
|
+
@MemoIdentity { :>> providedId = "SOMD-NEED-A01"; :>> label = "SafeOperation"; }
|
|
97
|
+
attribute :>> statement = "The device shall operate safely and as intended.";
|
|
98
|
+
attribute :>> priority = "high";
|
|
99
|
+
}
|
|
100
|
+
connection : DerivesFrom connect sourceDriver ::> needAuthoredSafeOperation to targetRequirement ::> reqAuthoredSwGradingModule;
|
|
101
|
+
connection : DerivesFrom connect sourceDriver ::> needAuthoredSafeOperation to targetRequirement ::> reqAuthoredSoupInference;
|
|
69
102
|
}
|
package/examples/software-only-medical-device/model/catalog/viewpoints/logical/viewpoint.sysml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// logical viewpoint.
|
|
2
|
+
//
|
|
3
|
+
// This project does not define its own viewpoint here; it binds the reusable
|
|
4
|
+
// MEMO viewpoint that frames these concerns. The views it governs sit beneath
|
|
5
|
+
// `views/`.
|
|
6
|
+
package memo_examples_software_only_medical_device_viewpoints_logical {
|
|
7
|
+
public import memo_viewpoints_logical_logical_viewpoint::*;
|
|
8
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
package
|
|
1
|
+
package memo_examples_software_only_medical_device_viewpoints_logical_views_software_only_medical_device_overview {
|
|
2
2
|
private import memo_examples_software_only_medical_device::*;
|
|
3
3
|
private import memo_viewpoints_definitions::*;
|
|
4
|
+
private import memo_viewpoints_logical_logical_viewpoint::*;
|
|
4
5
|
private import memo_core_enumerations::*;
|
|
5
6
|
|
|
6
7
|
view softwareOnlyMedicalDeviceOverview : MemoDiagramView {
|
|
@@ -8,5 +9,6 @@ package memo_examples_software_only_medical_device_viewpoints_unassigned_views_s
|
|
|
8
9
|
attribute depth = 2;
|
|
9
10
|
attribute :>> viewKind = DiagramViewKind::general;
|
|
10
11
|
attribute :>> diagramType = "bdd";
|
|
12
|
+
ref :>> viewpointDefinition = logicalArchitectureViewpoint;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -11,8 +11,7 @@ package memo_examples_software_only_medical_device_project {
|
|
|
11
11
|
|
|
12
12
|
// The project's own content, imported so the catalog is one reachable
|
|
13
13
|
// closure from a single entrypoint.
|
|
14
|
-
private import
|
|
15
|
-
private import memo_examples_software_only_medical_device_viewpoints_unassigned_views_software_only_medical_device_overview::*;
|
|
14
|
+
private import memo_examples_software_only_medical_device_viewpoints_logical_views_software_only_medical_device_overview::*;
|
|
16
15
|
|
|
17
16
|
private import memo_core_common::*;
|
|
18
17
|
private import memo_core_common::MemoIdentity;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# memo.identity.yaml — element identity registry (auto-generated)
|
|
2
|
+
# Assigned once and never reassigned. COMMIT THIS FILE: deleting it does
|
|
3
|
+
# not regenerate the same identities, it mints new ones, and every
|
|
4
|
+
# external reference to a shortId or uuid then points at nothing.
|
|
5
|
+
# Entries for deleted elements are retained so their numbers stay retired.
|
|
6
|
+
|
|
7
|
+
elements:
|
|
8
|
+
"memo_examples_surgical_closure_workflow::SurgicalClosureWorkflowSystem":
|
|
9
|
+
shortId: "SYS-1"
|
|
10
|
+
uuid: "0258677d-2f0d-590d-a19f-0be198a43ef3"
|
|
11
|
+
"memo_examples_surgical_closure_workflow::actAssessStapleLine":
|
|
12
|
+
shortId: "OPR-1"
|
|
13
|
+
uuid: "81303160-c6ad-5e16-8976-99e1d724472b"
|
|
14
|
+
"memo_examples_surgical_closure_workflow::actEstablishAccess":
|
|
15
|
+
shortId: "OPR-2"
|
|
16
|
+
uuid: "3ad078db-7394-5de1-9f77-7c001b476085"
|
|
17
|
+
"memo_examples_surgical_closure_workflow::actExtractSpecimenAndClose":
|
|
18
|
+
shortId: "OPR-3"
|
|
19
|
+
uuid: "44974925-be9a-53dc-84c2-e11c7937762b"
|
|
20
|
+
"memo_examples_surgical_closure_workflow::actHandover":
|
|
21
|
+
shortId: "OPR-4"
|
|
22
|
+
uuid: "d5718cff-7846-55bb-a718-a3f7846fd786"
|
|
23
|
+
"memo_examples_surgical_closure_workflow::actMobilizeStomach":
|
|
24
|
+
shortId: "OPR-5"
|
|
25
|
+
uuid: "c959957b-4c97-55c8-92f8-10bf4b7560f2"
|
|
26
|
+
"memo_examples_surgical_closure_workflow::actSizeAndCreateSleeve":
|
|
27
|
+
shortId: "OPR-6"
|
|
28
|
+
uuid: "1a4660c8-8552-52b1-928d-2d1fd6970aef"
|
|
29
|
+
"memo_examples_surgical_closure_workflow::actSizeAndCreateSleeve::taskCreateStapleLine":
|
|
30
|
+
shortId: "OPR-7"
|
|
31
|
+
uuid: "bfcee295-a37b-5a9a-a580-7755a3cf9335"
|
|
32
|
+
"memo_examples_surgical_closure_workflow::actSizeAndCreateSleeve::taskCreateStapleLine::stAssessIntegrity":
|
|
33
|
+
shortId: "OPR-8"
|
|
34
|
+
uuid: "1f651b89-5ab7-539a-9df2-1f8c198ba743"
|
|
35
|
+
"memo_examples_surgical_closure_workflow::actSizeAndCreateSleeve::taskCreateStapleLine::stConfirmAnatomy":
|
|
36
|
+
shortId: "OPR-9"
|
|
37
|
+
uuid: "6607fa84-ef1a-57a4-ad45-e63ec7313c93"
|
|
38
|
+
"memo_examples_surgical_closure_workflow::actSizeAndCreateSleeve::taskCreateStapleLine::stCreateStapleLine":
|
|
39
|
+
shortId: "OPR-10"
|
|
40
|
+
uuid: "f5fe5ebe-64a3-56a1-8330-a558878d2d87"
|
|
41
|
+
"memo_examples_surgical_closure_workflow::actSizeAndCreateSleeve::taskCreateStapleLine::stInspectBleeding":
|
|
42
|
+
shortId: "OPR-11"
|
|
43
|
+
uuid: "35be3825-406b-5fc6-977f-b154ae5c9bc9"
|
|
44
|
+
"memo_examples_surgical_closure_workflow::actTimeOutAndPosition":
|
|
45
|
+
shortId: "OPR-12"
|
|
46
|
+
uuid: "7870b647-2fcd-5cae-a28b-95bb1c0ee4ac"
|
|
47
|
+
"memo_examples_surgical_closure_workflow::anesthetist":
|
|
48
|
+
shortId: "USR-1"
|
|
49
|
+
uuid: "c0e70337-34b3-5b19-9a75-d45f252cfe05"
|
|
50
|
+
"memo_examples_surgical_closure_workflow::bariatricOr":
|
|
51
|
+
shortId: "USE-1"
|
|
52
|
+
uuid: "7bbf07b6-8e92-5a0f-895a-b72c3a1a83df"
|
|
53
|
+
"memo_examples_surgical_closure_workflow::bariatricSurgeon":
|
|
54
|
+
shortId: "USR-2"
|
|
55
|
+
uuid: "275de143-6644-56ac-89e3-eb2c3fec0f87"
|
|
56
|
+
"memo_examples_surgical_closure_workflow::needControlledGastricResection":
|
|
57
|
+
shortId: "NDX-1"
|
|
58
|
+
uuid: "4207eb84-d3c5-5744-9a7e-827bed8f4abd"
|
|
59
|
+
"memo_examples_surgical_closure_workflow::scrubNurse":
|
|
60
|
+
shortId: "USR-3"
|
|
61
|
+
uuid: "e87ff36c-de0d-53b8-adcf-485bd10f340c"
|
|
62
|
+
"memo_examples_surgical_closure_workflow::ucPerformSleeveGastrectomy":
|
|
63
|
+
shortId: "USE-2"
|
|
64
|
+
uuid: "34a8f363-359c-578d-9470-ec25b713cb0a"
|
|
65
|
+
"memo_examples_surgical_closure_workflow::valAuthoredActAssessStapleLine":
|
|
66
|
+
shortId: "VLD-1"
|
|
67
|
+
uuid: "8dd97b49-f25f-5601-8da2-4903eb54f553"
|
|
68
|
+
"memo_examples_surgical_closure_workflow::valAuthoredActSizeAndCreateSleeve":
|
|
69
|
+
shortId: "VLD-2"
|
|
70
|
+
uuid: "fc421110-e23b-5c71-a22d-a2ddec90b2e1"
|
|
71
|
+
"memo_examples_surgical_closure_workflow::valAuthoredTaskCreateStapleLine":
|
|
72
|
+
shortId: "VLD-3"
|
|
73
|
+
uuid: "c78b1ecf-7354-5045-baeb-3ee5c07ea3e1"
|
|
74
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy":
|
|
75
|
+
shortId: "CLN-1"
|
|
76
|
+
uuid: "22a89baf-8e40-5d19-a64c-3629e6f38b23"
|
|
77
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy::scNominalSleeveProcedure":
|
|
78
|
+
shortId: "OPR-13"
|
|
79
|
+
uuid: "0e2ce892-b3cd-592f-9c3a-c8b2b290edaf"
|
|
80
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy::scStapleLineBleeding":
|
|
81
|
+
shortId: "OPR-14"
|
|
82
|
+
uuid: "2452d023-42df-5a6a-b91b-e09672a57306"
|
|
83
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy::scStapleLineBleeding::oaControlStapleLineBleeding":
|
|
84
|
+
shortId: "OPR-15"
|
|
85
|
+
uuid: "0cce38f5-782e-54bb-8ba4-8afaaeb43c31"
|
|
86
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy::scStapleLineBleeding::oaControlStapleLineBleeding::controlBleeding":
|
|
87
|
+
shortId: "ACT-1"
|
|
88
|
+
uuid: "e0d556dc-9f7d-5cd8-a896-1a60804c7115"
|
|
89
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy::scStapleLineBleeding::oaControlStapleLineBleeding::escalateIfNeeded":
|
|
90
|
+
shortId: "ACT-2"
|
|
91
|
+
uuid: "bee75e51-e7f7-50f7-85ac-999bbc2576e1"
|
|
92
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy::scStapleLineBleeding::oaControlStapleLineBleeding::reassessStapleLine":
|
|
93
|
+
shortId: "ACT-3"
|
|
94
|
+
uuid: "c73cd445-ce47-5e10-80ef-f1de68b8b4d5"
|
|
95
|
+
"memo_examples_surgical_closure_workflow::wfSleeveGastrectomy::scStapleLineBleeding::oaControlStapleLineBleeding::recognizeBleeding":
|
|
96
|
+
shortId: "ACT-4"
|
|
97
|
+
uuid: "1b7fd555-bb02-5e66-9ace-72c9d1ad3bc0"
|
|
98
|
+
"memo_examples_surgical_closure_workflow_project::projectBinding":
|
|
99
|
+
shortId: "PRJ-1"
|
|
100
|
+
uuid: "3965cb5b-d744-5fa0-8cf5-409f45e07b0c"
|
|
101
|
+
"memo_examples_surgical_closure_workflow_viewpoints_logical_views_surgical_closure_workflow_overview::surgicalClosureWorkflowOverview":
|
|
102
|
+
shortId: "MMX-1"
|
|
103
|
+
uuid: "59d5c743-d667-53ed-84f6-26b88fc66510"
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// Illustrative operational model of laparoscopic sleeve gastrectomy. This is
|
|
2
|
+
private import memo_assurance_verification_validation::*;
|
|
2
3
|
// a modelling example, not a clinical protocol. It shows a complete procedure
|
|
3
4
|
// as context → use case → workflow → scenarios → scenario-owned activities.
|
|
4
5
|
package memo_examples_surgical_closure_workflow {
|
|
@@ -18,6 +19,9 @@ package memo_examples_surgical_closure_workflow {
|
|
|
18
19
|
|
|
19
20
|
private import memo_core_common::*;
|
|
20
21
|
private import memo_core_common::MemoIdentity;
|
|
22
|
+
part def SurgicalClosureWorkflowSystem specializes memo_architecture_logical_structure::System {
|
|
23
|
+
attribute :>> systemBoundaryDescription = "The laparoscopic sleeve closure the workflow is performed with: the system this example models, with the software and hardware that realize it.";
|
|
24
|
+
}
|
|
21
25
|
// ── Clinical setting and goal ───────────────────────────────
|
|
22
26
|
part bariatricSurgeon : User {
|
|
23
27
|
attribute :>> actorKind = ActorKind::clinician;
|
|
@@ -135,4 +139,28 @@ package memo_examples_surgical_closure_workflow {
|
|
|
135
139
|
|
|
136
140
|
// Whose need it is (CR-MED-024). The surgeon's profile is on the User.
|
|
137
141
|
connection heldResection : HeldBy connect need ::> needControlledGastricResection to holder ::> bariatricSurgeon;
|
|
142
|
+
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
143
|
+
verification valAuthoredActSizeAndCreateSleeve : ValidationCase {
|
|
144
|
+
@MemoIdentity { :>> providedId = "SCW-VC-A01"; :>> label = "VerifySizeAndCreateSleeve"; }
|
|
145
|
+
attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
|
|
146
|
+
attribute :>> userParticipation = "representative users, simulated use conditions";
|
|
147
|
+
attribute :>> acceptanceCriteria = "a representative user completes 'SizeAndCreateSleeve' without a use error, in a summative evaluation per IEC 62366-1";
|
|
148
|
+
}
|
|
149
|
+
connection : Validates connect validationTarget ::> actSizeAndCreateSleeve to validationCase ::> valAuthoredActSizeAndCreateSleeve;
|
|
150
|
+
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
151
|
+
verification valAuthoredActAssessStapleLine : ValidationCase {
|
|
152
|
+
@MemoIdentity { :>> providedId = "SCW-VC-A02"; :>> label = "VerifyAssessStapleLine"; }
|
|
153
|
+
attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
|
|
154
|
+
attribute :>> userParticipation = "representative users, simulated use conditions";
|
|
155
|
+
attribute :>> acceptanceCriteria = "a representative user completes 'AssessStapleLine' without a use error, in a summative evaluation per IEC 62366-1";
|
|
156
|
+
}
|
|
157
|
+
connection : Validates connect validationTarget ::> actAssessStapleLine to validationCase ::> valAuthoredActAssessStapleLine;
|
|
158
|
+
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
159
|
+
verification valAuthoredTaskCreateStapleLine : ValidationCase {
|
|
160
|
+
@MemoIdentity { :>> providedId = "LSG-VC-A01"; :>> label = "VerifyCreateAndInspectStapleLine"; }
|
|
161
|
+
attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
|
|
162
|
+
attribute :>> userParticipation = "representative users, simulated use conditions";
|
|
163
|
+
attribute :>> acceptanceCriteria = "a representative user completes 'CreateAndInspectStapleLine' without a use error, in a summative evaluation per IEC 62366-1";
|
|
164
|
+
}
|
|
165
|
+
connection : Validates connect validationTarget ::> actSizeAndCreateSleeve.taskCreateStapleLine to validationCase ::> valAuthoredTaskCreateStapleLine;
|
|
138
166
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// logical viewpoint.
|
|
2
|
+
//
|
|
3
|
+
// This project does not define its own viewpoint here; it binds the reusable
|
|
4
|
+
// MEMO viewpoint that frames these concerns. The views it governs sit beneath
|
|
5
|
+
// `views/`.
|
|
6
|
+
package memo_examples_surgical_closure_workflow_viewpoints_logical {
|
|
7
|
+
public import memo_viewpoints_logical_logical_viewpoint::*;
|
|
8
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
package
|
|
1
|
+
package memo_examples_surgical_closure_workflow_viewpoints_logical_views_surgical_closure_workflow_overview {
|
|
2
2
|
private import memo_examples_surgical_closure_workflow::*;
|
|
3
3
|
private import memo_viewpoints_definitions::*;
|
|
4
|
+
private import memo_viewpoints_logical_logical_viewpoint::*;
|
|
4
5
|
private import memo_core_enumerations::*;
|
|
5
6
|
|
|
6
7
|
view surgicalClosureWorkflowOverview : MemoDiagramView {
|
|
@@ -8,5 +9,6 @@ package memo_examples_surgical_closure_workflow_viewpoints_unassigned_views_surg
|
|
|
8
9
|
attribute depth = 2;
|
|
9
10
|
attribute :>> viewKind = DiagramViewKind::actionflow;
|
|
10
11
|
attribute :>> diagramType = "ofd";
|
|
12
|
+
ref :>> viewpointDefinition = logicalArchitectureViewpoint;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -11,8 +11,7 @@ package memo_examples_surgical_closure_workflow_project {
|
|
|
11
11
|
|
|
12
12
|
// The project's own content, imported so the catalog is one reachable
|
|
13
13
|
// closure from a single entrypoint.
|
|
14
|
-
private import
|
|
15
|
-
private import memo_examples_surgical_closure_workflow_viewpoints_unassigned_views_surgical_closure_workflow_overview::*;
|
|
14
|
+
private import memo_examples_surgical_closure_workflow_viewpoints_logical_views_surgical_closure_workflow_overview::*;
|
|
16
15
|
|
|
17
16
|
private import memo_core_common::*;
|
|
18
17
|
private import memo_core_common::MemoIdentity;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# memo.identity.yaml — element identity registry (auto-generated)
|
|
2
|
+
# Assigned once and never reassigned. COMMIT THIS FILE: deleting it does
|
|
3
|
+
# not regenerate the same identities, it mints new ones, and every
|
|
4
|
+
# external reference to a shortId or uuid then points at nothing.
|
|
5
|
+
# Entries for deleted elements are retained so their numbers stay retired.
|
|
6
|
+
|
|
7
|
+
elements:
|
|
8
|
+
"memo_examples_surgical_robot::SurgicalRobotSystem":
|
|
9
|
+
shortId: "SYS-1"
|
|
10
|
+
uuid: "880f74f7-b534-5873-82e0-79f4e5ebaa6c"
|
|
11
|
+
"memo_examples_surgical_robot::actJointDrive":
|
|
12
|
+
shortId: "ACT-1"
|
|
13
|
+
uuid: "b2d79c0c-64c2-5f66-aefd-85016c11ef79"
|
|
14
|
+
"memo_examples_surgical_robot::actJointDrive::pDriveOut":
|
|
15
|
+
shortId: "PHY-1"
|
|
16
|
+
uuid: "c3ae3c2d-07dc-515d-bca6-abfe697bf107"
|
|
17
|
+
"memo_examples_surgical_robot::chExchangeInterlock":
|
|
18
|
+
shortId: "LGC-1"
|
|
19
|
+
uuid: "5c4a6423-4091-570a-ac94-6c7419ae9fba"
|
|
20
|
+
"memo_examples_surgical_robot::chMotionMonitor":
|
|
21
|
+
shortId: "LGC-2"
|
|
22
|
+
uuid: "0e286cb0-ed3b-58a3-8a09-e99e5d244263"
|
|
23
|
+
"memo_examples_surgical_robot::chMotionPrimary":
|
|
24
|
+
shortId: "LGC-3"
|
|
25
|
+
uuid: "18ef9156-9d83-587c-ac39-68e03c49b38d"
|
|
26
|
+
"memo_examples_surgical_robot::elHapticGrip":
|
|
27
|
+
shortId: "OPR-1"
|
|
28
|
+
uuid: "a581a4f9-0b4c-5e1a-b970-27b8526ad225"
|
|
29
|
+
"memo_examples_surgical_robot::instrShaft":
|
|
30
|
+
shortId: "MCH-1"
|
|
31
|
+
uuid: "74e71c25-ddc1-5a50-8b51-03a3b2eb01b3"
|
|
32
|
+
"memo_examples_surgical_robot::instrShaft::pDriveIn":
|
|
33
|
+
shortId: "PHY-2"
|
|
34
|
+
uuid: "3b1e5ccc-61fc-5b66-98ec-4029fccd98a6"
|
|
35
|
+
"memo_examples_surgical_robot_project::projectBinding":
|
|
36
|
+
shortId: "PRJ-1"
|
|
37
|
+
uuid: "7c9bbd2c-b684-52fc-a145-3120297a437f"
|
|
38
|
+
"memo_examples_surgical_robot_viewpoints_logical_views_surgical_robot_overview::surgicalRobotOverview":
|
|
39
|
+
shortId: "MMX-1"
|
|
40
|
+
uuid: "e32518a0-d91e-507b-af55-8edc625b3b54"
|