@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.
Files changed (210) 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-eb527547500a60b508b4578c.ids.gz +0 -0
  196. package/stage1/syside-eb527547500a60b508b4578c.json.gz +0 -0
  197. package/examples/connected-patient-monitor/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  198. package/examples/embedded-infusion-pump/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  199. package/examples/functional-logical-physical/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  200. package/examples/ivd-laboratory-system/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  201. package/examples/manual-surgical-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  202. package/examples/multidimensional-layers/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  203. package/examples/reusable-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  204. package/examples/software-only-medical-device/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  205. package/examples/surgical-closure-workflow/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  206. package/examples/surgical-robot/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  207. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -74
  208. package/examples/temperature-alarm/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  209. /package/examples/robot-cell-family/model/{shared → catalog/shared}/shared.sysml +0 -0
  210. /package/examples/sysml-diagram-samples/model/{sysml_v2_activity_example.sysml → catalog/sysml_v2_activity_example.sysml} +0 -0
@@ -5,6 +5,9 @@
5
5
  # Entries for deleted elements are retained so their numbers stay retired.
6
6
 
7
7
  elements:
8
+ "memo_examples_temperature_alarm::TemperatureAlarmSystem":
9
+ shortId: "SYS-2"
10
+ uuid: "384f752b-c14f-51b2-988e-0149b33aee6e"
8
11
  "memo_examples_temperature_alarm::actAcknowledgeAlarm":
9
12
  shortId: "OPR-1"
10
13
  uuid: "ea2b4f6a-a25b-5c93-84a2-2c149dc5b870"
@@ -20,12 +23,21 @@ elements:
20
23
  "memo_examples_temperature_alarm::elAlarmBanner":
21
24
  shortId: "UIE-1"
22
25
  uuid: "cb4a788e-08c4-5ac7-b68e-25fcbac3af7e"
26
+ "memo_examples_temperature_alarm::evAuthoredVcAuthoredRcReAnnunciate":
27
+ shortId: "MMX-4"
28
+ uuid: "ee371d1c-f92e-5e70-b961-aa6fb9cb01e7"
23
29
  "memo_examples_temperature_alarm::evLatencyReport":
24
30
  shortId: "MMX-1"
25
31
  uuid: "6ed38946-dcb2-5c1b-b97d-58db3d0c884c"
26
32
  "memo_examples_temperature_alarm::fnDetectDeviation":
27
33
  shortId: "SYS-1"
28
34
  uuid: "b22e14c8-57b0-5ed9-8167-5a1a35e2e7e3"
35
+ "memo_examples_temperature_alarm::harmAuthoredHzUndetectedDeviation":
36
+ shortId: "HRM-1"
37
+ uuid: "2a6bcf27-3252-5355-92e8-50cdddf5c9ac"
38
+ "memo_examples_temperature_alarm::hsAuthoredHzUndetectedDeviation":
39
+ shortId: "HZD-2"
40
+ uuid: "aa1331fb-10dd-51ff-8da3-da711da8db38"
29
41
  "memo_examples_temperature_alarm::hzUndetectedDeviation":
30
42
  shortId: "HZD-1"
31
43
  uuid: "f7884ad4-503c-5eb1-a779-f02d4602817a"
@@ -35,6 +47,9 @@ elements:
35
47
  "memo_examples_temperature_alarm::rcReAnnunciate":
36
48
  shortId: "RSK-1"
37
49
  uuid: "6f1dbdd1-5eef-54e0-81d4-78a4001af7b3"
50
+ "memo_examples_temperature_alarm::reqAuthoredDetectDeviation":
51
+ shortId: "REQ-1"
52
+ uuid: "81b2e0ef-5f4e-5d41-bb48-3bcf47b3ea2f"
38
53
  "memo_examples_temperature_alarm::taskAckAlarm":
39
54
  shortId: "OPR-2"
40
55
  uuid: "2a25bec5-50f6-5bef-ad59-750b277515db"
@@ -56,15 +71,21 @@ elements:
56
71
  "memo_examples_temperature_alarm::valAckTask":
57
72
  shortId: "VLD-1"
58
73
  uuid: "0cf87665-ade5-5bb2-9fd5-081e946aeb07"
74
+ "memo_examples_temperature_alarm::valAuthoredActAcknowledgeAlarm":
75
+ shortId: "VLD-2"
76
+ uuid: "2f847a18-9caf-5aaa-91de-e4338bc94c1a"
59
77
  "memo_examples_temperature_alarm::vcAlarmLatency":
60
78
  shortId: "VRF-1"
61
79
  uuid: "e4853bd5-0672-5040-af70-0c7f9177ee7a"
