Files
HealthAppRepositoryB/Docs/AsBuiltArchitecture/evidence-inventory.md
T

49 KiB

Evidence inventory

Snapshot: 2026-10-12; source commit 5d9371388c15066eeb2bc124ed227659c644dab5. This inventory lists tracked specification, application, deployment and acceptance-test files used to bound the review. SHA-256 prefixes identify file content, not a test result. Source links remain repository-relative.

Inspection boundaries

Production source, contracts, persistence mappings/migrations, startup/security configuration, installer/provisioner, relevant acceptance fixtures/assertions and specification text were inspected. Current Draw.io cell content and original context/domain/Patient class/Patient ER images were examined. Same-stem historical JPEGs are superseded by current editable diagrams; their authority is governed by Architecture README. Test code is evidence of intended verification, not a fresh execution claim.

Experiment scripts/plans and their README were inspected for ancillary architecture. Private credentials and ignored raw load-test results were deliberately excluded; they are not needed to document production responsibilities. No live server or native installer was executed. No dependency versions were looked up externally; project declarations define this snapshot.

File evidence

File Kind SHA-256 prefix
.github/workflows/prototype-native-install.yml Deployment / configuration / native validation de4240167653b10b
.gitignore Repository / build / instructions 5ff2245aafc37c27
AGENTS.md Repository / build / instructions 02330ed17811077c
Docs/Architecture/01_domain_model.jpg Specification / context 43354c405b637578
Docs/Architecture/02_microservice_architecture.jpg Specification / context 67862bb8e9c1029f
Docs/Architecture/03_class_patient_profile_service.jpg Specification / context 4abc364239a97b0d
Docs/Architecture/04_class_observation_service.drawio Specification / context 0b48a2760252607d
Docs/Architecture/04_class_observation_service.jpg Specification / context 749647606ee3a5a7
Docs/Architecture/05_class_insights_service.drawio Specification / context 8c5837f38eb745e1
Docs/Architecture/05_class_insights_service.jpg Specification / context 18d5fbeec5db5947
Docs/Architecture/06_class_health_overview_service.drawio Specification / context 8c401510f8c0a2e8
Docs/Architecture/06_class_health_overview_service.jpg Specification / context 1c2751c7fdbf123b
Docs/Architecture/07_er_patient_profile_service.jpg Specification / context 8074f734e3e4e28e
Docs/Architecture/08_er_observation_service.drawio Specification / context 88cc97c26ff40650
Docs/Architecture/08_er_observation_service.jpg Specification / context e6b02064ba2019ac
Docs/Architecture/09_er_insights_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg Specification / context 6f01585a506f84ef
Docs/Architecture/09_er_insights_service.drawio Specification / context 534ba79368ac79eb
Docs/Architecture/10_er_health_overview_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg Specification / context b27db286ce26cbc1
Docs/Architecture/README.md Specification / context 3754fa7ed95a6ef5
Docs/Architecture/personal_health_measurement_all_diagrams-Domain Model.jpg Specification / context 285c4c52440a3000
Docs/Architecture/us10-insights-correction.md Specification / context 259d59ee31518068
Docs/Design/authentication-and-access-control-design.md Specification / context b044d0f78d542be0
Docs/Requirements/00-common-requirements.md Specification / context 1f056a53699e0875
Docs/Requirements/US16 easy installation and deployment installer.txt Specification / context 07416edc16ce034a
Docs/Requirements/us01-create-patient-profile.md Specification / context 52872490bd37b15e
Docs/Requirements/us02-view-patient-profile.md Specification / context 8af9e4e55ddb9bb4
Docs/Requirements/us03-update-patient-profile.md Specification / context 0825a974cea87924
Docs/Requirements/us04-record-observation.md Specification / context 894e99dac4e05604
Docs/Requirements/us05-view-observation.md Specification / context 3632aebd02b34996
Docs/Requirements/us06-latest-observation.md Specification / context dfec3b4fcb1c8410
Docs/Requirements/us07-observation-history.md Specification / context dec0f06cee54e713
Docs/Requirements/us08-update-observation.md Specification / context 1e65e62813db4e50
Docs/Requirements/us09-delete-observation.md Specification / context 28e4dc1cbc92f60b
Docs/Requirements/us10-calculated-insight.md Specification / context ed2f03e69d460ef5
Docs/Requirements/us11-health-trend.md Specification / context 7121bb4890e70621
Docs/Requirements/us12-health-overview.md Specification / context 58db5d95b70b09f7
Docs/Requirements/us13-patient-authentication.md Specification / context d2584876fbb17ecd
Docs/Requirements/us14-professional-access.md Specification / context bb451f00e4bad5d7
Docs/Requirements/us15-measurement-guidance.md Specification / context 1aa52764ac93fcdb
Docs/Requirements/us16-addendum Specification / context 61f88829b2501050
Docs/requirements-reconciliation-changelog.md Specification / context 318c4e2c9f3c1137
HealthApp.slnx Repository / build / instructions 3b070ed1a967e900
README.MD Repository / build / instructions fd783476366adf4c
deploy/HealthApp.Provisioning/ConfigurationWriter.cs Deployment / configuration / native validation 702f4a646eac3dd6
deploy/HealthApp.Provisioning/DatabaseProvisioning.cs Deployment / configuration / native validation e1c8e252642b12f8
deploy/HealthApp.Provisioning/Deployment.cs Deployment / configuration / native validation 8f3e6fc3761fe731
deploy/HealthApp.Provisioning/Distribution.cs Deployment / configuration / native validation d9b7c467172e3156
deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj Deployment / configuration / native validation 5f18785a17f78d01
deploy/HealthApp.Provisioning/InstallationVerification.cs Deployment / configuration / native validation 094877cb5e6ff6e8
deploy/HealthApp.Provisioning/LaunchdWriter.cs Deployment / configuration / native validation b1d9b620ade4b525
deploy/HealthApp.Provisioning/Program.cs Deployment / configuration / native validation e42034fedec2c3c1
deploy/INSTALLATION.md Deployment / configuration / native validation 94e8e3b7a7bcdf6f
deploy/api-gateway.env.example Deployment / configuration / native validation e8137593d4710953
deploy/build-release.ps1 Deployment / configuration / native validation d85375f5a7392fe3
deploy/build-release.sh Deployment / configuration / native validation 7de7fb0ffe963671
deploy/health-overview.env.example Deployment / configuration / native validation b7883d73a34da16a
deploy/insights.env.example Deployment / configuration / native validation 8fff870eede50c4f
deploy/installer/bootstrap.sh Deployment / configuration / native validation db52696d484fe728
deploy/installer/distribute.sh Deployment / configuration / native validation bda6aa53146a3d4d
deploy/installer/install-macos.sh Deployment / configuration / native validation bd78d0ec3be482ce
deploy/installer/install.ps1 Deployment / configuration / native validation 4c1bbaac58c99539
deploy/installer/install.sh Deployment / configuration / native validation ccc35b5764e96a7d
deploy/installer/services.sh Deployment / configuration / native validation 6a21a5c213fbe7b2
deploy/installer/verify.sh Deployment / configuration / native validation 62d50b2bcd40b04a
deploy/observation.env.example Deployment / configuration / native validation c18f0f6abb1f32e9
deploy/patient-profile.env.example Deployment / configuration / native validation f01a3ba42d22dbcf
deploy/systemd/healthapp-api-gateway.service Deployment / configuration / native validation 15a9b7bc43a72940
deploy/systemd/healthapp-health-overview.service Deployment / configuration / native validation d8841c4b04c74f3b
deploy/systemd/healthapp-insights.service Deployment / configuration / native validation 8ec5dbfa6e1a9fbd
deploy/systemd/healthapp-observation.service Deployment / configuration / native validation a61518322838ca14
deploy/systemd/healthapp-patient-profile.service Deployment / configuration / native validation 262b269a997923aa
src/AUTHENTICATION.md Application / implementation documentation 38e4a3580e1cc8aa
src/ApiGateway/ApiGateway.csproj Application / implementation documentation 6e81c32841f12d91
src/ApiGateway/Controllers/AuthenticationController.cs Application / implementation documentation f76ec4f393c55ee6
src/ApiGateway/Controllers/HealthOverviewController.cs Application / implementation documentation 0a05ccd0dd9b763e
src/ApiGateway/Controllers/InsightsController.cs Application / implementation documentation 810c906f771ce01e
src/ApiGateway/Controllers/MeasurementGuidanceController.cs Application / implementation documentation 1be2c32f56a5cda6
src/ApiGateway/Controllers/ObservationController.cs Application / implementation documentation 2a33302f8d8158e2
src/ApiGateway/Controllers/PatientController.cs Application / implementation documentation 2b416bb49e98c400
src/ApiGateway/Controllers/ProfessionalController.cs Application / implementation documentation 87f7c5830215673a
src/ApiGateway/Program.cs Application / implementation documentation 9e6ba8e51c837719
src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs Application / implementation documentation 985ee505d8e38d15
src/ApiGateway/Security/PatientAccessMiddleware.cs Application / implementation documentation 497c7f69c179fa04
src/ApiGateway/Security/ProfessionalAssignments.cs Application / implementation documentation 7883c801dcdec8df
src/ApiGateway/Security/PrototypeAccounts.cs Application / implementation documentation a4cbcaa6db514439
src/ApiGateway/appsettings.json Application / implementation documentation 817db0bf2ecca783
src/HealthOverviewService/Application/HealthOverviewApplicationService.cs Application / implementation documentation 234190b299f0487c
src/HealthOverviewService/Clients/InsightsServiceClient.cs Application / implementation documentation 1087c1ac57605ae7
src/HealthOverviewService/Clients/ObservationServiceClient.cs Application / implementation documentation f6cef0c6f78e04ea
src/HealthOverviewService/Clients/PatientProfileServiceClient.cs Application / implementation documentation 7bba92bc1b382c3d
src/HealthOverviewService/Contracts/HealthOverviewDto.cs Application / implementation documentation d95e27f230cfeeb1
src/HealthOverviewService/Controllers/HealthOverviewController.cs Application / implementation documentation c3e9bc2e646527a4
src/HealthOverviewService/HealthOverviewService.csproj Application / implementation documentation 6e81c32841f12d91
src/HealthOverviewService/Program.cs Application / implementation documentation 63a799d09cdeaf1e
src/HealthOverviewService/appsettings.json Application / implementation documentation 817db0bf2ecca783
src/InsightsService/Application/InsightsApplicationService.cs Application / implementation documentation 7319a7f8057b1906
src/InsightsService/Clients/HttpObservationServiceClient.cs Application / implementation documentation 91677b578eddbd12
src/InsightsService/Clients/ObservationServiceClient.cs Application / implementation documentation 802b8cc66f58441d
src/InsightsService/Contracts/HealthInsightDto.cs Application / implementation documentation 001d24e7d2b0dedf
src/InsightsService/Contracts/ObservationDto.cs Application / implementation documentation fd37572e721ba288
src/InsightsService/Controllers/InsightsController.cs Application / implementation documentation 0304dc102bb192ab
src/InsightsService/Domain/ContextSelection.cs Application / implementation documentation 82b9acd07e6b4de0
src/InsightsService/Domain/HealthInsight.cs Application / implementation documentation fc634cb3b99905c3
src/InsightsService/Domain/InsightCalculator.Trends.cs Application / implementation documentation ef196331aad4cf12
src/InsightsService/Domain/InsightCalculator.cs Application / implementation documentation 2575a8f7641f6f23
src/InsightsService/Domain/TrendAssessment.cs Application / implementation documentation 5ba75fba606fa7ca
src/InsightsService/InsightsService.csproj Application / implementation documentation 6e81c32841f12d91
src/InsightsService/Program.cs Application / implementation documentation 3aceaf19cc216790
src/InsightsService/appsettings.json Application / implementation documentation 817db0bf2ecca783
src/OVERVIEW.md Application / implementation documentation aa7f4ca1ffca79de
src/ObservationService/Application/ObservationApplicationService.cs Application / implementation documentation 4ceaa7d67b391b0a
src/ObservationService/Application/ObservationRepository.cs Application / implementation documentation a1c21ef7e0700b4f
src/ObservationService/Contracts/MeasurementContextPatch.cs Application / implementation documentation fae0cad81e9bec85
src/ObservationService/Contracts/ObservationDto.cs Application / implementation documentation 989312e16eaa4306
src/ObservationService/Contracts/PatchObservationRequest.cs Application / implementation documentation 3be4db307b24e5c8
src/ObservationService/Contracts/RecordObservationRequest.cs Application / implementation documentation 7430845925f6ae9c
src/ObservationService/Contracts/UpdateObservationRequest.cs Application / implementation documentation f1d987f3d0d996ce
src/ObservationService/Controllers/ObservationController.cs Application / implementation documentation 68fe89a643bf1ff0
src/ObservationService/Domain/BloodPressureObservation.cs Application / implementation documentation a968856d9d9a7e8d
src/ObservationService/Domain/ContextSelection.cs Application / implementation documentation 1d7eeba19330a191
src/ObservationService/Domain/MeasurementContext.cs Application / implementation documentation 500c7e2c02213fc1
src/ObservationService/ObservationService.csproj Application / implementation documentation 2a14c125f601d5fa
src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs Application / implementation documentation 9f24f074d1c49343
src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs Application / implementation documentation 1a44e09a08a6045f
src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs Application / implementation documentation 1cb88c86e7a13a5c
src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs Application / implementation documentation da719484aab8eff2
src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs Application / implementation documentation fb9c5c7d874f4b23
src/ObservationService/Persistence/ObservationDbContext.cs Application / implementation documentation 6d9f0c6106db8b2f
src/ObservationService/Persistence/SqlObservationRepository.cs Application / implementation documentation f77e38151d481cc3
src/ObservationService/Program.cs Application / implementation documentation 7ad86451a63a7b49
src/ObservationService/appsettings.json Application / implementation documentation 8cd0df652a9a4966
src/PatientProfileService/Application/PatientApplicationService.cs Application / implementation documentation 8f673a37101bd11a
src/PatientProfileService/Application/PatientRepository.cs Application / implementation documentation 4d9d0ee890f2ce9e
src/PatientProfileService/Application/ProfileAlreadyExistsException.cs Application / implementation documentation 96ee280d51c6996f
src/PatientProfileService/Contracts/CreatePatientRequest.cs Application / implementation documentation dd75326c9d723b9a
src/PatientProfileService/Contracts/PatientDto.cs Application / implementation documentation 2886340d45231135
src/PatientProfileService/Contracts/UpdatePatientRequest.cs Application / implementation documentation 27528295eccdb708
src/PatientProfileService/Controllers/PatientController.cs Application / implementation documentation ac2c59bf16c70ea7
src/PatientProfileService/Domain/Patient.cs Application / implementation documentation 7eaeee54560d9754
src/PatientProfileService/PatientProfileService.csproj Application / implementation documentation 2a14c125f601d5fa
src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs Application / implementation documentation 721fdc07915da2fa
src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs Application / implementation documentation 715e32ae82b3133a
src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs Application / implementation documentation 7d58aae8acc9e4e1
src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs Application / implementation documentation d61827e783580644
src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs Application / implementation documentation 4137f40f98d3de0d
src/PatientProfileService/Persistence/PatientDbContext.cs Application / implementation documentation c3ae81375a6973bb
src/PatientProfileService/Persistence/SqlPatientRepository.cs Application / implementation documentation 637d9a788b95ced0
src/PatientProfileService/Program.cs Application / implementation documentation 087178aa8c556e97
src/PatientProfileService/appsettings.json Application / implementation documentation 8cd0df652a9a4966
src/README.md Application / implementation documentation 8779152d2a416c51
src/TRENDS.md Application / implementation documentation 0506cb4fef1e36e8
tests/Deployment.AcceptanceTests/BootstrapTests.cs Acceptance / fixture / test support fe3dc46f5c127bb3
tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj Acceptance / fixture / test support aa3bee15a11bd295
tests/Deployment.AcceptanceTests/DeploymentFixture.cs Acceptance / fixture / test support 7138d67f1ab0def4
tests/Deployment.AcceptanceTests/InstallationTests.cs Acceptance / fixture / test support b771a4ffdd667eb1
tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs Acceptance / fixture / test support 0995b4980a55c1cd
tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs Acceptance / fixture / test support ce8e908a3ff10c01
tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs Acceptance / fixture / test support 2709163cd782fee2
tests/Observation.AcceptanceTests/DeleteObservationTests.cs Acceptance / fixture / test support 916ebbcc0f5d3737
tests/Observation.AcceptanceTests/HealthInsightTests.cs Acceptance / fixture / test support b6e1cfac712455f3
tests/Observation.AcceptanceTests/HealthOverviewTests.cs Acceptance / fixture / test support 0e7874fde9943828
tests/Observation.AcceptanceTests/HealthTrendTests.cs Acceptance / fixture / test support 48266f7b71838fe9
tests/Observation.AcceptanceTests/LatestObservationTests.cs Acceptance / fixture / test support d4cb653d7fc0999b
tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs Acceptance / fixture / test support 7cf4d025ac906cce
tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj Acceptance / fixture / test support 68f9427df8b24b70
tests/Observation.AcceptanceTests/ObservationApiFixture.cs Acceptance / fixture / test support a26195b246a37547
tests/Observation.AcceptanceTests/ObservationHistoryTests.cs Acceptance / fixture / test support 17299fb041080f2a
tests/Observation.AcceptanceTests/PatchObservationTests.cs Acceptance / fixture / test support 84cbd448712e3b32
tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs Acceptance / fixture / test support 466ae0a234bb5deb
tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs Acceptance / fixture / test support 1e3c87b0666c6a87
tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs Acceptance / fixture / test support d582410cd6b277a7
tests/Observation.AcceptanceTests/RecordObservationTests.cs Acceptance / fixture / test support 2cb26f6bed1d3c8e
tests/Observation.AcceptanceTests/UpdateObservationTests.cs Acceptance / fixture / test support ad18354dc70dbe42
tests/Observation.AcceptanceTests/ViewObservationContextTests.cs Acceptance / fixture / test support 3b25fb13e3582bdf
tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs Acceptance / fixture / test support 60dbf89fd22f9e75
tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs Acceptance / fixture / test support 2b0bb2b9b727a178
tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs Acceptance / fixture / test support b4de9f53f067bf7d
tests/PatientProfile.AcceptanceTests/PatientApiFixture.cs Acceptance / fixture / test support e54c213453683996
tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj Acceptance / fixture / test support d224cf5a084478bf
tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs Acceptance / fixture / test support 2bfebdf5fceaf2fc
tests/Support/AuthenticatedTestClient.cs Acceptance / fixture / test support 112bb94396a6272b

