@memoarchitect/ontology 0.16.1 → 0.16.4

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 (292) 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 +72 -1
  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/gastric-bypass-variants/README.md +20 -0
  18. package/examples/gastric-bypass-variants/memo.identity.yaml +337 -0
  19. package/examples/gastric-bypass-variants/memo.package.yaml +5 -0
  20. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/NOTICE.md +7 -0
  21. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma.sysml +56 -0
  22. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_alimentary.sysml +1376 -0
  23. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_body_proper.sysml +45 -0
  24. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_cardiovascular_material_anatomical_entity.sysml +7 -0
  25. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_cardiovascular_segment_of_blood_vessel_tree_organ.sysml +27 -0
  26. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_cardiovascular_segment_of_hollow_tree_organ.sysml +21 -0
  27. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core.sysml +11 -0
  28. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_boundary_entity.sysml +10 -0
  29. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_cluster.sysml +45 -0
  30. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_set.sysml +30 -0
  31. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_space.sysml +60 -0
  32. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_structure.sysml +10 -0
  33. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_surface.sysml +10 -0
  34. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_arborial_segment_of_arterial_tree_organ.sysml +27 -0
  35. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_arborial_segment_of_venous_tree_organ.sysml +23 -0
  36. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_blood_vessel.sysml +13 -0
  37. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_bona_fide_anatomical_surface.sysml +15 -0
  38. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_cardinal_organ_part.sysml +10 -0
  39. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_cardinal_tissue_part.sysml +16 -0
  40. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_cell_part_cluster.sysml +10 -0
  41. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_developmental_structure.sysml +15 -0
  42. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_immaterial_anatomical_entity.sysml +10 -0
  43. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_material_anatomical_entity.sysml +27 -0
  44. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_nerve.sysml +11 -0
  45. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ.sysml +65 -0
  46. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_component.sysml +27 -0
  47. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_component_layer.sysml +54 -0
  48. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_component_of_lymphatic_tree_organ.sysml +15 -0
  49. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_region.sysml +10 -0
  50. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_segment.sysml +46 -0
  51. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_zone.sysml +34 -0
  52. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_physical_anatomical_entity.sysml +10 -0
  53. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_portion_of_tissue.sysml +106 -0
  54. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_postnatal_anatomical_structure.sysml +27 -0
  55. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_region_of_organ_component.sysml +55 -0
  56. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_region_of_surface_of_organ.sysml +13 -0
  57. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_segment_of_blood_vessel_tree_organ.sysml +10 -0
  58. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_segment_of_hollow_tree_organ.sysml +11 -0
  59. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_segment_of_neural_tree_organ.sysml +10 -0
  60. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_segment_of_vascular_tree_organ.sysml +39 -0
  61. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_surface_of_organ_region.sysml +19 -0
  62. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_fascial.sysml +7 -0
  63. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_musculoskeletal_anatomical_structure.sysml +7 -0
  64. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_musculoskeletal_cardinal_organ_part.sysml +11 -0
  65. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_musculoskeletal_organ.sysml +7 -0
  66. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_nervous_anatomical_cluster.sysml +9 -0
  67. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_nervous_nerve.sysml +13 -0
  68. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_nervous_postnatal_anatomical_structure.sysml +8 -0
  69. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_respiratory.sysml +14 -0
  70. package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/memo.package.yaml +8 -0
  71. package/examples/gastric-bypass-variants/model/catalog/gastric_bypass_variants.sysml +416 -0
  72. package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/viewpoint.sysml +8 -0
  73. package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/views/bypass_flows.sysml +53 -0
  74. package/examples/gastric-bypass-variants/model/methodology/project.sysml +26 -0
  75. package/examples/gpca-pump/memo.identity.yaml +53 -13
  76. package/examples/gpca-pump/methodology/gpca_profiles.sysml +4 -15
  77. package/examples/gpca-pump/model/catalog/gpca_architecture.sysml +23 -10
  78. package/examples/gpca-pump/model/catalog/gpca_behavior_modes.sysml +7 -6
  79. package/examples/gpca-pump/model/catalog/gpca_behavior_subsystems.sysml +74 -28
  80. package/examples/gpca-pump/model/catalog/gpca_devices.sysml +23 -0
  81. package/examples/gpca-pump/model/catalog/gpca_interfaces.sysml +11 -29
  82. package/examples/gpca-pump/model/catalog/gpca_operational.sysml +30 -20
  83. package/examples/gpca-pump/model/catalog/gpca_physical.sysml +2 -1
  84. package/examples/gpca-pump/model/catalog/gpca_standards.sysml +4 -4
  85. package/examples/gpca-pump/model/catalog/gpca_system.sysml +4 -3
  86. package/examples/gpca-pump/model/catalog/gpca_trace.sysml +11 -3
  87. package/examples/gpca-pump/model/catalog/gpca_verification.sysml +12 -12
  88. package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_cyber_assessment_view.sysml +1 -1
  89. package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_threat_model_view.sysml +1 -1
  90. package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_hazard_analysis_view.sysml +1 -1
  91. package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_rmf_view.sysml +1 -1
  92. package/examples/{ros-mobile-robot/model/catalog/viewpoints/unassigned → gpca-pump/model/catalog/viewpoints/shared}/viewpoint.sysml +3 -2
  93. package/examples/gpca-pump/model/catalog/viewpoints/{logical → shared}/views/document_architecture_description_view.sysml +3 -3
  94. package/examples/gpca-pump/model/catalog/viewpoints/{requirements → shared}/views/document_dhf_index_view.sysml +3 -3
  95. package/examples/gpca-pump/model/catalog/viewpoints/software/views/document_sdd_view.sysml +1 -1
  96. package/examples/gpca-pump/model/catalog/viewpoints/usability/views/document_usability_view.sysml +1 -1
  97. package/examples/gpca-pump/model/catalog/viewpoints/verification/views/document_vv_view.sysml +1 -1
  98. package/examples/gpca-pump/model/methodology/project.sysml +1 -5
  99. package/examples/ivd-laboratory-system/memo.identity.yaml +43 -0
  100. package/examples/ivd-laboratory-system/model/catalog/ivd_laboratory_system.sysml +16 -1
  101. package/examples/ivd-laboratory-system/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  102. package/examples/ivd-laboratory-system/model/catalog/viewpoints/{unassigned → logical}/views/ivd_laboratory_system_overview.sysml +3 -2
  103. package/examples/ivd-laboratory-system/model/methodology/project.sysml +1 -2
  104. package/examples/manual-surgical-instrument/memo.identity.yaml +28 -0
  105. package/examples/manual-surgical-instrument/model/catalog/manual_surgical_instrument.sysml +3 -0
  106. package/examples/manual-surgical-instrument/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  107. package/examples/manual-surgical-instrument/model/catalog/viewpoints/{unassigned → logical}/views/manual_surgical_instrument_overview.sysml +3 -2
  108. package/examples/manual-surgical-instrument/model/methodology/project.sysml +1 -2
  109. package/examples/multidimensional-layers/memo.identity.yaml +34 -0
  110. package/examples/multidimensional-layers/model/catalog/multidimensional_layers.sysml +34 -4
  111. package/examples/multidimensional-layers/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  112. package/examples/multidimensional-layers/model/catalog/viewpoints/{unassigned → logical}/views/multidimensional_layers_overview.sysml +3 -1
  113. package/examples/multidimensional-layers/model/methodology/project.sysml +1 -2
  114. package/examples/nested-architecture-dsm/memo.identity.yaml +27 -0
  115. package/examples/nested-architecture-dsm/model/catalog/architecture/functional/functions.sysml +9 -9
  116. package/examples/nested-architecture-dsm/model/catalog/assurance/verification_validation/verification_validation.sysml +64 -0
  117. package/examples/nested-architecture-dsm/model/catalog/nested_architecture_dsm_system.sysml +5 -0
  118. package/examples/nested-architecture-dsm/model/catalog/traces.sysml +6 -0
  119. package/examples/reusable-instrument/memo.identity.yaml +46 -0
  120. package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +29 -2
  121. package/examples/reusable-instrument/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  122. package/examples/reusable-instrument/model/catalog/viewpoints/{unassigned → logical}/views/reusable_instrument_overview.sysml +3 -1
  123. package/examples/reusable-instrument/model/methodology/project.sysml +1 -2
  124. package/examples/robot-cell-family/memo.identity.yaml +96 -81
  125. package/examples/robot-cell-family/model/{sos → catalog/sos}/chains.sysml +6 -7
  126. package/examples/robot-cell-family/model/{sos → catalog/sos}/icds.sysml +1 -1
  127. package/examples/robot-cell-family/model/{sos → catalog/sos}/sos.sysml +4 -4
  128. package/examples/robot-cell-family/model/{sos → catalog/sos}/use_cases.sysml +4 -4
  129. package/examples/robot-cell-family/model/{systems → catalog/systems}/manipulation/manipulation_system.sysml +11 -3
  130. package/examples/robot-cell-family/model/{systems → catalog/systems}/navigation/navigation_system.sysml +9 -4
  131. package/examples/robot-cell-family/model/{systems → catalog/systems}/perception/perception_system.sysml +8 -3
  132. package/examples/robot-cell-family/model/methodology/project.sysml +6 -6
  133. package/examples/ros-mobile-robot/memo.identity.yaml +22 -1
  134. package/examples/ros-mobile-robot/model/catalog/ros_mobile_robot.sysml +89 -26
  135. package/examples/ros-mobile-robot/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  136. package/examples/ros-mobile-robot/model/catalog/viewpoints/{unassigned → logical}/views/ros_mobile_robot_overview.sysml +3 -1
  137. package/examples/ros-mobile-robot/model/methodology/project.sysml +1 -2
  138. package/examples/software-only-medical-device/memo.identity.yaml +46 -0
  139. package/examples/software-only-medical-device/model/catalog/software_only_medical_device.sysml +34 -1
  140. package/examples/software-only-medical-device/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  141. package/examples/software-only-medical-device/model/catalog/viewpoints/{unassigned → logical}/views/software_only_medical_device_overview.sysml +3 -1
  142. package/examples/software-only-medical-device/model/methodology/project.sysml +1 -2
  143. package/examples/surgical-closure-workflow/memo.identity.yaml +103 -0
  144. package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +29 -2
  145. package/examples/surgical-closure-workflow/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  146. package/examples/surgical-closure-workflow/model/catalog/viewpoints/{unassigned → logical}/views/surgical_closure_workflow_overview.sysml +3 -1
  147. package/examples/surgical-closure-workflow/model/methodology/project.sysml +1 -2
  148. package/examples/surgical-robot/memo.identity.yaml +40 -0
  149. package/examples/surgical-robot/model/catalog/surgical_robot.sysml +6 -1
  150. package/examples/surgical-robot/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  151. package/examples/surgical-robot/model/catalog/viewpoints/{unassigned → logical}/views/surgical_robot_overview.sysml +3 -1
  152. package/examples/surgical-robot/model/methodology/project.sysml +1 -2
  153. package/examples/sysml-diagram-samples/README.md +5 -3
  154. package/examples/sysml-diagram-samples/memo.identity.yaml +548 -391
  155. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/action_flow_view.sysml +2 -2
  156. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/browser_view.sysml +1 -2
  157. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/context_view.sysml +1 -2
  158. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/drill_down_view.sysml +30 -5
  159. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/functional_flow_view.sysml +15 -3
  160. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/grid_view.sysml +1 -2
  161. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/interconnection_view.sysml +1 -2
  162. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/operational_behaviour_view.sysml +1 -2
  163. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/package_view.sysml +1 -2
  164. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/requirements_view.sysml +7 -2
  165. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/sequence_view.sysml +1 -2
  166. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/standard_activity_view.sysml +2 -3
  167. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/state_transition_view.sysml +1 -2
  168. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/tree_view.sysml +1 -2
  169. package/examples/sysml-diagram-samples/model/catalog/{viewpoints/unassigned/views → samples}/use_case_view.sysml +1 -2
  170. package/examples/sysml-diagram-samples/model/catalog/sysml_diagram_samples_system.sysml +5 -0
  171. package/examples/sysml-diagram-samples/model/catalog/viewpoints/shared/viewpoint.sysml +8 -0
  172. package/examples/sysml-diagram-samples/model/catalog/viewpoints/{unassigned → shared}/views/diagram_samples.sysml +78 -44
  173. package/examples/sysml-diagram-samples/model/methodology/project.sysml +0 -16
  174. package/examples/temperature-alarm/memo.identity.yaml +22 -1
  175. package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +48 -0
  176. package/examples/temperature-alarm/model/catalog/viewpoints/logical/viewpoint.sysml +8 -0
  177. package/examples/temperature-alarm/model/catalog/viewpoints/{unassigned → logical}/views/temperature_alarm_overview.sysml +3 -1
  178. package/examples/temperature-alarm/model/methodology/project.sysml +1 -2
  179. package/examples/ui-screen-regions/memo.identity.yaml +33 -0
  180. package/examples/ui-screen-regions/model/catalog/architecture/functional/functions.sysml +3 -0
  181. package/examples/ui-screen-regions/model/catalog/architecture/implementation/ui.sysml +2 -1
  182. package/examples/ui-screen-regions/model/catalog/assurance/safety_risk/risk.sysml +60 -0
  183. package/examples/ui-screen-regions/model/catalog/assurance/verification_validation/verification_validation.sysml +3 -3
  184. package/examples/ui-screen-regions/model/catalog/ui_screen_regions_system.sysml +5 -0
  185. package/extensions/aadl/memo.package.yaml +1 -1
  186. package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +2 -1
  187. package/extensions/anatomy/LICENSES/CC-BY-4.0.txt +395 -0
  188. package/extensions/anatomy/NOTICE.md +20 -0
  189. package/extensions/anatomy/data/fma-index.json.gz +0 -0
  190. package/extensions/anatomy/memo.package.yaml +18 -0
  191. package/extensions/anatomy/src/anatomy_extension.sysml +9 -0
  192. package/extensions/anatomy/src/presets/memo_extension_anatomy_presets.sysml +12 -0
  193. package/extensions/anatomy/src/selector/memo_extension_anatomy_selector.sysml +17 -0
  194. package/extensions/anatomy/src/vocabulary/memo_extension_anatomy_vocabulary.sysml +115 -0
  195. package/extensions/clinical/memo.package.yaml +1 -1
  196. package/extensions/clinical/src/clinical_extension.sysml +3 -1
  197. package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +12 -5
  198. package/extensions/cloud/memo.package.yaml +1 -1
  199. package/extensions/container/memo.package.yaml +1 -1
  200. package/extensions/messaging/memo.package.yaml +1 -1
  201. package/extensions/messaging/src/messaging_extension.sysml +2 -1
  202. package/extensions/ros/memo.package.yaml +1 -1
  203. package/extensions/ros/src/ros_extension.sysml +3 -2
  204. package/memo.manifest.yaml +1 -0
  205. package/methodologies/default/memo.package.yaml +1 -1
  206. package/methodologies/gpca/memo.package.yaml +1 -1
  207. package/ontology/memo.package.yaml +1 -1
  208. package/package.json +4 -4
  209. package/profile/memo.package.yaml +1 -1
  210. package/src/architecture/functional/behavior/memo_behavior.sysml +19 -8
  211. package/src/architecture/functional/constraints/memo_constraints.sysml +5 -4
  212. package/src/architecture/functional/functions/memo_functions.sysml +28 -11
  213. package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +2 -3
  214. package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +5 -4
  215. package/src/architecture/implementation/software/structure/memo_software_structure.sysml +0 -1
  216. package/src/architecture/implementation/ui/memo_ui.sysml +16 -0
  217. package/src/architecture/logical/interfaces/memo_interfaces.sysml +9 -3
  218. package/src/architecture/logical/structure/memo_logical_structure.sysml +9 -0
  219. package/src/architecture/operational/activities/memo_activities.sysml +22 -2
  220. package/src/architecture/operational/context/actors/memo_actors.sysml +3 -1
  221. package/src/architecture/operational/memo_architecture_operational.sysml +1 -0
  222. package/src/architecture/operational/rollups/memo_rollups.sysml +109 -0
  223. package/src/architecture/operational/scenarios/memo_scenarios.sysml +22 -6
  224. package/src/architecture/operational/use_cases/memo_use_cases.sysml +11 -4
  225. package/src/architecture/operational/workflows/memo_workflows.sysml +62 -27
  226. package/src/architecture/realization/deployment/memo_deployment.sysml +3 -2
  227. package/src/architecture/realization/physical/memo_physical_architecture.sysml +11 -4
  228. package/src/artifacts/configuration_management/memo_configuration_management.sysml +17 -4
  229. package/src/artifacts/templates/dhf/fda-cybersecurity/security-arch.md +1 -1
  230. package/src/artifacts/templates/dhf/fda-cybersecurity/threat-model.md +1 -1
  231. package/src/artifacts/templates/dhf/iec-62304/detailed-design.md +1 -1
  232. package/src/artifacts/templates/dhf/iec-62304/sad.md +1 -1
  233. package/src/artifacts/templates/dhf/iec-62366/task-analysis.md +7 -7
  234. package/src/artifacts/templates/dhf/iec-62366/ue-plan.md +1 -1
  235. package/src/artifacts/templates/dhf/iec-62366/urra.md +1 -1
  236. package/src/artifacts/templates/dhf/system/sad.md +1 -1
  237. package/src/artifacts/templates/dhf/system/standards-checklist.md +2 -2
  238. package/src/assurance/requirements/needs/memo_needs.sysml +8 -0
  239. package/src/assurance/safety_risk/memo_risk.sysml +15 -0
  240. package/src/assurance/verification_validation/memo_assurance.sysml +25 -0
  241. package/src/core/common/memo_common.sysml +41 -0
  242. package/src/core/enumerations/memo_enumerations.sysml +23 -5
  243. package/src/core/relationships/memo_relationships.sysml +5 -0
  244. package/src/core/relationships/memo_workspace_membership.sysml +12 -0
  245. package/src/core/stdlib/analysis/analysis.sysml +11 -0
  246. package/src/core/stdlib/functions/functions.sysml +2 -0
  247. package/src/core/stdlib/money/money.sysml +53 -0
  248. package/src/core/stdlib/quantities/quantities.sysml +24 -0
  249. package/src/memo_namespaces.sysml +21 -0
  250. package/src/methodology/core/memo_core.sysml +2 -12
  251. package/src/methodology/profiles/memo_profiles.sysml +10 -9
  252. package/src/methodology/workflow/memo_workflow.sysml +16 -6
  253. package/src/rules/closure/closure_rules.sysml +46 -3
  254. package/src/rules/ontology/ontology_invariants.sysml +183 -30
  255. package/src/rules/quantitative/quantitative_rules.sysml +29 -0
  256. package/src/viewpoints/clinical/clinical_viewpoint.sysml +1 -1
  257. package/src/viewpoints/context/context_viewpoint.sysml +1 -1
  258. package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +1 -1
  259. package/src/viewpoints/definitions/memo_view_layout.sysml +9 -0
  260. package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +1 -1
  261. package/src/viewpoints/functional/functional_viewpoint.sysml +1 -1
  262. package/src/viewpoints/logical/logical_viewpoint.sysml +1 -1
  263. package/src/viewpoints/operational/operational_viewpoint.sysml +1 -1
  264. package/src/viewpoints/physical/physical_viewpoint.sysml +1 -1
  265. package/src/viewpoints/requirements/requirements_viewpoint.sysml +1 -1
  266. package/src/viewpoints/risk/risk_viewpoint.sysml +1 -1
  267. package/src/viewpoints/software/software_viewpoint.sysml +1 -1
  268. package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +14 -3
  269. package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +1 -1
  270. package/src/viewpoints/usability/usability_viewpoint.sysml +1 -1
  271. package/src/viewpoints/verification/verification_viewpoint.sysml +1 -1
  272. package/stage1/opensysml-14b923f7fe63f4062aa23208.json.gz +0 -0
  273. package/stage1/syside-f7095495f0f20200e0c34176.ids.gz +0 -0
  274. package/stage1/syside-f7095495f0f20200e0c34176.json.gz +0 -0
  275. package/examples/connected-patient-monitor/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  276. package/examples/embedded-infusion-pump/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  277. package/examples/functional-logical-physical/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  278. package/examples/ivd-laboratory-system/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  279. package/examples/manual-surgical-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  280. package/examples/multidimensional-layers/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  281. package/examples/reusable-instrument/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  282. package/examples/software-only-medical-device/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  283. package/examples/surgical-closure-workflow/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  284. package/examples/surgical-robot/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  285. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -74
  286. package/examples/temperature-alarm/model/catalog/viewpoints/unassigned/viewpoint.sysml +0 -9
  287. package/stage1/syside-27179e19589cf7a97f4dd15a.ids.gz +0 -0
  288. package/stage1/syside-27179e19589cf7a97f4dd15a.json.gz +0 -0
  289. package/stage1/syside-67f92dc96ba75cd05b5c8d13.ids.gz +0 -0
  290. package/stage1/syside-67f92dc96ba75cd05b5c8d13.json.gz +0 -0
  291. /package/examples/robot-cell-family/model/{shared → catalog/shared}/shared.sysml +0 -0
  292. /package/examples/sysml-diagram-samples/model/{sysml_v2_activity_example.sysml → catalog/sysml_v2_activity_example.sysml} +0 -0
