diff --git a/src/App.tsx b/src/App.tsx index e87e928..42cba08 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -25,7 +25,7 @@ import { useTranslation } from 'react-i18next'; */ const emptyVersions: IVersions = { - 'ICD': [], 'CHOP': [], 'TARMED': [], 'TARDOC': [], 'SwissDRG': [], 'AmbGroup': [], 'Reha': [], 'Supplements': [], 'LKAAT': [] + 'ICD': [], 'CHOP': [], 'TARMED': [], 'SwissDRG': [], 'Reha': [], 'Supplements': [] } /** @@ -124,18 +124,10 @@ function App() { code = ver; resource_type = 'supplements'; break; - case 'AmbGroup': - code = ver; - resource_type = 'capitula'; - break; case 'Reha': code = ver; resource_type = 'arcgs'; break; - case 'LKAAT': - code = ver; - resource_type = 'service_catalogs'; - break; default: code = ver; resource_type = btn.toLowerCase() + '_chapters'; @@ -286,14 +278,11 @@ function App() { 'CHOP': 'CHOP', 'SwissDRG': 'SwissDRG', 'TARMED': 'TARMED', - 'TARDOC': 'TARDOC', - 'AmbGroup': t("LBL_AMB_GROUP"), 'MIGEL': t("LBL_MIGEL_LABEL"), 'AL': t("LBL_AL"), 'DRUG': t("LBL_DRUG"), 'Reha': 'ST Reha', - 'Supplements': t("LBL_SUPPLEMENTS"), - 'LKAAT': t("LBL_LKAAT_LABEL") + 'Supplements': t("LBL_SUPPLEMENTS") } } @@ -417,8 +406,7 @@ function App() { changeSelectedVersion={setSelectedVersion} changeSelectedDate={setSelectedDate} labels={labelHash()} - buttons={['ICD', 'CHOP', 'SwissDRG', 'Supplements', 'Reha', 'TARMED', 'TARDOC', - 'AmbGroup', 'MIGEL', 'AL', 'DRUG', 'LKAAT']} + buttons={['ICD', 'CHOP', 'SwissDRG', 'Supplements', 'Reha', 'TARMED', 'MIGEL', 'AL', 'DRUG']} />
diff --git a/src/Components/Bodies/CodeBodyVersionized.tsx b/src/Components/Bodies/CodeBodyVersionized.tsx index 8e48275..a07d743 100644 --- a/src/Components/Bodies/CodeBodyVersionized.tsx +++ b/src/Components/Bodies/CodeBodyVersionized.tsx @@ -115,7 +115,7 @@ function CodeBodyVersionized() { return cd.replace("ICD10-GM", t("LBL_ICD_LABEL")) } - function displayCode(cd, ver, cat, isHeader = false) { + function displayCode(cd, ver, cat) { let currentItem; let breadcrumbRoot; if (cd) { @@ -128,10 +128,6 @@ function CodeBodyVersionized() { breadcrumbRoot = t('LBL_SUPPLEMENTS') + ' ' + ver.substring(1) } else if (cat === "Reha") { breadcrumbRoot = "ST Reha " + ver.substring(5).replace("_", " ") - } else if (cat === "AmbGroup"){ - breadcrumbRoot = t('LBL_AMB_GROUP') + " " + ver.substring(1) - } else if (cat === "LKAAT") { - breadcrumbRoot = isHeader ? t('LBL_LKAAT') : t('LBL_LKAAT_LABEL') } } else { breadcrumbRoot = ''; @@ -167,7 +163,7 @@ function CodeBodyVersionized() { {displayCode(currentCode, version, catalog)} -

{displayCode(currentCode, version, catalog, true)}

+

{displayCode(currentCode, version, catalog)}

{version === attributes.code || attributes.code === "ALL" ?

:

{attributes.text}

} case 'rcgs': return - case 'service_catalogs': - return default: return codeInfos; } diff --git a/src/Components/CodeAttributes/LkaatAttributes.tsx b/src/Components/CodeAttributes/LkaatAttributes.tsx deleted file mode 100644 index 71168c6..0000000 --- a/src/Components/CodeAttributes/LkaatAttributes.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import React from "react"; -import {IAttributes} from "../../interfaces"; -import {commonCodeInfos} from "../../Utils"; -import {useNavigate} from "react-router-dom"; -import {useTranslation} from "react-i18next"; - -interface Props { - attributes: IAttributes -} - -/** - * Renders code attributes for the LKAAT catalog, transforming service_type and procedure_type - * values into their locale-specific descriptions before display. - */ -function LkaatAttributes({ attributes }: Props) { - const { t } = useTranslation(); - const navigate = useNavigate(); - - function transformAttributes(attrs) { - const result = { ...attrs } - - if (result.service_type) { - result.service_type = t('LBL_SERVICE_TYPE_' + result.service_type.toUpperCase()) - } - - if (result.procedure_type === 'time') { - result.procedure_type = t('LBL_PROCEDURE_TYPE_TIME') - } else if (result.procedure_type === 'action') { - result.procedure_type = t('LBL_PROCEDURE_TYPE_ACTION') - } else { - result.procedure_type = null - } - - return result - } - - const { noCodeError, codeInfos } = commonCodeInfos(transformAttributes(attributes), t, true, navigate) - - return noCodeError ?
{t("LBL_NO_CODE_VERSIONIZED")}
: <>{codeInfos} -} - -export default LkaatAttributes; diff --git a/src/Components/SearchResult/SearchResult.tsx b/src/Components/SearchResult/SearchResult.tsx index 22b092d..036d7d8 100644 --- a/src/Components/SearchResult/SearchResult.tsx +++ b/src/Components/SearchResult/SearchResult.tsx @@ -31,12 +31,8 @@ function SearchResult({ result, showHide }: Props) { pathname = "/" + path[1] + "/" + path[2] + "/" + path[3] + "/drgs/" + result.code } else if (path[2] === "Reha") { pathname = "/" + path[1] + "/" + path[2] + "/" + path[3] + "/rcgs/" + result.code - } else if (path[2] === "AmbGroup") { - pathname = "/" + path[1] + "/" + path[2] + "/" + path[3] + "/amb_groups/" + result.code } else if (path[2] === "Supplements") { pathname = "/" + path[1] + "/" + path[2] + "/" + path[3] + "/supplements/" + result.code - } else if (path[2] === "LKAAT") { - pathname = "/" + path[1] + "/" + path[2] + "/" + path[3] + "/service_catalogs/" + result.code } else { pathname = "/" + path[1] + "/" + path[2] + "/" + path[3] + "/" + path[2].toLowerCase() + "s/" + result.code } diff --git a/src/Components/Searchbar/Searchbar.tsx b/src/Components/Searchbar/Searchbar.tsx index 4e75e61..2e86a4b 100644 --- a/src/Components/Searchbar/Searchbar.tsx +++ b/src/Components/Searchbar/Searchbar.tsx @@ -14,14 +14,11 @@ const resourceTypeByBtn = { "ICD": 'icds', "CHOP": 'chops', "TARMED": 'tarmeds', - "TARDOC": 'tardocs', "MIGEL": 'migels', "AL": 'laboratory_analyses', "DRUG": 'drugs', - 'AmbGroup': 'amb_groups', 'Reha': 'rcgs', - 'Supplements': 'supplements', - 'LKAAT': 'service_catalogs' + 'Supplements': 'supplements' } interface Props { diff --git a/src/Services/catalog-version.service.tsx b/src/Services/catalog-version.service.tsx index a645d0a..e1df725 100644 --- a/src/Services/catalog-version.service.tsx +++ b/src/Services/catalog-version.service.tsx @@ -6,22 +6,16 @@ export const versionizedCatalogs = [ 'SwissDRG', 'CHOP', 'TARMED', - 'TARDOC', - 'AmbGroup', 'Reha', - 'Supplements', - 'LKAAT' + 'Supplements' ] export const currentCatalogsByButton = { 'ICD': 'currentICD', 'SwissDRG': 'currentSwissDRG', 'CHOP': 'currentCHOP', 'TARMED': 'currentTARMED', - 'TARDOC': 'currentTARDOC', - 'AmbGroup': 'currentAmbGroup', 'Reha': 'currentReha', - 'Supplements': 'currentSupplements', - 'LKAAT': 'currentLKAAT' + 'Supplements': 'currentSupplements' } /** @@ -39,11 +33,8 @@ export function cutCatalogFromVersion(catalog, version) { return version.substring(5).replace("_", " ") case "SwissDRG": case "Supplements": - case "AmbGroup": - case "LKAAT": return version case "TARMED": - case "TARDOC": return version.substring(7) default: return @@ -67,14 +58,8 @@ export function convertCatalogToResourceType(catalog) { return "supplements" case "TARMED": return "tarmeds" - case "TARDOC": - return "tardocs" - case "AmbGroup": - return "amb_groups" case "Reha": return "rcgs" - case "LKAAT": - return "service_catalogs" default: return } diff --git a/src/assets/translations/de.json b/src/assets/translations/de.json index 133fa7d..458e291 100644 --- a/src/assets/translations/de.json +++ b/src/assets/translations/de.json @@ -116,24 +116,6 @@ "LBL_DAILY_PHASE_COSTS": "Tageskostengewicht von Phase", "LBL_UPPER_PHASE_LIMIT": "Obere Grenzverweildauer von Phase", "LBL_SUPPLEMENTS": "Zusatzentgelte", - "LBL_LKAAT_LABEL": "LKAAT", - "LBL_LKAAT": "Leistungskatalog ambulante Arzttarife (LKAAT)", - "LBL_SERVICE_TYPE": "Leistungstyp", - "LBL_SIDE_REQUIRED": "Lateralität erforderlich", - "LBL_PROCEDURE_TYPE": "Klassifizierung der Leistungsposition", - "LBL_USED_FOR_GROUPING": "Gruppierungsrelevanz", - "LBL_ASSIGNED_SERVICE_POSITION": "Zugeordnete Leistung", - "LBL_TP_IPL": "TP IPL", - "LBL_DIGNI": "Dignitäten", - "LBL_LIMIT_SIDE": "Lateralität erforderlich", - "LBL_DESCRIPTION": "Beschreibung", - "LBL_SERVICE_TYPE_P": "[P] = Pauschalenposition: Leistung im Anwendungsbereich des Patientenpauschaltarifs (Triggerposition)", - "LBL_SERVICE_TYPE_PZ": "[PZ] = Zusatzleistung für Pauschalenposition. Erfassung ausschliesslich in Kombination mit einer Hauptleistung. Zusatzleistungen werden auch durch den Buchstaben \"Z\" an 8. Position der Leistungsposition gekennzeichnet (Bsp. C00.XE.Z013)", - "LBL_SERVICE_TYPE_E": "[E] = Einzelleistungstarif-Position: Leistung im Anwendungsbereich von TARDOC", - "LBL_SERVICE_TYPE_EZ": "[EZ] = Zusatzleistung für Einzelleistungstarif-Position. Erfassung ausschliesslich in Kombination mit einer Hauptleistung. Zusatzleistungen werden auch durch das Symbol \"+\" oder \"(+)\" gekennzeichnet.", - "LBL_SERVICE_TYPE_N": "[N] = Leistungspositionen weder im Anwendungsbereich von TARDOC noch des Patientenpauschaltarifs: z.B. \"C00.AA.0010 Hämodialyse\"", - "LBL_PROCEDURE_TYPE_TIME": "ZeitLeistung", - "LBL_PROCEDURE_TYPE_ACTION": "Handlungsleistung", "LBL_SUPPLEMENTS_CATALOG": "Zusatzentgeltkatalog", "LBL_REL_CODES_SUPPLEMENTS": "Relevante Codes", "LBL_EXCLUDED_DRGS": "(Basis-)DRGs, welche die Abrechnung des ZE ausschliessen", diff --git a/src/assets/translations/en.json b/src/assets/translations/en.json index fc75d7e..2269495 100644 --- a/src/assets/translations/en.json +++ b/src/assets/translations/en.json @@ -81,23 +81,6 @@ "LBL_DAILY_PHASE_COSTS": "Daily cost weight of phase", "LBL_UPPER_PHASE_LIMIT": "Upper limit of phase", "LBL_SUPPLEMENTS": "Additional charge", - "LBL_LKAAT_LABEL": "LKAAT", - "LBL_LKAAT": "Leistungskatalog ambulante Arzttarife (LKAAT)", - "LBL_SERVICE_TYPE": "Leistungstyp", - "LBL_SIDE_REQUIRED": "Lateralität erforderlich", - "LBL_PROCEDURE_TYPE": "Klassifizierung der Leistungsposition", - "LBL_USED_FOR_GROUPING": "Gruppierungsrelevanz", - "LBL_ASSIGNED_SERVICE_POSITION": "Zugeordnete Leistung", - "LBL_TP_IPL": "TP IPL", - "LBL_DIGNI": "Dignitäten", - "LBL_LIMIT_SIDE": "Lateralität erforderlich", - "LBL_SERVICE_TYPE_P": "[P] = Pauschalenposition: Leistung im Anwendungsbereich des Patientenpauschaltarifs (Triggerposition)", - "LBL_SERVICE_TYPE_PZ": "[PZ] = Zusatzleistung für Pauschalenposition. Erfassung ausschliesslich in Kombination mit einer Hauptleistung. Zusatzleistungen werden auch durch den Buchstaben \"Z\" an 8. Position der Leistungsposition gekennzeichnet (Bsp. C00.XE.Z013)", - "LBL_SERVICE_TYPE_E": "[E] = Einzelleistungstarif-Position: Leistung im Anwendungsbereich von TARDOC", - "LBL_SERVICE_TYPE_EZ": "[EZ] = Zusatzleistung für Einzelleistungstarif-Position. Erfassung ausschliesslich in Kombination mit einer Hauptleistung. Zusatzleistungen werden auch durch das Symbol \"+\" oder \"(+)\" gekennzeichnet.", - "LBL_SERVICE_TYPE_N": "[N] = Leistungspositionen weder im Anwendungsbereich von TARDOC noch des Patientenpauschaltarifs: z.B. \"C00.AA.0010 Hämodialyse\"", - "LBL_PROCEDURE_TYPE_TIME": "ZeitLeistung", - "LBL_PROCEDURE_TYPE_ACTION": "Handlungsleistung", "LBL_SUPPLEMENTS_CATALOG": "Additional charge catalogue", "LBL_REL_CODES_SUPPLEMENTS": "Relevant codes", "LBL_EXCLUDED_DRGS": "(Base-)DRGs that exclude the billing of the AF", diff --git a/src/assets/translations/fr.json b/src/assets/translations/fr.json index 2bd5ed5..624d481 100644 --- a/src/assets/translations/fr.json +++ b/src/assets/translations/fr.json @@ -112,23 +112,6 @@ "LBL_DAILY_PHASE_COSTS": "Cost-weight journalier de la phase", "LBL_UPPER_PHASE_LIMIT": "Borne supérieure en jours de la phase", "LBL_SUPPLEMENTS": "Rémunérations supplémentaires", - "LBL_LKAAT_LABEL": "CPTMA", - "LBL_LKAAT": "Catalogue des prestations relevant des tarifs médicaux ambulatoires (CPTMA)", - "LBL_SERVICE_TYPE": "Type", - "LBL_SIDE_REQUIRED": "Latéralité nécessaire", - "LBL_PROCEDURE_TYPE": "Classification des postes de prestation", - "LBL_USED_FOR_GROUPING": "Pertinence du regroupement", - "LBL_ASSIGNED_SERVICE_POSITION": "Prestation attribuée", - "LBL_TP_IPL": "PT PIP", - "LBL_DIGNI": "Valeurs intrinsèques qualitatives", - "LBL_LIMIT_SIDE": "Latéralité nécessaire", - "LBL_SERVICE_TYPE_P": "[P] = Position forfaitaire: prestation dans le champ d'application du tarif forfaitaire par patient", - "LBL_SERVICE_TYPE_PZ": "[PZ] = prestation additionnelle pour position forfaitaire. Ne doit être saisie qu'en combinaison avec une prestation principale. Les prestations additionnelles sont désignées par la lettre «Z» à la 8e position de la prestation (p. Ex. C00.XE.Z012)", - "LBL_SERVICE_TYPE_E": "[E] = Position du tarif à la prestation: prestation dans le champ d'application du TARDOC", - "LBL_SERVICE_TYPE_EZ": "[EZ] = prestation additionnelle pour position du tarif à la prestation. Ne doit être saisie qu'en combinaison avec une prestation principale. Les prestations additionnelles sont également désignées par le symbole «+» ou «(+)».", - "LBL_SERVICE_TYPE_N": "[N] = prestations ne relevant ni du champ d'application du TARDOC ni de celui du tarif forfaitaire par patient: p. ex. «C00.AA.0010 Hémodialyse»", - "LBL_PROCEDURE_TYPE_TIME": "Puissance en temps", - "LBL_PROCEDURE_TYPE_ACTION": "Puissance d'action", "LBL_SUPPLEMENTS_CATALOG": "Catalogue des rémunérations supplémentaires", "LBL_REL_CODES_SUPPLEMENTS": "Codes pertinents", "LBL_EXCLUDED_DRGS": "DRG (de base) excluant une tarification de la rémunération supplémentaire", diff --git a/src/assets/translations/it.json b/src/assets/translations/it.json index c06d143..f1aa1fd 100644 --- a/src/assets/translations/it.json +++ b/src/assets/translations/it.json @@ -112,23 +112,6 @@ "LBL_DAILY_PHASE_COSTS": "Peso dei costi giornaliero della fase", "LBL_UPPER_PHASE_LIMIT": "Limite superiore della durata di degenza della fase", "LBL_SUPPLEMENTS": "Rimunerazioni supplementari", - "LBL_LKAAT_LABEL": "EPTMA", - "LBL_LKAAT": "Elenco delle prestazioni per tariffe mediche ambulatoriali (EPTMA)", - "LBL_SERVICE_TYPE": "Tipo", - "LBL_SIDE_REQUIRED": "Lateralità necessario", - "LBL_PROCEDURE_TYPE": "Classificazione degli elementi del servizio", - "LBL_USED_FOR_GROUPING": "Rilevanza del raggruppamento", - "LBL_ASSIGNED_SERVICE_POSITION": "Prestazioni attribuite", - "LBL_TP_IPL": "PT PIP", - "LBL_DIGNI": "Valori intrinseci qualitativi", - "LBL_LIMIT_SIDE": "Lateralità necessario", - "LBL_SERVICE_TYPE_P": "[P] = posizione forfettaria: prestazione nel campo di applicazione della tariffa forfettaria per il paziente", - "LBL_SERVICE_TYPE_PZ": "[PZ] = prestazione supplementare per posizione forfettaria. Registrazione esclusivamente in combinazione con una prestazione principale. Le prestazioni supplementari sono contrassegnate anche dalla lettera \"Z\" nell'ottava posizione di prestazione (ad es. C00.XE.Z012).", - "LBL_SERVICE_TYPE_E": "[E] = posizione tariffaria per singola prestazione: prestazione nel campo di applicazione della TARDOC.", - "LBL_SERVICE_TYPE_EZ": "[EZ] = prestazione supplementare per posizione tariffale per singola prestazione. Registrazione esclusivamente in combinazione con una prestazione principale. Le prestazioni supplementari sono contrassegnate anche con il simbolo \"+\" o \"(+)\".", - "LBL_SERVICE_TYPE_N": "[N] = prestazioni al di fuori del campo di applicazione della TARDOC e della tariffa forfettaria per paziente: ad es. \"C00.AA.0010 Emodialisi\"", - "LBL_PROCEDURE_TYPE_TIME": "Prestazioni a tempo", - "LBL_PROCEDURE_TYPE_ACTION": "Prestazioni a azione", "LBL_SUPPLEMENTS_CATALOG": "Catalogo delle rimunerazioni supplementari", "LBL_REL_CODES_SUPPLEMENTS": "Codici rilevanti", "LBL_EXCLUDED_DRGS": "DRG (di base) che escludono il conteggio della remunerazione supplementare",