@memoarchitect/ontology 0.16.0 → 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.
Files changed (212) hide show
  1. package/README.md +2 -2
  2. package/examples/connected-patient-monitor/memo.identity.yaml +16 -1
  3. package/examples/connected-patient-monitor/model/catalog/connected_patient_monitor.sysml +5 -1
  4. package/examples/connected-patient-monitor/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  5. package/examples/connected-patient-monitor/model/catalog/viewpoints/{unassigned → logical}/views/connected_patient_monitor_overview.sysml +3 -2
  6. package/examples/connected-patient-monitor/model/methodology/project.sysml +1 -2
  7. package/examples/embedded-infusion-pump/memo.identity.yaml +79 -0
  8. package/examples/embedded-infusion-pump/model/catalog/embedded_infusion_pump.sysml +131 -4
  9. package/examples/embedded-infusion-pump/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  10. package/examples/embedded-infusion-pump/model/catalog/viewpoints/{unassigned → logical}/views/embedded_infusion_pump_overview.sysml +3 -2
  11. package/examples/embedded-infusion-pump/model/methodology/project.sysml +1 -2
  12. package/examples/functional-logical-physical/memo.identity.yaml +31 -1
  13. package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +71 -0
  14. package/examples/functional-logical-physical/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  15. package/examples/functional-logical-physical/model/catalog/viewpoints/{unassigned → logical}/views/functional_logical_physical_overview.sysml +3 -2
  16. package/examples/functional-logical-physical/model/methodology/project.sysml +1 -2
  17. package/examples/gpca-pump/memo.identity.yaml +53 -13
  18. package/examples/gpca-pump/methodology/gpca_profiles.sysml +4 -15
  19. package/examples/gpca-pump/model/catalog/gpca_architecture.sysml +23 -10
  20. package/examples/gpca-pump/model/catalog/gpca_behavior_modes.sysml +7 -6
  21. package/examples/gpca-pump/model/catalog/gpca_behavior_subsystems.sysml +74 -28
  22. package/examples/gpca-pump/model/catalog/gpca_devices.sysml +23 -0
  23. package/examples/gpca-pump/model/catalog/gpca_interfaces.sysml +11 -29
  24. package/examples/gpca-pump/model/catalog/gpca_operational.sysml +17 -0
  25. package/examples/gpca-pump/model/catalog/gpca_physical.sysml +2 -1
  26. package/examples/gpca-pump/model/catalog/gpca_standards.sysml +4 -4
  27. package/examples/gpca-pump/model/catalog/gpca_system.sysml +4 -3
  28. package/examples/gpca-pump/model/catalog/gpca_trace.sysml +11 -3
  29. package/examples/gpca-pump/model/catalog/gpca_verification.sysml +12 -12
  30. package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_cyber_assessment_view.sysml +1 -1
  31. package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_threat_model_view.sysml +1 -1
  32. package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_hazard_analysis_view.sysml +1 -1
  33. package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_rmf_view.sysml +1 -1
  34. package/examples/{ros-mobile-robot/model/catalog/viewpoints/unassigned → gpca-pump/model/catalog/viewpoints/shared}/viewpoint.sysml +3 -2
  35. package/examples/gpca-pump/model/catalog/viewpoints/{logical → shared}/views/document_architecture_description_view.sysml +3 -3
  36. package/examples/gpca-pump/model/catalog/viewpoints/{requirements → shared}/views/document_dhf_index_view.sysml +3 -3
  37. package/examples/gpca-pump/model/catalog/viewpoints/software/views/document_sdd_view.sysml +1 -1
  38. package/examples/gpca-pump/model/catalog/viewpoints/usability/views/document_usability_view.sysml +1 -1
  39. package/examples/gpca-pump/model/catalog/viewpoints/verification/views/document_vv_view.sysml +1 -1
  40. package/examples/gpca-pump/model/methodology/project.sysml +1 -5
  41. package/examples/ivd-laboratory-system/memo.identity.yaml +43 -0
  42. package/examples/ivd-laboratory-system/model/catalog/ivd_laboratory_system.sysml +16 -1
  43. package/examples/ivd-laboratory-system/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  44. package/examples/ivd-laboratory-system/model/catalog/viewpoints/{unassigned → logical}/views/ivd_laboratory_system_overview.sysml +3 -2
  45. package/examples/ivd-laboratory-system/model/methodology/project.sysml +1 -2
  46. package/examples/manual-surgical-instrument/memo.identity.yaml +28 -0
  47. package/examples/manual-surgical-instrument/model/catalog/manual_surgical_instrument.sysml +3 -0
  48. package/examples/manual-surgical-instrument/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  49. package/examples/manual-surgical-instrument/model/catalog/viewpoints/{unassigned → logical}/views/manual_surgical_instrument_overview.sysml +3 -2
  50. package/examples/manual-surgical-instrument/model/methodology/project.sysml +1 -2
  51. package/examples/multidimensional-layers/memo.identity.yaml +34 -0
  52. package/examples/multidimensional-layers/model/catalog/multidimensional_layers.sysml +34 -4
  53. package/examples/multidimensional-layers/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  54. package/examples/multidimensional-layers/model/catalog/viewpoints/{unassigned → logical}/views/multidimensional_layers_overview.sysml +3 -1
  55. package/examples/multidimensional-layers/model/methodology/project.sysml +1 -2
  56. package/examples/nested-architecture-dsm/memo.identity.yaml +27 -0
  57. package/examples/nested-architecture-dsm/model/catalog/architecture/functional/functions.sysml +9 -9
  58. package/examples/nested-architecture-dsm/model/catalog/assurance/verification_validation/verification_validation.sysml +64 -0
  59. package/examples/nested-architecture-dsm/model/catalog/nested_architecture_dsm_system.sysml +5 -0
  60. package/examples/nested-architecture-dsm/model/catalog/traces.sysml +6 -0
  61. package/examples/reusable-instrument/memo.identity.yaml +46 -0
  62. package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +28 -0
  63. package/examples/reusable-instrument/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  64. package/examples/reusable-instrument/model/catalog/viewpoints/{unassigned → logical}/views/reusable_instrument_overview.sysml +3 -1
  65. package/examples/reusable-instrument/model/methodology/project.sysml +1 -2
  66. package/examples/robot-cell-family/memo.identity.yaml +96 -81
  67. package/examples/robot-cell-family/model/{sos → catalog/sos}/chains.sysml +5 -5
  68. package/examples/robot-cell-family/model/{sos → catalog/sos}/icds.sysml +1 -1
  69. package/examples/robot-cell-family/model/{sos → catalog/sos}/sos.sysml +4 -4
  70. package/examples/robot-cell-family/model/{sos → catalog/sos}/use_cases.sysml +4 -4
  71. package/examples/robot-cell-family/model/{systems → catalog/systems}/manipulation/manipulation_system.sysml +11 -3
  72. package/examples/robot-cell-family/model/{systems → catalog/systems}/navigation/navigation_system.sysml +9 -4
  73. package/examples/robot-cell-family/model/{systems → catalog/systems}/perception/perception_system.sysml +8 -3
  74. package/examples/robot-cell-family/model/methodology/project.sysml +6 -6
  75. package/examples/ros-mobile-robot/memo.identity.yaml +22 -1
  76. package/examples/ros-mobile-robot/model/catalog/ros_mobile_robot.sysml +89 -26
  77. package/examples/ros-mobile-robot/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  78. package/examples/ros-mobile-robot/model/catalog/viewpoints/{unassigned → logical}/views/ros_mobile_robot_overview.sysml +3 -1
  79. package/examples/ros-mobile-robot/model/methodology/project.sysml +1 -2
  80. package/examples/software-only-medical-device/memo.identity.yaml +46 -0
  81. package/examples/software-only-medical-device/model/catalog/software_only_medical_device.sysml +34 -1
  82. package/examples/software-only-medical-device/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  83. package/examples/software-only-medical-device/model/catalog/viewpoints/{unassigned → logical}/views/software_only_medical_device_overview.sysml +3 -1
  84. package/examples/software-only-medical-device/model/methodology/project.sysml +1 -2
  85. package/examples/surgical-closure-workflow/memo.identity.yaml +103 -0
  86. package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +28 -0
  87. package/examples/surgical-closure-workflow/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  88. package/examples/surgical-closure-workflow/model/catalog/viewpoints/{unassigned → logical}/views/surgical_closure_workflow_overview.sysml +3 -1
  89. package/examples/surgical-closure-workflow/model/methodology/project.sysml +1 -2
  90. package/examples/surgical-robot/memo.identity.yaml +40 -0
  91. package/examples/surgical-robot/model/catalog/surgical_robot.sysml +6 -1
  92. package/examples/surgical-robot/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  93. package/examples/surgical-robot/model/catalog/viewpoints/{unassigned → logical}/views/surgical_robot_overview.sysml +3 -1
  94. package/examples/surgical-robot/model/methodology/project.sysml +1 -2
  95. package/examples/sysml-diagram-samples/README.md +5 -3
  96. package/examples/sysml-diagram-samples/memo.identity.yaml +548 -391
  97. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/action_flow_view.sysml +2 -2
  98. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/browser_view.sysml +1 -2
  99. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/context_view.sysml +1 -2
  100. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/drill_down_view.sysml +30 -5
  101. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/functional_flow_view.sysml +15 -3
  102. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/grid_view.sysml +1 -2
  103. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/interconnection_view.sysml +1 -2
  104. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/operational_behaviour_view.sysml +1 -2
  105. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/package_view.sysml +1 -2
  106. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/requirements_view.sysml +7 -2
  107. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/sequence_view.sysml +1 -2
  108. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/standard_activity_view.sysml +2 -3
  109. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/state_transition_view.sysml +1 -2
  110. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/tree_view.sysml +1 -2
  111. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/use_case_view.sysml +1 -2
  112. package/examples/sysml-diagram-samples/model/catalog/sysml_diagram_samples_system.sysml +5 -0
  113. package/examples/sysml-diagram-samples/model/catalog/viewpoints/shared/viewpoint.sysml +8 -0
  114. package/examples/sysml-diagram-samples/model/catalog/viewpoints/{unassigned → shared}/views/diagram_samples.sysml +78 -44
  115. package/examples/sysml-diagram-samples/model/methodology/project.sysml +0 -16
  116. package/examples/temperature-alarm/memo.identity.yaml +22 -1
  117. package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +48 -0
  118. package/examples/temperature-alarm/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  119. package/examples/temperature-alarm/model/catalog/viewpoints/{unassigned → logical}/views/temperature_alarm_overview.sysml +3 -1
  120. package/examples/temperature-alarm/model/methodology/project.sysml +1 -2
  121. package/examples/ui-screen-regions/memo.identity.yaml +33 -0
  122. package/examples/ui-screen-regions/model/catalog/architecture/functional/functions.sysml +3 -0
  123. package/examples/ui-screen-regions/model/catalog/architecture/implementation/ui.sysml +2 -1
  124. package/examples/ui-screen-regions/model/catalog/assurance/safety_risk/risk.sysml +60 -0
  125. package/examples/ui-screen-regions/model/catalog/assurance/verification_validation/verification_validation.sysml +3 -3
  126. package/examples/ui-screen-regions/model/catalog/ui_screen_regions_system.sysml +5 -0
  127. package/extensions/aadl/memo.package.yaml +1 -1
  128. package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +2 -1
  129. package/extensions/clinical/memo.package.yaml +1 -1
  130. package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +2 -1
  131. package/extensions/cloud/memo.package.yaml +1 -1
  132. package/extensions/container/memo.package.yaml +1 -1
  133. package/extensions/messaging/memo.package.yaml +1 -1
  134. package/extensions/messaging/src/messaging_extension.sysml +2 -1
  135. package/extensions/ros/memo.package.yaml +1 -1
  136. package/extensions/ros/src/ros_extension.sysml +3 -2
  137. package/methodologies/default/memo.package.yaml +1 -1
  138. package/methodologies/gpca/memo.package.yaml +1 -1
  139. package/ontology/memo.package.yaml +1 -1
  140. package/package.json +4 -4
  141. package/profile/memo.package.yaml +1 -1
  142. package/src/architecture/functional/behavior/memo_behavior.sysml +19 -8
  143. package/src/architecture/functional/constraints/memo_constraints.sysml +5 -4
  144. package/src/architecture/functional/functions/memo_functions.sysml +18 -6
  145. package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +2 -3
  146. package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +5 -4
  147. package/src/architecture/implementation/software/structure/memo_software_structure.sysml +0 -1
  148. package/src/architecture/implementation/ui/memo_ui.sysml +16 -0
  149. package/src/architecture/logical/interfaces/memo_interfaces.sysml +9 -3
  150. package/src/architecture/logical/structure/memo_logical_structure.sysml +9 -0
  151. package/src/architecture/operational/activities/memo_activities.sysml +3 -2
  152. package/src/architecture/operational/scenarios/memo_scenarios.sysml +6 -1
  153. package/src/architecture/operational/use_cases/memo_use_cases.sysml +0 -4
  154. package/src/architecture/realization/deployment/memo_deployment.sysml +3 -2
  155. package/src/architecture/realization/physical/memo_physical_architecture.sysml +11 -4
  156. package/src/artifacts/configuration_management/memo_configuration_management.sysml +17 -4
  157. package/src/artifacts/templates/dhf/fda-cybersecurity/security-arch.md +1 -1
  158. package/src/artifacts/templates/dhf/fda-cybersecurity/threat-model.md +1 -1
  159. package/src/artifacts/templates/dhf/iec-62304/detailed-design.md +1 -1
  160. package/src/artifacts/templates/dhf/iec-62304/sad.md +1 -1
  161. package/src/artifacts/templates/dhf/iec-62366/task-analysis.md +7 -7
  162. package/src/artifacts/templates/dhf/iec-62366/ue-plan.md +1 -1
  163. package/src/artifacts/templates/dhf/iec-62366/urra.md +1 -1
  164. package/src/artifacts/templates/dhf/system/sad.md +1 -1
  165. package/src/artifacts/templates/dhf/system/standards-checklist.md +2 -2
  166. package/src/assurance/safety_risk/memo_risk.sysml +15 -0
  167. package/src/assurance/verification_validation/memo_assurance.sysml +25 -0
  168. package/src/core/common/memo_common.sysml +22 -0
  169. package/src/core/enumerations/memo_enumerations.sysml +23 -5
  170. package/src/core/relationships/memo_relationships.sysml +5 -0
  171. package/src/core/relationships/memo_workspace_membership.sysml +11 -0
  172. package/src/core/stdlib/quantities/quantities.sysml +22 -0
  173. package/src/memo_namespaces.sysml +5 -0
  174. package/src/methodology/core/memo_core.sysml +2 -12
  175. package/src/methodology/profiles/memo_profiles.sysml +2 -2
  176. package/src/rules/closure/closure_rules.sysml +46 -3
  177. package/src/rules/ontology/ontology_invariants.sysml +67 -30
  178. package/src/rules/quantitative/quantitative_rules.sysml +29 -0
  179. package/src/viewpoints/clinical/clinical_viewpoint.sysml +1 -1
  180. package/src/viewpoints/context/context_viewpoint.sysml +1 -1
  181. package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +1 -1
  182. package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +1 -1
  183. package/src/viewpoints/functional/functional_viewpoint.sysml +1 -1
  184. package/src/viewpoints/logical/logical_viewpoint.sysml +1 -1
  185. package/src/viewpoints/operational/operational_viewpoint.sysml +1 -1
  186. package/src/viewpoints/physical/physical_viewpoint.sysml +1 -1
  187. package/src/viewpoints/requirements/requirements_viewpoint.sysml +1 -1
  188. package/src/viewpoints/risk/risk_viewpoint.sysml +1 -1
  189. package/src/viewpoints/software/software_viewpoint.sysml +1 -1
  190. package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +14 -3
  191. package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +1 -1
  192. package/src/viewpoints/usability/usability_viewpoint.sysml +1 -1
  193. package/src/viewpoints/verification/verification_viewpoint.sysml +1 -1
  194. package/stage1/opensysml-23e5a5f26f7b25370edc4f26.json.gz +0 -0
  195. package/stage1/syside-27179e19589cf7a97f4dd15a.ids.gz +0 -0
  196. package/stage1/syside-27179e19589cf7a97f4dd15a.json.gz +0 -0
  197. package/stage1/syside-eb527547500a60b508b4578c.ids.gz +0 -0
  198. package/stage1/syside-eb527547500a60b508b4578c.json.gz +0 -0
  199. package/examples/connected-patient-monitor/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  200. package/examples/embedded-infusion-pump/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  201. package/examples/functional-logical-physical/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  202. package/examples/ivd-laboratory-system/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  203. package/examples/manual-surgical-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  204. package/examples/multidimensional-layers/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  205. package/examples/reusable-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  206. package/examples/software-only-medical-device/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  207. package/examples/surgical-closure-workflow/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  208. package/examples/surgical-robot/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  209. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -74
  210. package/examples/temperature-alarm/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  211. /package/examples/robot-cell-family/model/{shared → catalog/shared}/shared.sysml +0 -0
  212. /package/examples/sysml-diagram-samples/model/{sysml_v2_activity_example.sysml → catalog/sysml_v2_activity_example.sysml} +0 -0
