Skip to content

Commit

Permalink
Updated Test for Search Params
Browse files Browse the repository at this point in the history
  • Loading branch information
julsas committed Apr 2, 2024
1 parent 660762d commit 1cd9946
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/search-param-test/test-search.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ E="http://fhir.de/CodeSystem/icd-10-gm-mehrfachcodierungs-kennzeichen|†"
test "A54.4 count" "$(search "code=$A54_4")" "1"
test "M73.04 count" "$(search "code=$M73_04")" "1"

# Suchparameter: icd10gm-code-diagnosesicherheit
test "A54.4/A count" "$(search "icd10gm-code-diagnosesicherheit=$A54_4\$$A")" "0"
test "A54.4/G count" "$(search "icd10gm-code-diagnosesicherheit=$A54_4\$$G")" "1"

# Suchparameter: icd10gm-code-seitenlokalisation
test "A54.4/L count" "$(search "icd10gm-code-seitenlokalisation=$A54_4\$$L")" "1"
test "A54.4/R count" "$(search "icd10gm-code-seitenlokalisation=$A54_4\$$R")" "0"

# Suchparameter: icd10gm-code-mehrfachcodierung
test "A54.4/M count" "$(search "icd10gm-code-mehrfachcodierung=$A54_4\$$M")" "0"
test "A54.4/E count" "$(search "icd10gm-code-mehrfachcodierung=$A54_4\$$E")" "1"
test "M73.04/M count" "$(search "icd10gm-code-mehrfachcodierung=$M73_04\$$M")" "1"
test "M73.04/E count" "$(search "icd10gm-code-mehrfachcodierung=$M73_04\$$E")" "0"
# Suchparameter: icd10gm-diagnosesicherheit
test "A54.4/A count" "$(search "code=$A54_4&icd10gm-diagnosesicherheit=$A")" "0"
test "A54.4/G count" "$(search "code=$A54_4&icd10gm-diagnosesicherheit=$G")" "1"

# Suchparameter: icd10gm-seitenlokalisation
test "A54.4/L count" "$(search "code=$A54_4&icd10gm-seitenlokalisation=$L")" "1"
test "A54.4/R count" "$(search "code=$A54_4&icd10gm-seitenlokalisation=$R")" "0"

# Suchparameter: icd10gm-mehrfachcodierung
test "A54.4/M count" "$(search "code=$A54_4&icd10gm-mehrfachcodierung=$M")" "0"
test "A54.4/E count" "$(search "code=$A54_4&icd10gm-mehrfachcodierung=$E")" "1"
test "M73.04/M count" "$(search "code=$M73_04&icd10gm-mehrfachcodierung=$M")" "1"
test "M73.04/E count" "$(search "code=$M73_04&icd10gm-mehrfachcodierung=$E")" "0"

0 comments on commit 1cd9946

Please sign in to comment.