Test behavior index

This index records declared test method names so that claims can be cross-checked against concrete assertions/setup. Theory case counts are not enumerated; method count is not the executed test count.

BootstrapTests.cs

Source: tests/Deployment.AcceptanceTests/BootstrapTests.cs.

  • Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies

InstallationTests.cs

Source: tests/Deployment.AcceptanceTests/InstallationTests.cs.

  • A_selected_service_release_can_be_built_into_a_relative_output_directory
  • Only_selected_payloads_configuration_and_independent_units_are_installed
  • Configuration_and_certificates_are_generated_with_matching_credentials_and_private_permissions
  • Dedicated_database_roles_cannot_access_each_others_data_or_administer_the_server
  • New_deployments_get_new_secrets_and_do_not_overwrite_existing_material
  • Native_configuration_adapters_use_the_same_service_values_and_independent_paths
  • Invalid_service_selection_is_rejected_without_creating_an_installation
  • Invalid_topology_fails_before_generating_configuration_or_credentials
  • A_single_installed_service_starts_and_stops_without_other_local_service_processes
  • Two_colocated_installed_services_run_with_independent_configuration_and_processes
  • Installed_complete_system_runs_in_five_processes_and_preserves_network_and_persistence_boundaries

ContextFilteredHistoryTests.cs

