Skip to content

Commit

Permalink
Update of 4 forms to point the new form names
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyjemutai committed Aug 10, 2023
1 parent cbddde1 commit 68b0a5f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ const columns = [
header: "Actions",
getValue: (encounter) => [
{
form: { name: "family_information", package: "eth_hiv" },
form: { name: "Family Information", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "View Family Information",
mode: "view",
},
{
form: { name: "family_information", package: "eth_hiv" },
form: { name: "Family Information", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "Edit Family Information",
Expand All @@ -83,7 +83,7 @@ const FamilyInformationList: React.FC<{ patientUuid: string }> = ({
<EncounterList
patientUuid={patientUuid}
encounterType={FAMILY_INFO_ENCOUNTER_TYPE}
formList={[{ name: "family_information" }]}
formList={[{ name: "Family Information" }]}
columns={columns}
description="Family Information List"
headerTitle="Family Members"
Expand Down
6 changes: 3 additions & 3 deletions src/pages/program-management/tabs/followup.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ const Followup: React.FC<{ patientUuid: string }> = ({ patientUuid }) => {
header: "Actions",
getValue: (encounter) => [
{
form: { name: "followup2", package: "eth_hiv" },
form: { name: "POC Followup Form", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "View Followup",
mode: "view",
},
{
form: { name: "followup2", package: "eth_hiv" },
form: { name: "POC Followup Form", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "Edit Followup",
Expand All @@ -93,7 +93,7 @@ const Followup: React.FC<{ patientUuid: string }> = ({ patientUuid }) => {
<EncounterList
patientUuid={patientUuid}
encounterType={FOLLOWUP_ENCOUNTER_TYPE}
formList={[{ name: "followup2" }]}
formList={[{ name: "POC Followup Form" }]}
columns={columns}
description="Followup Encounter List"
headerTitle="Followup"
Expand Down
6 changes: 3 additions & 3 deletions src/pages/program-management/tabs/intake-a.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ const columns = [
header: "Actions",
getValue: (encounter) => [
{
form: { name: "intake_a", package: "eth_hiv" },
form: { name: "POC Intake-A", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "View Intake-A",
mode: "view",
},
{
form: { name: "intake_a", package: "eth_hiv" },
form: { name: "POC Intake-A", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "Edit Intake-A",
Expand All @@ -62,7 +62,7 @@ const IntakeAEncounterList: React.FC<{ patientUuid: string }> = ({
<EncounterList
patientUuid={patientUuid}
encounterType={INTAKE_A_ENCOUNTER_TYPE}
formList={[{ name: "intake_a" }]}
formList={[{ name: "POC Intake-A" }]}
columns={columns}
description="Intake A Encounter List"
headerTitle="Intake A"
Expand Down
6 changes: 3 additions & 3 deletions src/pages/program-management/tabs/intake-b.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ const columns = [
header: "Actions",
getValue: (encounter) => [
{
form: { name: "intake_b", package: "eth_hiv" },
form: { name: "POC Intake-B", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "View Intake-B",
mode: "view",
},
{
form: { name: "intake_b", package: "eth_hiv" },
form: { name: "POC Intake-B", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "Edit Intake-B",
Expand All @@ -62,7 +62,7 @@ const IntakeBEncounterList: React.FC<{ patientUuid: string }> = ({
<EncounterList
patientUuid={patientUuid}
encounterType={INTAKE_B_ENCOUNTER_TYPE}
formList={[{ name: "intake_b" }]}
formList={[{ name: "POC Intake-B" }]}
columns={columns}
description="Intake B Encounter List"
headerTitle="Intake B"
Expand Down

0 comments on commit 68b0a5f

Please sign in to comment.