@memoarchitect/ontology 0.10.9 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/examples/gpca-pump/memo.identity.yaml +12 -6
  3. package/examples/gpca-pump/model/catalog/gpca_context.sysml +7 -4
  4. package/examples/gpca-pump/model/catalog/gpca_requirements.sysml +100 -100
  5. package/examples/nested-architecture-dsm/memo.identity.yaml +181 -0
  6. package/examples/nested-architecture-dsm/model/catalog/architecture/operational/context.sysml +34 -0
  7. package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/needs.sysml +5 -2
  8. package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/requirements.sysml +7 -7
  9. package/examples/nested-architecture-dsm/model/catalog/project.sysml +1 -0
  10. package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +3 -0
  11. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/requirements_view.sysml +3 -3
  12. package/examples/ui-screen-regions/memo.identity.yaml +205 -0
  13. package/examples/ui-screen-regions/model/catalog/assurance/requirements/requirements.sysml +12 -12
  14. package/extensions/aadl/memo.package.yaml +1 -1
  15. package/extensions/cloud/memo.package.yaml +1 -1
  16. package/extensions/container/memo.package.yaml +1 -1
  17. package/extensions/messaging/memo.package.yaml +1 -1
  18. package/extensions/ros/memo.package.yaml +1 -1
  19. package/methodologies/default/memo.package.yaml +1 -1
  20. package/methodologies/gpca/memo.package.yaml +1 -1
  21. package/ontology/memo.package.yaml +1 -1
  22. package/package.json +1 -1
  23. package/profile/memo.package.yaml +1 -1
  24. package/src/architecture/operational/scenarios/memo_scenarios.sysml +1 -2
  25. package/src/artifacts/templates/dhf/iec-60601/hrs.md +6 -6
  26. package/src/artifacts/templates/dhf/iec-62304/srs.md +10 -10
  27. package/src/artifacts/templates/dhf/system/syrs.md +6 -6
  28. package/src/assurance/cybersecurity/memo_cybersecurity.sysml +5 -1
  29. package/src/assurance/human_factors/memo_human_factors.sysml +0 -1
  30. package/src/assurance/requirements/memo_requirements.sysml +20 -16
  31. package/src/assurance/requirements/needs/memo_needs.sysml +33 -5
  32. package/src/assurance/safety_risk/memo_risk.sysml +39 -16
  33. package/src/assurance/verification_validation/memo_assurance.sysml +18 -0
  34. package/src/rules/closure/closure_rules.sysml +36 -2
  35. package/src/rules/crosslayer/cross_layer_rules.sysml +1 -1
  36. package/src/rules/ontology/ontology_invariants.sysml +13 -2
package/README.md CHANGED
@@ -23,7 +23,7 @@ pin an exact release; the package has no repository or runtime dependency on Mem
23
23
  Tools or Memo Architect.
24
24
 
25
25
  ```bash
26
- pnpm add @memoarchitect/ontology@0.8.24
26
+ pnpm add @memoarchitect/ontology@0.11.2
27
27
  ```
28
28
 
29
29
  > **Pre-1.0 notice:** ontology names, relationships, and package layout may
@@ -402,10 +402,10 @@ elements:
402
402
  shortId: "SFT-66"
403
403
  uuid: "6c31d521-06aa-5674-8188-22e57494d7b6"
404
404
  "memo_examples_gpca_pump_gpca_behavior_actions::AcquireSensorData":
405
- shortId: "ACT-1"
405
+ shortId: "FNC-17"
406
406
  uuid: "088f8731-cf6c-593b-8886-7b00d19302ba"
407
407
  "memo_examples_gpca_pump_gpca_behavior_actions::ActuatePumpMotor":
408
- shortId: "ACT-4"
408
+ shortId: "FNC-18"
409
409
  uuid: "f5b27094-dc12-5bca-a970-f7b126b73bbd"
410
410
  "memo_examples_gpca_pump_gpca_behavior_actions::AlarmSignal":
411
411
  shortId: "INT-2"
@@ -414,19 +414,19 @@ elements:
414
414
  shortId: "INT-5"
415
415
  uuid: "db282a7f-01d0-5f6e-b39f-efda0689eb84"
416
416
  "memo_examples_gpca_pump_gpca_behavior_actions::ComputeFlowCommand":
417
- shortId: "ACT-9"
417
+ shortId: "FNC-19"
418
418
  uuid: "1b1bbb05-8993-5e79-9f02-2e54022dcb44"
419
419
  "memo_examples_gpca_pump_gpca_behavior_actions::EnforceDoseLimits":
420
- shortId: "ACT-12"
420
+ shortId: "FNC-20"
421
421
  uuid: "4c7a83b9-4d80-5bce-ade6-6a40aac1e2a5"
422
422
  "memo_examples_gpca_pump_gpca_behavior_actions::EvaluateAlarmConditions":
423
- shortId: "ACT-14"
423
+ shortId: "FNC-21"
424
424
  uuid: "76c708ca-5fae-5848-91ff-cdb6eb6fcceb"
425
425
  "memo_examples_gpca_pump_gpca_behavior_actions::FlowCommand":
426
426
  shortId: "INT-56"
