@memoarchitect/ontology 0.16.2 → 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.
- package/README.md +1 -1
- package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +1 -1
- package/examples/gastric-bypass-variants/README.md +20 -0
- package/examples/gastric-bypass-variants/memo.identity.yaml +337 -0
- package/examples/gastric-bypass-variants/memo.package.yaml +5 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/NOTICE.md +7 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma.sysml +56 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_alimentary.sysml +1376 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_body_proper.sysml +45 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_cardiovascular_material_anatomical_entity.sysml +7 -0
- 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
- 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
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core.sysml +11 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_boundary_entity.sysml +10 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_cluster.sysml +45 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_set.sysml +30 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_space.sysml +60 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_structure.sysml +10 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_anatomical_surface.sysml +10 -0
- 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
- 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
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_blood_vessel.sysml +13 -0
- 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
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_cardinal_organ_part.sysml +10 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_cardinal_tissue_part.sysml +16 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_cell_part_cluster.sysml +10 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_developmental_structure.sysml +15 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_immaterial_anatomical_entity.sysml +10 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_material_anatomical_entity.sysml +27 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_nerve.sysml +11 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ.sysml +65 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_component.sysml +27 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_component_layer.sysml +54 -0
- 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
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_region.sysml +10 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_segment.sysml +46 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_organ_zone.sysml +34 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_physical_anatomical_entity.sysml +10 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_portion_of_tissue.sysml +106 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_core_postnatal_anatomical_structure.sysml +27 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_fascial.sysml +7 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_musculoskeletal_anatomical_structure.sysml +7 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_musculoskeletal_cardinal_organ_part.sysml +11 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_musculoskeletal_organ.sysml +7 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_nervous_anatomical_cluster.sysml +9 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_nervous_nerve.sysml +13 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_nervous_postnatal_anatomical_structure.sysml +8 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/gastric_bypass_variants_anatomy_fma_respiratory.sysml +14 -0
- package/examples/gastric-bypass-variants/memo_packages/gastric-bypass-variants-anatomy-fma/memo.package.yaml +8 -0
- package/examples/gastric-bypass-variants/model/catalog/gastric_bypass_variants.sysml +416 -0
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/viewpoint.sysml +8 -0
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/views/bypass_flows.sysml +53 -0
- package/examples/gastric-bypass-variants/model/methodology/project.sysml +26 -0
- package/examples/gpca-pump/model/catalog/gpca_operational.sysml +13 -20
- package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +1 -2
- package/examples/robot-cell-family/model/catalog/sos/chains.sysml +1 -2
- package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +1 -2
- package/extensions/aadl/memo.package.yaml +1 -1
- package/extensions/anatomy/LICENSES/CC-BY-4.0.txt +395 -0
- package/extensions/anatomy/NOTICE.md +20 -0
- package/extensions/anatomy/data/fma-index.json.gz +0 -0
- package/extensions/anatomy/memo.package.yaml +18 -0
- package/extensions/anatomy/src/anatomy_extension.sysml +9 -0
- package/extensions/anatomy/src/presets/memo_extension_anatomy_presets.sysml +12 -0
- package/extensions/anatomy/src/selector/memo_extension_anatomy_selector.sysml +17 -0
- package/extensions/anatomy/src/vocabulary/memo_extension_anatomy_vocabulary.sysml +115 -0
- package/extensions/clinical/memo.package.yaml +1 -1
- package/extensions/clinical/src/clinical_extension.sysml +3 -1
- package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +11 -5
- package/extensions/cloud/memo.package.yaml +1 -1
- package/extensions/container/memo.package.yaml +1 -1
- package/extensions/messaging/memo.package.yaml +1 -1
- package/extensions/ros/memo.package.yaml +1 -1
- package/memo.manifest.yaml +1 -0
- package/methodologies/default/memo.package.yaml +1 -1
- package/methodologies/gpca/memo.package.yaml +1 -1
- package/ontology/memo.package.yaml +1 -1
- package/package.json +1 -1
- package/profile/memo.package.yaml +1 -1
- package/src/architecture/functional/functions/memo_functions.sysml +10 -5
- package/src/architecture/operational/activities/memo_activities.sysml +20 -1
- package/src/architecture/operational/context/actors/memo_actors.sysml +3 -1
- package/src/architecture/operational/memo_architecture_operational.sysml +1 -0
- package/src/architecture/operational/rollups/memo_rollups.sysml +109 -0
- package/src/architecture/operational/scenarios/memo_scenarios.sysml +16 -5
- package/src/architecture/operational/use_cases/memo_use_cases.sysml +11 -0
- package/src/architecture/operational/workflows/memo_workflows.sysml +62 -27
- package/src/assurance/requirements/needs/memo_needs.sysml +8 -0
- package/src/core/common/memo_common.sysml +19 -0
- package/src/core/relationships/memo_workspace_membership.sysml +1 -0
- package/src/core/stdlib/analysis/analysis.sysml +11 -0
- package/src/core/stdlib/functions/functions.sysml +2 -0
- package/src/core/stdlib/money/money.sysml +53 -0
- package/src/core/stdlib/quantities/quantities.sysml +2 -0
- package/src/memo_namespaces.sysml +16 -0
- package/src/methodology/profiles/memo_profiles.sysml +10 -9
- package/src/methodology/workflow/memo_workflow.sysml +16 -6
- package/src/rules/ontology/ontology_invariants.sysml +116 -0
- package/src/viewpoints/definitions/memo_view_layout.sysml +9 -0
- package/stage1/opensysml-14b923f7fe63f4062aa23208.json.gz +0 -0
- package/stage1/syside-f7095495f0f20200e0c34176.ids.gz +0 -0
- package/stage1/syside-f7095495f0f20200e0c34176.json.gz +0 -0
- package/stage1/opensysml-23e5a5f26f7b25370edc4f26.json.gz +0 -0
- package/stage1/syside-27179e19589cf7a97f4dd15a.ids.gz +0 -0
- package/stage1/syside-27179e19589cf7a97f4dd15a.json.gz +0 -0
- package/stage1/syside-67f92dc96ba75cd05b5c8d13.ids.gz +0 -0
- package/stage1/syside-67f92dc96ba75cd05b5c8d13.json.gz +0 -0
- package/stage1/syside-eb527547500a60b508b4578c.ids.gz +0 -0
- package/stage1/syside-eb527547500a60b508b4578c.json.gz +0 -0
|
@@ -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;
|
|
@@ -456,6 +462,8 @@ package memo_namespace_core_stdlib {
|
|
|
456
462
|
alias functions for memo_namespace_core_stdlib_functions;
|
|
457
463
|
alias scalars for memo_namespace_core_stdlib_scalars;
|
|
458
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;
|
|
459
467
|
alias time for memo_namespace_core_stdlib_time;
|
|
460
468
|
}
|
|
461
469
|
|
|
@@ -614,6 +622,14 @@ package memo_namespace_core_stdlib_quantities {
|
|
|
614
622
|
public import memo_core_stdlib_quantities::*;
|
|
615
623
|
}
|
|
616
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
|
+
|
|
617
633
|
package memo_namespace_core_stdlib_time {
|
|
618
634
|
public import memo_core_stdlib_time::*;
|
|
619
635
|
}
|
|
@@ -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.
|
|
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.
|
|
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
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
//
|
|
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)
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
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
|
}
|
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
// (`predicateExpression`) evaluated by the external constraint engine.
|
|
4
4
|
// Structural invariants (endpoint existence, cycle freedom) are expressed over
|
|
5
5
|
// the typed relations introduced in 0.5 — typed references make them checkable.
|
|
6
|
+
//
|
|
7
|
+
// Operational levels (CR-ONT-093..101). A use case is at the level of its subject: an
|
|
8
|
+
// `OperationalEntity` is level 1 (clinical, no product, no number), a `System` or `SystemOfSystems`
|
|
9
|
+
// is level 2 (one variant of a platform, which carries every number). The level of a step is the
|
|
10
|
+
// level of the use case its workflow `realizesUseCase`. The workflow is reached from the step by
|
|
11
|
+
// `composes` (a step nested in a scenario) or through the scenario that `performs` it (a step
|
|
12
|
+
// declared once and used in several); a step outside any workflow has no level and is judged by
|
|
13
|
+
// no level rule.
|
|
14
|
+
// Nothing here is a kind list: each rule reads the subject's type and the `performs` and
|
|
15
|
+
// `realizes` edges the builder already produces. Rule 6 of the plan, that every variant of a `TradeStudy` refines every step compared (101),
|
|
16
|
+
// reads the study's `hasSubject` edges: its subject is the alternatives it analyses.
|
|
17
|
+
// The one-currency rule (098) counts the project's `CurrencyUnit` declarations: a unit declared at
|
|
18
|
+
// package level is built as a model element, as ISQ and SI declare theirs.
|
|
6
19
|
package memo_rules_ontology {
|
|
7
20
|
private import ScalarValues::*;
|
|
8
21
|
|
|
@@ -672,5 +685,108 @@ package memo_rules_ontology {
|
|
|
672
685
|
attribute rationaleText = "Every view traces to at least one viewpoint (ISO/IEC/IEEE 42010): the viewpoint says what the view is for and who reads it. A view with none cannot be filed under a viewpoint, so Architect lists it as uncategorised.";
|
|
673
686
|
attribute predicateExpression = "attributes.viewpointDefinition != ''";
|
|
674
687
|
constraint { true }
|
|
688
|
+
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
// ─── Operational levels (see the header) ─────────────────────────────
|
|
692
|
+
|
|
693
|
+
constraint def UseCaseSubjectIsAtALevelRule :> MemoConsistencyRule {
|
|
694
|
+
@MemoIdentity { :>> providedId = "CR-ONT-093"; }
|
|
695
|
+
attribute tailoring = RuleTailoringKind::methodology;
|
|
696
|
+
attribute domain = RuleDomainKind::modelling;
|
|
697
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
698
|
+
attribute appliesTo = "UseCase";
|
|
699
|
+
attribute severity = RuleSeverityKind::error;
|
|
700
|
+
attribute rationaleText = "A use case is at the level of its subject: an operational entity (the care team, the setting) is level 1, a system or a system of systems is level 2. A subject of any other type is at neither level, so the use case cannot say whether it may name a product or carry a number.";
|
|
701
|
+
attribute predicateExpression = "downstream(hasSubject)->forAll(conformsTo(OperationalEntity) or conformsTo(System) or conformsTo(SystemOfSystems))";
|
|
702
|
+
constraint { true }
|
|
703
|
+
}
|
|
704
|
+
constraint def LevelOneStepCarriesNoNumberRule :> MemoConsistencyRule {
|
|
705
|
+
@MemoIdentity { :>> providedId = "CR-ONT-094"; }
|
|
706
|
+
attribute tailoring = RuleTailoringKind::invariant;
|
|
707
|
+
attribute domain = RuleDomainKind::modelling;
|
|
708
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
709
|
+
attribute appliesTo = "OperativeAction";
|
|
710
|
+
attribute severity = RuleSeverityKind::error;
|
|
711
|
+
attribute rationaleText = "A step of a level-1 workflow is the shared baseline of every variant and carries no planned number: a gastric pouch takes a different time and succeeds at a different rate on each platform, so a number on the step would belong to no variant. Time and success are set on the level-2 activity that refines it.";
|
|
712
|
+
attribute predicateExpression = "(attributes.expectedDuration == '' and attributes.plannedSuccessProbability == '') or not((upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity)))) or upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity))))) or upstream(composes)->exists(upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity))))))))";
|
|
713
|
+
constraint { true }
|
|
714
|
+
}
|
|
715
|
+
constraint def RealizerOfLevelOneStepIsLevelTwoRule :> MemoConsistencyRule {
|
|
716
|
+
@MemoIdentity { :>> providedId = "CR-ONT-095"; }
|
|
717
|
+
attribute tailoring = RuleTailoringKind::methodology;
|
|
718
|
+
attribute domain = RuleDomainKind::modelling;
|
|
719
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
720
|
+
attribute appliesTo = "OperativeAction";
|
|
721
|
+
attribute severity = RuleSeverityKind::error;
|
|
722
|
+
attribute rationaleText = "Whatever refines a level-1 step is itself at level 2: a level-1 step refined by another level-1 step, or by an activity of no workflow at all, skips the level that names the variant.";
|
|
723
|
+
attribute predicateExpression = "not(downstream(realizes)->exists((upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity)))) or upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity))))) or upstream(composes)->exists(upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity))))))))) or (upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(System) or conformsTo(SystemOfSystems)))) or upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(System) or conformsTo(SystemOfSystems))))) or upstream(composes)->exists(upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(System) or conformsTo(SystemOfSystems)))))))";
|
|
724
|
+
constraint { true }
|
|
725
|
+
}
|
|
726
|
+
constraint def InternalSystemActivityPerformsAFunctionRule :> MemoConsistencyRule {
|
|
727
|
+
@MemoIdentity { :>> providedId = "CR-ONT-096"; }
|
|
728
|
+
attribute tailoring = RuleTailoringKind::methodology;
|
|
729
|
+
attribute domain = RuleDomainKind::modelling;
|
|
730
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
731
|
+
attribute appliesTo = "OperativeAction";
|
|
732
|
+
attribute severity = RuleSeverityKind::warning;
|
|
733
|
+
attribute rationaleText = "An activity that a system built by this organisation performs reaches level 3 by performing the system function that carries it out. An external system, a competitor's or a legacy platform, has no level 3 here and is not asked.";
|
|
734
|
+
attribute predicateExpression = "not(upstream(performs)->exists((conformsTo(System) or conformsTo(SystemOfSystems)) and attributes.origin != 'SystemOriginKind::external')) or downstream(performs)->exists(conformsTo(SystemFunction))";
|
|
735
|
+
constraint { true }
|
|
736
|
+
}
|
|
737
|
+
constraint def FunctionIsNotPerformedFromLevelOneRule :> MemoConsistencyRule {
|
|
738
|
+
@MemoIdentity { :>> providedId = "CR-ONT-097"; }
|
|
739
|
+
attribute tailoring = RuleTailoringKind::methodology;
|
|
740
|
+
attribute domain = RuleDomainKind::modelling;
|
|
741
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
742
|
+
attribute appliesTo = "SystemFunction";
|
|
743
|
+
attribute severity = RuleSeverityKind::error;
|
|
744
|
+
attribute rationaleText = "A system function is performed from a level-2 activity or from a step of a functional flow, never from a level-1 step: level 1 names no product, and a function is what a product does.";
|
|
745
|
+
attribute predicateExpression = "upstream(performs)->forAll(not(conformsTo(OperativeAction) and (upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity)))) or upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity))))) or upstream(composes)->exists(upstream(performs)->exists(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity)))))))))";
|
|
746
|
+
constraint { true }
|
|
747
|
+
}
|
|
748
|
+
constraint def ProjectDeclaresOneCurrencyRule :> MemoConsistencyRule {
|
|
749
|
+
@MemoIdentity { :>> providedId = "CR-ONT-098"; }
|
|
750
|
+
attribute tailoring = RuleTailoringKind::invariant;
|
|
751
|
+
attribute domain = RuleDomainKind::modelling;
|
|
752
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
753
|
+
attribute appliesTo = "Model";
|
|
754
|
+
attribute severity = RuleSeverityKind::error;
|
|
755
|
+
attribute rationaleText = "A project states every amount in one currency, declared once as a currency unit. No conversion between currencies is modelled, so two currency units make every sum across them meaningless.";
|
|
756
|
+
attribute predicateExpression = "allOfKind('CurrencyUnit')->size() <= 1";
|
|
757
|
+
constraint { true }
|
|
758
|
+
}
|
|
759
|
+
constraint def LevelOneScenarioCarriesNoLikelihoodRule :> MemoConsistencyRule {
|
|
760
|
+
@MemoIdentity { :>> providedId = "CR-ONT-099"; }
|
|
761
|
+
attribute tailoring = RuleTailoringKind::invariant;
|
|
762
|
+
attribute domain = RuleDomainKind::modelling;
|
|
763
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
764
|
+
attribute appliesTo = "OperativeScenario";
|
|
765
|
+
attribute severity = RuleSeverityKind::error;
|
|
766
|
+
attribute rationaleText = "How likely a path is differs by platform (a robot and a laparoscopic tower do not convert to open at the same rate), so a scenario of a level-1 workflow carries no likelihood; it is set on the level-2 scenario of each variant.";
|
|
767
|
+
attribute predicateExpression = "attributes.likelihood == '' or not(upstream(composes)->exists(conformsTo(OperationalWorkflow) and downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity)))))";
|
|
768
|
+
constraint { true }
|
|
769
|
+
}
|
|
770
|
+
constraint def LevelOneWorkflowCarriesNoCostRule :> MemoConsistencyRule {
|
|
771
|
+
@MemoIdentity { :>> providedId = "CR-ONT-100"; }
|
|
772
|
+
attribute tailoring = RuleTailoringKind::invariant;
|
|
773
|
+
attribute domain = RuleDomainKind::modelling;
|
|
774
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
775
|
+
attribute appliesTo = "OperationalWorkflow";
|
|
776
|
+
attribute severity = RuleSeverityKind::error;
|
|
777
|
+
attribute rationaleText = "What a procedure costs apart from its activities (set-up, capital per case) depends on the platform, so a level-1 workflow carries no per-procedure cost; it is set on the workflow of each level-2 variant.";
|
|
778
|
+
attribute predicateExpression = "attributes.perProcedureCost == '' or not(downstream(realizesUseCase)->exists(downstream(hasSubject)->exists(conformsTo(OperationalEntity))))";
|
|
779
|
+
constraint { true }
|
|
780
|
+
}
|
|
781
|
+
constraint def TradeStudyVariantRefinesEveryStepRule :> MemoConsistencyRule {
|
|
782
|
+
@MemoIdentity { :>> providedId = "CR-ONT-101"; }
|
|
783
|
+
attribute tailoring = RuleTailoringKind::methodology;
|
|
784
|
+
attribute domain = RuleDomainKind::modelling;
|
|
785
|
+
attribute obligation = RuleObligationKind::recommended;
|
|
786
|
+
attribute appliesTo = "OperationalWorkflow";
|
|
787
|
+
attribute severity = RuleSeverityKind::error;
|
|
788
|
+
attribute rationaleText = "Every alternative of a trade study refines every level-1 step that any alternative of it refines, whether its activities are nested in its scenarios or performed by them. An alternative with a step missing reads as zero time and zero cost for it, so the study would prefer it for doing less.";
|
|
789
|
+
attribute predicateExpression = "not(upstream(hasSubject)->exists(attributes.usageType == 'TradeStudy')) or upstream(hasSubject)->select(attributes.usageType == 'TradeStudy')->forAll(downstream(hasSubject)->forAll(downstream(composes)->forAll(downstream(realizes)->forAll(upstream(realizes)->exists(upstream(composes)->exists(id == subject.id) or upstream(performs)->exists(upstream(composes)->exists(id == subject.id))))) and downstream(composes)->forAll(downstream(performs)->forAll(downstream(realizes)->forAll(upstream(realizes)->exists(upstream(composes)->exists(id == subject.id) or upstream(performs)->exists(upstream(composes)->exists(id == subject.id))))))))";
|
|
790
|
+
constraint { true }
|
|
675
791
|
}
|
|
676
792
|
}
|
|
@@ -66,6 +66,15 @@ package memo_viewpoints_definitions_layout {
|
|
|
66
66
|
attribute layoutSeed : Real[0..1];
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
/** Renderer namespaces and forward-compatible presentation fields only.
|
|
70
|
+
* Standard geometry remains in the typed MemoLayout* records. The JSON
|
|
71
|
+
* envelope is versioned by its writer; this string creates no model links.
|
|
72
|
+
*/
|
|
73
|
+
metadata def MemoLayoutExtension {
|
|
74
|
+
:> annotatedElement : SysML::ViewUsage;
|
|
75
|
+
attribute payload : String;
|
|
76
|
+
}
|
|
77
|
+
|
|
69
78
|
/**
|
|
70
79
|
* One box. `x` and `y` are in the frame of `parentElement` (the box it is
|
|
71
80
|
* nested in), or on the board when there is none; the frame is recorded
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|