Source: tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs.

  • Independent_and_combined_selections_return_matching_context_and_metadata
  • Unknown_selections_match_unknown_categories_without_interpreting_legacy_text
  • No_selection_retains_all_contexts_in_chronological_order_after_restart
  • Empty_filtered_history_is_an_empty_array_with_applied_selection_metadata
  • Filtered_history_preserves_patient_scope_inclusive_boundaries_and_equal_bounds
  • Unsupported_selections_are_rejected_without_changing_observations
  • Professional_reads_follow_assignments_and_other_patient_tokens_cannot_use_filters_to_gain_access

ContextSelectedInsightTests.cs

Source: tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs.

  • Independent_and_combined_selections_use_only_matching_observations_and_report_their_basis
  • Unfiltered_insight_includes_unknown_context_and_explains_mixed_and_missing_conditions
  • Unknown_selection_is_explicit_and_legacy_narrative_does_not_create_known_membership
  • Means_round_only_the_final_value_to_two_decimals_with_half_up_rounding
  • Corrections_clearing_and_deletion_change_membership_and_fresh_summary_results_after_restart
  • Filtered_insight_preserves_patient_scope_inclusive_bounds_and_equal_instants
  • Unsupported_selection_is_rejected_with_validation_details
  • Professional_selection_requires_assignment_and_other_patient_access_is_rejected

