Skip to content

Commit

Permalink
(refactor) commented out providerHIEFHIRReference functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
its-kios09 committed Jan 16, 2025
1 parent 14532c3 commit b9b9669
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
1 change: 0 additions & 1 deletion packages/esm-billing-app/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
"errorOnLine": "Error on line",
"errorRetrievingHIESubscription": "Error retrieving HIE subscription",
"exemptionCategory": "Exemption category",
"exemptionSchema": "Exemption Schema",
"facility": "Facility",
"failedBillPayment": "Bill payment failed",
"failure": "Error loading intervensions",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,14 @@ const ProviderForm: React.FC<ProvideModalProps> = ({ closeWorkspace, provider, u
attributeType: licenseBodyUuid,
value: data.registrationNumber,
},
...(healthWorker
? [
{
attributeType: providerHieFhirReference,
value: JSON.stringify(healthWorker),
},
]
: []), // Include the healthWorker attribute only if it exists
// ...(healthWorker
// ? [
// {
// attributeType: providerHieFhirReference,
// value: JSON.stringify(healthWorker),
// },
// ]
// : []),
],
retired: false,
};
Expand Down
23 changes: 3 additions & 20 deletions packages/esm-providers-app/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
{
"action": "Action",
"activeLicensed": "Active License",
"actives": "Active",
"active": "Active",
"adjustFilterOrSwitch": "Try adjusting your search or switch to a different category above.",
"all": "All Providers",
"cancel": "Cancel",
"chooseIdentifierType": "Choose identifier type",
"continue": "Continue to registration",
"createAnAccount": "Create an account",
"enterIdentifierNumber": "Enter identifier number",
"error": "Error loading user details",
"errorSyncMsg": "",
"expiredlscs": "Expiring license(s)",
"expiringedLicenses": "Expiring(ed) licenses",
"expiryDate": "Expiry Date",
"Gender": "Gender",
"HealthworkerNotFound": "The health worker records could not be found in Health Worker registry, do you want to continue to create an account",
"healthWorkerRegistry": "Health worker registry",
"healthWorkerRegistryEmpty": "Create an Account",
Expand All @@ -28,30 +22,19 @@
"licenseNumber": "License Number",
"loading": "Loading...",
"messageText": "",
"missingExpiryDate": "Missing Expiry Date",
"missingIDno": "Missing National ID",
"missingLicenses": "Missing license(s)",
"missingNational": "Missing national id",
"missingNationalIDs": "Missing national id",
"name": "Name",
"nationalID": "National ID",
"nationalId": "National ID",
"nextPage": "Next page",
"noHealthWorkerFound": "No Health worker found",
"noHwrApi": "Health Care Worker Registry API credentials not configured,Kindly contact system admin. Do you want to continue to create an account",
"noProvidersAvailable": "No providers available",
"previousPage": "Previous page",
"profileOverview": "Profile overview",
"providerManagement": "Providers Management",
"providersAll": "List of provider",
"providersWithActiveLicenses": "Active license",
"ResourceNotFound": "The Health Work Registry is not reachable, kindly confirm your internet connectivity and try again. Do you want to continue to create an account",
"roles": "Roles",
"searchProvider": "Search for provider",
"sync": "Sync",
"syncing": "Syncing...",
"syncmsg": "Account synced successfully!",
"unknown": "Unknown",
"unknownError": "An error occured while searching Health Worker Registry, kindly contact system admin. Do you want to continue to create an account ",
"unlicensed": "Unlicensed",
"WithMissingLicenses": "Missing license"
"unlicensed": "Unlicensed"
}

0 comments on commit b9b9669

Please sign in to comment.