@@ -5,6 +5,8 @@ package memo_assurance_verification_validation {
5
5
  private import memo_core_common::*;
6
6
  private import memo_core_enumerations::*;
7
7
  private import memo_core_relationships::*;
8
+ private import memo_core_stdlib_time::*;
9
+ private import memo_artifacts_configuration_management::*; // ReleaseRecord
8
10
  private import memo_architecture_operational_scenarios::*;
9
11
  private import memo_architecture_operational_use_cases::*;
10
12
  private import memo_architecture_functional_functions::*;
@@ -30,6 +32,29 @@ package memo_assurance_verification_validation {
30
32
  verification def VerificationCase :> MemoVerificationCase, VerificationCases::VerificationCase {
31
33
  attribute methodKind : MemoVerificationMethodKind;
32
34
  attribute acceptanceCriteria : String;
35
+ // The protocol: what is tested and how, before any run. A run records what happened (TestRun).
36
+ attribute testLevel : TestLevelKind[0..1];
37
+ attribute testEnvironment : TestEnvironmentKind[0..1];
38
+ attribute sampleSize : Integer[0..1];
39
+ attribute sampleSizeRationale : String[0..1];
40
+ attribute worstCaseCondition : String[0..1];
41
+ }
42
+ // A measured result: the criterion it answers, and the value as a quantity with its unit.
43
+ attribute def MeasuredValue {
44
+ attribute criterion : String;
45
+ attribute value : Quantities::ScalarQuantityValue;
46
+ }
47
+ // One execution of a verification case, and what came of it. A case is the plan and a run is the
48
+ // record, so a run is evidence the case produces (`ProducesEvidence`), one case to many runs. The
49
+ // verdict is the standard library's (VerificationCases.sysml:58), not a string.
50
+ part def TestRun specializes MemoEvidence {
51
+ attribute verdict : VerificationCases::VerdictKind;
52
+ attribute executedAt : Iso8601DateTime[0..1];
53
+ attribute softwareVersion : String[0..1];
54
+ attribute measuredValues : MeasuredValue[0..*];
55
+ // What was tested, and the release or variant it was tested in.
56
+ ref testedItem : Base::Anything[0..*];
57
+ ref testedConfiguration : ReleaseRecord[0..*];
33
58
  }
34
59
  // Orders a reusable TestStep within a verification or validation case.
35
60
  connection def PerformsStep :> MemoRelationship {
@@ -22,6 +22,17 @@
22
22
  // to the identifier they were already declared under. Display text is now
23
23
  // `@MemoIdentity { label }` and prose is `doc`.
24
24
  //
25
+ // ─── Resources ──────────────────────────────────────────────────────────
26
+ // `MemoResource` is here, beside `MemoPart`, because the operational layer's actors
27
+ // (`User`) and workflows (`WorkflowResource`) both specialize it, and so can the
28
+ // logical layer's platform (`part def SurgicalRobot :> System, MemoResource`); core is the one
29
+ // layer all of them import. Time-driven activity-based costing needs two numbers per
30
+ // resource: what an hour of its capacity costs (staff pay, or an instrument's purchase,
31
+ // service and practical capacity) and what one use costs (a consumable). The activity
32
+ // that uses the resource supplies the time. Both are money in the project's one currency
33
+ // (memo_core_stdlib_money) and, by the principle that level 1 carries no numbers, are set
34
+ // per variant on level 2.
35
+ //
25
36
  // What remains on a base is domain semantics — `status`, and whatever that
26
37
  // metaclass family genuinely needs.
27
38
  //
@@ -36,6 +47,7 @@ package memo_core_common {
36
47
  private import memo_core_dimensions::*;
37
48
  private import memo_core_terminology::*;
38
49
  private import memo_core_enumerations::*;
50
+ private import memo_core_stdlib_money::*;
39
51
 
40
52
  // The metaclass-agnostic carrier for MEMO's identity fields.
41
53
  //
@@ -130,6 +142,17 @@ package memo_core_common {
130
142
  attribute concerns : ConcernKind[0..*];
131
143
  attribute applicableStandards : ExternalReference[0..*];
132
144
  attribute codes : TerminologyCode[0..*];
145
+ // The part's identity in the product structure, assigned by the user, not by MEMO. A revision is
146
+ // alphabetic: A, B, … Z, AA.
147
+ attribute partNumber : String[0..1];
148
+ attribute revision : String[0..1];
149
+ }
150
+
151
+ // A resource a body of work spends: an instrument, a person, a consumable or the platform. It
152
+ // carries what an hour of its capacity costs and what one use of it costs.
153
+ abstract part def MemoResource specializes MemoPart {
154
+ attribute capacityCostRate : CostRateValue[0..1];
155
+ attribute unitCost : MoneyValue[0..1];
133
156
  }
134
157
 
135
158
  // ─── Role bases retained from the original kernel, re-founded on
@@ -169,6 +192,24 @@ package memo_core_common {
169
192
  attribute status : ElementStatusKind;
170
193
  }
171
194
 
195
+ // An occurrence whose start is guarded by a precondition and whose end by a postcondition: it
196
+ // starts only once the precondition holds and is done only once the postcondition does. The
197
+ // two are native `constraint` features a usage redefines with its own expression:
198
+ //
199
+ // action fnDose : SystemFunction {
200
+ // in rate : Real;
201
+ // constraint :>> precondition { rate >= 0 }
202
+ // }
203
+ //
204
+ // The shape is the SYSMOD method's `ConstrainedOccurrence`. It is declared on an `occurrence def`
205
+ // because `startShot` and `endShot` are found through one; `MemoFunction` specializes it.
206
+ abstract occurrence def MemoConstrainedOccurrence {
207
+ constraint precondition;
208
+ constraint postcondition;
209
+ ref occurrence :>> startShot { assert constraint :> precondition; }
210
+ ref occurrence :>> endShot { assert constraint :> postcondition; }
211
+ }
212
+
172
213
  // Boundary feature foundation for typed ports.
173
214
  port def MemoPort {
174
215
  attribute status : ElementStatusKind;
@@ -164,18 +164,19 @@ package memo_core_enumerations {
164
164
  //
165
165
  // Track A2 removed this from PORTS: a port usage says `in` / `out` /
166
166
  // `inout` natively, which is the language's own spelling and the only one
167
- // a conforming tool reads. The enum survives because four non-port
167
+ // a conforming tool reads. The enum survives because three non-port
168
168
  // constructs still carry a direction and none of them is a port, so none
169
169
  // of them can use the keyword:
170
170
  //
171
171
  // Interface.direction / .directionality (interface def)
172
172
  // LogicalConnector.direction (connection def)
173
- // ComponentExchange.direction (interface def)
174
173
  // OperationalInteraction.direction (part def)
175
174
  //
176
- // Deleting it would have cost those four their direction; the reinvention
177
- // was only ever the port case. `LogicalExchange.direction` was a fifth and
178
- // went when the exchange became a flow between ports (2026-09-25).
175
+ // Deleting it would have cost those three their direction; the reinvention
176
+ // was only ever the port case. `LogicalExchange.direction` was a fourth and
177
+ // went when the exchange became a flow between ports (2026-09-25), and
178
+ // `ComponentExchange.direction` a fifth when the ports at its ends were held to
179
+ // say it (2026-10-25, rule AR-EXCH-002).
179
180
  enum def DirectionKind {
180
181
  enum input;
181
182
  enum output;
@@ -206,6 +207,23 @@ package memo_core_enumerations {
206
207
  enum maintenance;
207
208
  enum obsolete;
208
209
  }
210
+ // How much of the product a test exercises, and where it is carried out: the protocol of a
211
+ // verification case (FDA's recommended performance-testing information), not a record of a run.
212
+ enum def TestLevelKind {
213
+ enum unit;
214
+ enum integration;
215
+ enum subassembly;
216
+ enum system;
217
+ enum systemWithAccessories;
218
+ }
219
+ enum def TestEnvironmentKind {
220
+ enum bench;
221
+ enum inSilico;
222
+ enum exVivo;
223
+ enum cadaver;
224
+ enum animal;
225
+ enum clinical;
226
+ }
209
227
  enum def MemoVerificationMethodKind {
210
228
  enum inspection;
211
229
  enum analytical;
@@ -65,6 +65,11 @@ package memo_core_relationships {
65
65
  * pair of elements — KerML Feature::isUnique over the relation.
66
66
  * Unset is read as true. */
67
67
  attribute isUnique : Boolean;
68
+ doc /* True when this relation is a connector between two parts, the kind of link that makes a part
69
+ * count as wired in an internal block diagram (rule AR-IBD-001). Trace, allocation, deployment and
70
+ * satisfaction links are not. Unset is read as false. Interface and flow usages are connectors by
71
+ * their language construct and need no value. */
72
+ attribute isConnector : Boolean;
68
73
  }
69
74
 
70
75
  // ─── Typed dependencies ─────────────────────────────────────────────
@@ -110,6 +110,8 @@ package memo_core_relationships_workspace_membership {
110
110
  part membershipRealizedByScenario : WorkspaceMembershipEntry { attribute :>> relation = "realizedByScenario"; attribute :>> direction = WorkspaceMembershipKind::targetFollowsSource; }
111
111
  // Neither: a cyber element and a safety item are each placed on their own.
112
112
  part membershipImpactsSafety : WorkspaceMembershipEntry { attribute :>> relation = "impactsSafety"; attribute :>> direction = WorkspaceMembershipKind::neither; }
113
+ // Neither: a benefit and the risk it is weighed against are each placed on their own.
114
+ part membershipWeighedAgainst : WorkspaceMembershipEntry { attribute :>> relation = "weighedAgainst"; attribute :>> direction = WorkspaceMembershipKind::neither; }
113
115
  // A security property follows its asset.
114
116
  part membershipHasSecurityProperty : WorkspaceMembershipEntry { attribute :>> relation = "hasSecurityProperty"; attribute :>> direction = WorkspaceMembershipKind::targetFollowsSource; }
115
117
  // An attack surface follows the asset it exposes.
@@ -213,6 +215,10 @@ package memo_core_relationships_workspace_membership {
213
215
  // Neither: a chain that performs functions of three systems belongs to none of them. Decided 2026-10-14:
214
216
  // a chain step is the system of systems' own, so `performs` places nothing in a system.
215
217
  part membershipPerforms : WorkspaceMembershipEntry { attribute :>> relation = "performs"; attribute :>> direction = WorkspaceMembershipKind::neither; }
218
+ // Neither: a step subsets the function it carries out; the function is not placed by it, as `performs` places nothing.
219
+ part membershipSubsets : WorkspaceMembershipEntry { attribute :>> relation = "subsets"; attribute :>> direction = WorkspaceMembershipKind::neither; }
220
+ // Neither: navigation joins two screens; the screen it opens is not placed by the element that opens it.
221
+ part membershipNavigatesTo : WorkspaceMembershipEntry { attribute :>> relation = "navigatesTo"; attribute :>> direction = WorkspaceMembershipKind::neither; }
216
222
  // Neither: a use case that includes others belongs to the system of systems; pulling it would put it in every system it includes.
217
223
  part membershipIncludesStep : WorkspaceMembershipEntry { attribute :>> relation = "includesStep"; attribute :>> direction = WorkspaceMembershipKind::neither; }
218
224
  // Neither: a bare dependency says nothing about placement.
@@ -275,9 +281,15 @@ package memo_core_relationships_workspace_membership {
275
281
  // A device follows the releases it covers, and they follow their items: a device that covers releases of
276
282
  // two systems is shared, and one that covers none is Unassigned (an approval for nothing).
277
283
  part membershipCovers : WorkspaceMembershipEntry { attribute :>> relation = "covers"; attribute :>> direction = WorkspaceMembershipKind::sourceFollowsTarget; }
284
+ // An intended use follows the device it states the purpose of: it is in whichever workspace the device is.
285
+ part membershipIntendedUseOf : WorkspaceMembershipEntry { attribute :>> relation = "intendedUseOf"; attribute :>> direction = WorkspaceMembershipKind::sourceFollowsTarget; }
286
+ // Two devices used together are peers; neither places the other (a pump and its infusion set may be approved
287
+ // for different systems).
288
+ part membershipUsedWith : WorkspaceMembershipEntry { attribute :>> relation = "usedWith"; attribute :>> direction = WorkspaceMembershipKind::neither; }
278
289
 
279
290
  // Neither: a step is not placed by the rule that says when it is done.
280
291
  part membershipDoneWhen : WorkspaceMembershipEntry { attribute :>> relation = "doneWhen"; attribute :>> direction = WorkspaceMembershipKind::neither; }
292
+ part membershipLinkedWhen : WorkspaceMembershipEntry { attribute :>> relation = "linkedWhen"; attribute :>> direction = WorkspaceMembershipKind::neither; }
281
293
 
282
294
  // A project follows the releases it feeds, as a device follows what it covers: a project that feeds releases
283
295
  // of two systems is shared, and one that feeds none is Unassigned (work that reached nothing).
@@ -0,0 +1,11 @@
1
+ // Re-export-only wrapper. No new types.
2
+ //
3
+ // The trade-study framework (`TradeStudy`, `EvaluationFunction`, `MinimizeObjective`,
4
+ // `MaximizeObjective`) a comparison of alternatives is written with: current practice, ours and a
5
+ // competitor's are the alternatives, an evaluation function over their roll-ups scores each, and
6
+ // the objective says which score is best.
7
+ package memo_core_stdlib_analysis {
8
+ private import ScalarValues::*;
9
+
10
+ public import TradeStudies::*;
11
+ }
@@ -3,4 +3,6 @@ package memo_core_stdlib_functions {
3
3
  private import ScalarValues::*;
4
4
 
5
5
  public import BaseFunctions::*;
6
+ public import ControlFunctions::*;
7
+ public import SequenceFunctions::*;
6
8
  }
@@ -0,0 +1,53 @@
1
+ // Money as a quantity, the one stated exception to "a measurable value is ISQ".
2
+ //
3
+ // ISQ (ISO/IEC 80000) has no monetary quantity, and a cost kept as a bare `Real`
4
+ // or a `String` cannot be summed with `QuantityCalculations::sum` or multiplied
5
+ // by a duration into a cost. So money is a quantity of its own: a base quantity
6
+ // (`monetaryAmount`), a unit type for it (`CurrencyUnit`), and the rate that is
7
+ // money per time (`CostRateValue`, `CostRateUnit`), built exactly as ISQBase builds
8
+ // `DurationValue`/`DurationUnit` and `FrequencyUnit`. A sum of `MoneyValue`s then
9
+ // type-checks, and so does `capacityCostRate * expectedDuration`.
10
+ //
11
+ // One currency per project. The library declares no currency: a project declares
12
+ // the one it uses, once, as a `CurrencyUnit` (`attribute <EUR> euro : CurrencyUnit;`)
13
+ // and writes every amount in it. No conversion between currencies is modelled, so
14
+ // two currency units in one project is an error, checked by a consistency rule.
15
+ //
16
+ // Where it lives: `memo_core_stdlib_quantities` re-exports ISQ, SI and the SI prefixes
17
+ // and declares nothing, so a declaration does not go there. This package is the same
18
+ // kind of unit beside it, in core because both the operational layer (resource cost)
19
+ // and the realization layers (bill-of-material cost) price things, and core is the
20
+ // only layer every one of them may import. It imports the SysML quantity libraries
21
+ // and nothing of MEMO's.
22
+ package memo_core_stdlib_money {
23
+ private import ScalarValues::Real;
24
+ private import Quantities::*;
25
+ private import MeasurementReferences::*;
26
+ private import ISQ::DurationUnit;
27
+ private import ISQ::isq;
28
+
29
+ attribute def MoneyValue :> ScalarQuantityValue {
30
+ attribute :>> num: Real;
31
+ attribute :>> mRef: CurrencyUnit[1];
32
+ }
33
+
34
+ attribute monetaryAmount: MoneyValue[*] nonunique :> scalarQuantities;
35
+
36
+ attribute def CurrencyUnit :> SimpleUnit {
37
+ private attribute moneyPF: QuantityPowerFactor[1] { :>> quantity = monetaryAmount; :>> exponent = 1; }
38
+ attribute :>> quantityDimension { :>> quantityPowerFactors = moneyPF; }
39
+ }
40
+
41
+ attribute def CostRateValue :> ScalarQuantityValue {
42
+ attribute :>> num: Real;
43
+ attribute :>> mRef: CostRateUnit[1];
44
+ }
45
+
46
+ attribute costRate: CostRateValue[*] nonunique :> scalarQuantities;
47
+
48
+ attribute def CostRateUnit :> DerivedUnit {
49
+ private attribute moneyPF: QuantityPowerFactor[1] { :>> quantity = monetaryAmount; :>> exponent = 1; }
50
+ private attribute durationPF: QuantityPowerFactor[1] { :>> quantity = isq.T; :>> exponent = -1; }
51
+ attribute :>> quantityDimension { :>> quantityPowerFactors = (moneyPF, durationPF); }
52
+ }
53
+ }
@@ -0,0 +1,24 @@
1
+ // Re-export-only wrapper. No new types.
2
+ //
3
+ // The quantity value types (`DurationValue`, `FrequencyValue`, `StorageCapacityValue`, …), the SI units (`s`, `Hz`,
4
+ // `V`, `A`, `B`) and the prefixes (`milli`, `mega`, `kibi`) a measurable attribute is typed and written with.
5
+ //
6
+ // A range on a parameter or an attribute is a constraint on its TYPE, so every use of the type
7
+ // carries it:
8
+ //
9
+ // attribute def DoseMass :> MassValue {
10
+ // assert constraint { self >= 0 [kg] and self <= 5 [kg] }
11
+ // }
12
+ // action def DeliverDose { in amount : DoseMass; }
13
+ //
14
+ // The builder emits that constraint as an element owned by the type, with its expression and unit, so
15
+ // it is found with `where: owner == "<the type's qualified id>"`. No kind for a range exists.
16
+ package memo_core_stdlib_quantities {
17
+ private import ScalarValues::*;
18
+
19
+ public import ISQ::*;
20
+ public import SI::*;
21
+ public import SIPrefixes::*;
22
+ public import MeasurementReferences::DimensionOneValue;
23
+ public import MeasurementReferences::one;
24
+ }
@@ -16,6 +16,7 @@ package memo {
16
16
  public import memo_architecture_operational_activities::*;
17
17
  public import memo_architecture_operational_workflows::*;
18
18
  public import memo_architecture_operational_scenarios::*;
19
+ public import memo_architecture_operational_rollups::*;
19
20
  public import memo_assurance_human_factors::*;
20
21
  public import memo_architecture_implementation_ui::*;
21
22
  public import memo_architecture_operational_structure::*;
@@ -155,6 +156,10 @@ package memo_namespace_assurance_requirements_needs {
155
156
  public import memo_assurance_requirements_needs::*;
156
157
  }
157
158
 
159
+ package memo_namespace_rollups {
160
+ public import memo_architecture_operational_rollups::*;
161
+ }
162
+
158
163
  package memo_namespace_scenarios {
159
164
  public import memo_architecture_operational_scenarios::*;
160
165
  }
@@ -219,6 +224,7 @@ package memo_namespace_architecture {
219
224
  alias structure for memo_namespace_architecture_operational;
220
225
  alias activities for memo_namespace_activities;
221
226
  alias context for memo_namespace_context;
227
+ alias rollups for memo_namespace_rollups;
222
228
  alias scenarios for memo_namespace_scenarios;
223
229
  alias use_cases for memo_namespace_use_cases;
224
230
  alias workflows for memo_namespace_workflows;
@@ -455,6 +461,9 @@ package memo_namespace_core_stdlib {
455
461
  alias collections for memo_namespace_core_stdlib_collections;
456
462
  alias functions for memo_namespace_core_stdlib_functions;
457
463
  alias scalars for memo_namespace_core_stdlib_scalars;
464
+ alias quantities for memo_namespace_core_stdlib_quantities;
465
+ alias money for memo_namespace_core_stdlib_money;
466
+ alias 'analysis' for memo_namespace_core_stdlib_analysis;
458
467
  alias time for memo_namespace_core_stdlib_time;
459
468
  }
460
469
 
@@ -609,6 +618,18 @@ package memo_namespace_core_stdlib_scalars {
609
618
  public import memo_core_stdlib_scalars::*;
610
619
  }
611
620
 
621
+ package memo_namespace_core_stdlib_quantities {
622
+ public import memo_core_stdlib_quantities::*;
623
+ }
624
+
625
+ package memo_namespace_core_stdlib_analysis {
626
+ public import memo_core_stdlib_analysis::*;
627
+ }
628
+
629
+ package memo_namespace_core_stdlib_money {
630
+ public import memo_core_stdlib_money::*;
631
+ }
632
+
612
633
  package memo_namespace_core_stdlib_time {
613
634
  public import memo_core_stdlib_time::*;
614
635
  }
@@ -126,18 +126,8 @@ package memo_methodology_core {
126
126
  // this binding (`public import memo_extension_ros::*;`), the same way
127
127
  // a methodology selects them. There is no list to keep beside it.
128
128
  attribute scopeMode : ScopeModeKind;
129
- // The submission regimes this model targets, declared once here.
130
- // Everything downstream that needs to know which standards apply —
131
- // `memo standards check`, the standards checklist, the Architect gap
132
- // badges — reads this, so the regime axis is a model fact stated in
133
- // SysML rather than a per-document array maintained in 44 places.
134
- // Empty means the model has not declared its regimes; a report that
135
- // needs them says so rather than assuming a default market.
136
- //
137
- // DEPRECATED in 0.14.0 (plan O1, O6): a `RegulatedDevice` states its own
138
- // jurisdiction, one approval each. This is read only when the model declares
139
- // no device, and ignored with a warning when it declares both.
140
- attribute regulatoryRegime : RegulatoryRegimeKind[0..*];
129
+ // The approvals this model targets are `RegulatedDevice` parts (one jurisdiction each), not a setting here:
130
+ // `memo standards check`, the standards checklist and the Architect gap badges read their jurisdictions.
141
131
  part rulePolicy : RulePolicy[0..*];
142
132
  }
143
133
 
@@ -16,7 +16,7 @@ package memo_methodology_profiles {
16
16
  private import memo_core_common::MemoIdentity;
17
17
  part mdCoreLibrary : MethodologyLibrary {
18
18
  @MemoIdentity { :>> providedId = "METHLIB-001"; :>> label = "MedicalDeviceMethodologyLibrary"; }
19
- attribute :>> version = "0.16.0";
19
+ attribute :>> version = "0.16.4";
20
20
  attribute :>> domain = "medical device modeling";
21
21
  doc /* Methodology layer for selecting, restricting, sequencing, tailoring, and lightly extending use of the medical-device ontology. */
22
22
  }
@@ -37,7 +37,7 @@ package memo_methodology_profiles {
37
37
  // second scope authority.
38
38
  part mdDefaultDefinition : MethodologyDefinition {
39
39
  @MemoIdentity { :>> providedId = "METH-MD-DEFAULT"; :>> label = "MedicalDeviceDefault"; }
40
- attribute :>> version = "0.16.0";
40
+ attribute :>> version = "0.16.4";
41
41
  attribute :>> domain = "medical device modeling";
42
42
  doc /* MEMO default medical-device methodology. Selects every layer, discipline, standard, artifact kind, and viewpoint the resolved ontology and extension packages provide. */
43
43
  attribute :>> scopeMode = ScopeModeKind::allAvailable;
@@ -72,7 +72,8 @@ package memo_methodology_profiles {
72
72
  }
73
73
 
74
74
  // The default method (plan O11): the steps a family works through, at the system of systems
75
- // and at each system. `outputKinds` and the rules a step is `#DoneWhen` say when it is done.
75
+ // and at each system. `outputKinds` and the rules a step is `#DoneWhen` say when its own work is done; the rules it is
76
+ // `#LinkedWhen` say when it is linked to the other layers.
76
77
 
77
78
  action stepSosContext : MethodologyWorkflowStep {
78
79
  @MemoIdentity { :>> providedId = "STEP-SOS-01"; :>> label = "SosContext"; }
@@ -133,7 +134,7 @@ package memo_methodology_profiles {
133
134
  attribute :>> entryCriteria = "The architecture and its interfaces exist.";
134
135
  attribute :>> exitCriteria = "Each hazard of the combination has a control.";
135
136
  }
136
- #DoneWhen dependency from stepSosHazards to memo_rules_closure::HazardMitigationRule;
137
+ #LinkedWhen dependency from stepSosHazards to memo_rules_closure::HazardMitigationRule;
137
138
 
138
139
  action stepSysOperational : MethodologyWorkflowStep {
139
140
  @MemoIdentity { :>> providedId = "STEP-SYS-01"; :>> label = "SystemOperational"; }
@@ -170,7 +171,7 @@ package memo_methodology_profiles {
170
171
  attribute :>> entryCriteria = "The system functions exist.";
171
172
  attribute :>> exitCriteria = "Every function is allocated to a component.";
172
173
  }
173
- #DoneWhen dependency from stepSysLogical to memo_rules_closure::LogicalFunctionAllocationRule;
174
+ #LinkedWhen dependency from stepSysLogical to memo_rules_closure::LogicalFunctionAllocationRule;
174
175
 
175
176
  action stepSysHardware : MethodologyWorkflowStep {
176
177
  @MemoIdentity { :>> providedId = "STEP-SYS-04"; :>> label = "SystemHardware"; }
@@ -219,7 +220,7 @@ package memo_methodology_profiles {
219
220
  attribute :>> entryCriteria = "The system functions exist.";
220
221
  attribute :>> exitCriteria = "Each hazard has a control.";
221
222
  }
222
- #DoneWhen dependency from stepSysRisk to memo_rules_closure::HazardMitigationRule;
223
+ #LinkedWhen dependency from stepSysRisk to memo_rules_closure::HazardMitigationRule;
223
224
 
224
225
  action stepSysSecurity : MethodologyWorkflowStep {
225
226
  @MemoIdentity { :>> providedId = "STEP-SYS-08"; :>> label = "SystemSecurity"; }
@@ -232,7 +233,7 @@ package memo_methodology_profiles {
232
233
  attribute :>> entryCriteria = "The system functions exist.";
233
234
  attribute :>> exitCriteria = "Each threat is mitigated.";
234
235
  }
235
- #DoneWhen dependency from stepSysSecurity to memo_rules_closure::ThreatMitigationRule;
236
+ #LinkedWhen dependency from stepSysSecurity to memo_rules_closure::ThreatMitigationRule;
236
237
 
237
238
  action stepSysVerification : MethodologyWorkflowStep {
238
239
  @MemoIdentity { :>> providedId = "STEP-SYS-09"; :>> label = "SystemVerification"; }
@@ -245,7 +246,7 @@ package memo_methodology_profiles {
245
246
  attribute :>> entryCriteria = "Risks and their controls exist.";
246
247
  attribute :>> exitCriteria = "Each verification case has a target.";
247
248
  }
248
- #DoneWhen dependency from stepSysVerification to memo_rules_closure::VerificationCaseTargetRule;
249
+ #LinkedWhen dependency from stepSysVerification to memo_rules_closure::VerificationCaseTargetRule;
249
250
 
250
251
  action stepSysRelease : MethodologyWorkflowStep {
251
252
  @MemoIdentity { :>> providedId = "STEP-SYS-10"; :>> label = "SystemRelease"; }
@@ -258,7 +259,7 @@ package memo_methodology_profiles {
258
259
  attribute :>> exitCriteria = "The release has a record.";
259
260
  }
260
261
 
261
- // Order, within a level.
262
+ // Recommended order, within a level: which step feeds which. It never holds a step back.
262
263
  first stepSosContext then stepSosOperational;
263
264
  first stepSosOperational then stepSosFunctions;
264
265
  first stepSosFunctions then stepSosArchitecture;
@@ -17,12 +17,18 @@ package memo_methodology_workflow {
17
17
  // A methodology's steps are the usages of this type in the package that
18
18
  // declares it; a methodology that names a `baseMethodology` adds its steps to
19
19
  // that one's, base first (a step is added, never replaced or dropped).
20
- // Order is `first <step> then <step>;`, within a level.
20
+ // Order is `first <step> then <step>;`, within a level. It is the RECOMMENDED
21
+ // order and says which step feeds which; it never holds a step back. Teams work
22
+ // each layer independently and link their work as the other side appears.
21
23
  //
22
- // What makes a step DONE is stated, not assumed (plan O11, T10): every
23
- // `outputKinds` kind has an element in the workspace, and every rule the step
24
- // `#DoneWhen`s has a subject there and no finding on it. A step that states
25
- // neither has no done criterion and is never reported as done.
24
+ // What makes a step DONE is stated, not assumed (plan O11, T10), in two parts
25
+ // judged apart:
26
+ // own work every `outputKinds` kind has an element in the workspace, and every
27
+ // rule the step `#DoneWhen`s has a subject there and no finding on it;
28
+ // links every rule the step `#LinkedWhen`s has no finding. A link rule with
29
+ // no subject yet waits for the step that produces its subjects: that
30
+ // is another team's work, not this one's.
31
+ // A step that states none of these has no done criterion and is never reported as done.
26
32
  action def MethodologyWorkflowStep :> MemoAction {
27
33
  attribute stage : WorkflowStageKind;
28
34
  attribute objectiveDescription : String;
@@ -42,6 +48,10 @@ package memo_methodology_workflow {
42
48
  }
43
49
 
44
50
  metadata def DoneWhen :> MemoTypedDependency {
45
- doc /* `#DoneWhen dependency from <step> to <rule>, <rule>;` The step is done when each of these rules has a subject in the workspace and no finding on it. */
51
+ doc /* `#DoneWhen dependency from <step> to <rule>, <rule>;` The step's own work is done when each of these rules has a subject in the workspace and no finding on it. */
52
+ }
53
+
54
+ metadata def LinkedWhen :> MemoTypedDependency {
55
+ doc /* `#LinkedWhen dependency from <step> to <rule>, <rule>;` Each rule is a link from this step's work to another layer's. The links are made when each rule has no finding; a rule with no subject yet is waiting for the step that produces them. */
46
56
  }
47
57
  }
@@ -140,8 +140,8 @@ package memo_rules_closure {
140
140
  attribute obligation = RuleObligationKind::recommended;
141
141
  attribute appliesTo = "SystemFunction";
142
142
  attribute severity = RuleSeverityKind::warning;
143
- attribute rationaleText = "Functions should be allocated to implementation elements.";
144
- attribute predicateExpression = "allocatedTo->size() >= 1";
143
+ attribute rationaleText = "Functions should be allocated to implementation elements. A function definition is a type and is not allocated; its usages are.";
144
+ attribute predicateExpression = "isDefinition == 'true' or allocatedTo->size() >= 1";
145
145
  constraint { true }
146
146
  }
147
147
 
@@ -169,7 +169,7 @@ package memo_rules_closure {
169
169
  // function is what triggers it. Without it the rule reported gpca-pump's
170
170
  // startup chain's own two steps, and ui-screen-regions' two functions
171
171
  // that a control invokes, as reached by nothing.
172
- attribute predicateExpression = "flow->size() >= 1 or succession->size() >= 1 or downstream(composes)->size() >= 1 or upstream(performs)->size() >= 1";
172
+ attribute predicateExpression = "isDefinition == 'true' or flow->size() >= 1 or succession->size() >= 1 or downstream(composes)->size() >= 1 or upstream(performs)->size() >= 1";
173
173
  constraint { true }
174
174
  }
175
175
 
@@ -442,6 +442,49 @@ package memo_rules_closure {
442
442
  }
443
443
  #EnforcesClause dependency from ResidualRiskEvaluatedRule to iso14971::iso14971Clause8;
444
444
 
445
+ // ISO 14971 clauses 5.2, 5.3 and 7.4 on the links the model already has: a misuse is not an item of the risk
446
+ // chain, so it reaches the chain by `causes` (the risk can start at any element: an operational flow, an
447
+ // FMEA row, a use error, a misuse); a safety-related characteristic reaches a hazard by `impactsSafety`; a
448
+ // benefit is weighed against a risk by `weighedAgainst`.
449
+ constraint def MisuseReachesSituationRule :> MemoConsistencyRule {
450
+ @MemoIdentity { :>> providedId = "CR-MED-027"; }
451
+ attribute tailoring = RuleTailoringKind::assurance;
452
+ attribute domain = RuleDomainKind::medicalDevice;
453
+ attribute obligation = RuleObligationKind::required;
454
+ attribute appliesTo = "ReasonablyForeseeableMisuse";
455
+ attribute severity = RuleSeverityKind::warning;
456
+ attribute rationaleText = "Reasonably foreseeable misuse is an input to the risk analysis: a misuse that leads to no hazardous situation has not been analysed, and one that is not recorded as leading anywhere cannot be shown to have been considered.";
457
+ attribute predicateExpression = "downstream(causes)->exists(conformsTo(HazardousSituation) or downstream(tracesRisk)->exists(conformsTo(HazardousSituation)))";
458
+ constraint { true }
459
+ }
460
+ #EnforcesClause dependency from MisuseReachesSituationRule to iso14971::iso14971Clause5::iso14971Clause5_2;
461
+
462
+ constraint def CharacteristicReachesHazardRule :> MemoConsistencyRule {
463
+ @MemoIdentity { :>> providedId = "CR-MED-028"; }
464
+ attribute tailoring = RuleTailoringKind::assurance;
465
+ attribute domain = RuleDomainKind::medicalDevice;
466
+ attribute obligation = RuleObligationKind::required;
467
+ attribute appliesTo = "SafetyRelatedCharacteristic";
468
+ attribute severity = RuleSeverityKind::warning;
469
+ attribute rationaleText = "A characteristic that could affect safety is identified so that the hazards it bears on are analysed: one linked to no hazard has been identified and then left unused.";
470
+ attribute predicateExpression = "downstream(impactsSafety)->exists(conformsTo(RiskItem))";
471
+ constraint { true }
472
+ }
473
+ #EnforcesClause dependency from CharacteristicReachesHazardRule to iso14971::iso14971Clause5::iso14971Clause5_3;
474
+
475
+ constraint def BenefitRiskWeighedRule :> MemoConsistencyRule {
476
+ @MemoIdentity { :>> providedId = "CR-MED-029"; }
477
+ attribute tailoring = RuleTailoringKind::assurance;
478
+ attribute domain = RuleDomainKind::medicalDevice;
479
+ attribute obligation = RuleObligationKind::required;
480
+ attribute appliesTo = "ResidualRisk";
481
+ attribute severity = RuleSeverityKind::warning;
482
+ attribute rationaleText = "Where a residual risk calls for a benefit-risk analysis, the benefit it is weighed against is stated.";
483
+ attribute predicateExpression = "attributes.benefitRiskRequired != 'true' or upstream(weighedAgainst)->exists(conformsTo(Benefit))";
484
+ constraint { true }
485
+ }
486
+ #EnforcesClause dependency from BenefitRiskWeighedRule to iso14971::iso14971Clause7::iso14971Clause7_4;
487
+
445
488
  constraint def SoupAnomaliesRule :> MemoConsistencyRule {
446
489
  @MemoIdentity { :>> providedId = "CR-MED-015"; }
447
490
  attribute tailoring = RuleTailoringKind::assurance;