DeleteContextualisedObservationTests.cs

Source: tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs.

  • Deleted_context_stays_absent_from_retrieval_filtered_history_and_latest_after_restart
  • New_numerical_summary_excludes_deleted_values_and_retains_current_remaining_observations
  • Deleting_only_contextualised_observation_leaves_empty_filtered_history_and_no_summary
  • Unauthorised_deletions_preserve_the_observation_and_all_context

DeleteObservationTests.cs

Source: tests/Observation.AcceptanceTests/DeleteObservationTests.cs.

  • Deleted_observation_stays_absent_after_restart_and_other_observations_are_preserved
  • Deleting_the_only_observation_leaves_empty_history_and_no_latest_observation
  • Missing_observation_returns_not_found_without_changing_existing_data

HealthInsightTests.cs

Source: tests/Observation.AcceptanceTests/HealthInsightTests.cs.

  • Averages_use_only_the_requested_patient_and_period_after_restart
  • Minimum_and_maximum_values_are_calculated
  • Fractional_averages_are_preserved_and_recalculated_after_correction_and_deletion
  • No_matching_observations_reports_insufficient_data
  • Invalid_or_missing_period_is_rejected
  • Equal_bounds_and_offsets_match_recording_timestamp_semantics
  • Unavailable_observations_report_failure_instead_of_insufficient_data