80
+ "memo_examples_temperature_alarm::vcAuthoredRcReAnnunciate":
81
+ shortId: "VRF-2"
82
+ uuid: "9b25e502-ef1b-511c-8b10-fb7c61e58bdf"
62
83
  "memo_examples_temperature_alarm::vsAlarmLatency":
63
84
  shortId: "OPR-3"
64
85
  uuid: "a66d2a6f-8b2e-5302-a2e2-14a32f08e85e"
65
86
  "memo_examples_temperature_alarm_project::projectBinding":
66
87
  shortId: "PRJ-1"
67
88
  uuid: "27e78a8e-0e34-5569-8d7d-06c416fbbbd6"
68
- "memo_examples_temperature_alarm_viewpoints_unassigned_views_temperature_alarm_overview::temperatureAlarmOverview":
89
+ "memo_examples_temperature_alarm_viewpoints_logical_views_temperature_alarm_overview::temperatureAlarmOverview":
69
90
  shortId: "MMX-2"
70
91
  uuid: "e9653f71-dc0b-55aa-951c-469b402afad3"
@@ -1,4 +1,5 @@
1
1
  // Focused example: patient-temperature monitoring with an alarm — the
2
+ private import memo_assurance_requirements::*;
2
3
  // assurance chain end to end. Use case → function → logical channel → UI
3
4
  // alarm element → use error → hazard → risk control (implemented by the UI)
4
5
  // → verification + usability validation → evidence. Demonstrates Phase 4
