Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 4 additions & 17 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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': []
}

/**
Expand Down Expand Up @@ -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';
Expand Down Expand Up @@ -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")
}
}

Expand Down Expand Up @@ -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']}
/>
<div className={"searchbarItem"} onClick={showSearchResults}>
<Searchbar
Expand Down Expand Up @@ -466,8 +454,7 @@ function App() {
changeSelectedVersion={setSelectedVersion}
changeSelectedDate={setSelectedDate}
labels={labelHash()}
buttons={['ICD', 'CHOP', 'SwissDRG', 'Supplements', 'Reha', 'TARMED', 'TARDOC',
'AmbGroup', 'MIGEL', 'AL', 'DRUG']}
buttons={['ICD', 'CHOP', 'SwissDRG', 'Supplements', 'Reha', 'TARMED', 'MIGEL', 'AL', 'DRUG']}
/>
</div>
</div>
Expand Down
8 changes: 2 additions & 6 deletions src/Components/Bodies/CodeBodyVersionized.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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 = '';
Expand Down Expand Up @@ -167,7 +163,7 @@ function CodeBodyVersionized() {
{displayCode(currentCode, version, catalog)}
</Breadcrumb.Item>
</Breadcrumb>
<h3>{displayCode(currentCode, version, catalog, true)}</h3>
<h3>{displayCode(currentCode, version, catalog)}</h3>
{version === attributes.code || attributes.code === "ALL" ?
<p></p> : <p>{attributes.text}</p>}
<CodeAttributesVersionized
Expand Down
3 changes: 0 additions & 3 deletions src/Components/Buttons/ButtonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,8 @@ function ButtonGroup(props: Props) {
SwissDRG: props.initialVersions['SwissDRG'].at(-1),
CHOP: props.initialVersions['CHOP'].at(-1),
TARMED: props.initialVersions['TARMED'].at(-1),
TARDOC: props.initialVersions['TARDOC'].at(-1),
AmbGroup: props.initialVersions['AmbGroup'].at(-1),
Reha: props.initialVersions['Reha'].at(-1),
Supplements: props.initialVersions['Supplements'].at(-1),
LKAAT: props.initialVersions['LKAAT'].at(-1),
});
const [selectedDate, setSelectedDate] = useState(dateFormat(new Date(), "dd.mm.yyyy"));

Expand Down
3 changes: 0 additions & 3 deletions src/Components/CodeAttributes/CodeAttributesVersionized.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import DrgAttributes from "./DrgAttributes"
import RcgAttributes from "./RcgAttributes";
import {useTranslation} from "react-i18next";
import SupplementsAttributes from "./SupplementsAttributes";
import LkaatAttributes from "./LkaatAttributes";

interface Props {
attributes: IAttributes,
Expand All @@ -33,8 +32,6 @@ function CodeAttributesVersionized({ attributes, catalog, version, siblings, lan
return <SupplementsAttributes attributes={attributes as any} />
case 'rcgs':
return <RcgAttributes attributes={attributes as any} />
case 'service_catalogs':
return <LkaatAttributes attributes={attributes} />
default:
return codeInfos;
}
Expand Down
42 changes: 0 additions & 42 deletions src/Components/CodeAttributes/LkaatAttributes.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/Components/SearchResult/SearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
5 changes: 1 addition & 4 deletions src/Components/Searchbar/Searchbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
19 changes: 2 additions & 17 deletions src/Services/catalog-version.service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

/**
Expand All @@ -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
Expand All @@ -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
}
Expand Down
18 changes: 0 additions & 18 deletions src/assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
17 changes: 0 additions & 17 deletions src/assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
17 changes: 0 additions & 17 deletions src/assets/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
17 changes: 0 additions & 17 deletions src/assets/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down