HealthOverviewTests.cs

Source: tests/Observation.AcceptanceTests/HealthOverviewTests.cs.

  • Overview_preserves_profile_latest_context_and_selected_insight_with_different_bases
  • No_observations_returns_profile_and_explicit_insight_absence
  • Empty_selected_insight_preserves_profile_latest_and_applied_selection
  • Unfiltered_pooled_insight_preserves_mixed_and_unknown_context_explanations
  • Equal_offset_instants_are_valid_and_single_observation_insight_is_sufficient
  • Latest_tie_rules_and_current_corrections_deletions_and_profile_edits_survive_restart
  • Invalid_period_or_context_is_rejected_with_details
  • Assigned_missing_patient_reports_absence_without_exposing_other_patients
  • Overview_requires_owner_or_assigned_professional_and_blocks_direct_bypass
  • Overview_service_credential_is_restricted_to_required_reads
  • Unavailable_source_or_overview_is_a_failure_not_absent_insight

HealthTrendTests.cs

Source: tests/Observation.AcceptanceTests/HealthTrendTests.cs.

  • Full_period_direction_and_separate_units_and_levels
  • Equal_endpoints_do_not_hide_intermediate_excursion_or_reversal
  • Overall_decrease_can_coexist_with_reversals_and_large_variation
  • Low_variation_outside_reference_is_not_healthy
  • Favourable_pressure_decrease_can_still_be_high_while_falling_pulse_is_concerning
  • Moving_low_pulse_up_or_high_pulse_down_is_not_automatically_concerning
  • Opposite_pulse_excursions_within_timestamp_ties_are_not_hidden_by_their_mean
  • References_are_setting_specific_sourced_and_not_treatment_targets
  • Pulse_reference_boundaries_are_exclusive
  • Missing_context_preserves_numerical_direction_but_not_resting_interpretation
  • Known_categories_with_missing_preparation_support_limited_reference_comparison
  • Missing_optional_circumstances_do_not_block_supported_comparison
  • Conflicting_rest_narrative_withholds_resting_interpretation
  • Different_conditions_and_preparation_are_visible_and_limit_combined_trajectory
  • Known_inadequate_pressure_preparation_does_not_block_resting_pulse_reference
  • Timestamp_ties_do_not_manufacture_direction_or_hide_descriptive_range
  • Empty_and_single_series_report_each_unavailable_part
  • Retrieval_and_identifier_order_do_not_change_results_including_ties
  • Inclusive_patient_period_and_equal_offset_instants_apply_before_sufficiency
  • Labelled_home_and_clinic_selections_and_independent_dimensions_use_only_matches
  • Unknown_empty_and_one_selected_observation_do_not_borrow_excluded_data
  • Corrected_values_context_and_deletions_are_used_on_every_request_after_restart
  • Invalid_period_or_selection_is_rejected_with_explanation
  • Trend_access_requires_authentication_ownership_or_professional_assignment
  • Upstream_failure_is_not_misreported_as_empty_data

