@memoarchitect/ontology 0.20.3 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/README.md +1 -1
  2. package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +2 -3
  3. package/examples/gpca-pump/memo.identity.yaml +14 -13
  4. package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +44 -63
  5. package/examples/gpca-pump/model/catalog/gpca_context.sysml +4 -0
  6. package/examples/gpca-pump/model/catalog/gpca_operational.sysml +8 -0
  7. package/examples/gpca-pump/model/catalog/gpca_system.sysml +2 -0
  8. package/examples/gpca-pump/model/catalog/gpca_verification.sysml +2 -2
  9. package/examples/gpca-pump/model/catalog/viewpoints/logical/views/behavior_action_flow_view.sysml +1 -1
  10. package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +6 -0
  11. package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +8 -0
  12. package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +2 -0
  13. package/extensions/aadl/memo.package.yaml +1 -1
  14. package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +4 -0
  15. package/extensions/anatomy/memo.package.yaml +1 -1
  16. package/extensions/anatomy/src/selector/memo_extension_anatomy_selector.sysml +1 -0
  17. package/extensions/anatomy/src/vocabulary/memo_extension_anatomy_vocabulary.sysml +1 -0
  18. package/extensions/clinical/memo.package.yaml +1 -1
  19. package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +1 -0
  20. package/extensions/cloud/memo.package.yaml +1 -1
  21. package/extensions/cloud/src/cloud_extension.sysml +3 -0
  22. package/extensions/container/memo.package.yaml +1 -1
  23. package/extensions/container/src/container_extension.sysml +3 -0
  24. package/extensions/messaging/memo.package.yaml +1 -1
  25. package/extensions/messaging/src/messaging_extension.sysml +5 -0
  26. package/extensions/ros/memo.package.yaml +1 -1
  27. package/extensions/ros/src/ros_extension.sysml +58 -15
  28. package/methodologies/default/memo.package.yaml +1 -1
  29. package/methodologies/gpca/memo.package.yaml +1 -1
  30. package/ontology/memo.package.yaml +1 -1
  31. package/package.json +1 -1
  32. package/profile/memo.package.yaml +1 -1
  33. package/src/architecture/decisions/memo_decisions.sysml +9 -2
  34. package/src/architecture/functional/behavior/memo_behavior.sysml +21 -26
  35. package/src/architecture/functional/functions/memo_functions.sysml +10 -2
  36. package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +15 -4
  37. package/src/architecture/implementation/hardware/electrical/memo_hardware_electrical.sysml +8 -0
  38. package/src/architecture/implementation/hardware/fluidic/memo_hardware_fluidic.sysml +3 -0
  39. package/src/architecture/implementation/hardware/mechanical/memo_hardware_mechanical.sysml +3 -0
  40. package/src/architecture/implementation/hardware/optical/memo_hardware_optical.sysml +2 -0
  41. package/src/architecture/implementation/hardware/sensing/memo_hardware_sensing.sysml +3 -0
  42. package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +2 -0
  43. package/src/architecture/implementation/software/structure/memo_software_structure.sysml +12 -0
  44. package/src/architecture/implementation/ui/memo_ui.sysml +14 -0
  45. package/src/architecture/logical/interfaces/memo_interfaces.sysml +11 -2
  46. package/src/architecture/logical/structure/memo_logical_structure.sysml +16 -1
  47. package/src/architecture/operational/activities/memo_activities.sysml +3 -0
  48. package/src/architecture/operational/context/actors/memo_actors.sysml +5 -1
  49. package/src/architecture/operational/context/stakeholders/memo_stakeholders.sysml +4 -0
  50. package/src/architecture/operational/context/use_context/memo_use_context.sysml +5 -0
  51. package/src/architecture/operational/scenarios/memo_scenarios.sysml +1 -0
  52. package/src/architecture/operational/structure/memo_operational.sysml +5 -0
  53. package/src/architecture/operational/use_cases/memo_use_cases.sysml +4 -0
  54. package/src/architecture/operational/workflows/memo_workflows.sysml +5 -0
  55. package/src/architecture/realization/deployment/memo_deployment.sysml +12 -0
  56. package/src/architecture/realization/physical/memo_physical_architecture.sysml +6 -0
  57. package/src/architecture/variability/memo_variability.sysml +6 -0
  58. package/src/artifacts/configuration_management/memo_configuration_management.sysml +16 -0
  59. package/src/artifacts/core/memo_controlled_artifacts.sysml +16 -6
  60. package/src/artifacts/definitions/memo_artifact_definitions.sysml +1 -0
  61. package/src/artifacts/documents/risk_management/memo_risk_management.sysml +2 -0
  62. package/src/artifacts/standards/memo_artifacts_standards_traceability.sysml +4 -0
  63. package/src/assurance/cybersecurity/memo_cybersecurity.sysml +36 -0
  64. package/src/assurance/human_factors/memo_human_factors.sysml +4 -0
  65. package/src/assurance/requirements/memo_requirements.sysml +5 -1
  66. package/src/assurance/requirements/needs/memo_needs.sysml +2 -0
  67. package/src/assurance/safety_risk/analysis/memo_fmea.sysml +19 -0
  68. package/src/assurance/safety_risk/memo_risk.sysml +25 -1
  69. package/src/assurance/safety_risk/postmarket_surveillance/memo_postmarket_surveillance.sysml +2 -0
  70. package/src/assurance/verification_validation/clinical_evaluation/memo_clinical_evaluation.sysml +1 -0
  71. package/src/assurance/verification_validation/memo_assurance.sysml +5 -0
  72. package/src/core/annotations/memo_annotations.sysml +7 -0
  73. package/src/core/common/memo_common.sysml +28 -4
  74. package/src/core/consistency_rules/consistency_rules.sysml +5 -0
  75. package/src/core/enumerations/memo_enumerations.sysml +0 -5
  76. package/src/core/methodology_scope/methodology_scope.sysml +1 -0
  77. package/src/core/relationships/memo_relationships.sysml +9 -0
  78. package/src/core/relationships/memo_workspace_membership.sysml +1 -0
  79. package/src/methodology/core/memo_core.sysml +9 -0
  80. package/src/methodology/gates/memo_gates.sysml +1 -0
  81. package/src/methodology/patterns/memo_patterns.sysml +1 -0
  82. package/src/methodology/profiles/memo_profiles.sysml +2 -2
  83. package/src/methodology/rules/memo_rules.sysml +2 -0
  84. package/src/methodology/workflow/memo_workflow.sysml +3 -0
  85. package/src/rules/ontology/ontology_invariants.sysml +16 -2
  86. package/src/viewpoints/catalog/memo_viewpoint_catalog.sysml +1 -0
  87. package/src/viewpoints/clinical/clinical_viewpoint.sysml +1 -1
  88. package/src/viewpoints/clinical/views/clinical_evidence_view/clinical_evidence_view.sysml +2 -0
  89. package/src/viewpoints/clinical_workflow/clinical_workflow_viewpoint.sysml +1 -1
  90. package/src/viewpoints/context/context_viewpoint.sysml +1 -1
  91. package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +1 -1
  92. package/src/viewpoints/cybersecurity/views/cybersecurity_assessment_view/cybersecurity_assessment_view.sysml +2 -0
  93. package/src/viewpoints/cybersecurity/views/threat_model_view/threat_model_view.sysml +2 -0
  94. package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +10 -0
  95. package/src/viewpoints/functional/functional_viewpoint.sysml +1 -1
  96. package/src/viewpoints/logical/logical_viewpoint.sysml +1 -1
  97. package/src/viewpoints/matrix/memo_matrix_views.sysml +4 -2
  98. package/src/viewpoints/operational/operational_viewpoint.sysml +1 -1
  99. package/src/viewpoints/physical/physical_viewpoint.sysml +1 -1
  100. package/src/viewpoints/rendering/memo_rendering.sysml +3 -0
  101. package/src/viewpoints/requirements/requirements_viewpoint.sysml +1 -1
  102. package/src/viewpoints/risk/risk_viewpoint.sysml +1 -1
  103. package/src/viewpoints/software/software_viewpoint.sysml +1 -1
  104. package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +30 -35
  105. package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +1 -1
  106. package/src/viewpoints/ui_layout/views/screen_layout_view/screen_layout_view.sysml +1 -1
  107. package/src/viewpoints/usability/usability_viewpoint.sysml +1 -1
  108. package/src/viewpoints/usability/views/usability_engineering_view/usability_engineering_view.sysml +2 -0
  109. package/src/viewpoints/verification/verification_viewpoint.sysml +1 -1
  110. package/stage1/opensysml-38b58af8f1ce330053e05f1e.json.gz +0 -0
  111. package/stage1/syside-ca5c563522d5f99a57a61152.ids.gz +0 -0
  112. package/stage1/syside-ca5c563522d5f99a57a61152.json.gz +0 -0
  113. package/stage1/opensysml-7c0d12db5d05ad61e9477e5f.json.gz +0 -0
  114. package/stage1/syside-7ec66db3391721ce52f5c658.ids.gz +0 -0
  115. package/stage1/syside-7ec66db3391721ce52f5c658.json.gz +0 -0
