diff --git a/api/QuestionsApi.Tests/CcsCaseTests.cs b/api/QuestionsApi.Tests/CcsCaseTests.cs index 67e1a14..0292fcd 100644 --- a/api/QuestionsApi.Tests/CcsCaseTests.cs +++ b/api/QuestionsApi.Tests/CcsCaseTests.cs @@ -112,7 +112,7 @@ public sealed class CcsCaseTests Assert.False(topics.Single(value => value.Id == "past_medical_history").Required); Assert.Contains("cholesterol was high", topics.Single(value => value.Id == "past_medical_history").PatientText, StringComparison.OrdinalIgnoreCase); - Assert.Equal(2, request.Cases.Single().GraphicalPresentation.InterviewRevision); + Assert.Equal(3, request.Cases.Single().GraphicalPresentation.InterviewRevision); Assert.Equal("Hyperlipidemia", CcsStore.MedicalHistory(request.Cases.Single())); var exams = request.Cases.Single().Exams; Assert.Equal([ diff --git a/content/ccs/duodenal-ulcer-office-001.json b/content/ccs/duodenal-ulcer-office-001.json index 1e1ec0f..3e556eb 100644 --- a/content/ccs/duodenal-ulcer-office-001.json +++ b/content/ccs/duodenal-ulcer-office-001.json @@ -14,7 +14,7 @@ "graphicalPresentation": { "sceneKey": "doctor_office", "patientAssetKey": "patient_44_white_male", - "interviewRevision": 2 + "interviewRevision": 3 }, "initialChart": { "patientSummary": "44-year-old man attending an office visit", diff --git a/scripts/ui/ccs_cases_2_screen.gd b/scripts/ui/ccs_cases_2_screen.gd index 6879c14..86f7e0c 100644 --- a/scripts/ui/ccs_cases_2_screen.gd +++ b/scripts/ui/ccs_cases_2_screen.gd @@ -5,7 +5,7 @@ const Style := preload("res://scripts/ui/ui_style.gd") const DOCTOR_SCENE := preload("res://scenes/ccs_cases_2/doctor_office.tscn") const DESIGN_SIZE := Vector2(1600.0, 900.0) const FOCUSED_INTERVIEW_CASE_ID := "ccs-gastro-duodenal-ulcer-office-001" -const FOCUSED_INTERVIEW_REVISION := 2 +const FOCUSED_INTERVIEW_REVISION := 3 var main var stage_root: Control @@ -340,7 +340,7 @@ func _restart_with_current_interview(attempt: Dictionary) -> void: return restart_case_external_id = str(attempt.get("caseExternalId", "")) pending_action = "refreshing_interview" - _show_selection("Updating this interview to its latest patient history dialogue...") + _show_selection("Updating this case to the latest interactive examination...") CCSService.abandon() diff --git a/tests/ccs_cases_2_ui_test.gd b/tests/ccs_cases_2_ui_test.gd index ddac3ec..745a16c 100644 --- a/tests/ccs_cases_2_ui_test.gd +++ b/tests/ccs_cases_2_ui_test.gd @@ -71,7 +71,7 @@ func _run() -> void: _assert(screen._is_retired_interview_revision(retired_attempt, { "id": "fatigue_course", "patientText": "I feel tired.", "choices": [] }), "an older authored interview revision should trigger a restart") - retired_attempt.graphicalPresentation.interviewRevision = 2 + retired_attempt.graphicalPresentation.interviewRevision = 3 _assert(not screen._is_retired_interview_revision(retired_attempt, {}), "the current authored interview revision should remain active") @@ -288,7 +288,7 @@ func _sample_attempt(completed: bool) -> Dictionary: return { "id": "attempt-1", "state": "active", "revision": 1, "simulatedStartUtc": "2026-08-05T09:00:00Z", "simulatedMinute": 0, - "graphicalPresentation": {"sceneKey": "doctor_office", "patientAssetKey": "patient_44_white_male", "interviewRevision": 2}, + "graphicalPresentation": {"sceneKey": "doctor_office", "patientAssetKey": "patient_44_white_male", "interviewRevision": 3}, "medicalHistory": "Hyperlipidemia", "vitals": { "temperature": "36.8 C (98.2 F)", "bloodPressure": "122/76 mm Hg",