LatestObservationTests.cs

Source: tests/Observation.AcceptanceTests/LatestObservationTests.cs.

  • Latest_is_selected_by_measurement_time_for_the_requested_patient_after_restart
  • Patient_without_observations_returns_not_found_even_when_another_patient_has_observations
  • Newer_after_activity_observation_is_returned_with_its_own_context
  • Missing_context_does_not_replace_latest_with_an_older_complete_observation
  • Measurement_timestamp_ties_use_original_recording_time_and_ignore_later_edits
  • Complete_timestamp_ties_choose_greatest_identifier_reproducibly_across_restart

MeasurementContextMigrationTests.cs

Source: tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs.

  • Upgrading_an_existing_observation_retains_values_and_text_without_inventing_context

ObservationHistoryTests.cs

Source: tests/Observation.AcceptanceTests/ObservationHistoryTests.cs.

  • Selected_period_returns_only_the_matching_observation_after_restart
  • Results_are_chronological_and_include_both_period_boundaries
  • No_matching_observations_returns_an_empty_array
  • Invalid_or_missing_period_is_rejected_without_changing_observations
  • Offset_bounds_are_normalized_consistently_with_recorded_measurements

PatchObservationTests.cs

Source: tests/Observation.AcceptanceTests/PatchObservationTests.cs.

  • Context_can_be_added_to_a_historical_observation_without_changing_its_measurements
  • Correcting_one_context_field_preserves_omitted_data_and_changes_selection_after_restart
  • Individual_optional_fields_can_be_corrected_or_cleared_without_erasing_other_context
  • Explicit_null_context_object_clears_structured_context_but_preserves_legacy_text_and_numbers
  • Single_numerical_and_legacy_text_updates_preserve_other_values
  • Invalid_patches_reject_the_whole_update_without_changes
  • Unsupported_context_in_a_legacy_put_does_not_silently_apply_its_numerical_changes
  • Missing_observation_is_not_created_by_a_context_patch
  • Other_patients_professionals_and_unauthenticated_clients_cannot_patch_context

