Skip to content

Commit

Permalink
Merge pull request #115 from samply/fix/diagnosis_age_regex
Browse files Browse the repository at this point in the history
fix: regex of age, will filter everything between 10 - 120
  • Loading branch information
MatsJohansen87 authored Jul 16, 2024
2 parents 8318f66 + c933ec7 commit 450cc4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/demo/public/catalogues/catalogue-dktk.json
Original file line number Diff line number Diff line change
Expand Up @@ -7126,7 +7126,7 @@
"fieldType": "number",
"type": "BETWEEN",
"min": 0,
"max": 150,
"max": 130,
"criteria": []
},
{
Expand Down
3 changes: 1 addition & 2 deletions packages/demo/src/AppCCP.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
<lens-search-button title="Suchen" />
</div>
</div>

<div class="grid">
<div class="catalogue-wrapper">
<div class="catalogue">
Expand Down Expand Up @@ -187,7 +186,7 @@
catalogueGroupCode="age_at_diagnosis"
chartType="bar"
groupRange={10}
filterRegex="^(1*[12]*[0-9])"
filterRegex="^(([0-9]?[0-9]$)|(1[0-2]0))"
xAxisTitle="Alter"
yAxisTitle="Anzahl der Primärdiagnosen"
backgroundColor={JSON.stringify(barChartBackgroundColors)}
Expand Down

0 comments on commit 450cc4a

Please sign in to comment.