@@ -21,53 +21,45 @@ package memo_viewpoints_stakeholders_concerns {
21
21
  // It extends the standard concern's `stakeholders` (the Parts interested in
22
22
  // it) to the MEMO stakeholder catalog, as a viewpoint does for its own.
23
23
  abstract concern def MemoConcern {
24
+ @MemoIdentity { :>> label = "Concern"; }
24
25
  ref memoStakeholders :>> stakeholders : MemoStakeholder[0..*];
25
26
  }
26
27
 
27
28
  concern def SafetyConcern :> MemoConcern {
28
- @MemoIdentity { :>> providedId = "CNC-1"; }
29
- attribute name = "Safety";
30
- attribute description = "Freedom from unacceptable risk of harm to the patient, the operator or a bystander.";
29
+ doc /* Freedom from unacceptable risk of harm to the patient, the operator or a bystander. */
30
+ @MemoIdentity { :>> label = "Safety"; :>> providedId = "CNC-1"; }
31
31
  }
32
32
  concern def UsabilityConcern :> MemoConcern {
33
- @MemoIdentity { :>> providedId = "CNC-2"; }
34
- attribute name = "Usability";
35
- attribute description = "Whether the intended user can operate the device correctly under use conditions.";
33
+ doc /* Whether the intended user can operate the device correctly under use conditions. */
34
+ @MemoIdentity { :>> label = "Usability"; :>> providedId = "CNC-2"; }
36
35
  }
37
36
  concern def CybersecurityConcern :> MemoConcern {
38
- @MemoIdentity { :>> providedId = "CNC-3"; }
39
- attribute name = "Cybersecurity";
40
- attribute description = "Resistance to compromise of the device, its data, or the network it participates in.";
37
+ doc /* Resistance to compromise of the device, its data, or the network it participates in. */
38
+ @MemoIdentity { :>> label = "Cybersecurity"; :>> providedId = "CNC-3"; }
41
39
  }
42
40
  concern def PerformanceConcern :> MemoConcern {
43
- @MemoIdentity { :>> providedId = "CNC-4"; }
44
- attribute name = "Performance";
45
- attribute description = "Timing, throughput and capacity against what the clinical procedure demands.";
41
+ doc /* Timing, throughput and capacity against what the clinical procedure demands. */
42
+ @MemoIdentity { :>> label = "Performance"; :>> providedId = "CNC-4"; }
46
43
  }
47
44
  concern def InteroperabilityConcern :> MemoConcern {
48
- @MemoIdentity { :>> providedId = "CNC-5"; }
49
- attribute name = "Interoperability";
50
- attribute description = "Correct exchange with the equipment and systems the device is used alongside.";
45
+ doc /* Correct exchange with the equipment and systems the device is used alongside. */
46
+ @MemoIdentity { :>> label = "Interoperability"; :>> providedId = "CNC-5"; }
51
47
  }
52
48
  concern def ReliabilityConcern :> MemoConcern {
53
- @MemoIdentity { :>> providedId = "CNC-6"; }
54
- attribute name = "Reliability";
55
- attribute description = "Continuity of correct service, and behaviour on failure.";
49
+ doc /* Continuity of correct service, and behaviour on failure. */
50
+ @MemoIdentity { :>> label = "Reliability"; :>> providedId = "CNC-6"; }
56
51
  }
57
52
  concern def PrivacyConcern :> MemoConcern {
58
- @MemoIdentity { :>> providedId = "CNC-7"; }
59
- attribute name = "Privacy";
60
- attribute description = "Protection of patient and operator data through its lifecycle.";
53
+ doc /* Protection of patient and operator data through its lifecycle. */
54
+ @MemoIdentity { :>> label = "Privacy"; :>> providedId = "CNC-7"; }
61
55
  }
62
56
  concern def RegulatoryConcern :> MemoConcern {
63
- @MemoIdentity { :>> providedId = "CNC-8"; }
64
- attribute name = "Regulatory";
65
- attribute description = "Evidence a submission requires, and conformance to the standards claimed.";
57
+ doc /* Evidence a submission requires, and conformance to the standards claimed. */
58
+ @MemoIdentity { :>> label = "Regulatory"; :>> providedId = "CNC-8"; }
66
59
  }
67
60
  concern def ClinicalConcern :> MemoConcern {
68
- @MemoIdentity { :>> providedId = "CNC-9"; }
69
- attribute name = "Clinical";
70
- attribute description = "Whether the device serves the clinical procedure and its intended use.";
61
+ doc /* Whether the device serves the clinical procedure and its intended use. */
62
+ @MemoIdentity { :>> label = "Clinical"; :>> providedId = "CNC-9"; }
71
63
  }
72
64
 
73
65
  // ─── Quality attributes ──────────────────────────────────────────────
@@ -85,6 +77,7 @@ package memo_viewpoints_stakeholders_concerns {
85
77
  // it is a worry the architecture has not yet answered — both are findings
86
78
  // this mapping makes visible.
87
79
  abstract part def MemoQualityAttribute :> MemoPart {
80
+ @MemoIdentity { :>> label = "Quality attribute"; }
88
81
  ref addressesConcerns : MemoConcern[*];
89
82
  /** How the property is measured — the response measure of a quality
90
83
  * attribute scenario, stated once for the attribute. */
@@ -92,37 +85,37 @@ package memo_viewpoints_stakeholders_concerns {
92
85
  }
93
86
 
94
87
  part def Availability :> MemoQualityAttribute {
95
- @MemoIdentity { :>> providedId = "QA-1"; }
88
+ @MemoIdentity { :>> label = "Availability"; :>> providedId = "QA-1"; }
96
89
  ref :>> addressesConcerns = (safetyConcern, reliabilityConcern, clinicalConcern);
97
90
  attribute :>> measure = "Proportion of scheduled procedure time the function is delivered, and time to recover after a fault.";
98
91
  }
99
92
  part def Performance :> MemoQualityAttribute {
100
- @MemoIdentity { :>> providedId = "QA-2"; }
93
+ @MemoIdentity { :>> label = "Performance"; :>> providedId = "QA-2"; }
101
94
  ref :>> addressesConcerns = (performanceConcern, clinicalConcern);
102
95
  attribute :>> measure = "Latency and throughput under the arrival pattern the procedure produces.";
103
96
  }
104
97
  part def Security :> MemoQualityAttribute {
105
- @MemoIdentity { :>> providedId = "QA-3"; }
98
+ @MemoIdentity { :>> label = "Security"; :>> providedId = "QA-3"; }
106
99
  ref :>> addressesConcerns = (cybersecurityConcern, privacyConcern, safetyConcern);
107
100
  attribute :>> measure = "Resistance to a stated threat, and time to detect and recover from a compromise.";
108
101
  }
109
102
  part def Modifiability :> MemoQualityAttribute {
110
- @MemoIdentity { :>> providedId = "QA-4"; }
103
+ @MemoIdentity { :>> label = "Modifiability"; :>> providedId = "QA-4"; }
111
104
  ref :>> addressesConcerns = (regulatoryConcern);
112
105
  attribute :>> measure = "Cost and blast radius of a stated change, including the re-verification it forces.";
113
106
  }
114
107
  part def Testability :> MemoQualityAttribute {
115
- @MemoIdentity { :>> providedId = "QA-5"; }
108
+ @MemoIdentity { :>> label = "Testability"; :>> providedId = "QA-5"; }
116
109
  ref :>> addressesConcerns = (regulatoryConcern, safetyConcern);
117
110
  attribute :>> measure = "Probability that a fault present is revealed by the next test, and the effort to observe it.";
118
111
  }
119
112
  part def Usability :> MemoQualityAttribute {
120
- @MemoIdentity { :>> providedId = "QA-6"; }
113
+ @MemoIdentity { :>> label = "Usability"; :>> providedId = "QA-6"; }
121
114
  ref :>> addressesConcerns = (usabilityConcern, safetyConcern, clinicalConcern);
122
115
  attribute :>> measure = "Task success and use-error rate for the intended user under use conditions (IEC 62366-1).";
123
116
  }
124
117
  part def Interoperability :> MemoQualityAttribute {
125
- @MemoIdentity { :>> providedId = "QA-7"; }
118
+ @MemoIdentity { :>> label = "Interoperability"; :>> providedId = "QA-7"; }
126
119
  ref :>> addressesConcerns = (interoperabilityConcern, clinicalConcern);
127
120
  attribute :>> measure = "Proportion of exchanges with a named partner system that are correctly understood.";
128
121
  }
@@ -138,7 +131,9 @@ package memo_viewpoints_stakeholders_concerns {
138
131
  // (declared with a `stakeholder` member). So the catalog is standard parts,
139
132
  // not `MemoPart`s — MemoPart's lifecycle and dimension attributes describe
140
133
  // model elements, not the people a viewpoint is written for.
141
- abstract part def MemoStakeholder :> Parts::Part;
134
+ abstract part def MemoStakeholder :> Parts::Part {
135
+ @MemoIdentity { :>> label = "Stakeholder"; }
136
+ }
142
137
 
143
138
  part def SystemArchitect :> MemoStakeholder {
144
139
  @MemoIdentity { :>> providedId = "STK-1"; :>> label = "System Architect"; }
@@ -8,8 +8,8 @@ package memo_viewpoints_ui_layout_ui_layout_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint uiLayoutViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-UIL"; :>> label = "UILayoutViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows screen captures with the UI element tree laid out over them."; }
12
11
  doc /* Frames the user interface spatially: a captured rendering of a screen, and the UIElement tree laid out over it by each element's bounds. Supports IEC 62366-1 use-related design review and the UI description in the software design specification, by making 'which control is this, and what does it do' answerable from the picture. There is one tree, not two — the elements carrying the geometry are the same elements carrying the requirements, functions, use errors, and risk controls. */
12
+ @MemoIdentity { :>> shortDescription = "Shows screen captures with the UI element tree laid out over them."; }
13
13
  attribute :>> purpose = "Review the interface as the user sees it, with every functional area backed by a design record.";
14
14
  ref :>> memoStakeholders = (usabilityEngineer, softwareArchitect, safetyEngineer);
15
15
  attribute :>> stage = WorkflowStageKind::architecture;
@@ -13,8 +13,8 @@ package memo_viewpoints_ui_layout_views_screen_layout_view {
13
13
  private import memo_core_common::*;
14
14
  view def MemoScreenLayoutView :> MemoDiagramView {
15
15
  attribute :>> viewKind = DiagramViewKind::geometry;
16
- @MemoIdentity { :>> shortDescription = "Screen capture overlaid with its UI element tree."; }
17
16
  doc /* Renders one ScreenCapture as the backdrop and each UIElement composed under the captured screen as a boundary box at its authored bounds, coloured by boundaryColor. Bounds are relative to the parent element, so the renderer accumulates transforms down the Composes tree. Selecting an element isolates it: siblings recede rather than compete. Following an element's NavigatesTo edge swaps the backdrop to the target screen's capture, so the view walks the interface the way the user does. */
17
+ @MemoIdentity { :>> label = "Screen layout view"; :>> shortDescription = "Screen capture overlaid with its UI element tree."; }
18
18
  attribute :>> outputKind = (ViewOutputKind::diagram);
19
19
  attribute :>> presentationKind = (PresentationKind::screenLayout);
20
20
  attribute :>> layoutHint = "authored";
@@ -8,8 +8,8 @@ package memo_viewpoints_usability_usability_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint usabilityViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-USE"; :>> label = "UsabilityViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows use contexts, actors, use errors, and usability requirements."; }
12
11
  doc /* Default viewpoint derived from the context and requirements layers for IEC 62366-1 usability engineering — actors, use contexts, identified use errors, and requirements tagged with the usability concern. Reuses existing context-layer elements (Actor, UseContext, UseError) rather than a separate usability layer. */
12
+ @MemoIdentity { :>> shortDescription = "Shows use contexts, actors, use errors, and usability requirements."; }
13
13
  attribute :>> purpose = "Communicate use-related hazards and usability requirements for the device.";
14
14
  ref :>> memoStakeholders = (usabilityEngineer, safetyEngineer);
15
15
  attribute :>> stage = WorkflowStageKind::requirements;
@@ -1,10 +1,12 @@
1
1
  package memo_viewpoints_usability_views_usability_engineering_view {
2
2
  private import ScalarValues::*;
3
+ private import memo_core_common::MemoIdentity;
3
4
 
4
5
  private import memo_viewpoints_definitions::*;
5
6
  private import memo_core_enumerations::*;
6
7
 
7
8
  view def MemoUsabilityEngineeringView :> MemoDocumentView {
9
+ @MemoIdentity { :>> label = "Usability engineering view"; }
8
10
  attribute :>> viewKind = DocumentViewKind::usability;
9
11
  attribute :>> generationRule = "Include actors, use contexts, use errors, and requirements tagged with the usability concern to support the Usability Engineering Report.";
10
12
  attribute :>> outputKind = (ViewOutputKind::documentSection);
@@ -8,8 +8,8 @@ package memo_viewpoints_verification_verification_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint verificationViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-VER"; :>> label = "VerificationViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows verification cases, validation cases, and the evidence they produce, traced to requirements."; }
12
11
  doc /* Default viewpoint derived from the requirements and assurance layers for V&V coverage — which requirements are verified/validated, by which case, and what evidence was produced, supporting ISO 13485 §7.3.6/§7.3.7 and IEC 62304 §5.7/§5.8. */
12
+ @MemoIdentity { :>> shortDescription = "Shows verification cases, validation cases, and the evidence they produce, traced to requirements."; }
13
13
  attribute :>> purpose = "Communicate verification and validation coverage against requirements.";
14
14
  ref :>> memoStakeholders = (verificationEngineer);
15
15
  attribute :>> stage = WorkflowStageKind::verificationStage;