PatientAuthenticationTests.cs

Source: tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs.

  • Login_without_profile_returns_normalized_identity_and_no_patient_data
  • Invalid_account_and_invalid_password_have_same_rejection
  • Missing_and_invalid_tokens_reject_every_existing_patient_operation
  • Own_observations_and_insights_are_available_but_another_patients_reads_and_writes_are_rejected
  • Caller_supplied_account_identity_cannot_replace_authenticated_identity
  • Profile_creation_retries_and_concurrency_preserve_one_persistent_association
  • Failed_creation_can_be_retried_without_an_orphan_profile
  • Expired_token_is_rejected_and_login_produces_a_fresh_token
  • Tampering_with_a_valid_token_is_rejected
  • Database_failure_rolls_back_profile_and_association_together
  • Direct_services_reject_client_tokens_missing_keys_and_forged_keys
  • Service_credentials_are_limited_to_their_documented_read_calls
  • Healthcare_professional_cannot_create_profiles

ProfessionalAccessTests.cs

Source: tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs.

  • Login_recognizes_professional_identity_and_does_not_put_assignments_in_the_token_response
  • Professionals_list_only_their_own_assignments_and_can_share_patients
  • Assigned_profiles_observations_context_history_latest_and_insights_are_readable
  • Unassigned_patients_and_observations_are_rejected_even_with_a_supplied_assigned_patient_id
  • Missing_information_for_assigned_patients_follows_existing_retrieval_behaviour
  • Professionals_cannot_create_update_or_delete_any_patient_information
  • Missing_invalid_and_expired_tokens_do_not_disclose_assignments_or_patient_data
  • Incorrect_professional_secret_and_unknown_account_have_identical_login_rejections
  • Patient_cannot_list_professional_assignments_and_retains_own_access
  • Assignment_removal_is_used_after_restart_even_with_an_existing_token
  • Observation_ownership_lookup_failure_fails_closed_while_assignment_list_remains_available

