Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ohri into develop
  • Loading branch information
aman-icap committed Aug 9, 2024
2 parents d0cdbc7 + 5db74f0 commit 5e4eeb9
Show file tree
Hide file tree
Showing 7 changed files with 1,382 additions and 1,231 deletions.
815 changes: 188 additions & 627 deletions src/forms/ict-general.json

Large diffs are not rendered by default.

322 changes: 263 additions & 59 deletions src/forms/ict-offer.json

Large diffs are not rendered by default.

1,440 changes: 913 additions & 527 deletions src/forms/index-contact-followup.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const IndexCaseTesting: React.FC<{ patientUuid: string }> = ({
<div className={styles.tabContainer}>
<Tabs>
<TabList contained aria-label={""}>
<Tab>ICT General</Tab>
<Tab>ICT Offer</Tab>
<Tab>Index Contact Followup</Tab>
<Tab>Index Case Information</Tab>
<Tab>ICT Service Offering</Tab>
<Tab>ICT Followup</Tab>
<Tab>Family Index Case Contact</Tab>
<Tab>Partner Index Case Information</Tab>
</TabList>
Expand Down
10 changes: 5 additions & 5 deletions src/views/index-case-testing/tabs/ict-general.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ const columns = [
form: { name: "POC ICT General", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "view",
label: "View ICT General",
label: "View Index Case Information",
mode: "view",
},
{
form: { name: "POC ICT General", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "edit",
label: "Edit ICT General",
label: "Edit Index Case Information",
mode: "edit",
},
{
form: { name: "POC ICT General", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "Delete ICT General",
label: "Delete Index Case Information",
mode: "delete",
},
],
Expand All @@ -91,8 +91,8 @@ const ICTGeneral: React.FC<{ patientUuid: string }> = ({ patientUuid }) => {
encounterType={ICT_GENERAL_ENCOUNTER_TYPE}
formList={[{ name: "POC ICT General" }]}
columns={columns}
description="ICT General List"
headerTitle="ICT General"
description="Index Case Information List"
headerTitle="Index Case Information"
launchOptions={{
displayText: "Add",
moduleName: moduleName,
Expand Down
10 changes: 5 additions & 5 deletions src/views/index-case-testing/tabs/ict-offer.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ const columns = [
form: { name: "POC ICT Offer", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "view",
label: "View ICT Offer",
label: "View ICT Service Offering",
mode: "view",
},
{
form: { name: "POC ICT Offer", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "edit",
label: "Edit ICT Offer",
label: "Edit ICT Service Offering",
mode: "edit",
},
{
form: { name: "POC ICT Offer", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "Delete ICT Offer",
label: "Delete ICT Service Offering",
mode: "delete",
},
],
Expand All @@ -81,8 +81,8 @@ const ICTOffer: React.FC<{ patientUuid: string }> = ({ patientUuid }) => {
encounterType={ICT_OFFER_ENCOUNTER_TYPE}
formList={[{ name: "POC ICT Offer" }]}
columns={columns}
description="ICT Offer List"
headerTitle="ICT Offer"
description="ICT Service Offering List"
headerTitle="ICT Service Offering"
launchOptions={{
displayText: "Add",
moduleName: moduleName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ const columns = [
form: { name: "POC Index Contact Followup", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "view",
label: "View Index Contact Followup",
label: "View ICT Followup",
mode: "view",
},
{
form: { name: "POC Index Contact Followup", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "edit",
label: "Edit Index Contact Followup",
label: "Edit ICT Followup",
mode: "edit",
},
{
form: { name: "POC Index Contact Followup", package: "eth_hiv" },
encounterUuid: encounter.uuid,
intent: "*",
label: "Delete Index Contact Followup",
label: "Delete ICT Followup",
mode: "delete",
},
],
Expand Down Expand Up @@ -101,8 +101,8 @@ const IndexContactFollowup: React.FC<{ patientUuid: string }> = ({
encounterType={INDEX_CONTACT_FOLLOWUP_ENCOUNTER_TYPE}
formList={[{ name: "POC Index Contact Followup" }]}
columns={columns}
description="Index Contact Followup List"
headerTitle="Index Contact Followup"
description="ICT Followup"
headerTitle="ICT Followup"
launchOptions={{
displayText: "Add",
moduleName: moduleName,
Expand Down

0 comments on commit 5e4eeb9

Please sign in to comment.