@@ -26,6 +27,9 @@ package memo_examples_temperature_alarm {
26
27
  private import memo_assurance_safety_risk_analysis::*;
27
28
 
28
29
  private import memo_core_common::MemoIdentity;
30
+ part def TemperatureAlarmSystem specializes memo_architecture_logical_structure::System {
31
+ attribute :>> systemBoundaryDescription = "The patient-temperature monitor and alarm: the system this example models, with the software and hardware that realize it.";
32
+ }
29
33
  // ── Operational intent ──────────────────────────────────────
30
34
  // --8<-- [start:operational]
31
35
  part icuNurse : User {
@@ -168,4 +172,48 @@ package memo_examples_temperature_alarm {
168
172
  connection : ProducesEvidence connect producer ::> valAckTask to producedEvidence ::> uvAckTask;
169
173
  connection : ProducesEvidence connect producer ::> vcAlarmLatency to producedEvidence ::> evLatencyReport;
170
174
  // --8<-- [end:verification-validation]
175
+ // Illustrative: authored for this example, not the record of a real evaluation.
176
+ verification vcAuthoredRcReAnnunciate : VerificationCase {
177
+ @MemoIdentity { :>> providedId = "TA-VC-A01"; :>> label = "VerifyAutoReAnnunciationAfterSilence"; }
178
+ attribute :>> methodKind = MemoVerificationMethodKind::test;
179
+ attribute :>> acceptanceCriteria = "'AutoReAnnunciationAfterSilence' is shown to reduce the risk it controls, per ISO 14971 clause 7.2";
180
+ subject verified : Base::Anything[*] = (rcReAnnunciate);
181
+ }
182
+ // Illustrative: authored for this example, not the record of a real evaluation.
183
+ verification valAuthoredActAcknowledgeAlarm : ValidationCase {
184
+ @MemoIdentity { :>> providedId = "TA-VC-A02"; :>> label = "VerifyReviewAndAcknowledgeAlarm"; }
185
+ attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
186
+ attribute :>> userParticipation = "representative users, simulated use conditions";
187
+ attribute :>> acceptanceCriteria = "a representative user completes 'ReviewAndAcknowledgeAlarm' without a use error, in a summative evaluation per IEC 62366-1";
188
+ }
189
+ connection : Validates connect validationTarget ::> actAcknowledgeAlarm to validationCase ::> valAuthoredActAcknowledgeAlarm;
190
+ // Illustrative: authored for this example, not the record of a real test run.
191
+ part evAuthoredVcAuthoredRcReAnnunciate : MemoEvidence {
192
+ attribute :>> evidenceKind = EvidenceKind::evidence;
193
+ @MemoIdentity { :>> providedId = "TA-EV-A01"; :>> label = "VerifyAutoReAnnunciationAfterSilence report"; }
194
+ attribute :>> evidenceType = "test report";
195
+ attribute :>> resultSummary = "Illustrative result: the acceptance criteria are met.";
196
+ }
197
+ connection : ProducesEvidence connect producer ::> vcAuthoredRcReAnnunciate to producedEvidence ::> evAuthoredVcAuthoredRcReAnnunciate;
198
+ // Illustrative: authored for this example.
199
+ item hsAuthoredHzUndetectedDeviation : HazardousSituation {
200
+ @MemoIdentity { :>> providedId = "TA-HS-A01"; :>> label = "UndetectedTemperatureDeviation situation"; }
201
+ attribute :>> exposedPersons = "patient";
202
+ attribute :>> operatingCondition = "During use, the hazard UndetectedTemperatureDeviation is present and the patient is exposed to it.";
203
+ }
204
+ connection : TracesRisk connect sourceRiskElement ::> hzUndetectedDeviation to targetRiskElement ::> hsAuthoredHzUndetectedDeviation;
205
+ item harmAuthoredHzUndetectedDeviation : Harm {
206
+ @MemoIdentity { :>> providedId = "TA-HM-A01"; :>> label = "HzUndetectedDeviation harm"; }
207
+ attribute :>> clinicalImpact = "Illustrative: injury to the patient that needs clinical intervention.";
208
+ }
209
+ connection : TracesRisk connect sourceRiskElement ::> hsAuthoredHzUndetectedDeviation to targetRiskElement ::> harmAuthoredHzUndetectedDeviation;
210
+ // Illustrative: authored for this example.
211
+ requirement reqAuthoredDetectDeviation : Requirement {
212
+ attribute :>> requirementType = RequirementTypeKind::system;
213
+ @MemoIdentity { :>> providedId = "TA-REQ-A01"; :>> label = "DetectTemperatureDeviation"; }
214
+ attribute :>> statement = "The monitor shall detect a sustained patient-temperature deviation and annunciate it.";
215
+ attribute :>> status = ElementStatusKind::draft;
216
+ }
217
+ connection : DerivesFrom connect sourceDriver ::> hzUndetectedDeviation to targetRequirement ::> reqAuthoredDetectDeviation;
218
+ satisfy reqAuthoredDetectDeviation by chMonitor;
171
219
  }
@@ -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_temperature_alarm_viewpoints_logical {
7
+ public import memo_viewpoints_logical_logical_viewpoint::*;
8
+ }
@@ -1,6 +1,7 @@
1
- package memo_examples_temperature_alarm_viewpoints_unassigned_views_temperature_alarm_overview {
1
+ package memo_examples_temperature_alarm_viewpoints_logical_views_temperature_alarm_overview {
2
2
  private import memo_examples_temperature_alarm::*;
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 temperatureAlarmOverview : MemoDiagramView {
@@ -8,5 +9,6 @@ package memo_examples_temperature_alarm_viewpoints_unassigned_views_temperature_
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_temperature_alarm_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 memo_examples_temperature_alarm_viewpoints_unassigned::*;
15
- private import memo_examples_temperature_alarm_viewpoints_unassigned_views_temperature_alarm_overview::*;
14
+ private import memo_examples_temperature_alarm_viewpoints_logical_views_temperature_alarm_overview::*;
16
15
 
17
16
  private import memo_core_common::*;
18
17
  private import memo_core_common::MemoIdentity;
@@ -167,6 +167,36 @@ elements:
167
167
  "memo_examples_ui_screen_regions_assurance_requirements_needs::needReadableProgramming":
168
168
  shortId: "NDX-1"
169
169
  uuid: "6f8e78ee-e23b-5194-983f-bedcd5c907de"
170
+ "memo_examples_ui_screen_regions_assurance_safety_risk::harmAuthoredHzIncorrectDeliveredVolumeAssessment":
171
+ shortId: "HRM-1"
172
+ uuid: "46a45547-1a88-5a0a-a5f5-ccf383634e7c"
173
+ "memo_examples_ui_screen_regions_assurance_safety_risk::harmAuthoredHzIncorrectEventChronology":
174
+ shortId: "HRM-2"
175
+ uuid: "e390fce4-6f93-5827-abfc-9b36873ca94a"
176
+ "memo_examples_ui_screen_regions_assurance_safety_risk::harmAuthoredHzUnexpectedPowerLoss":
177
+ shortId: "HRM-3"
178
+ uuid: "3911f9fc-79fd-5e56-9c93-39e5d0607e05"
179
+ "memo_examples_ui_screen_regions_assurance_safety_risk::harmAuthoredHzWrongDrug":
180
+ shortId: "HRM-4"
181
+ uuid: "b965d2f6-2fff-500e-ad80-7759aafd7cd5"
182
+ "memo_examples_ui_screen_regions_assurance_safety_risk::harmAuthoredHzWrongRate":
183
+ shortId: "HRM-5"
184
+ uuid: "4d9a5020-2abe-5fa8-accc-5241e04020db"
185
+ "memo_examples_ui_screen_regions_assurance_safety_risk::hsAuthoredHzIncorrectDeliveredVolumeAssessment":
186
+ shortId: "HZD-6"
187
+ uuid: "a058c65a-b10a-58db-8293-8d24821d917d"
188
+ "memo_examples_ui_screen_regions_assurance_safety_risk::hsAuthoredHzIncorrectEventChronology":
189
+ shortId: "HZD-7"
190
+ uuid: "918aa5a8-faa7-5014-8c03-022252e441da"
191
+ "memo_examples_ui_screen_regions_assurance_safety_risk::hsAuthoredHzUnexpectedPowerLoss":
192
+ shortId: "HZD-8"
193
+ uuid: "be1d580c-1325-5745-bbe0-ea2017114c2a"
194
+ "memo_examples_ui_screen_regions_assurance_safety_risk::hsAuthoredHzWrongDrug":
195
+ shortId: "HZD-9"
196
+ uuid: "ca3d8bbc-1a15-5bf8-9636-7f0eb551dce8"
197
+ "memo_examples_ui_screen_regions_assurance_safety_risk::hsAuthoredHzWrongRate":
198
+ shortId: "HZD-10"
199
+ uuid: "7e5230c1-3181-5e60-a07d-f47c8ce8c8aa"
170
200
  "memo_examples_ui_screen_regions_assurance_safety_risk::hzIncorrectDeliveredVolumeAssessment":
171
201
  shortId: "HZD-1"
172
202
  uuid: "8e600b22-708a-53b3-900c-a3157f9357e5"
@@ -218,6 +248,9 @@ elements:
218
248
  "memo_examples_ui_screen_regions_project::uiScreenRegionsBinding":
219
249
  shortId: "PRJ-1"
220
250
  uuid: "67b999a2-b982-568c-916f-16301d768a65"
251
+ "memo_examples_ui_screen_regions_ui_screen_regions_system::UiScreenRegionsSystem":
252
+ shortId: "SYS-7"
253
+ uuid: "41ead7d0-3f60-5bd6-a8b2-4031a8b68d4f"
221
254
  "memo_examples_ui_screen_regions_viewpoints_functional_views_ui_functional_tree::uiFunctionalTree":
222
255
  shortId: "MMX-6"
223
256
  uuid: "df30b427-6009-5e2d-a30b-4d36e389f665"
@@ -82,5 +82,8 @@ package memo_examples_ui_screen_regions_architecture_functional_functions {
82
82
  satisfy reqBatteryWarningPerformance by fnPresentBatteryStatus;
83
83
 
84
84
  satisfy reqDrugSelectionPerformance by fnValidateDrugSelection;
85
+ // The display refreshes its three indicators in this order each cycle.
86
+ succession first fnPresentDeliveryStatus then fnPresentLocalTime;
87
+ succession first fnPresentLocalTime then fnPresentBatteryStatus;
85
88
  }
86
89
  }
@@ -121,7 +121,8 @@ package memo_examples_ui_screen_regions_architecture_implementation_ui {
121
121
  part uiElement12 : UIElement {
122
122
  @MemoIdentity { :>> label = "Region UIE-012"; }
123
123
  @MemoIdentity { :>> providedId = "UIE-012"; }
124
- attribute redefines formKind = UIElementFormKind::panel;
124
+ // A region drawn on the screenshot by the canvas editor to show drawing one: chrome, with no function of its own.
125
+ attribute redefines formKind = UIElementFormKind::decoration;
125
126
  attribute redefines disclosureKind = UIDisclosureKind::inline;
126
127
  attribute redefines detectionMethod = BoundsDetectionKind::manual;
127
128
  attribute redefines boundaryColor = "#14B8A6";
@@ -92,4 +92,64 @@ package memo_examples_ui_screen_regions_assurance_safety_risk {
92
92
  attribute :>> implementationKind = RiskControlImplementationKind::softwareDesign;
93
93
  }
94
94
 
95
+ // Illustrative: authored for this example.
96
+ item hsAuthoredHzWrongRate : HazardousSituation {
97
+ @MemoIdentity { :>> providedId = "USR-HS-A01"; :>> label = "InfusionAtIncorrectRate situation"; }
98
+ attribute :>> exposedPersons = "patient";
99
+ attribute :>> operatingCondition = "During use, the hazard InfusionAtIncorrectRate is present and the patient is exposed to it.";
100
+ }
101
+ connection : TracesRisk connect sourceRiskElement ::> hzWrongRate to targetRiskElement ::> hsAuthoredHzWrongRate;
102
+ // Illustrative: authored for this example.
103
+ item hsAuthoredHzWrongDrug : HazardousSituation {
104
+ @MemoIdentity { :>> providedId = "USR-HS-A02"; :>> label = "TherapyConfiguredForWrongDrug situation"; }
105
+ attribute :>> exposedPersons = "patient";
106
+ attribute :>> operatingCondition = "During use, the hazard TherapyConfiguredForWrongDrug is present and the patient is exposed to it.";
107
+ }
108
+ connection : TracesRisk connect sourceRiskElement ::> hzWrongDrug to targetRiskElement ::> hsAuthoredHzWrongDrug;
109
+ // Illustrative: authored for this example.
110
+ item hsAuthoredHzUnexpectedPowerLoss : HazardousSituation {
111
+ @MemoIdentity { :>> providedId = "USR-HS-A03"; :>> label = "UnexpectedTherapyInterruptionFromPowerLoss situation"; }
112
+ attribute :>> exposedPersons = "patient";
113
+ attribute :>> operatingCondition = "During use, the hazard UnexpectedTherapyInterruptionFromPowerLoss is present and the patient is exposed to it.";
114
+ }
115
+ connection : TracesRisk connect sourceRiskElement ::> hzUnexpectedPowerLoss to targetRiskElement ::> hsAuthoredHzUnexpectedPowerLoss;
116
+ // Illustrative: authored for this example.
117
+ item hsAuthoredHzIncorrectDeliveredVolumeAssessment : HazardousSituation {
118
+ @MemoIdentity { :>> providedId = "USR-HS-A04"; :>> label = "IncorrectDeliveredVolumeAssessment situation"; }
119
+ attribute :>> exposedPersons = "patient";
120
+ attribute :>> operatingCondition = "During use, the hazard IncorrectDeliveredVolumeAssessment is present and the patient is exposed to it.";
121
+ }
122
+ connection : TracesRisk connect sourceRiskElement ::> hzIncorrectDeliveredVolumeAssessment to targetRiskElement ::> hsAuthoredHzIncorrectDeliveredVolumeAssessment;
123
+ // Illustrative: authored for this example.
124
+ item hsAuthoredHzIncorrectEventChronology : HazardousSituation {
125
+ @MemoIdentity { :>> providedId = "USR-HS-A05"; :>> label = "IncorrectTherapyEventChronology situation"; }
126
+ attribute :>> exposedPersons = "patient";
127
+ attribute :>> operatingCondition = "During use, the hazard IncorrectTherapyEventChronology is present and the patient is exposed to it.";
128
+ }
129
+ connection : TracesRisk connect sourceRiskElement ::> hzIncorrectEventChronology to targetRiskElement ::> hsAuthoredHzIncorrectEventChronology;
130
+ item harmAuthoredHzWrongRate : Harm {
131
+ @MemoIdentity { :>> providedId = "USR-HM-A01"; :>> label = "HzWrongRate harm"; }
132
+ attribute :>> clinicalImpact = "Illustrative: injury to the patient that needs clinical intervention.";
133
+ }
134
+ connection : TracesRisk connect sourceRiskElement ::> hsAuthoredHzWrongRate to targetRiskElement ::> harmAuthoredHzWrongRate;
135
+ item harmAuthoredHzWrongDrug : Harm {
136
+ @MemoIdentity { :>> providedId = "USR-HM-A02"; :>> label = "HzWrongDrug harm"; }
137
+ attribute :>> clinicalImpact = "Illustrative: injury to the patient that needs clinical intervention.";
138
+ }
139
+ connection : TracesRisk connect sourceRiskElement ::> hsAuthoredHzWrongDrug to targetRiskElement ::> harmAuthoredHzWrongDrug;
140
+ item harmAuthoredHzUnexpectedPowerLoss : Harm {
141
+ @MemoIdentity { :>> providedId = "USR-HM-A03"; :>> label = "HzUnexpectedPowerLoss harm"; }
142
+ attribute :>> clinicalImpact = "Illustrative: injury to the patient that needs clinical intervention.";
143
+ }
144
+ connection : TracesRisk connect sourceRiskElement ::> hsAuthoredHzUnexpectedPowerLoss to targetRiskElement ::> harmAuthoredHzUnexpectedPowerLoss;
145
+ item harmAuthoredHzIncorrectDeliveredVolumeAssessment : Harm {
146
+ @MemoIdentity { :>> providedId = "USR-HM-A04"; :>> label = "HzIncorrectDeliveredVolumeAssessment harm"; }
147
+ attribute :>> clinicalImpact = "Illustrative: injury to the patient that needs clinical intervention.";
148
+ }
149
+ connection : TracesRisk connect sourceRiskElement ::> hsAuthoredHzIncorrectDeliveredVolumeAssessment to targetRiskElement ::> harmAuthoredHzIncorrectDeliveredVolumeAssessment;
150
+ item harmAuthoredHzIncorrectEventChronology : Harm {
151
+ @MemoIdentity { :>> providedId = "USR-HM-A05"; :>> label = "HzIncorrectEventChronology harm"; }
152
+ attribute :>> clinicalImpact = "Illustrative: injury to the patient that needs clinical intervention.";
153
+ }
154
+ connection : TracesRisk connect sourceRiskElement ::> hsAuthoredHzIncorrectEventChronology to targetRiskElement ::> harmAuthoredHzIncorrectEventChronology;
95
155
  }
@@ -33,7 +33,7 @@ package memo_examples_ui_screen_regions_assurance_verification_validation {
33
33
  part evRateChange : MemoEvidence {
34
34
  attribute :>> evidenceKind = EvidenceKind::evidence;
35
35
  @MemoIdentity { :>> providedId = "UIR-EV-001"; :>> label = "RateChangeConfirmationTestRecord"; }
36
- attribute :>> version = "planned";
36
+ attribute :>> version = "0.1.0";
37
37
  attribute :>> evidenceType = "test record";
38
38
  attribute :>> integrityStatus = "planned";
39
39
  }
@@ -50,7 +50,7 @@ package memo_examples_ui_screen_regions_assurance_verification_validation {
50
50
  part evDrugLibrarySelection : MemoEvidence {
51
51
  attribute :>> evidenceKind = EvidenceKind::evidence;
52
52
  @MemoIdentity { :>> providedId = "EVD-002"; :>> label = "DrugLibrarySelectionTestRecord"; }
53
- attribute :>> version = "planned";
53
+ attribute :>> version = "0.1.0";
54
54
  attribute :>> evidenceType = "test record";
55
55
  attribute :>> integrityStatus = "planned";
56
56
  }
@@ -68,7 +68,7 @@ package memo_examples_ui_screen_regions_assurance_verification_validation {
68
68
  part evInfusionStatusContent : MemoEvidence {
69
69
  attribute :>> evidenceKind = EvidenceKind::evidence;
70
70
  @MemoIdentity { :>> providedId = "EVD-003"; :>> label = "InfusionStatusDisplayTestRecord"; }
71
- attribute :>> version = "planned";
71
+ attribute :>> version = "0.1.0";
72
72
  attribute :>> evidenceType = "test record";
73
73
  attribute :>> integrityStatus = "planned";
74
74
  }
@@ -0,0 +1,5 @@
1
+ package memo_examples_ui_screen_regions_ui_screen_regions_system {
2
+ part def UiScreenRegionsSystem specializes memo_architecture_logical_structure::System {
3
+ attribute :>> systemBoundaryDescription = "The infusion pump whose screens this example marks up.";
4
+ }
5
+ }
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/extension-aadl'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: AADL (SAE AS5506) correspondence profile and runtime component families
12
12
  license: MIT
13
13
  tags:
@@ -16,6 +16,7 @@
16
16
  // meaningful for one enum value cannot be checked, and a required attribute on
17
17
  // a type can.
18
18
  package memo_extension_aadl_runtime {
19
+ private import memo_core_stdlib_quantities::*;
19
20
  private import ScalarValues::*;
20
21
 
21
22
  private import memo_core_enumerations::*;
@@ -48,7 +49,7 @@ package memo_extension_aadl_runtime {
48
49
  attribute :>> runtimeKind = RuntimeKind::partition;
49
50
  // Time and memory guaranteed to the partition, e.g. "2 ms window per
50
51
  // 10 ms major frame; 4 MB".
51
- attribute partitionBudget : String;
52
+ attribute partitionBudget : DurationValue;
52
53
  // What enforces the partition — MMU, MPU, hypervisor, ARINC 653 module
53
54
  // OS. A budget nothing enforces is a plan, not a control.
54
55
  attribute isolationMechanism : String;
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/example-extension-clinical'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: Example methodology extension for clinical-procedure vocabulary
12
12
  license: MIT
13
13
  tags:
@@ -1,6 +1,7 @@
1
1
  // Clinical data added to the base operational workflow. Activities, tasks,
2
2
  // techniques, variants, and resources continue to use the base ontology.
3
3
  package memo_extension_clinical_procedures {
4
+ private import memo_core_stdlib_quantities::*;
4
5
  private import ScalarValues::*;
5
6
 
6
7
  private import memo_core_terminology::*;
@@ -11,6 +12,6 @@ package memo_extension_clinical_procedures {
11
12
  attribute bodySiteCode : TerminologyCode[0..1];
12
13
  attribute clinicalObjective : String;
13
14
  attribute anesthesiaRequirement : String;
14
- attribute typicalDuration : String;
15
+ attribute typicalDuration : DurationValue;
15
16
  }
16
17
  }
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/extension-cloud'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: Networked services and managed data stores
12
12
  license: MIT
13
13
  tags:
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/extension-container'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: OCI container images and container runtimes as deployment content
12
12
  license: MIT
13
13
  tags:
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/extension-messaging'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: Publish/subscribe messaging — topics, brokers, and delivery semantics
12
12
  license: MIT
13
13
  tags:
@@ -8,6 +8,7 @@
8
8
  // component does not have a topic, a publication does; a component does not
9
9
  // have delivery semantics, the channel it publishes over does.
10
10
  package memo_extension_messaging {
11
+ private import memo_core_stdlib_quantities::*;
11
12
  private import ScalarValues::*;
12
13
 
13
14
  private import memo_core_common::*;
@@ -39,7 +40,7 @@ package memo_extension_messaging {
39
40
  out item payload : MessagingMessage;
40
41
  ref item topic : MessagingMessage;
41
42
  attribute deliverySemantics : MessagingDeliveryKind;
42
- attribute publishRateHz : Real;
43
+ attribute publishRateHz : FrequencyValue;
43
44
  }
44
45
 
45
46
  port def MessagingSubscriber specializes SoftwarePort {
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/extension-ros'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: ROS 2 nodes, messages, topic/service/action interfaces, QoS, and containerized deployment
12
12
  license: MIT
13
13
  tags:
@@ -15,6 +15,7 @@
15
15
  // native MEMO item, port, and interface families; it does not invent
16
16
  // publish/subscribe relations.
17
17
  package memo_extension_ros {
18
+ private import memo_core_stdlib_quantities::*;
18
19
  private import ScalarValues::*;
19
20
 
20
21
  private import memo_core_common::*;
@@ -53,10 +54,10 @@ package memo_extension_ros {
53
54
  attribute def RosQosProfile {
54
55
  attribute durability : RosDurabilityKind;
55
56
  // The QoS contract: a sample is expected at least this often.
56
- attribute deadlineMs : Real;
57
+ attribute deadlineMs : DurationValue;
57
58
  // How long a publisher may be silent before subscribers treat it as
58
59
  // lost — ROS 2 liveliness lease duration.
59
- attribute livelinessLeaseMs : Real;
60
+ attribute livelinessLeaseMs : DurationValue;
60
61
  // Depth of the history buffer, KEEP_LAST(n) / KEEP_ALL.
61
62
  attribute historyDepth : Integer;
62
63
  }
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/methodology-default'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: "MEMO default medical-device methodology \u2014 selects viewpoints/views/DHF documents from @memoarchitect/ontology and adds rules, gates, patterns, profiles, and workflow."
12
12
  license: MIT
13
13
  tags:
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/methodology-gpca'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: "GPCA infusion pump methodology \u2014 subtraction-based tailoring of @memoarchitect/methodology-default for the non-networked prototype variant. Excludes cybersecurity and SOUP."
12
12
  license: MIT
13
13
  tags:
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/ontology'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: "MEMO \u2014 the single canonical medical-device ontology: core semantics, the Arcadia-inspired architecture layers (context, requirements, behavior, structure, interfaces, risk, cybersecurity,\
12
12
  \ assurance, \u2026), compliance, viewpoints, views, and invariant rules. One namespace (memo::), one src/ tree."
13
13
  license: MIT
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@memoarchitect/ontology",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "packageManager": "pnpm@9.15.0",
5
5
  "description": "MEMO — Medical Engineering Modelling Ontology. Pure SysML v2 medical-device ontology with native constraints, portable to any conformant SysML v2 tool (SysIDE, SysON, sysand).",
6
6
  "scripts": {
7
- "build": "bash scripts/build-kpar.sh",
8
- "check": "bash scripts/build-kpar.sh && npm run lint",
9
- "lint": "node ../memo-tools/packages/tools/lib/bin/memo.js dhf lint",
7
+ "build": "node scripts/build-kpar.mjs",
8
+ "check": "node scripts/build-kpar.mjs && npm run lint",
9
+ "lint": "cd examples/gpca-pump && node ../../../memo-architect/lib/bin/memo-architect.js dhf lint",
10
10
  "test": "node --test test/package.test.mjs",
11
11
  "docs:api": "node scripts/generate-sysml-api.mjs",
12
12
  "docs:figures": "node scripts/generate-ontology-figures.mjs",
@@ -7,7 +7,7 @@
7
7
  # (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
8
8
  # removed at the native semantic flip and are now rejected if present.
9
9
  name: '@memoarchitect/medical-modeling-profile'
10
- version: 0.16.1
10
+ version: 0.16.2
11
11
  description: Closure rules and viewpoints for medical device modeling
12
12
  license: MIT
13
13
  tags:
@@ -1,4 +1,5 @@
1
1
  package memo_architecture_functional_behavior {
2
+ private import memo_core_stdlib_quantities::*;
2
3
  private import ScalarValues::*;
3
4
 
4
5
  private import memo_core_common::*;
@@ -19,13 +20,18 @@ package memo_architecture_functional_behavior {
19
20
  attribute executionSemantics : String;
20
21
  }
21
22
  // A configuration is the concrete selection made at a `variation` choice
22
- // point. It remains separate from a mode state: it says which mode and
23
- // elements are active in one selectable arrangement.
23
+ // point: it says which mode is active in one selectable arrangement.
24
24
  // The reference is typed to the shared native state family so a consumer
25
25
  // can navigate from the selected configuration to its governing mode.
26
+ //
27
+ // What is available in a mode is not listed here. A state performs the
28
+ // functions available in it (`do fnX;` or `perform fnX;` inside the state),
29
+ // which is SysML's own way and is checked by the compiler; a second list of
30
+ // active elements on the configuration said the same thing again. ARCADIA's
31
+ // Configuration, the set of items available in an active mode or state, is
32
+ // that performing.
26
33
  part def ModeConfiguration specializes MemoPart {
27
34
  ref activeMode : MemoState[1];
28
- ref activeElement : MemoPart[0..*];
29
35
  }
30
36
  // Transitions are native SysML v2 `transition` usages inside the owning
31
37
  // state — there is no `part def Transition`, and its `transition` keyword
@@ -52,6 +58,12 @@ package memo_architecture_functional_behavior {
52
58
  // verification case can `verify`. It was a `part def` under
53
59
  // VerifiableElement, which made a property a structural thing and left
54
60
  // native `verify` unable to name it.
61
+ //
62
+ // `formalExpression` holds the property in the language `languageKind` names: natural language,
63
+ // a pseudo-formal text, AGREE, LTL or CTL. None of those is a SysML expression (the expression
64
+ // grammar has no temporal operators), so it is text the model carries and a tool of that language
65
+ // reads. A property that IS a boolean expression over features is written as a native
66
+ // `require constraint { … }` in the body, which this requirement def allows, and not here.
55
67
  requirement def BehaviorProperty :> MemoRequirementElement {
56
68
  attribute propertyKind : BehaviorPropertyKind;
57
69
  attribute languageKind : PropertyLanguageKind;
@@ -90,9 +102,8 @@ package memo_architecture_functional_behavior {
90
102
  // have performed one.
91
103
  action def ActivityAction specializes FunctionalAction {
92
104
  attribute actionKind : ActionKind;
93
- attribute inputSummary : String;
94
- attribute outputSummary : String;
95
- attribute wcetMs : String;
105
+ attribute outputDescription : String;
106
+ attribute wcetMs : DurationValue;
96
107
  attribute safetyRelevant : Boolean;
97
108
  }
98
109
  action def ActivityFlow specializes MemoAction {
@@ -106,8 +117,8 @@ package memo_architecture_functional_behavior {
106
117
  // requirement like BehaviorProperty.
107
118
  requirement def TimingConstraint :> MemoRequirementElement {
108
119
  attribute constraintKind : TimingConstraintKind;
109
- attribute minMs : String;
110
- attribute maxMs : String;
120
+ attribute minMs : DurationValue;
121
+ attribute maxMs : DurationValue;
111
122
  // Untyped, the way `InteractsInContext::systemOfInterest` is: what a
112
123
  // latency or period is measured against is a behaviour at least as
113
124
  // often as it is a structure — a functional flow, an action, a port.
@@ -1,15 +1,16 @@
1
1
  package memo_architecture_functional_constraints {
2
+ private import memo_core_stdlib_quantities::*;
2
3
  private import ScalarValues::*;
3
4
  private import memo_core_common::*;
4
5
 
5
6
  doc /* Reusable quantitative constraint definitions. */
6
7
 
7
8
  constraint def MaxResponseTimeConstraint :> MemoConstraint {
8
- attribute responseTimeMs : Real;
9
- attribute maxAllowedMs : Real;
9
+ attribute responseTimeMs : DurationValue;
10
+ attribute maxAllowedMs : DurationValue;
10
11
  }
11
12
  constraint def LockoutIntervalConstraint :> MemoConstraint {
12
- attribute elapsedMs : Real;
13
- attribute lockoutMs : Real;
13
+ attribute elapsedMs : DurationValue;
14
+ attribute lockoutMs : DurationValue;
14
15
  }
15
16
  }