RecordMeasurementContextTests.cs

Source: tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs.

  • Complete_context_is_saved_with_the_correct_values_and_retrievable_after_restart
  • Setting_and_activity_are_independent_and_departures_from_guidance_are_valid
  • Partial_and_absent_context_remain_unknown_without_reinterpreting_legacy_text
  • Conflicting_categories_and_narrative_are_preserved_without_relabelling
  • Invalid_context_is_rejected_with_validation_details_without_saving
  • Context_is_protected_against_other_patient_reads_and_submissions_and_professional_writes
  • Assigned_professional_can_retrieve_saved_context

RecordObservationTests.cs

Source: tests/Observation.AcceptanceTests/RecordObservationTests.cs.

  • Valid_observation_is_assigned_an_identifier_associated_with_the_patient_and_retrievable_after_restart
  • Optional_fields_can_be_omitted_and_identifiers_are_distinct
  • Non_positive_values_are_rejected_without_saving
  • Missing_or_malformed_information_is_rejected_without_saving
  • Missing_patient_is_rejected_without_saving
  • Missing_observation_returns_not_found
  • Failed_patient_lookup_is_rejected_without_saving

UpdateObservationTests.cs

Source: tests/Observation.AcceptanceTests/UpdateObservationTests.cs.

  • Correction_preserves_other_information_and_is_visible_in_all_retrievals_after_restart
  • All_three_measured_values_can_be_corrected
  • Non_positive_values_are_rejected_without_changing_observation
  • Missing_or_malformed_values_are_rejected_without_changes
  • Missing_observation_is_rejected_without_inserting_a_new_observation

ViewObservationContextTests.cs

Source: tests/Observation.AcceptanceTests/ViewObservationContextTests.cs.

  • Complete_saved_context_is_returned_with_its_measurements_and_timestamp_after_restart
  • Partial_saved_context_distinguishes_known_setting_from_unknown_condition_and_details
  • Historical_free_text_is_returned_without_inventing_setting_or_activity
  • Missing_observation_reports_not_found_without_disclosing_saved_context
  • Unauthorised_callers_cannot_read_observation_context
  • Assigned_professional_reads_the_same_context_as_the_owner

AuthenticationIntegrationTests.cs

Source: tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs.

  • Production_gateway_rejects_plain_http_even_for_login_and_public_guidance
  • Standard_replacement_handler_with_same_identity_retains_ownership_policy

CreatePatientTests.cs

Source: tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs.

  • Valid_profile_is_assigned_an_identifier_and_can_be_retrieved_after_restart
  • Missing_required_information_is_rejected_without_persisting
  • Malformed_information_is_rejected
  • Separate_creations_have_distinct_identifiers_and_contact_information_is_optional
  • Unknown_identifier_returns_not_found

MeasurementGuidanceTests.cs

Source: tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs.

  • Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions
  • Activity_is_not_relabelled_as_rest_or_certified
  • Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions
  • Invalid_categories_return_explained_rejections

UpdatePatientTests.cs

Source: tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs.

  • Updated_profile_preserves_identity_and_date_of_birth_and_survives_restart
  • Updating_a_missing_patient_is_rejected_without_creating_a_profile
  • Invalid_name_is_rejected_without_changing_the_profile

Ancillary tool evidence

Tool Responsibility
PasswordHash Established framework hashing utility; reads stdin
energy-jmeter README Experiment topology, data/config boundaries and metric collection
run.py Orchestrates warmup/measurement, validates telemetry and generates reports
generate-plans.py Native JMX sessions, Gaussian delays, token renewals, live power/PerfMon
perfmon.py / shelly.py Metric interpretation/validation and measured-window summaries
report.py Aligned per-second reporting, separate from application runtime