@@ -1,4 +1,5 @@
1
1
  package memo_examples_gpca_pump_gpca_interfaces {
2
+ private import memo_core_stdlib_quantities::*;
2
3
  private import ScalarValues::*;
3
4
 
4
5
  private import memo_architecture_logical_interfaces::*;
@@ -59,8 +60,8 @@ package memo_examples_gpca_pump_gpca_interfaces {
59
60
  attribute :>> bandwidth = "implementation-defined";
60
61
  attribute :>> timingConstraint = "same execution step where required";
61
62
  attribute :>> electricalStandard = "logical/AADL";
62
- attribute :>> nominalVoltageV = 3.3;
63
- attribute :>> nominalCurrentA = 0.02;
63
+ attribute :>> nominalVoltageV = 3.3 [V];
64
+ attribute :>> nominalCurrentA = 0.02 [A];
64
65
  }
65
66
  // Wired: the three physical interfaces whose controller-side connector is
66
67
  // modelled (gpca_physical). The rest are abstract until their ends are.
@@ -73,8 +74,8 @@ package memo_examples_gpca_pump_gpca_interfaces {
73
74
  attribute :>> direction = DirectionKind::output;
74
75
  attribute :>> timingConstraint = "step rate proportional to commanded flow";
75
76
  attribute :>> electricalStandard = "3.3V CMOS";
76
- attribute :>> nominalVoltageV = 3.3;
77
- attribute :>> nominalCurrentA = 0.5;
77
+ attribute :>> nominalVoltageV = 3.3 [V];
78
+ attribute :>> nominalCurrentA = 0.5 [A];
78
79
  attribute :>> protocolSemantics = "step/dir with enable interlock";
79
80
  }
80
81
  interface bolusButtonLine : PhysicalInterface connect bolusButton.portPendantOut to portPatientPendant {
@@ -86,8 +87,8 @@ package memo_examples_gpca_pump_gpca_interfaces {
86
87
  attribute :>> direction = DirectionKind::input;
87
88
  attribute :>> timingConstraint = "debounce 50 ms; stuck-high detection after 60 s";
88
89
  attribute :>> electricalStandard = "3.3V CMOS, normally open";
89
- attribute :>> nominalVoltageV = 3.3;
90
- attribute :>> nominalCurrentA = 0.001;
90
+ attribute :>> nominalVoltageV = 3.3 [V];
91
+ attribute :>> nominalCurrentA = 0.001 [A];
91
92
  }
92
93
  interface occlusionAnalogLine : PhysicalInterface connect occlusionSensor.portOcclusionOut to portSensorHarness {
93
94
  @MemoIdentity { :>> providedId = "PI-004"; :>> label = "OcclusionPressureAnalogLine"; }
@@ -96,8 +97,8 @@ package memo_examples_gpca_pump_gpca_interfaces {
96
97
  attribute :>> mediumKind = PhysicalMediumKind::electrical;
97
98
  attribute :>> direction = DirectionKind::input;
98
99
  attribute :>> electricalStandard = "ratiometric 0.5-4.5V";
99
- attribute :>> nominalVoltageV = 5.0;
100
- attribute :>> nominalCurrentA = 0.01;
100
+ attribute :>> nominalVoltageV = 5 [V];
101
+ attribute :>> nominalCurrentA = 0.01 [A];
101
102
  attribute :>> signalRange = "0 to 30 psi line pressure";
102
103
  }
103
104
  abstract interface batteryMonitorLine : PhysicalInterface {
@@ -107,8 +108,8 @@ package memo_examples_gpca_pump_gpca_interfaces {
107
108
  attribute :>> mediumKind = PhysicalMediumKind::electrical;
108
109
  attribute :>> direction = DirectionKind::input;
109
110
  attribute :>> electricalStandard = "divided battery rail to ADC";
110
- attribute :>> nominalVoltageV = 12.0;
111
- attribute :>> nominalCurrentA = 0.001;
111
+ attribute :>> nominalVoltageV = 12 [V];
112
+ attribute :>> nominalCurrentA = 0.001 [A];
112
113
  attribute :>> signalRange = "9.0V (depleted) to 12.6V (full)";
113
114
  }
114
115
 
@@ -555,7 +556,6 @@ package memo_examples_gpca_pump_gpca_interfaces {
555
556
  connect gpcaDevice.gpcaDeviceSensors.snsSensorOut to gpcaSoftware.portSensorIn {
556
557
  @MemoIdentity { :>> providedId = "CE-001"; :>> label = "SensorStatusVectorExchange"; }
557
558
  attribute :>> exchangeKind = FlowKind::measurement;
558
- attribute :>> direction = DirectionKind::input;
559
559
  attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
560
560
  @MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-001; not a GPCA_Device.aadl connection"; }
561
561
  }
@@ -563,7 +563,6 @@ package memo_examples_gpca_pump_gpca_interfaces {
563
563
  connect gpcaSoftware.portGpcaSwOut to pumpMotorAssembly.portFlowCommandIn {
564
564
  @MemoIdentity { :>> providedId = "CE-002"; :>> label = "FlowCommandExchange"; }
565
565
  attribute :>> exchangeKind = FlowKind::command;
566
- attribute :>> direction = DirectionKind::output;
567
566
  attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
568
567
  @MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-002; not a GPCA_Device.aadl connection"; }
569
568
  }
@@ -571,7 +570,6 @@ package memo_examples_gpca_pump_gpca_interfaces {
571
570
  connect gpcaSoftware.portGpcaSwOut to audibleAlarm.portAlarmIn {
572
571
  @MemoIdentity { :>> providedId = "CE-003"; :>> label = "AlarmAnnunciationExchange"; }
573
572
  attribute :>> exchangeKind = FlowKind::alarm;
574
- attribute :>> direction = DirectionKind::output;
575
573
  attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
576
574
  @MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-003; not a GPCA_Device.aadl connection"; }
577
575
  }
@@ -579,7 +577,6 @@ package memo_examples_gpca_pump_gpca_interfaces {
579
577
  connect operatorKeypad.portPrescriptionOut to gpcaSoftware.portPresIn {
580
578
  @MemoIdentity { :>> providedId = "CE-004"; :>> label = "PrescriptionEntryExchange"; }
581
579
  attribute :>> exchangeKind = FlowKind::configuration;
582
- attribute :>> direction = DirectionKind::input;
583
580
  attribute :>> timingSemantics = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
584
581
  @MemoIdentity { :>> sourceReference = "MEMO design extension allocated from LF-004; not a GPCA_Device.aadl connection"; }
585
582
  }
@@ -615,14 +612,12 @@ package memo_examples_gpca_pump_gpca_interfaces {
615
612
  binding ceOpCmdToTlm bind gpcaSoftware.portOpCmdIn = gpcaSoftware.tlm.portTlmOpCmdIn {
616
613
  @MemoIdentity { :>> providedId = "CE-101"; :>> label = "OP_CMDtoTLM"; }
617
614
  attribute exchangeKind : FlowKind = FlowKind::command;
618
- attribute direction : DirectionKind = DirectionKind::input;
619
615
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
620
616
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
621
617
  }
622
618
  binding ceConstToTlm bind gpcaSoftware.portConstIn = gpcaSoftware.tlm.portTlmConstIn {
623
619
  @MemoIdentity { :>> providedId = "CE-102"; :>> label = "CONSTtoTLM"; }
624
620
  attribute exchangeKind : FlowKind = FlowKind::configuration;
625
- attribute direction : DirectionKind = DirectionKind::input;
626
621
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
627
622
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
628
623
  }
@@ -650,14 +645,12 @@ package memo_examples_gpca_pump_gpca_interfaces {
650
645
  binding ceSensorToSysStat bind gpcaSoftware.portSensorIn = gpcaSoftware.systemStatus.portSysStatSensorIn {
651
646
  @MemoIdentity { :>> providedId = "CE-106"; :>> label = "SENSOR_to_SYS_STAT"; }
652
647
  attribute exchangeKind : FlowKind = FlowKind::measurement;
653
- attribute direction : DirectionKind = DirectionKind::input;
654
648
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
655
649
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
656
650
  }
657
651
  binding ceConstToSysStat bind gpcaSoftware.portConstIn = gpcaSoftware.systemStatus.portSysStatConstIn {
658
652
  @MemoIdentity { :>> providedId = "CE-107"; :>> label = "CONST_to_SYS_STAT"; }
659
653
  attribute exchangeKind : FlowKind = FlowKind::configuration;
660
- attribute direction : DirectionKind = DirectionKind::input;
661
654
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
662
655
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
663
656
  }
@@ -699,28 +692,24 @@ package memo_examples_gpca_pump_gpca_interfaces {
699
692
  binding ceOpCmdToAlarm bind gpcaSoftware.portOpCmdIn = gpcaSoftware.alarm.portAlarmOpCmdIn {
700
693
  @MemoIdentity { :>> providedId = "CE-113"; :>> label = "OP_CMD_to_ALARM"; }
701
694
  attribute exchangeKind : FlowKind = FlowKind::command;
702
- attribute direction : DirectionKind = DirectionKind::input;
703
695
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
704
696
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
705
697
  }
706
698
  binding ceDbToAlarm bind gpcaSoftware.portDbIn = gpcaSoftware.alarm.portAlarmDbIn {
707
699
  @MemoIdentity { :>> providedId = "CE-114"; :>> label = "DB_to_ALARM"; }
708
700
  attribute exchangeKind : FlowKind = FlowKind::configuration;
709
- attribute direction : DirectionKind = DirectionKind::input;
710
701
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
711
702
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
712
703
  }
713
704
  binding ceSensorToAlarm bind gpcaSoftware.portSensorIn = gpcaSoftware.alarm.portAlarmSensorIn {
714
705
  @MemoIdentity { :>> providedId = "CE-115"; :>> label = "SENSOR_to_ALARM"; }
715
706
  attribute exchangeKind : FlowKind = FlowKind::measurement;
716
- attribute direction : DirectionKind = DirectionKind::input;
717
707
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
718
708
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
719
709
  }
720
710
  binding ceConstToAlarm bind gpcaSoftware.portConstIn = gpcaSoftware.alarm.portAlarmConstIn {
721
711
  @MemoIdentity { :>> providedId = "CE-116"; :>> label = "CONST_to_ALARM"; }
722
712
  attribute exchangeKind : FlowKind = FlowKind::configuration;
723
- attribute direction : DirectionKind = DirectionKind::input;
724
713
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
725
714
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
726
715
  }
@@ -755,28 +744,24 @@ package memo_examples_gpca_pump_gpca_interfaces {
755
744
  binding cePresToConfig bind gpcaSoftware.portPresIn = gpcaSoftware.config.portConfigPresIn {
756
745
  @MemoIdentity { :>> providedId = "CE-121"; :>> label = "PRES_to_CONFIG"; }
757
746
  attribute exchangeKind : FlowKind = FlowKind::configuration;
758
- attribute direction : DirectionKind = DirectionKind::input;
759
747
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
760
748
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
761
749
  }
762
750
  binding ceOpCmdToConfig bind gpcaSoftware.portOpCmdIn = gpcaSoftware.config.portConfigOpCmdIn {
763
751
  @MemoIdentity { :>> providedId = "CE-122"; :>> label = "OP_CMD_to_CONFIG"; }
764
752
  attribute exchangeKind : FlowKind = FlowKind::command;
765
- attribute direction : DirectionKind = DirectionKind::input;
766
753
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
767
754
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
768
755
  }
769
756
  binding ceDbToConfig bind gpcaSoftware.portDbIn = gpcaSoftware.config.portConfigDbIn {
770
757
  @MemoIdentity { :>> providedId = "CE-123"; :>> label = "DB_to_CONFIG"; }
771
758
  attribute exchangeKind : FlowKind = FlowKind::configuration;
772
- attribute direction : DirectionKind = DirectionKind::input;
773
759
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
774
760
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
775
761
  }
776
762
  binding ceConsToConfig bind gpcaSoftware.portConstIn = gpcaSoftware.config.portConfigConstIn {
777
763
  @MemoIdentity { :>> providedId = "CE-124"; :>> label = "CONS_to_CONFIG"; }
778
764
  attribute exchangeKind : FlowKind = FlowKind::configuration;
779
- attribute direction : DirectionKind = DirectionKind::input;
780
765
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
781
766
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
782
767
  }
@@ -804,14 +789,12 @@ package memo_examples_gpca_pump_gpca_interfaces {
804
789
  binding ceOpCmdToIm bind gpcaSoftware.portOpCmdIn = gpcaSoftware.infusionMgr.portImOpCmdIn {
805
790
  @MemoIdentity { :>> providedId = "CE-128"; :>> label = "OP_CMD_to_IM"; }
806
791
  attribute exchangeKind : FlowKind = FlowKind::command;
807
- attribute direction : DirectionKind = DirectionKind::input;
808
792
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
809
793
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
810
794
  }
811
795
  binding cePatientToIm bind gpcaSoftware.portPatientIn = gpcaSoftware.infusionMgr.portImPatientIn {
812
796
  @MemoIdentity { :>> providedId = "CE-129"; :>> label = "PATIENT_to_IM"; }
813
797
  attribute exchangeKind : FlowKind = FlowKind::command;
814
- attribute direction : DirectionKind = DirectionKind::input;
815
798
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
816
799
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
817
800
  }
@@ -902,7 +885,6 @@ package memo_examples_gpca_pump_gpca_interfaces {
902
885
  binding ceOutputToGpcaOut bind gpcaSoftware.outputBus.portOutputGpcaSwOut = gpcaSoftware.portGpcaSwOut {
903
886
  @MemoIdentity { :>> providedId = "CE-142"; :>> label = "OUTPUT_to_GPCA_OUT"; }
904
887
  attribute exchangeKind : FlowKind = FlowKind::status;
905
- attribute direction : DirectionKind = DirectionKind::output;
906
888
  attribute timingSemantics : String = "immediate (same-step delivery, Communication_Properties::Timing => immediate)";
907
889
  @MemoIdentity { :>> sourceReference = "CITE-002: CriSys GPCA AADL v2.0, packages/GPCA_SW.aadl (GPCA_SW.Impl)"; }
908
890
  }
@@ -1,4 +1,5 @@
1
1
  package memo_examples_gpca_pump_gpca_operational {
2
+ private import memo_assurance_verification_validation::*;
2
3
  private import ScalarValues::*;
3
4
  private import ModelingMetadata::*;
4
5
 
@@ -300,4 +301,20 @@ package memo_examples_gpca_pump_gpca_operational {
300
301
 
301
302
 
302
303
 
304
+ // Illustrative: authored for this example, not the record of a real evaluation.
305
+ verification valAuthoredOaPrescribe : ValidationCase {
306
+ @MemoIdentity { :>> providedId = "GP-VC-A03"; :>> label = "VerifyPrescribeTherapy"; }
307
+ attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
308
+ attribute :>> userParticipation = "representative users, simulated use conditions";
309
+ attribute :>> acceptanceCriteria = "a representative user completes 'PrescribeTherapy' without a use error, in a summative evaluation per IEC 62366-1";
310
+ }
311
+ connection : Validates connect validationTarget ::> oaPrescribe to validationCase ::> valAuthoredOaPrescribe;
312
+ // Illustrative: authored for this example, not the record of a real evaluation.
313
+ verification valAuthoredOaStartTherapy : ValidationCase {
314
+ @MemoIdentity { :>> providedId = "GP-VC-A04"; :>> label = "VerifyStartInfusion"; }
315
+ attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
316
+ attribute :>> userParticipation = "representative users, simulated use conditions";
317
+ attribute :>> acceptanceCriteria = "a representative user completes 'StartInfusion' without a use error, in a summative evaluation per IEC 62366-1";
318
+ }
319
+ connection : Validates connect validationTarget ::> oaStartTherapy to validationCase ::> valAuthoredOaStartTherapy;
303
320
  }
@@ -1,4 +1,5 @@
1
1
  package memo_examples_gpca_pump_gpca_physical {
2
+ private import memo_core_stdlib_quantities::*;
2
3
  private import ScalarValues::*;
3
4
 
4
5
  private import memo_architecture_realization_physical::*;
@@ -10,7 +11,7 @@ package memo_examples_gpca_pump_gpca_physical {
10
11
  @MemoIdentity { :>> providedId = "PN-001"; :>> label = "MainControllerMCU"; }
11
12
  attribute :>> nodeKind = ProcessingNodeKind::microcontroller;
12
13
  attribute :>> processorArchitecture = "ARM Cortex-M4, lockstep-capable";
13
- attribute :>> memoryMB = "1 MB flash / 256 KB SRAM with ECC";
14
+ attribute :>> memoryMB = 1 [mega*B]; // 1 MB flash; the controller also has 256 KB SRAM with ECC.
14
15
  attribute :>> operatingSystem = "bare-metal cyclic executive, 20 ms base step";
15
16
  attribute :>> safetyPartition = true;
16
17
  attribute :>> redundancyKind = "hardware watchdog plus independent flow cross-check";
@@ -36,7 +36,7 @@ package memo_examples_gpca_pump_gpca_standards {
36
36
 
37
37
  part docSrs : MarkdownDocumentSource {
38
38
  @MemoIdentity { :>> providedId = "DOC-SRS"; :>> label = "SoftwareRequirementsSpecification"; }
39
- attribute :>> version = "1.0";
39
+ attribute :>> version = "1.0.0";
40
40
  attribute :>> artifactKind = ArtifactKind::requirementSpecification;
41
41
  attribute :>> owner = "Software Lead";
42
42
  attribute :>> approvalStatus = "approved";
@@ -47,7 +47,7 @@ package memo_examples_gpca_pump_gpca_standards {
47
47
  }
48
48
  part docSad : MarkdownDocumentSource {
49
49
  @MemoIdentity { :>> providedId = "DOC-SAD"; :>> label = "SoftwareArchitectureDescription"; }
50
- attribute :>> version = "1.0";
50
+ attribute :>> version = "1.0.0";
51
51
  attribute :>> artifactKind = ArtifactKind::architectureDescription;
52
52
  attribute :>> owner = "Systems Architect";
53
53
  attribute :>> approvalStatus = "approved";
@@ -58,7 +58,7 @@ package memo_examples_gpca_pump_gpca_standards {
58
58
  }
59
59
  part docHrs : MarkdownDocumentSource {
60
60
  @MemoIdentity { :>> providedId = "DOC-HRS"; :>> label = "HardwareRequirementsSpecification"; }
61
- attribute :>> version = "1.0";
61
+ attribute :>> version = "1.0.0";
62
62
  attribute :>> artifactKind = ArtifactKind::requirementSpecification;
63
63
  attribute :>> owner = "Hardware Lead";
64
64
  attribute :>> approvalStatus = "approved";
@@ -69,7 +69,7 @@ package memo_examples_gpca_pump_gpca_standards {
69
69
  }
70
70
  part docRmf : MarkdownDocumentSource {
71
71
  @MemoIdentity { :>> providedId = "DOC-RMF"; :>> label = "RiskManagementFile"; }
72
- attribute :>> version = "1.0";
72
+ attribute :>> version = "1.0.0";
73
73
  attribute :>> artifactKind = ArtifactKind::riskRecord;
74
74
  attribute :>> owner = "Risk Manager";
75
75
  attribute :>> approvalStatus = "approved";
@@ -1,4 +1,5 @@
1
1
  package memo_examples_gpca_pump_gpca_system {
2
+ private import memo_core_stdlib_quantities::*;
2
3
  private import ScalarValues::*;
3
4
 
4
5
  private import memo_architecture_functional_functions::*;
@@ -25,7 +26,7 @@ package memo_examples_gpca_pump_gpca_system {
25
26
  action fcPatientBolus : FunctionalFlow {
26
27
  @MemoIdentity { :>> providedId = "FC-001"; :>> label = "PatientBolusChain"; }
27
28
  attribute :>> flowCategory = FunctionalFlowKind::nominal;
28
- attribute :>> endToEndLatencyBudgetMs = "100";
29
+ attribute :>> endToEndLatencyBudgetMs = 100 [milli*s];
29
30
  attribute :>> safetyRelevant = true;
30
31
  attribute :>> securityRelevant = false;
31
32
  doc /* Bolus button press through lockout/max-dose check to pump actuation and logging. */
@@ -59,7 +60,7 @@ package memo_examples_gpca_pump_gpca_system {
59
60
  action fcAlarmStop : FunctionalFlow {
60
61
  @MemoIdentity { :>> providedId = "FC-002"; :>> label = "AlarmDetectionToSafeStateChain"; }
61
62
  attribute :>> flowCategory = FunctionalFlowKind::alarm;
62
- attribute :>> endToEndLatencyBudgetMs = "20";
63
+ attribute :>> endToEndLatencyBudgetMs = 20 [milli*s];
63
64
  attribute :>> safetyRelevant = true;
64
65
  attribute :>> securityRelevant = false;
65
66
  doc /* Sensor condition through alarm evaluation to same-step transition to PAUSED (KVO flow, REQ 43) and annunciation. */
@@ -96,7 +97,7 @@ package memo_examples_gpca_pump_gpca_system {
96
97
  action fcStartup : FunctionalFlow {
97
98
  @MemoIdentity { :>> providedId = "FC-003"; :>> label = "PowerOnSelfTestChain"; }
98
99
  attribute :>> flowCategory = FunctionalFlowKind::startup;
99
- attribute :>> endToEndLatencyBudgetMs = "5000";
100
+ attribute :>> endToEndLatencyBudgetMs = 5000 [milli*s];
100
101
  attribute :>> safetyRelevant = true;
101
102
  attribute :>> securityRelevant = false;
102
103
  doc /* Power-on through CPU/memory/sensor self test to IDLE with status display; failed POST blocks therapy. */
@@ -20,9 +20,9 @@ package memo_examples_gpca_pump_gpca_trace {
20
20
  private import memo_examples_gpca_pump_gpca_risk::*;
21
21
  private import memo_examples_gpca_pump_gpca_analysis::*;
22
22
  private import memo_examples_gpca_pump_gpca_verification::*;
23
- private import memo_examples_gpca_pump_viewpoints_logical_views_document_architecture_description_view::*;
23
+ private import memo_examples_gpca_pump_viewpoints_shared_views_document_architecture_description_view::*;
24
24
  private import memo_examples_gpca_pump_viewpoints_cybersecurity_views_document_cyber_assessment_view::*;
25
- private import memo_examples_gpca_pump_viewpoints_requirements_views_document_dhf_index_view::*;
25
+ private import memo_examples_gpca_pump_viewpoints_shared_views_document_dhf_index_view::*;
26
26
  private import memo_examples_gpca_pump_viewpoints_risk_views_document_hazard_analysis_view::*;
27
27
  private import memo_examples_gpca_pump_viewpoints_risk_views_document_rmf_view::*;
28
28
  private import memo_examples_gpca_pump_viewpoints_software_views_document_sdd_view::*;
@@ -39,6 +39,7 @@ package memo_examples_gpca_pump_gpca_trace {
39
39
  private import memo_assurance_human_factors::*;
40
40
  private import memo_assurance_safety_risk::*;
41
41
  private import memo_assurance_safety_risk_analysis::*;
42
+ private import memo_assurance_cybersecurity::*;
42
43
  private import memo_viewpoints_definitions::*;
43
44
 
44
45
  // ── System context interactions (context view) ──────────────
@@ -356,7 +357,7 @@ package memo_examples_gpca_pump_gpca_trace {
356
357
  part gpcaFirmwareImage : SoftwareDeploymentUnit {
357
358
  @MemoIdentity { :>> providedId = "DU-001"; :>> label = "GPCAFirmwareImage"; }
358
359
  attribute :>> unitKind = "firmware image";
359
- attribute :>> version = "2.0";
360
+ attribute :>> version = "2.0.0";
360
361
  }
361
362
  allocation : BuildsInto allocate gpcaSoftware.tlm to gpcaFirmwareImage;
362
363
  allocation : BuildsInto allocate gpcaSoftware.config to gpcaFirmwareImage;
@@ -447,6 +448,13 @@ package memo_examples_gpca_pump_gpca_trace {
447
448
  // Categorized causes converge on each hazard (GIIP Tables 2-9
448
449
  // pattern); hazard -> sequence -> hazardous situation -> harm.
449
450
  // HZ-001 opioid over-infusion
451
+ // ISO 14971 5.2, 5.3 and 7.4: a foreseeable misuse leads to a hazardous situation, a safety-related
452
+ // characteristic bears on a hazard, and the benefit is weighed against the residual risk that needs it.
453
+ connection : Causes connect cause ::> bolusByProxyMisuse to effect ::> hsExcessInfusion {
454
+ attribute :>> causeKind = CauseKind::useErrorLeadsToHazard;
455
+ }
456
+ connection : ImpactsSafety connect cyberElement ::> programmedDoseCharacteristic to safetyElement ::> overdoseHazard;
457
+ connection : WeighedAgainst connect benefit ::> analgesiaBenefit to risk ::> riskAfterWrongDose;
450
458
  connection : TracesRisk connect sourceRiskElement ::> causeFlowRateTooHigh to targetRiskElement ::> overdoseHazard;
451
459
  connection : TracesRisk connect sourceRiskElement ::> causeFrequentBolus to targetRiskElement ::> overdoseHazard;
452
460
  connection : TracesRisk connect sourceRiskElement ::> causeBolusVolumeTooHigh to targetRiskElement ::> overdoseHazard;
@@ -18,7 +18,7 @@ package memo_examples_gpca_pump_gpca_verification {
18
18
  // (CR-ONT-040), which is not the same as the requirement it satisfies being
19
19
  // verified or the module it is allocated to being tested. Each function is
20
20
  // named as a subject of the case whose acceptance criteria exercise the
21
- // output its `outputSummary` describes. AcquireSensorData and
21
+ // output its `outputDescription` describes. AcquireSensorData and
22
22
  // AggregateSensorStatus are not: no case here tests the debounced,
23
23
  // range-checked status vector, and naming one would claim a test that
24
24
  // does not exist.
@@ -252,7 +252,7 @@ package memo_examples_gpca_pump_gpca_verification {
252
252
  part testReportLockout : MemoEvidence {
253
253
  attribute :>> evidenceKind = EvidenceKind::testArtifact;
254
254
  @MemoIdentity { :>> providedId = "TEST-001"; :>> label = "BolusLockoutTestReport"; }
255
- attribute :>> version = "0.1";
255
+ attribute :>> version = "0.1.0";
256
256
  attribute :>> lifecycleState = LifecycleStateKind::development;
257
257
  attribute :>> artifactKind = ArtifactKind::testReport;
258
258
  attribute :>> resultSummary = "planned";
@@ -260,7 +260,7 @@ package memo_examples_gpca_pump_gpca_verification {
260
260
  part testProtocolSafetySuite : MemoEvidence {
261
261
  attribute :>> evidenceKind = EvidenceKind::testArtifact;
262
262
  @MemoIdentity { :>> providedId = "TEST-002"; :>> label = "SafetyAlarmTestProtocol"; }
263
- attribute :>> version = "0.1";
263
+ attribute :>> version = "0.1.0";
264
264
  attribute :>> lifecycleState = LifecycleStateKind::development;
265
265
  attribute :>> artifactKind = ArtifactKind::testProtocol;
266
266
  attribute :>> resultSummary = "covers VER-005..VER-010, VER-015, VER-016, VER-020, VER-022..VER-024";
@@ -268,7 +268,7 @@ package memo_examples_gpca_pump_gpca_verification {
268
268
  part evidenceLockout : MemoEvidence {
269
269
  attribute :>> evidenceKind = EvidenceKind::evidence;
270
270
  @MemoIdentity { :>> providedId = "EVD-001"; :>> label = "BolusLockoutEvidence"; }
271
- attribute :>> version = "0.1";
271
+ attribute :>> version = "0.1.0";
272
272
  attribute :>> lifecycleState = LifecycleStateKind::development;
273
273
  attribute :>> evidenceType = "verification evidence";
274
274
  attribute :>> integrityStatus = "draft";
@@ -276,7 +276,7 @@ package memo_examples_gpca_pump_gpca_verification {
276
276
  part evidenceModeRange : MemoEvidence {
277
277
  attribute :>> evidenceKind = EvidenceKind::evidence;
278
278
  @MemoIdentity { :>> providedId = "EVD-002"; :>> label = "ModeRangeEvidence"; }
279
- attribute :>> version = "0.1";
279
+ attribute :>> version = "0.1.0";
280
280
  attribute :>> lifecycleState = LifecycleStateKind::development;
281
281
  attribute :>> evidenceType = "formal proof evidence";
282
282
  attribute :>> integrityStatus = "draft";
@@ -284,7 +284,7 @@ package memo_examples_gpca_pump_gpca_verification {
284
284
  part evidenceSameStepAlarm : MemoEvidence {
285
285
  attribute :>> evidenceKind = EvidenceKind::evidence;
286
286
  @MemoIdentity { :>> providedId = "EVD-003"; :>> label = "SameStepAlarmEvidence"; }
287
- attribute :>> version = "0.1";
287
+ attribute :>> version = "0.1.0";
288
288
  attribute :>> lifecycleState = LifecycleStateKind::development;
289
289
  attribute :>> evidenceType = "model checking evidence";
290
290
  attribute :>> integrityStatus = "draft";
@@ -292,7 +292,7 @@ package memo_examples_gpca_pump_gpca_verification {
292
292
  part evidenceTemporalModeSafety : MemoEvidence {
293
293
  attribute :>> evidenceKind = EvidenceKind::evidence;
294
294
  @MemoIdentity { :>> providedId = "EVD-004"; :>> label = "TemporalModeSafetyEvidence"; }
295
- attribute :>> version = "0.1";
295
+ attribute :>> version = "0.1.0";
296
296
  attribute :>> lifecycleState = LifecycleStateKind::development;
297
297
  attribute :>> evidenceType = "model checking evidence";
298
298
  attribute :>> integrityStatus = "draft";
@@ -300,7 +300,7 @@ package memo_examples_gpca_pump_gpca_verification {
300
300
  part evidenceSafetyAlarmSuite : MemoEvidence {
301
301
  attribute :>> evidenceKind = EvidenceKind::evidence;
302
302
  @MemoIdentity { :>> providedId = "EVD-005"; :>> label = "SafetyAlarmSuiteEvidence"; }
303
- attribute :>> version = "0.1";
303
+ attribute :>> version = "0.1.0";
304
304
  attribute :>> lifecycleState = LifecycleStateKind::development;
305
305
  attribute :>> evidenceType = "bench test evidence for alarm-driven safe states";
306
306
  attribute :>> integrityStatus = "draft";
@@ -308,7 +308,7 @@ package memo_examples_gpca_pump_gpca_verification {
308
308
  part evidenceUsability : MemoEvidence {
309
309
  attribute :>> evidenceKind = EvidenceKind::evidence;
310
310
  @MemoIdentity { :>> providedId = "EVD-006"; :>> label = "SummativeUsabilityEvidence"; }
311
- attribute :>> version = "0.1";
311
+ attribute :>> version = "0.1.0";
312
312
  attribute :>> lifecycleState = LifecycleStateKind::development;
313
313
  attribute :>> evidenceType = "summative usability report per IEC 62366-1";
314
314
  attribute :>> integrityStatus = "draft";
@@ -316,7 +316,7 @@ package memo_examples_gpca_pump_gpca_verification {
316
316
  part evidenceHardwareBench : MemoEvidence {
317
317
  attribute :>> evidenceKind = EvidenceKind::evidence;
318
318
  @MemoIdentity { :>> providedId = "EVD-008"; :>> label = "HardwareBenchEvidence"; }
319
- attribute :>> version = "0.1";
319
+ attribute :>> version = "0.1.0";
320
320
  attribute :>> lifecycleState = LifecycleStateKind::development;
321
321
  attribute :>> evidenceType = "bench evidence for alarm loudness and anti-free-flow valve";
322
322
  attribute :>> integrityStatus = "draft";
@@ -324,7 +324,7 @@ package memo_examples_gpca_pump_gpca_verification {
324
324
  part evidenceDoseProgramming : MemoEvidence {
325
325
  attribute :>> evidenceKind = EvidenceKind::evidence;
326
326
  @MemoIdentity { :>> providedId = "EVD-009"; :>> label = "DoseProgrammingEvidence"; }
327
- attribute :>> version = "0.1";
327
+ attribute :>> version = "0.1.0";
328
328
  attribute :>> lifecycleState = LifecycleStateKind::development;
329
329
  attribute :>> evidenceType = "test evidence for prescription limits, confirmation, dose ceiling, and event log";
330
330
  attribute :>> integrityStatus = "draft";
@@ -332,7 +332,7 @@ package memo_examples_gpca_pump_gpca_verification {
332
332
  part evidenceDeliveryAccuracy : MemoEvidence {
333
333
  attribute :>> evidenceKind = EvidenceKind::evidence;
334
334
  @MemoIdentity { :>> providedId = "EVD-007"; :>> label = "DeliveryAccuracyEvidence"; }
335
- attribute :>> version = "0.1";
335
+ attribute :>> version = "0.1.0";
336
336
  attribute :>> lifecycleState = LifecycleStateKind::development;
337
337
  attribute :>> evidenceType = "gravimetric bench test evidence";
338
338
  attribute :>> integrityStatus = "draft";
@@ -13,7 +13,7 @@ package memo_examples_gpca_pump_viewpoints_cybersecurity_views_document_cyber_as
13
13
  @MemoIdentity { :>> providedId = "DOC-003"; :>> label = "GPCAMemoCybersecurityAssessmentView"; }
14
14
  @MemoIdentity { :>> shortDescription = "Cybersecurity risk-assessment-oriented document view for GPCA."; }
15
15
  doc /* Captures GPCA cyber risks, mitigations, security requirements, verification, and safety/privacy traceability for cybersecurity assessment records. */
16
- attribute :>> version = "0.1";
16
+ attribute :>> version = "0.1.0";
17
17
  attribute :>> lifecycleState = LifecycleStateKind::development;
18
18
  attribute :>> marketScope = "generic";
19
19
  ref :>> viewpointDefinition = cybersecurityViewpoint;
@@ -13,7 +13,7 @@ package memo_examples_gpca_pump_viewpoints_cybersecurity_views_document_threat_m
13
13
  @MemoIdentity { :>> providedId = "DOC-002"; :>> label = "GPCACyberThreatModelView"; }
14
14
  @MemoIdentity { :>> shortDescription = "Threat-model-oriented document view for GPCA."; }
15
15
  doc /* Captures GPCA cyber assets, trust boundaries, threats, threat scenarios, vulnerabilities, and mitigations for secure product development records. */
16
- attribute :>> version = "0.1";
16
+ attribute :>> version = "0.1.0";
17
17
  attribute :>> lifecycleState = LifecycleStateKind::development;
18
18
  attribute :>> marketScope = "generic";
19
19
  ref :>> viewpointDefinition = cybersecurityViewpoint;
@@ -15,7 +15,7 @@ package memo_examples_gpca_pump_viewpoints_risk_views_document_hazard_analysis_v
15
15
  @MemoIdentity { :>> providedId = "DOC-009"; :>> label = "HazardAnalysisReportView"; }
16
16
  @MemoIdentity { :>> shortDescription = "Hazard analysis report aligned to the UMN CriSys GPCA hazard tables."; }
17
17
  doc /* Aggregates the five hazard chains, the FMEA worksheet, and the overdose fault tree with their controls and verification pointers. */
18
- attribute :>> version = "0.1";
18
+ attribute :>> version = "0.1.0";
19
19
  attribute :>> lifecycleState = LifecycleStateKind::development;
20
20
  attribute :>> viewKind = DocumentViewKind::RMF;
21
21
  attribute :>> generationRule = "Include hazards, sequences of events, situations, harms, FMEA rows, fault tree, and controls";
@@ -14,7 +14,7 @@ package memo_examples_gpca_pump_viewpoints_risk_views_document_rmf_view {
14
14
  @MemoIdentity { :>> providedId = "DOC-001"; :>> label = "RiskManagementFileView"; }
15
15
  @MemoIdentity { :>> shortDescription = "Document-backed risk view for GPCA."; }
16
16
  doc /* Aggregates the risk chain, controls, verification, residual risk, and cybersecurity links needed for the GPCA risk management file. */
17
- attribute :>> version = "0.2";
17
+ attribute :>> version = "0.2.0";
18
18
  attribute :>> lifecycleState = LifecycleStateKind::development;
19
19
  attribute :>> viewKind = DocumentViewKind::RMF;
20
20
  attribute :>> generationRule = "Include risk chain, controls, verification, residual risk, and cybersecurity traceability";
@@ -1,7 +1,8 @@
1
- // unassigned viewpoint.
1
+ // shared viewpoint.
2
2
  //
3
3
  // This project does not define its own viewpoint here; it binds the reusable
4
4
  // MEMO viewpoint that frames these concerns. The views it governs sit beneath
5
5
  // `views/`.
6
- package memo_examples_ros_mobile_robot_viewpoints_unassigned {
6
+ package memo_examples_gpca_pump_viewpoints_shared {
7
+ public import memo_viewpoints_logical_logical_viewpoint::*;
7
8
  }
@@ -1,4 +1,4 @@
1
- package memo_examples_gpca_pump_viewpoints_logical_views_document_architecture_description_view {
1
+ package memo_examples_gpca_pump_viewpoints_shared_views_document_architecture_description_view {
2
2
  private import ScalarValues::*;
3
3
 
4
4
  private import memo_viewpoints_definitions::*;
@@ -10,11 +10,11 @@ package memo_examples_gpca_pump_viewpoints_logical_views_document_architecture_d
10
10
  private import memo_core_common::*;
11
11
  private import memo_core_common::MemoIdentity;
12
12
  view architectureDescriptionView : MemoDocumentView {
13
- expose memo_examples_gpca_pump_viewpoints_logical_views_document_architecture_description_view::*;
13
+ expose memo_examples_gpca_pump_viewpoints_shared_views_document_architecture_description_view::*;
14
14
  @MemoIdentity { :>> providedId = "DOC-005"; :>> label = "ArchitectureDescriptionView"; }
15
15
  @MemoIdentity { :>> shortDescription = "ISO/IEC/IEEE 42010 architecture description across all layers."; }
16
16
  doc /* Aggregates context, operational, functional, logical, software, and physical layers with their views and correspondences for the system architecture description. */
17
- attribute :>> version = "0.1";
17
+ attribute :>> version = "0.1.0";
18
18
  attribute :>> lifecycleState = LifecycleStateKind::development;
19
19
  attribute :>> viewKind = DocumentViewKind::architectureDescription;
20
20
  attribute :>> generationRule = "Include all architecture layers, functional chains, interfaces, and the physical BOM with cross-layer allocations";
@@ -1,4 +1,4 @@
1
- package memo_examples_gpca_pump_viewpoints_requirements_views_document_dhf_index_view {
1
+ package memo_examples_gpca_pump_viewpoints_shared_views_document_dhf_index_view {
2
2
  private import ScalarValues::*;
3
3
 
4
4
  private import memo_viewpoints_definitions::*;
@@ -10,11 +10,11 @@ package memo_examples_gpca_pump_viewpoints_requirements_views_document_dhf_index
10
10
  private import memo_core_common::*;
11
11
  private import memo_core_common::MemoIdentity;
12
12
  view dhfIndexView : MemoDocumentView {
13
- expose memo_examples_gpca_pump_viewpoints_requirements_views_document_dhf_index_view::*;
13
+ expose memo_examples_gpca_pump_viewpoints_shared_views_document_dhf_index_view::*;
14
14
  @MemoIdentity { :>> providedId = "DOC-007"; :>> label = "DesignHistoryFileIndexView"; }
15
15
  @MemoIdentity { :>> shortDescription = "Index of design inputs, outputs, reviews, and V&V records for the DHF."; }
16
16
  doc /* Collects the document-backed views (requirements, architecture, SDD, RMF, VV, usability, cybersecurity) into the design history file index required by 21 CFR 820.30(j). */
17
- attribute :>> version = "0.1";
17
+ attribute :>> version = "0.1.0";
18
18
  attribute :>> lifecycleState = LifecycleStateKind::development;
19
19
  attribute :>> viewKind = DocumentViewKind::DHF;
20
20
  attribute :>> generationRule = "Index every document-backed view with version and lifecycle state";
@@ -12,7 +12,7 @@ package memo_examples_gpca_pump_viewpoints_software_views_document_sdd_view {
12
12
  @MemoIdentity { :>> providedId = "DOC-004"; :>> label = "SoftwareDesignDescriptionView"; }
13
13
  @MemoIdentity { :>> shortDescription = "IEC 62304 software design description for the GPCA software system."; }
14
14
  doc /* Aggregates the software system, its six components with safety classes and scheduling attributes, mode machine and transitions, interfaces, and function allocations for the SDD. */
15
- attribute :>> version = "0.1";
15
+ attribute :>> version = "0.1.0";
16
16
  attribute :>> lifecycleState = LifecycleStateKind::development;
17
17
  attribute :>> viewKind = DocumentViewKind::SDD;
18
18
  attribute :>> generationRule = "Include software structure, behavior machine with transitions, software interfaces, allocations, and timing constraints";
@@ -15,7 +15,7 @@ package memo_examples_gpca_pump_viewpoints_usability_views_document_usability_vi
15
15
  @MemoIdentity { :>> providedId = "DOC-008"; :>> label = "UsabilityEngineeringFileView"; }
16
16
  @MemoIdentity { :>> shortDescription = "IEC 62366-1 usability engineering file content for GPCA."; }
17
17
  doc /* Aggregates intended use, use contexts, actors, foreseeable use errors, related risk chains, usability requirements, and the summative usability validation case. */
18
- attribute :>> version = "0.1";
18
+ attribute :>> version = "0.1.0";
19
19
  attribute :>> lifecycleState = LifecycleStateKind::development;
20
20
  attribute :>> marketScope = "generic";
21
21
  ref :>> viewpointDefinition = usabilityViewpoint;
@@ -14,7 +14,7 @@ package memo_examples_gpca_pump_viewpoints_verification_views_document_vv_view {
14
14
  @MemoIdentity { :>> providedId = "DOC-006"; :>> label = "VerificationValidationView"; }
15
15
  @MemoIdentity { :>> shortDescription = "V&V plan and coverage for requirements and risk controls."; }
16
16
  doc /* Aggregates verification cases, validation cases, test artifacts, and evidence with their coverage of requirements, risk controls, behavior properties, and timing constraints. */
17
- attribute :>> version = "0.1";
17
+ attribute :>> version = "0.1.0";
18
18
  attribute :>> lifecycleState = LifecycleStateKind::development;
19
19
  attribute :>> viewKind = DocumentViewKind::VV;
20
20
  attribute :>> generationRule = "Include all VerifiedBy, Validates, and ProducesEvidence chains with status";
@@ -21,10 +21,6 @@ package memo_examples_gpca_pump_project {
21
21
  ref :>> selectedMethodology = gpcaMethodDefinition;
22
22
  // The project adds nothing to the methodology's selection.
23
23
  attribute :>> scopeMode = ScopeModeKind::explicit;
24
- // The submission regimes this device targets. `memo standards check`
25
- // reads this to decide which standards are required: an EU + US launch
26
- // pulls in both the harmonised IEC/ISO packs and 21 CFR Part 820,
27
- // where a CE-only project would not be asked for the FDA clauses.
28
- attribute :>> regulatoryRegime = (RegulatoryRegimeKind::CE, RegulatoryRegimeKind::MDR, RegulatoryRegimeKind::FDA_510k);
24
+ // The approvals this device targets are `RegulatedDevice` parts (gpca_devices.sysml), not a setting here.
29
25
  }
30
26
  }