Closed hf-kklein closed 1 month ago
hey @hf-kklein the link that you have provided is not working, Could you check it once !!
@samarsrivastav thanks for your question. The link points to a private repository and a discussion there.
So what we want is:
Muss [1] U ([2] O [3])
is visualized as a tree like this:
FV2404
for all documents valid from April 2024 till end of September 2024), then you can also resolve, what is meant by the single tree nodes [1]
, [2]
and [3]
.format=COMDIS
AHB with format_version=FV2404
, then the tree looks like this:
The link to directly render this is:
https://bedingungsbaum.stage.hochfrequenz.de/tree/?format=FV2404&format_version=COMDIS&expression=Muss%20%5B1%5D%20U%20%28%5B2%5D%20O%20%5B3%5D%29
You need to create an account to use this service. Please note: It's only a test environment so far.
The feature that I requested for ahbesser is is: In the column Pflichtfeld-Kennzeichen
in ahbesser, add a deep link to ahahnb where the expression is non-trivial. Non-trivial means: no link shall be created for just 'Muss' or 'X'.
Check for example this AHB: http://ahb-tabellen.stage.hochfrequenz.de/ahb/FV2404/29001 It would be nice to have a link to ahahnb for this line and its expression:
I want to click on X (([939][21]) ∨([940][22])) ∧[508]
and be redirected to https://bedingungsbaum.stage.hochfrequenz.de/tree/?format=FV2404&format_version=COMDIS&expression=X%20%28%28%5B939%5D%5B21%5D%29%20%E2%88%A8%28%5B940%5D%5B22%5D%29%29%20%E2%88%A7%5B508%5D
The base URL https://bedingungsbaum.stage.hochfrequenz.de
has to be configurable via an environment variable. In this example, it refers to our staging/test environemnt.
https://github.com/Hochfrequenz/AHahnB/pull/366
format
,format_version
andexpression
as query params