diff --git a/CharacterRecordsGenerator.sln b/CharacterRecordsGenerator.sln
index 9a8724e..cc2f943 100644
--- a/CharacterRecordsGenerator.sln
+++ b/CharacterRecordsGenerator.sln
@@ -9,18 +9,24 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
+ Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x64.ActiveCfg = Debug|x64
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x64.Build.0 = Debug|x64
+ {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x86.ActiveCfg = Debug|x86
+ {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x86.Build.0 = Debug|x86
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|Any CPU.Build.0 = Release|Any CPU
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x64.ActiveCfg = Release|x64
{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x64.Build.0 = Release|x64
+ {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x86.ActiveCfg = Release|x86
+ {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/CharacterRecordsGenerator/CRG.ico b/CharacterRecordsGenerator/CRG.ico
new file mode 100644
index 0000000..11f3ebe
Binary files /dev/null and b/CharacterRecordsGenerator/CRG.ico differ
diff --git a/CharacterRecordsGenerator/CharacterRecordsGenerator.csproj b/CharacterRecordsGenerator/CharacterRecordsGenerator.csproj
index b530186..64e5d4a 100644
--- a/CharacterRecordsGenerator/CharacterRecordsGenerator.csproj
+++ b/CharacterRecordsGenerator/CharacterRecordsGenerator.csproj
@@ -70,6 +70,31 @@
MinimumRecommendedRules.ruleset
true
+
+ CRG.ico
+
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ x86
+ 7.3
+ prompt
+ MinimumRecommendedRules.ruleset
+ true
+
+
+ bin\x86\Release\
+ TRACE
+ true
+ pdbonly
+ x86
+ 7.3
+ prompt
+ MinimumRecommendedRules.ruleset
+ true
+
..\packages\ControlzEx.3.0.2.4\lib\net45\ControlzEx.dll
@@ -184,6 +209,9 @@
false
+
+
+
@@ -263,10 +277,12 @@
+
+
-
+
@@ -276,63 +292,90 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
+ ToolTip="Dated records of physical evaluations. One per line." Grid.Row="5"
+ Text="{Binding Path=MedicalPhysicalEvaluations}" TabIndex="10" Grid.ColumnSpan="2" />
+
+
@@ -351,15 +394,19 @@
-
+
+
-
@@ -371,15 +418,19 @@
VerticalAlignment="Bottom" Margin="0" Height="10" />
-
+
+
-
diff --git a/CharacterRecordsGenerator/RecordFormatter.cs b/CharacterRecordsGenerator/RecordFormatter.cs
index 99fa08a..f1f0060 100644
--- a/CharacterRecordsGenerator/RecordFormatter.cs
+++ b/CharacterRecordsGenerator/RecordFormatter.cs
@@ -17,11 +17,13 @@ namespace CharacterRecordsGenerator
private IList _publicNotes;
- private IList _medicalHistory;
- private IList _medicalNotes;
- private IList _medicalPsychHistory;
- private IList _medicalPsychNotes;
- private IList _medicalPrescriptions;
+ private IList _MedicalAllergies;
+ private IList _MedicalCurrentPrescriptions;
+ private IList _MedicalHistory;
+ private IList _MedicalSurgicalHistory;
+ private IList _MedicalPhysicalEvaluations;
+ private IList _MedicalPsychDisorders;
+ private IList _MedicalPsychEvaluations;
private IList _securityRecords;
private IList _securityNotes;
@@ -41,11 +43,13 @@ namespace CharacterRecordsGenerator
_publicNotes = _targetRecord.PublicNotes?.LineSplit();
// Medical
- _medicalHistory = _targetRecord.MedicalHistory?.LineSplit();
- _medicalNotes = _targetRecord.MedicalNotes?.LineSplit();
- _medicalPsychHistory = _targetRecord.MedicalPsychHistory?.LineSplit();
- _medicalPsychNotes = _targetRecord.MedicalPsychNotes?.LineSplit();
- _medicalPrescriptions = _targetRecord.MedicalPrescriptions?.LineSplit();
+ _MedicalAllergies = _targetRecord.MedicalAllergies?.LineSplit();
+ _MedicalCurrentPrescriptions = _targetRecord.MedicalCurrentPrescriptions?.LineSplit();
+ _MedicalHistory = _targetRecord.MedicalHistory?.LineSplit();
+ _MedicalSurgicalHistory = _targetRecord.MedicalSurgicalHistory?.LineSplit();
+ _MedicalPhysicalEvaluations = _targetRecord.MedicalPhysicalEvaluations?.LineSplit();
+ _MedicalPsychDisorders = _targetRecord.MedicalPsychDisorders?.LineSplit();
+ _MedicalPsychEvaluations = _targetRecord.MedicalPsychEvaluations?.LineSplit();
// security
_securityRecords = _targetRecord.SecurityRecords?.LineSplit();
diff --git a/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs b/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs
index 63c5837..44dc3ec 100644
--- a/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs
+++ b/CharacterRecordsGenerator/RecordFormatterGenerationMethods.cs
@@ -139,11 +139,13 @@ namespace CharacterRecordsGenerator
recordText.Append(_commonRecords);
// TODO: make this less horrible
- if (!_medicalHistory.Any() &&
- !_medicalNotes.Any() &&
- !_medicalPsychHistory.Any() &&
- !_medicalPsychNotes.Any() &&
- !_medicalPrescriptions.Any() &&
+ if (!_MedicalAllergies.Any() &&
+ !_MedicalCurrentPrescriptions.Any() &&
+ !_MedicalHistory.Any() &&
+ !_MedicalSurgicalHistory.Any() &&
+ !_MedicalPhysicalEvaluations.Any() &&
+ !_MedicalPsychEvaluations.Any() &&
+ !_MedicalPsychDisorders.Any() &&
!_targetRecord.NoBorg &&
!_targetRecord.NoProsthetic &&
!_targetRecord.NoRevive)
@@ -154,11 +156,9 @@ namespace CharacterRecordsGenerator
else
{
recordText.AppendLine("/// MEDICAL RECORD ///");
+ recordText.AppendLine("The following information is protected by doctor-patient confidentiality laws. Do not release without patient's consent.");
recordText.AppendLine();
- recordText.AppendLine(
- "The following information is protected by doctor-patient confidentiality laws. Do not release without patient's consent.\n");
-
if (_targetRecord.NoBorg || _targetRecord.NoProsthetic || _targetRecord.NoRevive)
{
recordText.AppendLine("IMPORTANT NOTES:");
@@ -176,26 +176,34 @@ namespace CharacterRecordsGenerator
}
WriteSectionIfAny(ref recordText,
- "Notes:",
- _medicalNotes);
+ "Current Prescriptions:",
+ _MedicalCurrentPrescriptions);
WriteSectionIfAny(ref recordText,
- "Medical History:",
- _medicalHistory);
+ "Allergies:",
+ _MedicalAllergies);
WriteSectionIfAny(ref recordText,
- "Psychiatric Notes:",
- _medicalPsychNotes);
+ "Surgical History:",
+ _MedicalSurgicalHistory);
WriteSectionIfAny(ref recordText,
- "Psychiatric History:",
- _medicalPsychHistory);
+ "Medication History:",
+ _MedicalHistory);
WriteSectionIfAny(ref recordText,
- "Prescriptions:",
- _medicalPrescriptions);
+ "Physical Evaluations:",
+ _MedicalPhysicalEvaluations);
+
+ WriteSectionIfAny(ref recordText,
+ "Documented Psychological Disorders:",
+ _MedicalPsychDisorders);
+
+ WriteSectionIfAny(ref recordText,
+ "Psychological Evaluations:",
+ _MedicalPsychEvaluations);
+
-
}
recordText.AppendLine($"LAST UPDATED: {Utility.HumanisedDate(Info.IcDate)}");
return recordText.ToString();
@@ -220,6 +228,7 @@ namespace CharacterRecordsGenerator
else
{
recordText.AppendLine("/// SECURITY RECORD ///");
+ recordText.AppendLine("This information has been verified by employment agents within the External Affairs department, and any comments, questions, or concerns about the legitimacy of such must be sent in a secure document to the same department.");
recordText.AppendLine();
WriteSectionIfAny(ref recordText,