427
427
  uuid: "35dda700-09a1-58bd-9190-0085ba080166"
428
428
  "memo_examples_gpca_pump_gpca_behavior_actions::LogTherapyEvent":
429
- shortId: "ACT-18"
429
+ shortId: "FNC-22"
430
430
  uuid: "c049e2b5-53f0-5aa9-8094-7a03f652f98a"
431
431
  "memo_examples_gpca_pump_gpca_behavior_actions::SensorStatusVector":
432
432
  shortId: "INT-63"
@@ -755,6 +755,12 @@ elements:
755
755
  "memo_examples_gpca_pump_gpca_formal_behavior::topLevelContract":
756
756
  shortId: "CNT-4"
757
757
  uuid: "c9422b35-3d90-557d-ba13-b4990f83ab00"
758
+ "memo_examples_gpca_pump_gpca_interfaces::SensorDataInterface":
759
+ shortId: "DTX-1"
760
+ uuid: "b5216019-53f8-5eb3-aba0-f878fa323e7f"
761
+ "memo_examples_gpca_pump_gpca_interfaces::SensorInputPort":
762
+ shortId: "SNS-1"
763
+ uuid: "770eb05c-fff6-5d25-ae0e-18523dff9c85"
758
764
  "memo_examples_gpca_pump_gpca_interfaces::actuatorCommandInterface":
759
765
  shortId: "INT-1"
760
766
  uuid: "6a93cde9-649d-5c9f-9b89-d7a50834e07c"
@@ -101,7 +101,6 @@ package memo_examples_gpca_pump_gpca_context {
101
101
  @MemoIdentity { :>> providedId = "UE-001"; }
102
102
  attribute :>> name = "MisprogrammedInfusionParameters";
103
103
  attribute :>> errorCategory = UseErrorCategoryKind::actionCategory;
104
- attribute :>> taskReference = "OA-003: Program prescription";
105
104
  attribute :>> severity = SeverityKind::catastrophic;
106
105
  attribute :>> rootCauseType = "decimal-point / unit entry slip during prescription programming";
107
106
  attribute :>> description = "Clinician enters a basal rate or bolus volume an order of magnitude off (e.g. mg vs mL, misplaced decimal).";
@@ -111,7 +110,6 @@ package memo_examples_gpca_pump_gpca_context {
111
110
  @MemoIdentity { :>> providedId = "UE-002"; }
112
111
  attribute :>> name = "PCAByProxy";
113
112
  attribute :>> errorCategory = UseErrorCategoryKind::cognition;
114
- attribute :>> taskReference = "OA-005: Request patient bolus";
115
113
  attribute :>> severity = SeverityKind::catastrophic;
116
114
  attribute :>> rootCauseType = "family member or caregiver presses bolus button on behalf of a sedated patient";
117
115
  attribute :>> description = "Bolus doses requested by someone other than the patient defeat the inherent safety of patient-limited dosing.";
@@ -121,7 +119,6 @@ package memo_examples_gpca_pump_gpca_context {
121
119
  @MemoIdentity { :>> providedId = "UE-003"; }
122
120
  attribute :>> name = "WrongDrugOrConcentrationLoaded";
123
121
  attribute :>> errorCategory = UseErrorCategoryKind::cognition;
124
- attribute :>> taskReference = "OA-002: Load drug reservoir";
125
122
  attribute :>> severity = SeverityKind::catastrophic;
126
123
  attribute :>> rootCauseType = "reservoir containing wrong drug or concentration mounted without verification";
127
124
  attribute :>> description = "Loaded drug or concentration differs from the programmed prescription, so delivered dose differs from intended dose.";
@@ -131,10 +128,16 @@ package memo_examples_gpca_pump_gpca_context {
131
128
  @MemoIdentity { :>> providedId = "UE-004"; }
132
129
  attribute :>> name = "AlarmSilencedAndForgotten";
133
130
  attribute :>> errorCategory = UseErrorCategoryKind::memoryRecall;
134
- attribute :>> taskReference = "OA-006: Respond to alarm";
135
131
  attribute :>> severity = SeverityKind::serious;
136
132
  attribute :>> rootCauseType = "alarm silenced during high workload and the underlying condition never resolved";
137
133
  attribute :>> description = "Clinician silences an alarm and does not return to resolve the underlying condition (e.g. occlusion), interrupting therapy.";
138
134
  @MemoIdentity { :>> sourceReference = "CITE-004: GIP Hazard Analysis v1.0 (2009), §2.4.8 Use Hazards (attentional/memory failure)"; }
139
135
  }
136
+ // Which task each use error is committed during (IEC 62366-1). This was
137
+ // a `taskReference` string naming the task by id and title; nothing could
138
+ // follow it, and CommitsUseError is what the ontology declares for it.
139
+ connection : CommitsUseError connect task ::> oaProgram to useError ::> ueMisprogrammedRate;
140
+ connection : CommitsUseError connect task ::> oaRequestBolus to useError ::> ueBolusByProxy;
141
+ connection : CommitsUseError connect task ::> oaLoadReservoir to useError ::> ueWrongDrugLoaded;
142
+ connection : CommitsUseError connect task ::> oaRespondAlarm to useError ::> ueAlarmDisregard;
140
143
  }