@memoarchitect/ontology 0.17.1 → 0.19.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.
- package/README.md +1 -1
- package/examples/connected-patient-monitor/model/catalog/connected_patient_monitor.sysml +11 -18
- package/examples/connected-patient-monitor/model/catalog/viewpoints/logical/views/connected_patient_monitor_overview.sysml +1 -3
- package/examples/connected-patient-monitor/model/methodology/project.sysml +2 -6
- package/examples/embedded-infusion-pump/model/catalog/embedded_infusion_pump.sysml +35 -47
- package/examples/embedded-infusion-pump/model/catalog/viewpoints/logical/views/embedded_infusion_pump_overview.sysml +1 -3
- package/examples/embedded-infusion-pump/model/methodology/project.sysml +2 -6
- package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +24 -36
- package/examples/functional-logical-physical/model/catalog/viewpoints/logical/views/functional_logical_physical_overview.sysml +1 -3
- package/examples/functional-logical-physical/model/methodology/project.sysml +2 -6
- package/examples/gastric-bypass-variants/model/catalog/gastric_bypass_variants.sysml +5 -19
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/clinical_workflow/views/bypass_flow.sysml +1 -5
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/functional/views/bypass_flows.sysml +1 -5
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/views/bypass_flows.sysml +1 -5
- package/examples/gastric-bypass-variants/model/methodology/project.sysml +2 -6
- package/examples/gpca-pump/memo.identity.yaml +26 -0
- package/examples/gpca-pump/methodology/gpca_methodology.sysml +2 -4
- package/examples/gpca-pump/methodology/gpca_profiles.sysml +1 -10
- package/examples/gpca-pump/model/catalog/gpca_analysis.sysml +27 -30
- package/examples/gpca-pump/model/catalog/gpca_architecture.sysml +125 -136
- package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +1 -5
- package/examples/gpca-pump/model/catalog/gpca_behavior_modes.sysml +40 -44
- package/examples/gpca-pump/model/catalog/gpca_behavior_subsystems.sysml +36 -45
- package/examples/gpca-pump/model/catalog/gpca_context.sysml +14 -26
- package/examples/gpca-pump/model/catalog/gpca_cybersecurity.sysml +21 -29
- package/examples/gpca-pump/model/catalog/gpca_devices.sysml +4 -7
- package/examples/gpca-pump/model/catalog/gpca_formal_behavior.sysml +21 -28
- package/examples/gpca-pump/model/catalog/gpca_interfaces.sysml +14 -22
- package/examples/gpca-pump/model/catalog/gpca_operational.sysml +45 -55
- package/examples/gpca-pump/model/catalog/gpca_physical.sysml +7 -11
- package/examples/gpca-pump/model/catalog/gpca_requirements.sysml +211 -215
- package/examples/gpca-pump/model/catalog/gpca_risk.sysml +87 -106
- package/examples/gpca-pump/model/catalog/gpca_standards.sysml +44 -53
- package/examples/gpca-pump/model/catalog/gpca_system.sysml +15 -22
- package/examples/gpca-pump/model/catalog/gpca_trace.sysml +301 -322
- package/examples/gpca-pump/model/catalog/gpca_verification.sysml +38 -41
- package/examples/gpca-pump/model/catalog/viewpoints/context/views/context_system_context_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/cybersecurity_cybersecurity_view.sysml +2 -16
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_cyber_assessment_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_threat_model_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/functional/views/functional_function_allocation_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/functional/views/functional_function_browser_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/behavior_action_flow_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_device_interconnect_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_logical_architecture_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_mode_state_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_system_decomposition_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/operational/views/operational_scenario_sequence_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/operational/views/operational_use_case_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/physical/views/physical_physical_bom_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/requirements/views/requirements_requirements_trace_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_hazard_analysis_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_rmf_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/risk_fmea_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/risk_risk_chain_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/shared/views/document_architecture_description_view.sysml +3 -10
- package/examples/gpca-pump/model/catalog/viewpoints/shared/views/document_dhf_index_view.sysml +3 -10
- package/examples/gpca-pump/model/catalog/viewpoints/software/views/document_sdd_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/software/views/software_software_architecture_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/usability/views/document_usability_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/verification/views/document_vv_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/verification/views/verification_verification_coverage_view.sysml +2 -15
- package/examples/gpca-pump/model/methodology/project.sysml +1 -4
- package/examples/ivd-laboratory-system/model/catalog/ivd_laboratory_system.sysml +10 -19
- package/examples/ivd-laboratory-system/model/catalog/viewpoints/logical/views/ivd_laboratory_system_overview.sysml +1 -3
- package/examples/ivd-laboratory-system/model/methodology/project.sysml +2 -6
- package/examples/manual-surgical-instrument/model/catalog/manual_surgical_instrument.sysml +3 -8
- package/examples/manual-surgical-instrument/model/catalog/viewpoints/logical/views/manual_surgical_instrument_overview.sysml +1 -3
- package/examples/manual-surgical-instrument/model/methodology/project.sysml +2 -6
- package/examples/multidimensional-layers/model/catalog/multidimensional_layers.sysml +10 -20
- package/examples/multidimensional-layers/model/catalog/viewpoints/logical/views/multidimensional_layers_overview.sysml +1 -3
- package/examples/multidimensional-layers/model/methodology/project.sysml +2 -6
- package/examples/nested-architecture-dsm/README.md +5 -5
- package/examples/nested-architecture-dsm/model/catalog/architecture/functional/functions.sysml +19 -24
- package/examples/nested-architecture-dsm/model/catalog/architecture/logical/structure.sysml +19 -24
- package/examples/nested-architecture-dsm/model/catalog/architecture/operational/context.sysml +3 -7
- package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/needs.sysml +20 -24
- package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/requirements.sysml +15 -19
- package/examples/nested-architecture-dsm/model/catalog/assurance/verification_validation/verification_validation.sysml +25 -29
- package/examples/nested-architecture-dsm/model/catalog/traces.sysml +1 -2
- package/examples/nested-architecture-dsm/model/methodology/project.sysml +2 -6
- package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +18 -27
- package/examples/reusable-instrument/model/catalog/viewpoints/logical/views/reusable_instrument_overview.sysml +1 -3
- package/examples/reusable-instrument/model/methodology/project.sysml +2 -6
- package/examples/robot-cell-family/model/catalog/shared/shared.sysml +1 -6
- package/examples/robot-cell-family/model/catalog/sos/chains.sysml +2 -7
- package/examples/robot-cell-family/model/catalog/sos/icds.sysml +1 -4
- package/examples/robot-cell-family/model/catalog/sos/sos.sysml +1 -3
- package/examples/robot-cell-family/model/catalog/sos/use_cases.sysml +1 -4
- package/examples/robot-cell-family/model/catalog/systems/manipulation/manipulation_system.sysml +4 -9
- package/examples/robot-cell-family/model/catalog/systems/navigation/navigation_system.sysml +4 -9
- package/examples/robot-cell-family/model/catalog/systems/perception/perception_system.sysml +4 -9
- package/examples/robot-cell-family/model/methodology/project.sysml +2 -6
- package/examples/robot-platform/model/platform.sysml +1 -3
- package/examples/ros-mobile-robot/model/catalog/ros_mobile_robot.sysml +43 -56
- package/examples/ros-mobile-robot/model/catalog/viewpoints/logical/views/ros_mobile_robot_overview.sysml +1 -3
- package/examples/ros-mobile-robot/model/methodology/project.sysml +2 -6
- package/examples/software-only-medical-device/model/catalog/software_only_medical_device.sysml +16 -26
- package/examples/software-only-medical-device/model/catalog/viewpoints/logical/views/software_only_medical_device_overview.sysml +1 -3
- package/examples/software-only-medical-device/model/methodology/project.sysml +2 -6
- package/examples/surgical-closure-workflow/memo.identity.yaml +1 -0
- package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +32 -43
- package/examples/surgical-closure-workflow/model/catalog/viewpoints/logical/views/surgical_closure_workflow_overview.sysml +1 -3
- package/examples/surgical-closure-workflow/model/methodology/project.sysml +2 -6
- package/examples/surgical-robot/model/catalog/surgical_robot.sysml +9 -16
- package/examples/surgical-robot/model/catalog/viewpoints/logical/views/surgical_robot_overview.sysml +1 -3
- package/examples/surgical-robot/model/methodology/project.sysml +2 -6
- package/examples/sysml-diagram-samples/model/catalog/samples/action_flow_view.sysml +7 -17
- package/examples/sysml-diagram-samples/model/catalog/samples/browser_view.sysml +8 -16
- package/examples/sysml-diagram-samples/model/catalog/samples/context_view.sysml +4 -12
- package/examples/sysml-diagram-samples/model/catalog/samples/drill_down_view.sysml +9 -15
- package/examples/sysml-diagram-samples/model/catalog/samples/functional_flow_view.sysml +11 -19
- package/examples/sysml-diagram-samples/model/catalog/samples/grid_view.sysml +4 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/interconnection_view.sysml +10 -20
- package/examples/sysml-diagram-samples/model/catalog/samples/operational_behaviour_view.sysml +3 -12
- package/examples/sysml-diagram-samples/model/catalog/samples/package_view.sysml +8 -15
- package/examples/sysml-diagram-samples/model/catalog/samples/requirements_view.sysml +15 -23
- package/examples/sysml-diagram-samples/model/catalog/samples/sequence_view.sysml +2 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/standard_activity_view.sysml +1 -6
- package/examples/sysml-diagram-samples/model/catalog/samples/state_transition_view.sysml +4 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/tree_view.sysml +7 -14
- package/examples/sysml-diagram-samples/model/catalog/samples/use_case_view.sysml +5 -12
- package/examples/sysml-diagram-samples/model/catalog/viewpoints/shared/views/diagram_samples.sysml +1 -25
- package/examples/sysml-diagram-samples/model/methodology/project.sysml +2 -6
- package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +43 -63
- package/examples/temperature-alarm/model/catalog/viewpoints/logical/views/temperature_alarm_overview.sysml +1 -3
- package/examples/temperature-alarm/model/methodology/project.sysml +2 -6
- package/examples/ui-screen-regions/memo.identity.yaml +6 -0
- package/examples/ui-screen-regions/model/catalog/architecture/functional/functions.sysml +10 -28
- package/examples/ui-screen-regions/model/catalog/architecture/implementation/ui.sysml +14 -36
- package/examples/ui-screen-regions/model/catalog/artifacts/assets/catalog.sysml +4 -19
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/comments.sysml +4 -19
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/notes.sysml +2 -15
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/rationales.sysml +2 -15
- package/examples/ui-screen-regions/model/catalog/assurance/human_factors/human_factors.sysml +8 -25
- package/examples/ui-screen-regions/model/catalog/assurance/requirements/needs.sysml +3 -15
- package/examples/ui-screen-regions/model/catalog/assurance/requirements/requirements.sysml +25 -37
- package/examples/ui-screen-regions/model/catalog/assurance/safety_risk/risk.sysml +31 -48
- package/examples/ui-screen-regions/model/catalog/assurance/verification_validation/verification_validation.sysml +7 -19
- package/examples/ui-screen-regions/model/catalog/traces.sysml +53 -64
- package/examples/ui-screen-regions/model/catalog/viewpoints/functional/views/ui_functional_tree.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/requirements/views/ui_requirements_trace.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/risk/views/ui_risk_chain.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/main_screen_layout.sysml +1 -15
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/settings_screen_layout.sysml +1 -15
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/ui_region_trace.sysml +1 -15
- package/examples/ui-screen-regions/model/methodology/project.sysml +1 -5
- package/extensions/README.md +2 -2
- package/extensions/aadl/memo.package.yaml +1 -1
- package/extensions/aadl/src/correspondence/memo_aadl_correspondence.sysml +2 -2
- package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +9 -13
- package/extensions/anatomy/memo.package.yaml +1 -1
- package/extensions/clinical/memo.package.yaml +1 -1
- package/extensions/cloud/memo.package.yaml +1 -1
- package/extensions/cloud/src/cloud_extension.sysml +2 -4
- package/extensions/container/memo.package.yaml +1 -1
- package/extensions/container/src/container_extension.sysml +2 -5
- package/extensions/messaging/memo.package.yaml +1 -1
- package/extensions/messaging/src/messaging_extension.sysml +4 -5
- package/extensions/ros/memo.package.yaml +1 -1
- package/extensions/ros/src/ros_extension.sysml +5 -10
- 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/behavior/memo_behavior.sysml +15 -27
- package/src/architecture/functional/functions/memo_functions.sysml +31 -44
- package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +1 -1
- package/src/architecture/implementation/hardware/electrical/memo_hardware_electrical.sysml +3 -3
- package/src/architecture/implementation/hardware/fluidic/memo_hardware_fluidic.sysml +3 -2
- package/src/architecture/implementation/hardware/mechanical/memo_hardware_mechanical.sysml +2 -2
- package/src/architecture/implementation/hardware/optical/memo_hardware_optical.sysml +2 -2
- package/src/architecture/implementation/hardware/sensing/memo_hardware_sensing.sysml +2 -2
- package/src/architecture/implementation/hardware/structure/memo_hardware_structure.sysml +5 -4
- package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +17 -20
- package/src/architecture/implementation/software/structure/memo_software_structure.sysml +2 -2
- package/src/architecture/implementation/ui/memo_ui.sysml +33 -43
- package/src/architecture/logical/interfaces/memo_interfaces.sysml +21 -27
- package/src/architecture/logical/structure/memo_logical_structure.sysml +15 -18
- package/src/architecture/operational/activities/memo_activities.sysml +2 -2
- package/src/architecture/operational/context/actors/memo_actors.sysml +12 -10
- package/src/architecture/operational/context/stakeholders/memo_stakeholders.sysml +1 -1
- package/src/architecture/operational/context/use_context/memo_use_context.sysml +9 -13
- package/src/architecture/operational/rollups/memo_rollups.sysml +5 -4
- package/src/architecture/operational/scenarios/memo_scenarios.sysml +5 -6
- package/src/architecture/operational/structure/memo_operational.sysml +3 -5
- package/src/architecture/operational/use_cases/memo_use_cases.sysml +18 -23
- package/src/architecture/operational/workflows/memo_workflows.sysml +4 -7
- package/src/architecture/realization/deployment/memo_deployment.sysml +18 -24
- package/src/architecture/realization/physical/memo_physical_architecture.sysml +16 -19
- package/src/artifacts/configuration_management/memo_configuration_management.sysml +30 -22
- package/src/artifacts/standards/cfr_21_820.sysml +0 -1
- package/src/artifacts/standards/fda_cybersecurity_2023.sysml +2 -5
- package/src/artifacts/standards/iec_60601_1.sysml +0 -1
- package/src/artifacts/standards/iec_60601_1_2.sysml +0 -1
- package/src/artifacts/standards/iec_60812.sysml +0 -1
- package/src/artifacts/standards/iec_62304.sysml +0 -1
- package/src/artifacts/standards/iec_62366_1.sysml +0 -1
- package/src/artifacts/standards/iec_81001_5_1.sysml +1 -2
- package/src/artifacts/standards/iso_13485.sysml +0 -1
- package/src/artifacts/standards/iso_14971.sysml +0 -1
- package/src/artifacts/standards/iso_iec_ieee_42010.sysml +0 -1
- package/src/artifacts/standards/memo_artifacts_standards_traceability.sysml +2 -0
- package/src/assurance/cybersecurity/memo_cybersecurity.sysml +7 -2
- package/src/assurance/human_factors/memo_human_factors.sysml +9 -6
- package/src/assurance/requirements/memo_requirements.sysml +6 -11
- package/src/assurance/requirements/needs/memo_needs.sysml +4 -5
- package/src/assurance/safety_risk/analysis/memo_fmea.sysml +1 -0
- package/src/assurance/safety_risk/memo_risk.sysml +19 -22
- package/src/assurance/verification_validation/memo_assurance.sysml +14 -18
- package/src/core/annotations/memo_annotations.sysml +2 -2
- package/src/core/common/memo_common.sysml +40 -56
- package/src/core/dimensions/dimensions.sysml +9 -12
- package/src/core/enumerations/memo_enumerations.sysml +6 -12
- package/src/core/methodology_scope/methodology_scope.sysml +3 -6
- package/src/core/relationships/memo_relationships.sysml +54 -85
- package/src/memo_namespaces.sysml +3 -0
- package/src/methodology/archetypes/memo_archetypes.sysml +0 -1
- package/src/methodology/core/memo_core.sysml +12 -12
- package/src/methodology/profiles/memo_profiles.sysml +9 -10
- package/src/methodology/workflow/memo_workflow.sysml +7 -8
- package/src/rules/closure/closure_rules.sysml +7 -9
- package/src/rules/crosslayer/cross_layer_rules.sysml +0 -1
- package/src/rules/ontology/ontology_invariants.sysml +63 -95
- package/src/rules/quantitative/quantitative_rules.sysml +0 -1
- package/src/viewpoints/catalog/memo_viewpoint_catalog.sysml +5 -6
- package/src/viewpoints/clinical/clinical_viewpoint.sysml +0 -1
- package/src/viewpoints/clinical/views/clinical_evidence_view/clinical_evidence_view.sysml +8 -8
- package/src/viewpoints/clinical_workflow/clinical_workflow_viewpoint.sysml +0 -1
- package/src/viewpoints/context/context_viewpoint.sysml +0 -1
- package/src/viewpoints/context/views/system_context_view/system_context_view.sysml +19 -20
- package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +0 -1
- package/src/viewpoints/cybersecurity/views/cybersecurity_assessment_view/cybersecurity_assessment_view.sysml +8 -8
- package/src/viewpoints/cybersecurity/views/threat_model_view/threat_model_view.sysml +8 -8
- package/src/viewpoints/definitions/memo_view_layout.sysml +26 -4
- package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +8 -12
- package/src/viewpoints/functional/functional_viewpoint.sysml +0 -1
- package/src/viewpoints/functional/views/function_allocation_view/function_allocation_view.sysml +19 -20
- package/src/viewpoints/functional/views/system_functional_tree_view/system_functional_tree_view.sysml +19 -20
- package/src/viewpoints/logical/logical_viewpoint.sysml +0 -1
- package/src/viewpoints/logical/views/logical_architecture_view/logical_architecture_view.sysml +19 -20
- package/src/viewpoints/operational/operational_viewpoint.sysml +0 -1
- package/src/viewpoints/operational/views/use_case_view/use_case_view.sysml +19 -20
- package/src/viewpoints/physical/physical_viewpoint.sysml +0 -1
- package/src/viewpoints/physical/views/network_topology_view/network_topology_view.sysml +19 -20
- package/src/viewpoints/physical/views/physical_bom_view/physical_bom_view.sysml +19 -20
- package/src/viewpoints/rendering/memo_rendering.sysml +5 -8
- package/src/viewpoints/requirements/requirements_viewpoint.sysml +0 -1
- package/src/viewpoints/requirements/views/requirements_traceability_view/requirements_traceability_view.sysml +19 -20
- package/src/viewpoints/risk/risk_viewpoint.sysml +0 -1
- package/src/viewpoints/risk/views/risk_chain_view/risk_chain_view.sysml +20 -21
- package/src/viewpoints/software/software_viewpoint.sysml +0 -1
- package/src/viewpoints/software/views/software_architecture_view/software_architecture_view.sysml +19 -20
- package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +7 -16
- package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +0 -1
- package/src/viewpoints/ui_layout/views/screen_layout_view/screen_layout_view.sysml +0 -1
- package/src/viewpoints/usability/usability_viewpoint.sysml +0 -1
- package/src/viewpoints/usability/views/usability_engineering_view/usability_engineering_view.sysml +8 -8
- package/src/viewpoints/verification/verification_viewpoint.sysml +0 -1
- package/src/viewpoints/verification/views/verification_coverage_view/verification_coverage_view.sysml +19 -20
- package/stage1/opensysml-2902fc96d9371a808836d5f2.json.gz +0 -0
- package/stage1/syside-4582d53a6eb0fc817277b4d3.ids.gz +0 -0
- package/stage1/syside-4582d53a6eb0fc817277b4d3.json.gz +0 -0
- package/templates/default/model/catalog/assurance/requirements.sysml +1 -1
- package/stage1/opensysml-78b939a8e298313dd51f9813.json.gz +0 -0
- package/stage1/syside-d48ff8bfaf540531526ec21a.ids.gz +0 -0
- package/stage1/syside-d48ff8bfaf540531526ec21a.json.gz +0 -0
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
// Illustrative operational model of laparoscopic sleeve gastrectomy. This is
|
|
2
|
-
private import memo_assurance_verification_validation::*;
|
|
3
2
|
// a modelling example, not a clinical protocol. It shows a complete procedure
|
|
4
3
|
// as context → use case → workflow → scenarios → scenario-owned activities.
|
|
5
4
|
package memo_examples_surgical_closure_workflow {
|
|
5
|
+
private import memo::*;
|
|
6
6
|
private import ScalarValues::*;
|
|
7
7
|
private import ModelingMetadata::*;
|
|
8
8
|
|
|
9
|
-
private import memo_core_enumerations::*;
|
|
10
|
-
private import memo_core_relationships::*;
|
|
11
|
-
private import memo_architecture_operational_context_actors::*;
|
|
12
|
-
private import memo_architecture_operational_context_use_context::*;
|
|
13
|
-
private import memo_assurance_requirements_needs::*;
|
|
14
|
-
private import memo_architecture_operational_use_cases::*;
|
|
15
9
|
private import memo_extension_clinical::*;
|
|
16
|
-
private import memo_architecture_operational_activities::*;
|
|
17
|
-
private import memo_architecture_operational_workflows::*;
|
|
18
|
-
private import memo_architecture_operational_scenarios::*;
|
|
19
10
|
|
|
20
|
-
private import memo_core_common::*;
|
|
21
|
-
private import memo_core_common::MemoIdentity;
|
|
22
11
|
part def SurgicalClosureWorkflowSystem specializes memo_architecture_logical_structure::System {
|
|
23
12
|
attribute :>> systemBoundaryDescription = "The laparoscopic sleeve closure the workflow is performed with: the system this example models, with the software and hardware that realize it.";
|
|
24
13
|
}
|
|
@@ -39,7 +28,7 @@ package memo_examples_surgical_closure_workflow {
|
|
|
39
28
|
attribute :>> clinicalRole = "anaesthesia and physiologic monitoring";
|
|
40
29
|
}
|
|
41
30
|
part bariatricOr : UseContext {
|
|
42
|
-
@MemoIdentity { :>> providedId = "LSG-CTX-001"; :>> label = "
|
|
31
|
+
@MemoIdentity { :>> providedId = "LSG-CTX-001"; :>> label = "Bariatric operating room"; }
|
|
43
32
|
attribute :>> careSetting = "hospital operating room";
|
|
44
33
|
attribute :>> environment = "sterile laparoscopic operating field";
|
|
45
34
|
attribute :>> connectedUse = false;
|
|
@@ -47,11 +36,11 @@ package memo_examples_surgical_closure_workflow {
|
|
|
47
36
|
requirement needControlledGastricResection : Need {
|
|
48
37
|
attribute :>> needKind = NeedKind::clinicalUser;
|
|
49
38
|
@MemoIdentity { :>> providedId = "LSG-N-001"; }
|
|
50
|
-
|
|
39
|
+
doc /* The surgical team needs to perform gastric resection with controlled anatomy, haemostasis, and a checked staple line. */
|
|
51
40
|
}
|
|
52
41
|
use case ucPerformSleeveGastrectomy : ClinicalUseCase {
|
|
53
42
|
attribute :>> useCaseKind = UseCaseKind::care;
|
|
54
|
-
@MemoIdentity { :>> providedId = "LSG-UC-001"; :>> label = "
|
|
43
|
+
@MemoIdentity { :>> providedId = "LSG-UC-001"; :>> label = "Perform laparoscopic sleeve gastrectomy"; }
|
|
55
44
|
attribute :>> goalStatement = "Complete the planned laparoscopic sleeve gastrectomy and transfer the patient with the staple line assessed.";
|
|
56
45
|
attribute :>> trigger = "patient prepared and surgical time-out complete";
|
|
57
46
|
attribute :>> successOutcome = "gastric sleeve created, haemostasis and integrity assessed, patient handed over";
|
|
@@ -62,42 +51,42 @@ package memo_examples_surgical_closure_workflow {
|
|
|
62
51
|
actor scrubNurseActor = scrubNurse;
|
|
63
52
|
actor anesthetistActor = anesthetist;
|
|
64
53
|
}
|
|
65
|
-
connection : Motivates connect
|
|
54
|
+
connection : Motivates connect needControlledGastricResection to ucPerformSleeveGastrectomy;
|
|
66
55
|
|
|
67
56
|
// ── Procedure workflow ──────────────────────────────────────
|
|
68
|
-
action actTimeOutAndPosition : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-001"; :>> label = "
|
|
69
|
-
action actEstablishAccess : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-002"; :>> label = "
|
|
70
|
-
action actMobilizeStomach : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-003"; :>> label = "
|
|
57
|
+
action actTimeOutAndPosition : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-001"; :>> label = "Confirm time out and position"; } }
|
|
58
|
+
action actEstablishAccess : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-002"; :>> label = "Establish laparoscopic access"; } }
|
|
59
|
+
action actMobilizeStomach : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-003"; :>> label = "Mobilize stomach"; } }
|
|
71
60
|
action actSizeAndCreateSleeve : OperativeAction {
|
|
72
|
-
@MemoIdentity { :>> providedId = "LSG-ACT-004"; :>> label = "
|
|
61
|
+
@MemoIdentity { :>> providedId = "LSG-ACT-004"; :>> label = "Size and create sleeve"; } attribute :>> criticality = CriticalityKind::high;
|
|
73
62
|
|
|
74
63
|
action taskCreateStapleLine : OperativeAction {
|
|
75
64
|
attribute :>> criticality = CriticalityKind::high;
|
|
76
|
-
@MemoIdentity { :>> providedId = "LSG-TASK-001"; :>> label = "
|
|
65
|
+
@MemoIdentity { :>> providedId = "LSG-TASK-001"; :>> label = "Create and inspect staple line"; }
|
|
77
66
|
attribute :>> taskGoal = "create the planned sleeve and identify bleeding or integrity concerns before completion";
|
|
78
67
|
attribute :>> potentialHarm = "bleeding or staple-line complication not recognized before handover";
|
|
79
68
|
attribute :>> severityIfFailed = SeverityKind::serious;
|
|
80
69
|
|
|
81
|
-
action stConfirmAnatomy : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-001"; :>> label = "
|
|
82
|
-
action stCreateStapleLine : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-002"; :>> label = "
|
|
83
|
-
action stInspectBleeding : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-003"; :>> label = "
|
|
84
|
-
action stAssessIntegrity : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-004"; :>> label = "
|
|
70
|
+
action stConfirmAnatomy : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-001"; :>> label = "Confirm anatomy"; } }
|
|
71
|
+
action stCreateStapleLine : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-002"; :>> label = "Create staple line"; } }
|
|
72
|
+
action stInspectBleeding : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-003"; :>> label = "Inspect for bleeding"; } }
|
|
73
|
+
action stAssessIntegrity : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ST-004"; :>> label = "Assess staple line integrity"; } }
|
|
85
74
|
first stConfirmAnatomy then stCreateStapleLine;
|
|
86
75
|
first stCreateStapleLine then stInspectBleeding;
|
|
87
76
|
first stInspectBleeding then stAssessIntegrity;
|
|
88
77
|
}
|
|
89
78
|
}
|
|
90
|
-
action actAssessStapleLine : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-005"; :>> label = "
|
|
91
|
-
action actExtractSpecimenAndClose : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-006"; :>> label = "
|
|
92
|
-
action actHandover : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-007"; :>> label = "
|
|
79
|
+
action actAssessStapleLine : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-005"; :>> label = "Assess staple line"; } attribute :>> criticality = CriticalityKind::high; }
|
|
80
|
+
action actExtractSpecimenAndClose : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-006"; :>> label = "Extract specimen and close ports"; } }
|
|
81
|
+
action actHandover : OperativeAction { @MemoIdentity { :>> providedId = "LSG-ACT-007"; :>> label = "Complete postoperative handover"; } }
|
|
93
82
|
|
|
94
83
|
part wfSleeveGastrectomy : ClinicalProcedureWorkflow {
|
|
95
|
-
@MemoIdentity { :>> providedId = "LSG-WF-001"; :>> label = "
|
|
84
|
+
@MemoIdentity { :>> providedId = "LSG-WF-001"; :>> label = "Laparoscopic sleeve gastrectomy workflow"; }
|
|
96
85
|
attribute :>> entryCondition = "patient prepared; time-out ready";
|
|
97
86
|
attribute :>> completionCondition = "staple line assessed; postoperative handover complete";
|
|
98
87
|
attribute :>> clinicalObjective = "create a gastric sleeve after controlled mobilisation and staple-line assessment";
|
|
99
88
|
action scNominalSleeveProcedure : OperativeScenario {
|
|
100
|
-
@MemoIdentity { :>> providedId = "LSG-SC-001"; :>> label = "
|
|
89
|
+
@MemoIdentity { :>> providedId = "LSG-SC-001"; :>> label = "Nominal sleeve gastrectomy"; }
|
|
101
90
|
attribute :>> pathSummary = "Time-out, access, mobilisation, sleeve creation, staple-line assessment, closure, and handover complete without rework.";
|
|
102
91
|
|
|
103
92
|
perform actTimeOutAndPosition;
|
|
@@ -116,11 +105,11 @@ package memo_examples_surgical_closure_workflow {
|
|
|
116
105
|
}
|
|
117
106
|
action scStapleLineBleeding : OperativeScenario {
|
|
118
107
|
attribute :>> scenarioKind = ScenarioKind::alternate;
|
|
119
|
-
@MemoIdentity { :>> providedId = "LSG-SC-002"; :>> label = "
|
|
108
|
+
@MemoIdentity { :>> providedId = "LSG-SC-002"; :>> label = "Staple line bleeding recovery"; }
|
|
120
109
|
attribute :>> pathSummary = "Recognize bleeding, apply the selected control, reassess the staple line, and escalate if the condition remains unresolved.";
|
|
121
110
|
|
|
122
111
|
action oaControlStapleLineBleeding : OperativeAction {
|
|
123
|
-
@MemoIdentity { :>> label = "
|
|
112
|
+
@MemoIdentity { :>> label = "Control staple line bleeding"; }
|
|
124
113
|
action recognizeBleeding; action controlBleeding; action reassessStapleLine; action escalateIfNeeded;
|
|
125
114
|
first start then recognizeBleeding; first recognizeBleeding then controlBleeding; first controlBleeding then reassessStapleLine; first reassessStapleLine then escalateIfNeeded; first escalateIfNeeded then done;
|
|
126
115
|
}
|
|
@@ -131,35 +120,35 @@ package memo_examples_surgical_closure_workflow {
|
|
|
131
120
|
#refinement dependency wfSleeveGastrectomy::scNominalSleeveProcedure to ucPerformSleeveGastrectomy;
|
|
132
121
|
#refinement dependency wfSleeveGastrectomy::scStapleLineBleeding to ucPerformSleeveGastrectomy;
|
|
133
122
|
|
|
134
|
-
connection : RealizesUseCase connect
|
|
123
|
+
connection : RealizesUseCase connect wfSleeveGastrectomy to ucPerformSleeveGastrectomy;
|
|
135
124
|
|
|
136
125
|
|
|
137
126
|
|
|
138
127
|
|
|
139
128
|
// Whose need it is (CR-MED-024). The surgeon's profile is on the User.
|
|
140
|
-
connection heldResection : HeldBy connect
|
|
129
|
+
connection heldResection : HeldBy connect needControlledGastricResection to bariatricSurgeon;
|
|
141
130
|
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
142
131
|
verification valAuthoredActSizeAndCreateSleeve : ValidationCase {
|
|
143
|
-
@MemoIdentity { :>> providedId = "SCW-VC-A01"; :>> label = "
|
|
132
|
+
@MemoIdentity { :>> providedId = "SCW-VC-A01"; :>> label = "Verify size and create sleeve"; }
|
|
144
133
|
attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
|
|
145
134
|
attribute :>> userParticipation = "representative users, simulated use conditions";
|
|
146
|
-
attribute :>> acceptanceCriteria = "a representative user completes '
|
|
135
|
+
attribute :>> acceptanceCriteria = "a representative user completes 'Size and create sleeve' without a use error, in a summative evaluation per IEC 62366-1";
|
|
147
136
|
}
|
|
148
|
-
connection : Validates connect
|
|
137
|
+
connection : Validates connect actSizeAndCreateSleeve to valAuthoredActSizeAndCreateSleeve;
|
|
149
138
|
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
150
139
|
verification valAuthoredActAssessStapleLine : ValidationCase {
|
|
151
|
-
@MemoIdentity { :>> providedId = "SCW-VC-A02"; :>> label = "
|
|
140
|
+
@MemoIdentity { :>> providedId = "SCW-VC-A02"; :>> label = "Verify assess staple line"; }
|
|
152
141
|
attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
|
|
153
142
|
attribute :>> userParticipation = "representative users, simulated use conditions";
|
|
154
|
-
attribute :>> acceptanceCriteria = "a representative user completes '
|
|
143
|
+
attribute :>> acceptanceCriteria = "a representative user completes 'Assess staple line' without a use error, in a summative evaluation per IEC 62366-1";
|
|
155
144
|
}
|
|
156
|
-
connection : Validates connect
|
|
145
|
+
connection : Validates connect actAssessStapleLine to valAuthoredActAssessStapleLine;
|
|
157
146
|
// Illustrative: authored for this example, not the record of a real evaluation.
|
|
158
147
|
verification valAuthoredTaskCreateStapleLine : ValidationCase {
|
|
159
|
-
@MemoIdentity { :>> providedId = "LSG-VC-A01"; :>> label = "
|
|
148
|
+
@MemoIdentity { :>> providedId = "LSG-VC-A01"; :>> label = "Verify create and inspect staple line"; }
|
|
160
149
|
attribute :>> validationMethod = ValidationMethodKind::summativeUsabilityTest;
|
|
161
150
|
attribute :>> userParticipation = "representative users, simulated use conditions";
|
|
162
|
-
attribute :>> acceptanceCriteria = "a representative user completes '
|
|
151
|
+
attribute :>> acceptanceCriteria = "a representative user completes 'Create and inspect staple line' without a use error, in a summative evaluation per IEC 62366-1";
|
|
163
152
|
}
|
|
164
|
-
connection : Validates connect
|
|
153
|
+
connection : Validates connect actSizeAndCreateSleeve.taskCreateStapleLine to valAuthoredTaskCreateStapleLine;
|
|
165
154
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
package memo_examples_surgical_closure_workflow_viewpoints_logical_views_surgical_closure_workflow_overview {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import memo_examples_surgical_closure_workflow::*;
|
|
3
|
-
private import memo_viewpoints_definitions::*;
|
|
4
|
-
private import memo_viewpoints_logical_logical_viewpoint::*;
|
|
5
|
-
private import memo_core_enumerations::*;
|
|
6
4
|
|
|
7
5
|
view surgicalClosureWorkflowOverview : MemoDiagramView {
|
|
8
6
|
expose memo_examples_surgical_closure_workflow::*;
|
|
@@ -3,23 +3,19 @@
|
|
|
3
3
|
// The native entrypoint. The imports name what this project contains and the
|
|
4
4
|
// binding names the methodology it is governed by. No YAML file participates.
|
|
5
5
|
package memo_examples_surgical_closure_workflow_project {
|
|
6
|
+
private import memo::*;
|
|
6
7
|
private import ScalarValues::*;
|
|
7
8
|
|
|
8
|
-
private import memo_core_enumerations::*;
|
|
9
|
-
private import memo_methodology_core::*;
|
|
10
|
-
private import memo_methodology_profiles::*;
|
|
11
9
|
|
|
12
10
|
// The project's own content, imported so the catalog is one reachable
|
|
13
11
|
// closure from a single entrypoint.
|
|
14
12
|
private import memo_examples_surgical_closure_workflow_viewpoints_logical_views_surgical_closure_workflow_overview::*;
|
|
15
13
|
|
|
16
|
-
private import memo_core_common::*;
|
|
17
|
-
private import memo_core_common::MemoIdentity;
|
|
18
14
|
// The workflow is a ClinicalProcedureWorkflow, so the project brings in
|
|
19
15
|
// the clinical extension, by importing it publicly here.
|
|
20
16
|
public import memo_extension_clinical::*;
|
|
21
17
|
part projectBinding : ModelMethodBinding {
|
|
22
|
-
@MemoIdentity { :>> providedId = "PMB-CLOSURE-WORKFLOW-001"; :>> label = "
|
|
18
|
+
@MemoIdentity { :>> providedId = "PMB-CLOSURE-WORKFLOW-001"; :>> label = "Surgical closure workflow model method binding"; }
|
|
23
19
|
attribute :>> modelName = "Surgical Closure Workflow";
|
|
24
20
|
ref :>> selectedMethodology = mdDefaultDefinition;
|
|
25
21
|
attribute :>> scopeMode = ScopeModeKind::explicit;
|
|
@@ -2,50 +2,43 @@
|
|
|
2
2
|
// domains; redundant + monitor channels with declared independence; an
|
|
3
3
|
// interlock; a mechanical-force flow; and a haptic UI element.
|
|
4
4
|
package memo_examples_surgical_robot {
|
|
5
|
+
private import memo::*;
|
|
5
6
|
private import ScalarValues::*;
|
|
6
7
|
|
|
7
|
-
private import memo_core_enumerations::*;
|
|
8
|
-
private import memo_core_relationships::*;
|
|
9
|
-
private import memo_architecture_logical_structure::*;
|
|
10
|
-
private import memo_architecture_implementation_hardware_structure::*;
|
|
11
|
-
private import memo_architecture_realization_physical::*;
|
|
12
|
-
private import memo_architecture_implementation_ui::*;
|
|
13
8
|
|
|
14
|
-
private import memo_core_common::*;
|
|
15
|
-
private import memo_core_common::MemoIdentity;
|
|
16
9
|
part def SurgicalRobotSystem specializes memo_architecture_logical_structure::System {
|
|
17
10
|
attribute :>> systemBoundaryDescription = "The surgical robot: the system this example models, with the software and hardware that realize it.";
|
|
18
11
|
}
|
|
19
12
|
// Control channels: primary + diverse monitor, with declared independence.
|
|
20
13
|
part chMotionPrimary : LogicalComponent {
|
|
21
|
-
@MemoIdentity { :>> providedId = "SR-LC-001"; :>> label = "
|
|
14
|
+
@MemoIdentity { :>> providedId = "SR-LC-001"; :>> label = "Motion control channel"; }
|
|
22
15
|
attribute :>> channelRole = ChannelRoleKind::primary;
|
|
23
16
|
}
|
|
24
17
|
part chMotionMonitor : LogicalComponent {
|
|
25
|
-
@MemoIdentity { :>> providedId = "SR-LC-002"; :>> label = "
|
|
18
|
+
@MemoIdentity { :>> providedId = "SR-LC-002"; :>> label = "Motion monitor channel"; }
|
|
26
19
|
attribute :>> channelRole = ChannelRoleKind::monitor;
|
|
27
20
|
attribute :>> diversityBasis = "independent encoder set and diverse processor family";
|
|
28
21
|
}
|
|
29
|
-
connection : IndependentOf connect
|
|
22
|
+
connection : IndependentOf connect chMotionMonitor to chMotionPrimary {
|
|
30
23
|
attribute :>> independenceBasis = "separate sensing, power, and processing; common-cause analysis SR-CCA-01";
|
|
31
24
|
}
|
|
32
25
|
dependency chMotionMonitor to chMotionPrimary;
|
|
33
26
|
|
|
34
27
|
// Interlock: instrument exchange blocked while arm is in motion.
|
|
35
28
|
part chExchangeInterlock : LogicalComponent {
|
|
36
|
-
@MemoIdentity { :>> providedId = "SR-LC-003"; :>> label = "
|
|
29
|
+
@MemoIdentity { :>> providedId = "SR-LC-003"; :>> label = "Instrument exchange interlock"; }
|
|
37
30
|
attribute :>> channelRole = ChannelRoleKind::interlock;
|
|
38
31
|
}
|
|
39
32
|
|
|
40
33
|
part actJointDrive : Actuator {
|
|
41
|
-
@MemoIdentity { :>> providedId = "SR-HW-001"; :>> label = "
|
|
34
|
+
@MemoIdentity { :>> providedId = "SR-HW-001"; :>> label = "Joint drive actuator"; }
|
|
42
35
|
attribute :>> patientContact = false;
|
|
43
36
|
attribute :>> actuationKind = "brushless DC servo with harmonic drive";
|
|
44
37
|
out port pDriveOut : PhysicalPort;
|
|
45
38
|
}
|
|
46
39
|
part instrShaft : MechanicalPart {
|
|
47
40
|
in port pDriveIn : PhysicalPort;
|
|
48
|
-
@MemoIdentity { :>> providedId = "SR-HW-002"; :>> label = "
|
|
41
|
+
@MemoIdentity { :>> providedId = "SR-HW-002"; :>> label = "Instrument shaft"; }
|
|
49
42
|
attribute :>> mechanicalFunction = "transmits actuation to end effector";
|
|
50
43
|
attribute :>> patientContact = true;
|
|
51
44
|
attribute :>> contactNature = "internal tissue, direct";
|
|
@@ -53,7 +46,7 @@ package memo_examples_surgical_robot {
|
|
|
53
46
|
}
|
|
54
47
|
// Mechanical-force flow from actuator to instrument tip.
|
|
55
48
|
flow exTipForce : LogicalTransfer from actJointDrive.pDriveOut to instrShaft.pDriveIn {
|
|
56
|
-
@MemoIdentity { :>> providedId = "SR-EX-001"; :>> label = "
|
|
49
|
+
@MemoIdentity { :>> providedId = "SR-EX-001"; :>> label = "Tip force transmission"; }
|
|
57
50
|
attribute :>> contentKind = FlowContentKind::mechanicalForce;
|
|
58
51
|
}
|
|
59
52
|
|
|
@@ -61,7 +54,7 @@ package memo_examples_surgical_robot {
|
|
|
61
54
|
// surgeon holds, so it is an OperatorInterfaceElement (a PhysicalComponent)
|
|
62
55
|
// rather than a UIElement — UIElement is software.
|
|
63
56
|
part elHapticGrip : OperatorInterfaceElement {
|
|
64
|
-
@MemoIdentity { :>> providedId = "SR-UI-001"; :>> label = "
|
|
57
|
+
@MemoIdentity { :>> providedId = "SR-UI-001"; :>> label = "Haptic master grip"; }
|
|
65
58
|
attribute :>> patientContact = false;
|
|
66
59
|
attribute :>> formKind = OperatorInterfaceFormKind::hapticIndicator;
|
|
67
60
|
attribute :>> guardedAgainstInadvertentActuation = true;
|
package/examples/surgical-robot/model/catalog/viewpoints/logical/views/surgical_robot_overview.sysml
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
package memo_examples_surgical_robot_viewpoints_logical_views_surgical_robot_overview {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import memo_examples_surgical_robot::*;
|
|
3
|
-
private import memo_viewpoints_definitions::*;
|
|
4
|
-
private import memo_viewpoints_logical_logical_viewpoint::*;
|
|
5
|
-
private import memo_core_enumerations::*;
|
|
6
4
|
|
|
7
5
|
view surgicalRobotOverview : MemoDiagramView {
|
|
8
6
|
expose memo_examples_surgical_robot::*;
|
|
@@ -3,20 +3,16 @@
|
|
|
3
3
|
// The native entrypoint. The imports name what this project contains and the
|
|
4
4
|
// binding names the methodology it is governed by. No YAML file participates.
|
|
5
5
|
package memo_examples_surgical_robot_project {
|
|
6
|
+
private import memo::*;
|
|
6
7
|
private import ScalarValues::*;
|
|
7
8
|
|
|
8
|
-
private import memo_core_enumerations::*;
|
|
9
|
-
private import memo_methodology_core::*;
|
|
10
|
-
private import memo_methodology_profiles::*;
|
|
11
9
|
|
|
12
10
|
// The project's own content, imported so the catalog is one reachable
|
|
13
11
|
// closure from a single entrypoint.
|
|
14
12
|
private import memo_examples_surgical_robot_viewpoints_logical_views_surgical_robot_overview::*;
|
|
15
13
|
|
|
16
|
-
private import memo_core_common::*;
|
|
17
|
-
private import memo_core_common::MemoIdentity;
|
|
18
14
|
part projectBinding : ModelMethodBinding {
|
|
19
|
-
@MemoIdentity { :>> providedId = "PMB-SURGICAL-ROBOT-001"; :>> label = "
|
|
15
|
+
@MemoIdentity { :>> providedId = "PMB-SURGICAL-ROBOT-001"; :>> label = "Surgical robot model method binding"; }
|
|
20
16
|
attribute :>> modelName = "Surgical Robot";
|
|
21
17
|
ref :>> selectedMethodology = mdDefaultDefinition;
|
|
22
18
|
attribute :>> scopeMode = ScopeModeKind::explicit;
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
package memo_examples_sysml_diagram_samples_samples_action_flow_view {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import ScalarValues::*;
|
|
3
|
-
private import memo_core_relationships::*;
|
|
4
|
-
private import memo_architecture_logical_structure::*;
|
|
5
|
-
private import memo_architecture_logical_interfaces::*;
|
|
6
|
-
private import memo_architecture_functional_functions::*;
|
|
7
|
-
private import memo_viewpoints_definitions::*;
|
|
8
|
-
private import memo_viewpoints_functional_functional_viewpoint::*;
|
|
9
|
-
private import memo_core_enumerations::*;
|
|
10
4
|
|
|
11
|
-
private import memo_core_common::*;
|
|
12
|
-
private import memo_core_common::MemoIdentity;
|
|
13
5
|
item def DataPacket specializes InterfaceItem {
|
|
14
6
|
attribute :>> itemKind = InterfaceItemKind::data;
|
|
15
7
|
}
|
|
@@ -61,12 +53,11 @@ package memo_examples_sysml_diagram_samples_samples_action_flow_view {
|
|
|
61
53
|
allocate sampleActionFlow.process.processStepC to laneB;
|
|
62
54
|
allocate sampleActionFlow.record to laneB;
|
|
63
55
|
|
|
64
|
-
//
|
|
65
|
-
// reaches. laneB is a `part` (LogicalComponent :> MemoPart)
|
|
66
|
-
// `sampleActionFlow.process` is an action usage (:> MemoAction). Those
|
|
67
|
-
// foundations share no supertype, so
|
|
68
|
-
//
|
|
69
|
-
// else.
|
|
56
|
+
// Native dependency sample — the universal relation, exercised where
|
|
57
|
+
// nothing else reaches. laneB is a `part` (LogicalComponent :> MemoPart)
|
|
58
|
+
// and `sampleActionFlow.process` is an action usage (:> MemoAction). Those
|
|
59
|
+
// foundations share no supertype, so no typed MEMO relation applies here,
|
|
60
|
+
// and a plain `dependency` is the right construct.
|
|
70
61
|
//
|
|
71
62
|
// The target is the action *usage*, not the `ProcessInput` definition.
|
|
72
63
|
// Binding a value to a definition is not portable — SysIDE rejects it,
|
|
@@ -74,8 +65,7 @@ package memo_examples_sysml_diagram_samples_samples_action_flow_view {
|
|
|
74
65
|
doc /* Lane B is the swimlane that carries the ProcessInput behaviour. The
|
|
75
66
|
* association crosses the part/action metaclass boundary, so no typed
|
|
76
67
|
* relation can express it — which is precisely what a bare `dependency`
|
|
77
|
-
* means.
|
|
78
|
-
* that is a duplicate of `dependency` rather than something more.
|
|
68
|
+
* means.
|
|
79
69
|
*/
|
|
80
70
|
dependency linkLaneBProcessesInput from laneB to sampleActionFlow::process;
|
|
81
71
|
allocate sampleActionFlow to laneA;
|
|
@@ -1,45 +1,37 @@
|
|
|
1
1
|
package memo_examples_sysml_diagram_samples_samples_browser_view {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import ScalarValues::*;
|
|
3
|
-
private import memo_architecture_operational_context_actors::*;
|
|
4
|
-
private import memo_architecture_operational_use_cases::*;
|
|
5
|
-
private import memo_architecture_operational_structure::*;
|
|
6
|
-
private import memo_core_relationships::*;
|
|
7
|
-
private import memo_viewpoints_definitions::*;
|
|
8
|
-
private import memo_viewpoints_operational_operational_viewpoint::*;
|
|
9
|
-
private import memo_core_enumerations::*;
|
|
10
4
|
|
|
11
|
-
private import memo_core_common::*;
|
|
12
|
-
private import memo_core_common::MemoIdentity;
|
|
13
5
|
|
|
14
6
|
// Operational decomposition for the browser membership tree.
|
|
15
7
|
// A top-level system with sub-systems, actors, and use cases arranged
|
|
16
8
|
// to demonstrate the browser view's hierarchical grouping by kind.
|
|
17
9
|
|
|
18
10
|
part controlSystem : OperationalEntity {
|
|
19
|
-
@MemoIdentity { :>> label = "Control System"; }
|
|
11
|
+
@MemoIdentity { :>> label = "Control System"; }
|
|
20
12
|
|
|
21
13
|
part supervisorModule : OperationalEntity {
|
|
22
|
-
@MemoIdentity { :>> label = "Supervisor Module"; }
|
|
14
|
+
@MemoIdentity { :>> label = "Supervisor Module"; }
|
|
23
15
|
}
|
|
24
16
|
part safetyModule : OperationalEntity {
|
|
25
|
-
@MemoIdentity { :>> label = "Safety Module"; }
|
|
17
|
+
@MemoIdentity { :>> label = "Safety Module"; }
|
|
26
18
|
}
|
|
27
19
|
part communicationModule : OperationalEntity {
|
|
28
|
-
@MemoIdentity { :>> label = "Communication Module"; }
|
|
20
|
+
@MemoIdentity { :>> label = "Communication Module"; }
|
|
29
21
|
}
|
|
30
22
|
}
|
|
31
23
|
|
|
32
24
|
part systemOperator : User {
|
|
33
25
|
attribute :>> actorKind = ActorKind::clinician;
|
|
34
|
-
@MemoIdentity { :>> label = "Operator"; }
|
|
26
|
+
@MemoIdentity { :>> label = "Operator"; }
|
|
35
27
|
}
|
|
36
28
|
part maintenanceEngineer : User {
|
|
37
29
|
attribute :>> actorKind = ActorKind::technician;
|
|
38
|
-
@MemoIdentity { :>> label = "Maintenance Engineer"; }
|
|
30
|
+
@MemoIdentity { :>> label = "Maintenance Engineer"; }
|
|
39
31
|
}
|
|
40
32
|
part remoteMonitor : User {
|
|
41
33
|
attribute :>> actorKind = ActorKind::clinician;
|
|
42
|
-
@MemoIdentity { :>> label = "Remote Monitor"; }
|
|
34
|
+
@MemoIdentity { :>> label = "Remote Monitor"; }
|
|
43
35
|
}
|
|
44
36
|
|
|
45
37
|
use case startSystem : SystemUseCase {
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
package memo_examples_sysml_diagram_samples_samples_context_view {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
// System context sample (general view kind, `context` diagram type). The system
|
|
3
4
|
// under consideration is one block; every other element is an external actor,
|
|
4
5
|
// neighbouring system, or use context it interacts with across its boundary.
|
|
5
6
|
private import ScalarValues::*;
|
|
6
7
|
|
|
7
|
-
private import memo_architecture_operational_context_actors::*;
|
|
8
|
-
private import memo_architecture_operational_context_use_context::*;
|
|
9
|
-
private import memo_architecture_operational_structure::*;
|
|
10
|
-
private import memo_core_relationships::*;
|
|
11
|
-
private import memo_viewpoints_definitions::*;
|
|
12
|
-
private import memo_viewpoints_context_context_viewpoint::*;
|
|
13
|
-
private import memo_core_enumerations::*;
|
|
14
8
|
|
|
15
|
-
private import memo_core_common::*;
|
|
16
|
-
private import memo_core_common::MemoIdentity;
|
|
17
9
|
// The operational system of interest is intentionally represented as one
|
|
18
10
|
// black box. Context diagrams show its environment and interfaces, not its
|
|
19
11
|
// internal decomposition.
|
|
20
12
|
part infusionSystem : OperationalEntity {
|
|
21
|
-
@MemoIdentity { :>> label = "Infusion Pump System"; }
|
|
13
|
+
@MemoIdentity { :>> label = "Infusion Pump System"; }
|
|
22
14
|
attribute :>> entityKind = OperationalEntityKind::device;
|
|
23
15
|
attribute :>> responsibility = "System of interest for this context view.";
|
|
24
16
|
out port pPharmacyOut : MemoPort;
|
|
@@ -27,7 +19,7 @@ package memo_examples_sysml_diagram_samples_samples_context_view {
|
|
|
27
19
|
part patient : User { }
|
|
28
20
|
part biomedTech : User {@MemoIdentity { :>> label = "Biomedical Technician"; } }
|
|
29
21
|
part pharmacySystem : OperationalEntity {
|
|
30
|
-
@MemoIdentity { :>> label = "Pharmacy Information System"; }
|
|
22
|
+
@MemoIdentity { :>> label = "Pharmacy Information System"; }
|
|
31
23
|
attribute :>> entityKind = OperationalEntityKind::externalSystem;
|
|
32
24
|
in port pInfusionIn : MemoPort;
|
|
33
25
|
}
|
|
@@ -39,5 +31,5 @@ package memo_examples_sysml_diagram_samples_samples_context_view {
|
|
|
39
31
|
// A flow end names a feature of its participant (`part.feature`): the black
|
|
40
32
|
// boxes exchange across their boundary, at these ports.
|
|
41
33
|
flow infusionSystemToPharmacySystem from infusionSystem.pPharmacyOut to pharmacySystem.pInfusionIn;
|
|
42
|
-
connection : AppliesInContext connect
|
|
34
|
+
connection : AppliesInContext connect homeContext to infusionSystem;
|
|
43
35
|
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
package memo_examples_sysml_diagram_samples_samples_drill_down_view {
|
|
2
|
-
private import
|
|
3
|
-
private import memo_core_enumerations::*;
|
|
2
|
+
private import memo::*;
|
|
4
3
|
private import ScalarValues::*;
|
|
5
|
-
private import memo_architecture_logical_interfaces::*;
|
|
6
|
-
private import memo_architecture_logical_structure::*;
|
|
7
|
-
private import memo_architecture_functional_functions::*;
|
|
8
|
-
private import memo_core_common::*;
|
|
9
|
-
private import memo_core_common::MemoIdentity;
|
|
10
4
|
|
|
11
5
|
// Parts and actions that are TYPED by a definition, so each way into a
|
|
12
6
|
// lower level can be tried on its own. The overview draws only the usages;
|
|
@@ -30,11 +24,11 @@ package memo_examples_sysml_diagram_samples_samples_drill_down_view {
|
|
|
30
24
|
in port torqueIn : DataPort { in item payload : MemoItem; }
|
|
31
25
|
out port torqueOut : DataPort { out item payload : MemoItem; }
|
|
32
26
|
}
|
|
33
|
-
|
|
27
|
+
connection : LogicalConnector connect inputStage to outputStage {
|
|
34
28
|
attribute :>> contentKind = FlowContentKind::energy;
|
|
35
29
|
attribute :>> direction = DirectionKind::output;
|
|
36
30
|
}
|
|
37
|
-
}
|
|
31
|
+
}
|
|
38
32
|
|
|
39
33
|
part def DrillMotor specializes LogicalComponent {
|
|
40
34
|
in port powerIn : DataPort { in item payload : MemoItem; }
|
|
@@ -48,11 +42,11 @@ package memo_examples_sysml_diagram_samples_samples_drill_down_view {
|
|
|
48
42
|
in port currentIn : DataPort { in item payload : MemoItem; }
|
|
49
43
|
}
|
|
50
44
|
}
|
|
51
|
-
|
|
45
|
+
connection : LogicalConnector connect stator.windings to rotor {
|
|
52
46
|
attribute :>> contentKind = FlowContentKind::energy;
|
|
53
47
|
attribute :>> direction = DirectionKind::output;
|
|
54
48
|
}
|
|
55
|
-
}
|
|
49
|
+
}
|
|
56
50
|
|
|
57
51
|
part def DrillController specializes LogicalComponent {
|
|
58
52
|
in port commandIn : DataPort { in item payload : MemoItem; }
|
|
@@ -63,18 +57,18 @@ package memo_examples_sysml_diagram_samples_samples_drill_down_view {
|
|
|
63
57
|
part gearbox : DrillGearbox;
|
|
64
58
|
part motor : DrillMotor;
|
|
65
59
|
part controller : DrillController;
|
|
66
|
-
|
|
60
|
+
connection : LogicalConnector connect controller to motor {
|
|
67
61
|
attribute :>> contentKind = FlowContentKind::command;
|
|
68
62
|
attribute :>> direction = DirectionKind::output;
|
|
69
63
|
}
|
|
70
|
-
connection : LogicalConnector connect
|
|
64
|
+
connection : LogicalConnector connect motor to gearbox {
|
|
71
65
|
attribute :>> contentKind = FlowContentKind::energy;
|
|
72
66
|
attribute :>> direction = DirectionKind::output;
|
|
73
67
|
}
|
|
74
|
-
}
|
|
68
|
+
}
|
|
75
69
|
|
|
76
70
|
part drive : DrillDrive {
|
|
77
|
-
@MemoIdentity { :>> label = "Drive"; }
|
|
71
|
+
@MemoIdentity { :>> label = "Drive"; }
|
|
78
72
|
}
|
|
79
73
|
|
|
80
74
|
// The same two cases for an action flow: calibrate has an authored child
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
package memo_examples_sysml_diagram_samples_samples_functional_flow_view {
|
|
2
|
+
private import memo::*;
|
|
2
3
|
private import ScalarValues::*;
|
|
3
4
|
|
|
4
|
-
private import memo_architecture_logical_structure::*;
|
|
5
|
-
private import memo_architecture_logical_interfaces::*;
|
|
6
|
-
private import memo_architecture_functional_functions::*;
|
|
7
|
-
private import memo_core_relationships::*;
|
|
8
|
-
private import memo_viewpoints_definitions::*;
|
|
9
|
-
private import memo_viewpoints_functional_functional_viewpoint::*;
|
|
10
|
-
private import memo_core_enumerations::*;
|
|
11
5
|
|
|
12
|
-
private import memo_core_common::*;
|
|
13
|
-
private import memo_core_common::MemoIdentity;
|
|
14
6
|
// ─────────────────────────────────────────────────────────────────────────
|
|
15
7
|
// Sample · Functional flow — component behaviour of dose delivery
|
|
16
8
|
//
|
|
@@ -52,36 +44,36 @@ package memo_examples_sysml_diagram_samples_samples_functional_flow_view {
|
|
|
52
44
|
// Component hierarchy used by the Level control:
|
|
53
45
|
// L1 system → L2 subsystems → L3 allocated components.
|
|
54
46
|
part fxPumpSystem : LogicalComponent {
|
|
55
|
-
@MemoIdentity { :>> label = "Infusion Pump System"; }
|
|
47
|
+
@MemoIdentity { :>> label = "Infusion Pump System"; }
|
|
56
48
|
part fxSensingSubsystem : LogicalComponent {
|
|
57
|
-
@MemoIdentity { :>> label = "Sensing Subsystem"; }
|
|
49
|
+
@MemoIdentity { :>> label = "Sensing Subsystem"; }
|
|
58
50
|
part fxSensor : LogicalComponent {@MemoIdentity { :>> label = "Sensor Subsystem"; } }
|
|
59
51
|
}
|
|
60
52
|
part fxControlSubsystem : LogicalComponent {
|
|
61
|
-
@MemoIdentity { :>> label = "Control Subsystem"; }
|
|
53
|
+
@MemoIdentity { :>> label = "Control Subsystem"; }
|
|
62
54
|
part fxController : LogicalComponent {@MemoIdentity { :>> label = "Infusion Controller"; } }
|
|
63
55
|
}
|
|
64
56
|
part fxDeliverySubsystem : LogicalComponent {
|
|
65
|
-
@MemoIdentity { :>> label = "Delivery Subsystem"; }
|
|
57
|
+
@MemoIdentity { :>> label = "Delivery Subsystem"; }
|
|
66
58
|
part fxActuator : LogicalComponent {@MemoIdentity { :>> label = "Pump Actuator"; } }
|
|
67
59
|
}
|
|
68
60
|
part fxSafetySubsystem : LogicalComponent {
|
|
69
|
-
@MemoIdentity { :>> label = "Safety Subsystem"; }
|
|
61
|
+
@MemoIdentity { :>> label = "Safety Subsystem"; }
|
|
70
62
|
part fxSafety : LogicalComponent {@MemoIdentity { :>> label = "Safety Monitor"; } }
|
|
71
63
|
}
|
|
72
|
-
|
|
64
|
+
connection : LogicalConnector connect fxSensingSubsystem.fxSensor to fxControlSubsystem.fxController {
|
|
73
65
|
attribute :>> contentKind = FlowContentKind::measurement;
|
|
74
66
|
attribute :>> direction = DirectionKind::output;
|
|
75
67
|
}
|
|
76
|
-
connection : LogicalConnector connect
|
|
68
|
+
connection : LogicalConnector connect fxControlSubsystem.fxController to fxDeliverySubsystem.fxActuator {
|
|
77
69
|
attribute :>> contentKind = FlowContentKind::command;
|
|
78
70
|
attribute :>> direction = DirectionKind::output;
|
|
79
71
|
}
|
|
80
|
-
connection : LogicalConnector connect
|
|
72
|
+
connection : LogicalConnector connect fxSafetySubsystem.fxSafety to fxControlSubsystem.fxController {
|
|
81
73
|
attribute :>> contentKind = FlowContentKind::alarm;
|
|
82
74
|
attribute :>> direction = DirectionKind::output;
|
|
83
75
|
}
|
|
84
|
-
}
|
|
76
|
+
}
|
|
85
77
|
|
|
86
78
|
action fxDeliveryFlow : SystemFunction {
|
|
87
79
|
action fxAcquire : FxAcquire {@MemoIdentity { :>> label = "Acquire Sensor Data"; } }
|
|
@@ -97,7 +89,7 @@ package memo_examples_sysml_diagram_samples_samples_functional_flow_view {
|
|
|
97
89
|
|
|
98
90
|
// Composite function — valve sub-flow (drill-in)
|
|
99
91
|
action fxDeliver : FxDeliverMedication {
|
|
100
|
-
@MemoIdentity { :>> label = "Deliver Medication"; }
|
|
92
|
+
@MemoIdentity { :>> label = "Deliver Medication"; }
|
|
101
93
|
action fxOpenValve : SystemFunction {@MemoIdentity { :>> label = "Open Valve"; } }
|
|
102
94
|
action fxHoldDose : SystemFunction {@MemoIdentity { :>> label = "Hold Metered Dose"; } out item fluid : FxMedicationFluid; }
|
|
103
95
|
action fxCloseValve : SystemFunction {@MemoIdentity { :>> label = "Close Valve"; } in item fluid : FxMedicationFluid; }
|