@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
@@ -47,6 +47,7 @@ package memo_core_relationships {
47
47
  // unless it says otherwise. A subtype opts out by redefining, e.g.
48
48
  // `attribute :>> isReflexive = true;`.
49
49
  abstract connection def MemoRelationship :> Connections::BinaryConnection {
50
+ @MemoIdentity { :>> label = "Relationship"; }
50
51
  attribute id : String;
51
52
  attribute uuid : String;
52
53
  attribute shortDescription : String;
@@ -123,6 +124,7 @@ package memo_core_relationships {
123
124
  // source stays untyped: the items span metaclasses (a need is a requirement
124
125
  // def, a risk an item, a verification case an action), as for DerivesFrom.
125
126
  connection def ScopedTo :> MemoRelationship {
127
+ @MemoIdentity { :>> label = "Scoped to"; }
126
128
  end scopedItem :>> source;
127
129
  end scopeSystem : MemoPart :>> target;
128
130
  }
@@ -134,6 +136,7 @@ package memo_core_relationships {
134
136
  }
135
137
 
136
138
  connection def DerivesFrom :> MemoRelationship {
139
+ @MemoIdentity { :>> label = "Derives from"; }
137
140
  attribute :>> isTrace = true;
138
141
  // Drivers span metaclasses — a need is a requirement def, a hazard an
139
142
  // item, a threat an item — so the source end stays untyped. The target
@@ -153,6 +156,7 @@ package memo_core_relationships {
153
156
  // <realizing> to <realized>;`. `#refinement` places no metaclass
154
157
  // restriction on either end.
155
158
  connection def ProducesEvidence :> MemoRelationship {
159
+ @MemoIdentity { :>> label = "Produces evidence"; }
156
160
  attribute :>> isTrace = true;
157
161
  end producer : MemoVerificationCase :>> source;
158
162
  end producedEvidence : MemoEvidence :>> target;
@@ -166,6 +170,7 @@ package memo_core_relationships {
166
170
  // Precedence is native `succession` (`first a then b;`).
167
171
 
168
172
  connection def DerivesCyberRequirement :> MemoRelationship {
173
+ @MemoIdentity { :>> label = "Derives cyber requirement"; }
169
174
  attribute :>> isTrace = true;
170
175
  end sourceThreatOrRisk : RequirementDriver :>> source;
171
176
  end targetRequirement : MemoRequirementElement :>> target;
@@ -177,6 +182,7 @@ package memo_core_relationships {
177
182
  :>> baseType = derivesCyberRequirementLinks meta SysML::Usage;
178
183
  }
179
184
  connection def CrossesTrustBoundary :> MemoRelationship {
185
+ @MemoIdentity { :>> label = "Crosses trust boundary"; }
180
186
  attribute crossingKind : InterfaceKind;
181
187
  end boundary :>> source;
182
188
  end crossingItem :>> target;
@@ -189,6 +195,7 @@ package memo_core_relationships {
189
195
  }
190
196
 
191
197
  connection def Validates :> MemoRelationship {
198
+ @MemoIdentity { :>> label = "Validates"; }
192
199
  attribute :>> isTrace = true;
193
200
  // Validation targets include use cases and other behavioural elements,
194
201
  // so the target remains untyped across SysML metaclass families.
@@ -209,6 +216,7 @@ package memo_core_relationships {
209
216
  // binds ends by position, so write them in this order. See the
210
217
  // reversed-end-name lint in memo-tools.
211
218
  allocation def HostedBy :> MemoRelationship, Allocations::Allocation {
219
+ @MemoIdentity { :>> label = "Hosted by"; }
212
220
  end processingNode : MemoPart :>> source;
213
221
  end hostAssembly : MemoPart :>> target;
214
222
  }
@@ -232,6 +240,7 @@ package memo_core_relationships {
232
240
 
233
241
 
234
242
  connection def BindsToInterface :> MemoRelationship {
243
+ @MemoIdentity { :>> label = "Binds to interface"; }
235
244
  end portElement :>> source;
236
245
  end boundInterface :>> target;
237
246
  }
@@ -34,6 +34,7 @@ package memo_core_relationships_workspace_membership {
34
34
 
35
35
  part def WorkspaceMembershipEntry specializes MemoPart {
36
36
  doc /* One relation and the direction it places elements in a workspace. */
37
+ @MemoIdentity { :>> label = "Workspace membership entry"; }
37
38
  attribute relation : String;
38
39
  attribute direction : WorkspaceMembershipKind;
39
40
  }
@@ -11,6 +11,7 @@ package memo_methodology_core {
11
11
  private import memo_viewpoints_stakeholders_concerns::MemoStakeholder;
12
12
 
13
13
  part def MethodologyLibrary :> MemoPart {
14
+ @MemoIdentity { :>> label = "Methodology library"; }
14
15
  attribute version : String;
15
16
  attribute domain : String;
16
17
  }
@@ -36,6 +37,7 @@ package memo_methodology_core {
36
37
  // the selection matches is covered by it. An invariant in the selection keeps
37
38
  // running, as it does for a policy naming it.
38
39
  part def RulePolicy :> MemoPart {
40
+ @MemoIdentity { :>> label = "Rule policy"; }
39
41
  ref targetRule : MemoConsistencyRule[0..1];
40
42
  ref targetStandard : RegulatoryStandard[0..1];
41
43
  attribute targetCategory : String[0..1];
@@ -52,6 +54,7 @@ package memo_methodology_core {
52
54
  }
53
55
 
54
56
  part def MethodologyDefinition :> MemoPart {
57
+ @MemoIdentity { :>> label = "Methodology definition"; }
55
58
  attribute version : String;
56
59
  attribute domain : String;
57
60
  // Exactly one base methodology at most. Multiple inheritance is not a
@@ -99,6 +102,7 @@ package memo_methodology_core {
99
102
  //
100
103
  // part rvSafety : RoleView { ref :>> forStakeholder = safetyEngineer; ref :>> shownViewpoint = (vpRiskChain, vpEvidenceTraceability); }
101
104
  part def RoleView :> MemoPart {
105
+ @MemoIdentity { :>> label = "Role view"; }
102
106
  // `stakeholder` and `viewpoint` are SysML keywords, so neither names a feature.
103
107
  ref forStakeholder : MemoStakeholder;
104
108
  ref shownViewpoint : MemoViewpoint[0..*];
@@ -110,6 +114,7 @@ package memo_methodology_core {
110
114
  // authored methodology and binding, and ontology source declares no
111
115
  // instances of it.
112
116
  part def ResolvedMethodology :> MemoPart {
117
+ @MemoIdentity { :>> label = "Resolved methodology"; }
113
118
  attribute version : String;
114
119
  }
115
120
 
@@ -117,6 +122,7 @@ package memo_methodology_core {
117
122
  // and the rule policies it adds. "Model" is what Architect opens, one
118
123
  // repository and one compile; "project" means a change set in an iteration.
119
124
  part def ModelMethodBinding :> MemoPart {
125
+ @MemoIdentity { :>> label = "Model method binding"; }
120
126
  attribute modelName : String;
121
127
  ref selectedMethodology : MethodologyDefinition;
122
128
  // `allAvailable` widens the model to every package it resolved,
@@ -135,10 +141,12 @@ package memo_methodology_core {
135
141
  // with it still binds. MEMO reads `projectName` when `modelName` is absent
136
142
  // and warns on either.
137
143
  part def ProjectMethodBinding :> ModelMethodBinding {
144
+ @MemoIdentity { :>> label = "Project method binding"; }
138
145
  attribute projectName : String;
139
146
  }
140
147
 
141
148
  part def DhfDocumentBinding :> MemoPart {
149
+ @MemoIdentity { :>> label = "Dhf document binding"; }
142
150
  attribute documentTitle : String;
143
151
  attribute groupLabel : String;
144
152
  attribute templateId : String;
@@ -149,6 +157,7 @@ package memo_methodology_core {
149
157
  }
150
158
 
151
159
  part def Archetype :> MemoPart {
160
+ @MemoIdentity { :>> label = "Archetype"; }
152
161
  attribute label : String;
153
162
  attribute category : String;
154
163
  attribute includedLayer : String;
@@ -5,6 +5,7 @@ package memo_methodology_gates {
5
5
  private import memo_core_enumerations::*;
6
6
 
7
7
  part def QualityGate :> MemoPart {
8
+ @MemoIdentity { :>> label = "Quality gate"; }
8
9
  attribute gateStage : WorkflowStageKind;
9
10
  attribute passCriteria : String;
10
11
  }
@@ -5,6 +5,7 @@ package memo_methodology_patterns {
5
5
  private import memo_core_enumerations::*;
6
6
 
7
7
  part def ModelingPattern :> MemoPart {
8
+ @MemoIdentity { :>> label = "Modeling pattern"; }
8
9
  attribute intent : String;
9
10
  attribute stage : WorkflowStageKind;
10
11
  attribute strength : RuleStrengthKind;
@@ -15,7 +15,7 @@ package memo_methodology_profiles {
15
15
  private import memo_core_common::*;
16
16
  part mdCoreLibrary : MethodologyLibrary {
17
17
  @MemoIdentity { :>> providedId = "METHLIB-001"; :>> label = "MedicalDeviceMethodologyLibrary"; }
18
- attribute :>> version = "0.20.3";
18
+ attribute :>> version = "0.22.0";
19
19
  attribute :>> domain = "medical device modeling";
20
20
  doc /* Methodology layer for selecting, restricting, sequencing, tailoring, and lightly extending use of the medical-device ontology. */
21
21
  }
@@ -36,7 +36,7 @@ package memo_methodology_profiles {
36
36
  // second scope authority.
37
37
  part mdDefaultDefinition : MethodologyDefinition {
38
38
  @MemoIdentity { :>> providedId = "METH-MD-DEFAULT"; :>> label = "MedicalDeviceDefault"; }
39
- attribute :>> version = "0.20.3";
39
+ attribute :>> version = "0.22.0";
40
40
  attribute :>> domain = "medical device modeling";
41
41
  doc /* MEMO default medical-device methodology. Selects every layer, discipline, standard, artifact kind, and viewpoint the resolved ontology and extension packages provide. */
42
42
  attribute :>> scopeMode = ScopeModeKind::allAvailable;
@@ -6,10 +6,12 @@ package memo_methodology_rules {
6
6
  private import memo_core_consistency_rules::*;
7
7
 
8
8
  part def ElementUsageRule :> ConsistencyRule {
9
+ @MemoIdentity { :>> label = "Element usage rule"; }
9
10
  attribute elementTypeName : String;
10
11
  }
11
12
 
12
13
  part def RelationUsageRule :> ConsistencyRule {
14
+ @MemoIdentity { :>> label = "Relation usage rule"; }
13
15
  attribute relationTypeName : String;
14
16
  }
15
17
  }
@@ -29,6 +29,7 @@ package memo_methodology_workflow {
29
29
  // that is another team's work, not this one's. A step that states none of
30
30
  // these has no done criterion and is never reported as done.
31
31
  action def MethodologyWorkflowStep :> MemoAction {
32
+ @MemoIdentity { :>> label = "Methodology workflow step"; }
32
33
  attribute stage : WorkflowStageKind;
33
34
  attribute objectiveDescription : String;
34
35
  attribute entryCriteria : String;
@@ -48,9 +49,11 @@ package memo_methodology_workflow {
48
49
 
49
50
  metadata def DoneWhen :> MemoTypedDependency {
50
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
+ @MemoIdentity { :>> label = "Done when"; }
51
53
  }
52
54
 
53
55
  metadata def LinkedWhen :> MemoTypedDependency {
54
56
  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. */
57
+ @MemoIdentity { :>> label = "Linked when"; }
55
58
  }
56
59
  }
@@ -203,6 +203,20 @@ package memo_rules_ontology {
203
203
  attribute predicateExpression = "realizes->size() >= 1";
204
204
  constraint { true }
205
205
  }
206
+ // The ontology declares one relation for a logical component and what realizes it:
207
+ // `RealizedBy` in memo_architecture_realization_deployment. The general `#refinement`
208
+ // stays for every other realization, so this rule keeps the logical case to one spelling.
209
+ constraint def LogicalRealizedByAllocationRule :> MemoConsistencyRule {
210
+ @MemoIdentity { :>> providedId = "CR-ONT-105"; }
211
+ attribute tailoring = RuleTailoringKind::invariant;
212
+ attribute domain = RuleDomainKind::modelling;
213
+ attribute obligation = RuleObligationKind::recommended;
214
+ attribute appliesTo = "LogicalComponent";
215
+ attribute severity = RuleSeverityKind::error;
216
+ attribute rationaleText = "A logical component is allocated to the hardware or software that realizes it with RealizedBy, the logical component first. A #refinement dependency from an implementation element to a logical component says the same thing a second way, and the workspace places its ends differently.";
217
+ attribute predicateExpression = "upstream(realizes)->forAll(conformsTo(LogicalComponent))";
218
+ constraint { true }
219
+ }
206
220
  constraint def PatientContactCharacterizedRule :> MemoConsistencyRule {
207
221
  @MemoIdentity { :>> providedId = "CR-ONT-032"; }
208
222
  attribute tailoring = RuleTailoringKind::assurance;
@@ -350,8 +364,8 @@ package memo_rules_ontology {
350
364
  attribute obligation = RuleObligationKind::recommended;
351
365
  attribute appliesTo = "Model";
352
366
  attribute severity = RuleSeverityKind::error;
353
- attribute rationaleText = "A function is allocated to a part — including a system or actor — as ARCADIA System Analysis requires; a functional exchange is allocated to a component exchange.";
354
- attribute predicateExpression = "targetsOf(allocatedTo)->forAll(conformsTo(MemoPart) or conformsTo(ComponentExchange))";
367
+ attribute rationaleText = "A function is allocated to a part — including a system or actor — as ARCADIA System Analysis requires; a functional exchange is allocated to the interface that carries it: a component exchange, as ARCADIA allocates one, or an implementation interface such as a ROS topic, which carries one hop of a signal's path.";
368
+ attribute predicateExpression = "targetsOf(allocatedTo)->forAll(conformsTo(MemoPart) or conformsTo(MemoInterface))";
355
369
  constraint { true }
356
370
  }
357
371
  constraint def ComposesParentKindRule :> MemoConsistencyRule {
@@ -169,6 +169,7 @@ package memo_viewpoints_catalog {
169
169
  // ── Compatibility mappings: legacy diagram intents resolve to
170
170
  // standard view kinds; C4 and AADL stay in examples/ mappings. ──
171
171
  part def DiagramIntentMapping specializes MemoPart {
172
+ @MemoIdentity { :>> label = "Diagram intent mapping"; }
172
173
  attribute legacyIntent : String;
173
174
  attribute resolvesTo : DiagramViewKind;
174
175
  }
@@ -8,8 +8,8 @@ package memo_viewpoints_clinical_clinical_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint clinicalViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-CLIN"; :>> label = "ClinicalViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows clinical context, users, use environment, and clinical evidence."; }
12
11
  doc /* Default viewpoint derived from the context and assurance layers for clinical stakeholders — intended use, patient/clinician interaction, clinical evidence, and clinical safety claims. */
12
+ @MemoIdentity { :>> shortDescription = "Shows clinical context, users, use environment, and clinical evidence."; }
13
13
  attribute :>> purpose = "Communicate clinical use context and clinical evidence for the device.";
14
14
  ref :>> memoStakeholders = (clinicalEngineer, regulatoryEngineer);
15
15
  attribute :>> stage = WorkflowStageKind::context;
@@ -1,10 +1,12 @@
1
1
  package memo_viewpoints_clinical_views_clinical_evidence_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 MemoClinicalEvidenceView :> MemoDocumentView {
9
+ @MemoIdentity { :>> label = "Clinical evidence view"; }
8
10
  attribute :>> viewKind = DocumentViewKind::clinical;
9
11
  attribute :>> generationRule = "Include use contexts, actors, and clinical evidence supporting the device's intended use, filtered to clinical concern.";
10
12
  attribute :>> outputKind = (ViewOutputKind::documentSection);
@@ -8,8 +8,8 @@ package memo_viewpoints_clinical_workflow_clinical_workflow_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint clinicalWorkflowViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-CLINWF"; :>> label = "ClinicalWorkflowViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows clinical use cases, workflows and scenarios: what must happen to the patient, with no product and no number."; }
12
11
  doc /* Level 1 of the operational levels: the clinical use cases, their workflows and scenarios, and the steps the care team performs. It names no product and carries no number; the system workflows that refine it are the Operational viewpoint's. Not the Clinical viewpoint, which presents clinical evidence. */
12
+ @MemoIdentity { :>> shortDescription = "Shows clinical use cases, workflows and scenarios: what must happen to the patient, with no product and no number."; }
13
13
  attribute :>> purpose = "Communicate the clinical baseline every system variant is compared against.";
14
14
  ref :>> memoStakeholders = (clinicalEngineer, systemArchitect);
15
15
  attribute :>> stage = WorkflowStageKind::context;
@@ -8,8 +8,8 @@ package memo_viewpoints_context_context_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint contextViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-CTX"; :>> label = "ContextViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows actors, use context, and system boundary."; }
12
11
  doc /* Default viewpoint derived from the context layer to communicate who interacts with the device, under which use conditions, and where trust or safety boundaries exist. */
12
+ @MemoIdentity { :>> shortDescription = "Shows actors, use context, and system boundary."; }
13
13
  attribute :>> purpose = "Communicate operational context and boundaries.";
14
14
  ref :>> memoStakeholders = (systemArchitect);
15
15
  attribute :>> stage = WorkflowStageKind::context;
@@ -8,8 +8,8 @@ package memo_viewpoints_cybersecurity_cybersecurity_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint cybersecurityViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-CYB"; :>> label = "CybersecurityViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows assets, trust boundaries, threats, vulnerabilities, cyber hazards, cyber risks, and mitigations."; }
12
11
  doc /* Default viewpoint derived from the cybersecurity layer, using STRIDE-style threat categories by default while allowing safety and privacy impacts to be traced into the broader model. */
12
+ @MemoIdentity { :>> shortDescription = "Shows assets, trust boundaries, threats, vulnerabilities, cyber hazards, cyber risks, and mitigations."; }
13
13
  attribute :>> purpose = "Communicate cybersecurity design, threat analysis, and cyber risk posture.";
14
14
  ref :>> memoStakeholders = (securityEngineer);
15
15
  attribute :>> stage = WorkflowStageKind::risk;
@@ -1,10 +1,12 @@
1
1
  package memo_viewpoints_cybersecurity_views_cybersecurity_assessment_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 MemoCybersecurityAssessmentView :> MemoDocumentView {
9
+ @MemoIdentity { :>> label = "Cybersecurity assessment view"; }
8
10
  attribute :>> viewKind = DocumentViewKind::cybersecurityAssessment;
9
11
  attribute :>> generationRule = "Include cyber risks, exploitability, mitigations, security requirements, verification, residual risk, and postmarket evidence references.";
10
12
  attribute :>> outputKind = (ViewOutputKind::documentSection);
@@ -1,10 +1,12 @@
1
1
  package memo_viewpoints_cybersecurity_views_threat_model_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 MemoCybersecurityThreatModelView :> MemoDocumentView {
9
+ @MemoIdentity { :>> label = "Cybersecurity threat model view"; }
8
10
  attribute :>> viewKind = DocumentViewKind::threatModel;
9
11
  attribute :>> generationRule = "Include assets, trust boundaries, threat scenarios, vulnerabilities, mitigations, and trace links to safety/privacy concerns.";
10
12
  attribute :>> outputKind = (ViewOutputKind::documentSection);
@@ -20,6 +20,7 @@ package memo_viewpoints_definitions {
20
20
  // rather than a re-declared core: a viewpoint is native requirement-family,
21
21
  // not a MemoPart, and metadata crosses metaclasses where inheritance cannot.
22
22
  viewpoint def MemoViewpoint :> Views::ViewpointCheck {
23
+ @MemoIdentity { :>> label = "Viewpoint"; }
23
24
  attribute status : ElementStatusKind;
24
25
  attribute lifecycleState : LifecycleStateKind;
25
26
  attribute realizationStage : RealizationStageKind[0..1];
@@ -60,6 +61,7 @@ package memo_viewpoints_definitions {
60
61
  }
61
62
 
62
63
  part def ViewRule specializes MemoPart {
64
+ @MemoIdentity { :>> label = "View rule"; }
63
65
  attribute elementTypeName : String;
64
66
  attribute relationTypeName : String;
65
67
  attribute strength : RuleStrengthKind;
@@ -67,6 +69,7 @@ package memo_viewpoints_definitions {
67
69
  }
68
70
 
69
71
  part def ViewSelectionQuery specializes MemoPart {
72
+ @MemoIdentity { :>> label = "View selection query"; }
70
73
  attribute includeElementKinds : String[*];
71
74
  attribute includeElementIds : String[*];
72
75
  attribute includeRelationshipKinds : String[*];
@@ -93,6 +96,7 @@ package memo_viewpoints_definitions {
93
96
  // not reach for one that means something else. A swatch is what this is —
94
97
  // a colour with a label.
95
98
  part def MemoLegendSwatch specializes MemoPart {
99
+ @MemoIdentity { :>> label = "Legend swatch"; }
96
100
  /** The value of the legend's attribute or enumeration this entry is for. */
97
101
  attribute value : String;
98
102
  /** Shown in the key. Defaults to the value when unstated. */
@@ -102,6 +106,7 @@ package memo_viewpoints_definitions {
102
106
  }
103
107
 
104
108
  part def MemoLegend specializes MemoPart {
109
+ @MemoIdentity { :>> label = "Legend"; }
105
110
  /** The attribute whose value each entry names — e.g. "realizationStage". */
106
111
  attribute attributeName : String;
107
112
  /**
@@ -125,6 +130,7 @@ package memo_viewpoints_definitions {
125
130
  }
126
131
 
127
132
  view def MemoView :> Views::View {
133
+ @MemoIdentity { :>> label = "View"; }
128
134
  // Identity comes from the `@MemoIdentity` metadata carrier, which
129
135
  // annotates any metaclass — so a view stays native SysML without
130
136
  // re-declaring an identification core.
@@ -153,6 +159,7 @@ package memo_viewpoints_definitions {
153
159
  }
154
160
 
155
161
  view def MemoDiagramView :> MemoView {
162
+ @MemoIdentity { :>> label = "Diagram view"; }
156
163
  attribute viewKind : DiagramViewKind;
157
164
  attribute diagramType : String;
158
165
  attribute layoutHint : String;
@@ -188,16 +195,19 @@ package memo_viewpoints_definitions {
188
195
  }
189
196
 
190
197
  view def MemoDocumentBackedView :> MemoView {
198
+ @MemoIdentity { :>> label = "Document backed view"; }
191
199
  attribute version : String;
192
200
  attribute generationRule : String;
193
201
  attribute marketScope : String;
194
202
  }
195
203
 
196
204
  view def MemoDocumentView :> MemoDocumentBackedView {
205
+ @MemoIdentity { :>> label = "Document view"; }
197
206
  attribute viewKind : DocumentViewKind;
198
207
  }
199
208
 
200
209
  part def ViewInclusionRule specializes MemoPart {
210
+ @MemoIdentity { :>> label = "View inclusion rule"; }
201
211
  attribute includeElementKinds : String[*];
202
212
  attribute includeElementIds : String[*];
203
213
  attribute includeRelationshipKinds : String[*];
@@ -8,8 +8,8 @@ package memo_viewpoints_functional_functional_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint functionalViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-FUNC"; :>> label = "FunctionalViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows system functions, their decomposition, and allocation."; }
12
11
  doc /* Default viewpoint derived from the functions layer for what the system does, independent of how it is structured — function trees, function allocation, and behavior triggers. */
12
+ @MemoIdentity { :>> shortDescription = "Shows system functions, their decomposition, and allocation."; }
13
13
  attribute :>> purpose = "Describe the system's functional decomposition and behavior.";
14
14
  ref :>> memoStakeholders = (systemArchitect);
15
15
  attribute :>> stage = WorkflowStageKind::architecture;
@@ -8,8 +8,8 @@ package memo_viewpoints_logical_logical_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint logicalArchitectureViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-LOG"; :>> label = "LogicalArchitectureViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows logical decomposition and interfaces."; }
12
11
  doc /* Default viewpoint derived from the logical architecture layer for subsystem structure, responsibilities, and major interactions, independent of physical realization. */
12
+ @MemoIdentity { :>> shortDescription = "Shows logical decomposition and interfaces."; }
13
13
  attribute :>> purpose = "Describe the system's logical decomposition.";
14
14
  ref :>> memoStakeholders = (systemArchitect);
15
15
  attribute :>> stage = WorkflowStageKind::architecture;
@@ -39,11 +39,13 @@ package memo_viewpoints_matrix {
39
39
  * query language the DHF templates use. The axis is the union of the two.
40
40
  */
41
41
  part def MemoMatrixAxis :> ViewSelectionQuery {
42
+ @MemoIdentity { :>> label = "Matrix axis"; }
42
43
  attribute query : String[0..1];
43
44
  }
44
45
 
45
46
  /** A named group of rows in a design structure matrix. */
46
47
  part def MemoMatrixGroup :> MemoPart {
48
+ @MemoIdentity { :>> label = "Matrix group"; }
47
49
  attribute groupName : String;
48
50
  attribute groupedBy : MatrixGroupKind;
49
51
  /** A package qualified name, or the text of a `memo-query`; empty for a cluster result. */
@@ -56,7 +58,7 @@ package memo_viewpoints_matrix {
56
58
  */
57
59
  view def MemoTraceabilityMatrixView :> MemoDiagramView {
58
60
  attribute :>> viewKind = DiagramViewKind::grid;
59
- @MemoIdentity { :>> shortDescription = "Rows traced to columns by relationships, each axis chosen by hand or by query."; }
61
+ @MemoIdentity { :>> label = "Traceability matrix view"; :>> shortDescription = "Rows traced to columns by relationships, each axis chosen by hand or by query."; }
60
62
  /**
61
63
  * The system or system of systems the matrix is about: the qualified name
62
64
  * of its definition (a workspace root). Its queries run in that workspace.
@@ -76,7 +78,7 @@ package memo_viewpoints_matrix {
76
78
  */
77
79
  view def MemoDependencyMatrixView :> MemoDiagramView {
78
80
  attribute :>> viewKind = DiagramViewKind::grid;
79
- @MemoIdentity { :>> shortDescription = "Dependencies among one set of elements, chosen by hand or by query."; }
81
+ @MemoIdentity { :>> label = "Dependency matrix view"; :>> shortDescription = "Dependencies among one set of elements, chosen by hand or by query."; }
80
82
  /** The system or system of systems the matrix is about, as on the traceability matrix. */
81
83
  attribute system : String[0..1];
82
84
  part axis : MemoMatrixAxis[0..1];
@@ -8,8 +8,8 @@ package memo_viewpoints_operational_operational_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint operationalViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-OPS"; :>> label = "OperationalViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows actors, use contexts, operational scenarios, and system capabilities."; }
12
11
  doc /* Default viewpoint derived from the context, operational, and system layers for how actors use the device — operational scenarios, capabilities, and the functional chains that realize them. */
12
+ @MemoIdentity { :>> shortDescription = "Shows actors, use contexts, operational scenarios, and system capabilities."; }
13
13
  attribute :>> purpose = "Communicate how actors interact with the system and which capabilities they invoke.";
14
14
  ref :>> memoStakeholders = (projectLead, systemArchitect);
15
15
  attribute :>> stage = WorkflowStageKind::context;
@@ -8,8 +8,8 @@ package memo_viewpoints_physical_physical_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint physicalViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-PHY"; :>> label = "PhysicalViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows physical components, hardware structure, and their interconnections."; }
12
11
  doc /* Default viewpoint derived from the physical and hardware structure layers for bill-of-materials, hardware decomposition, physical interfaces, and network/connectivity topology. */
12
+ @MemoIdentity { :>> shortDescription = "Shows physical components, hardware structure, and their interconnections."; }
13
13
  attribute :>> purpose = "Describe the system's physical realization and interconnections.";
14
14
  ref :>> memoStakeholders = (hardwareEngineer);
15
15
  attribute :>> stage = WorkflowStageKind::architecture;
@@ -14,6 +14,7 @@ package memo_viewpoints_rendering {
14
14
 
15
15
  // The presentation identity of one architecture layer.
16
16
  part def LayerRendering :> MemoPart {
17
+ @MemoIdentity { :>> label = "Layer rendering"; }
17
18
  attribute layerId : String;
18
19
  attribute layerLabel : String;
19
20
  attribute layerColor : String;
@@ -24,6 +25,7 @@ package memo_viewpoints_rendering {
24
25
  // classification applies to; `explorerDomain` and `explorerGroup` name its
25
26
  // place in MEMO's V-model taxonomy.
26
27
  part def ExplorerClassification :> MemoPart {
28
+ @MemoIdentity { :>> label = "Explorer classification"; }
27
29
  attribute sourceNamespace : String;
28
30
  attribute explorerDomain : String;
29
31
  attribute explorerGroup : String;
@@ -43,6 +45,7 @@ package memo_viewpoints_rendering {
43
45
  // render different text for the same model. The static HTML export, the DHF
44
46
  // workbench and a report generator all resolve the same label from here.
45
47
  part def EnumRendering :> MemoPart {
48
+ @MemoIdentity { :>> label = "Enum rendering"; }
46
49
  attribute enumValue : String;
47
50
  attribute label : String;
48
51
  attribute shortLabel : String[0..1];
@@ -8,8 +8,8 @@ package memo_viewpoints_requirements_requirements_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint requirementsViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-REQ"; :>> label = "RequirementsViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows stakeholder needs and their decomposition into system, software, and hardware requirements."; }
12
11
  doc /* Default viewpoint derived from the requirements layer for requirements traceability — the chain from stakeholder need through system, software, and hardware requirements, supporting IEC 62304 §5.1.1 and ISO 13485 §7.3.3. */
12
+ @MemoIdentity { :>> shortDescription = "Shows stakeholder needs and their decomposition into system, software, and hardware requirements."; }
13
13
  attribute :>> purpose = "Communicate requirements decomposition and traceability.";
14
14
  ref :>> memoStakeholders = (regulatoryEngineer, systemArchitect);
15
15
  attribute :>> stage = WorkflowStageKind::requirements;
@@ -8,8 +8,8 @@ package memo_viewpoints_risk_risk_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint riskViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-RISK"; :>> label = "RiskViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows hazards, risks, controls, and assurance links."; }
12
11
  doc /* Default viewpoint derived from the risk layer for ISO 14971-style reasoning across hazard, hazardous situation, harm, control, and verification evidence. */
12
+ @MemoIdentity { :>> shortDescription = "Shows hazards, risks, controls, and assurance links."; }
13
13
  attribute :>> purpose = "Communicate safety risk chains and controls.";
14
14
  ref :>> memoStakeholders = (safetyEngineer);
15
15
  attribute :>> stage = WorkflowStageKind::risk;
@@ -8,8 +8,8 @@ package memo_viewpoints_software_software_viewpoint {
8
8
  private import memo_core_common::*;
9
9
  viewpoint softwareViewpoint : MemoViewpoint {
10
10
  @MemoIdentity { :>> providedId = "VP-SW"; :>> label = "SoftwareViewpoint"; }
11
- @MemoIdentity { :>> shortDescription = "Shows software systems, components, SOUP, and software interfaces."; }
12
11
  doc /* Default viewpoint derived from the software structure layer for IEC 62304 software architecture description — software item decomposition, SOUP inventory, and software-to-software interfaces, distinct from system-level logical decomposition. */
12
+ @MemoIdentity { :>> shortDescription = "Shows software systems, components, SOUP, and software interfaces."; }
13
13
  attribute :>> purpose = "Describe the software architecture for IEC 62304 design documentation.";
14
14
  ref :>> memoStakeholders = (softwareArchitect);
15
15
  attribute :>> stage = WorkflowStageKind::architecture;