Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gematik test data added for all schemas and add schemas to catalog #4362

Merged
merged 6 commits into from
Jan 16, 2025
Merged
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
24 changes: 24 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -7385,6 +7385,30 @@
"**/testdata/patient/patients.yaml"
],
"url": "https://json.schemastore.org/gematik-test-patients.json"
},
{
"name": "gematik health care provider list",
"description": "A list of health care providers in german telemedicine",
"fileMatch": ["**/testdata/hcp/hcp.yml", "**/testdata/hcp/hcp.yaml"],
"url": "https://json.schemastore.org/gematik-test-hcps.json"
},
{
"name": "gematik health care provider institution list",
"description": "A list of health care provider institutions in german telemedicine",
"fileMatch": [
"**/testdata/institution/hcpi.yml",
"**/testdata/institution/hcpi.yaml"
],
"url": "https://json.schemastore.org/gematik-test-hcpis.json"
},
{
"name": "gematik health care insurance list",
"description": "A list of health care insurances in german telemedicine",
"fileMatch": [
"**/testdata/insurance/insurance.yml",
"**/testdata/insurance/insurance.yaml"
],
"url": "https://json.schemastore.org/gematik-test-hcpis.json"
}
]
}
36 changes: 36 additions & 0 deletions src/test/gematik-test-hcpis/hcpi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# yaml-language-server: $schema=../../schemas/json/gematik-test-hcpis.json
# Copyright 2024 gematik GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# health care provider institutions ("Leistungserbringerinstitutionen")
# initial content: only health care provider institutions, which are actively used in test or definitely
# planned to be used
# this is a sample as reference. there shall be one file hcpi.yaml to hold the different entries to be used in tests
hcpis:
someHcpInstitution:
hcpiData:
name: someHcpiName
# an hcpi has a SM(C)-B with a telematik-Id
telematik-id: thisIsDummyText
# possible rule names according to roles in https://gemspec.gematik.de/docs/gemSpec/gemSpec_OID/latest/#3.5.1.3
# table 3 (data of first column, remove heading "oid_" string)
hcpiRole: praxis_arzt
cards:
- iccsn: '01234567890123456789'
# expiry date taken from AUT-certificate
expiryDate: '2020-01-01'
type: whatever
# do we need the users of this data to be limited to specific test suites / product teams?
ownerTestsuite: Apollo
50 changes: 50 additions & 0 deletions src/test/gematik-test-hcps/hcp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# yaml-language-server: $schema=../../schemas/json/gematik-test-hcps.json
#
# Copyright 2024 gematik GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# health care provider ("Leistungserbringer")
# initial content: only health care provider, which are actively used in test or definitely
# planned to be used
# this is a sample as reference. There shall be one file hcp.yaml to hold the different entries to be used in tests
hcps:
Wittgenstein:
hcpData:
name:
# Data could also be taken from AUT certificate but is quite static and human-readable in this place
title: Dr.
given: Franz-Josef
last: Wittgenstein
telematik-id: thisIsDummyText
# hcpi: holds the readable name of the health care provider institution
# to be used as a reference to the config data for hcpi
# can refer to a single medical practice, pharmacy, hospital or other hcpi
# multiple entries must be possible
hcpi: someHcpInstitution
# possible rule names according to roles in https://gemspec.gematik.de/docs/gemSpec/gemSpec_OID/latest/#3.5.1.1
# table 2 (data of first column, remove heading "oid_" string)
hcpRole: apotheker
cards:
- iccsn: '01234567890123456789'
# expiry date taken from AUT-certificate
expiryDate: '2025-01-01'
type: smcb

- iccsn: '01234567890123456789'
expiryDate: '2020-01-01'
type: smcb

# do we need the users of this data to be limited to specific test suites / product teams?
# ownerTestsuite: Apollo
54 changes: 54 additions & 0 deletions src/test/gematik-test-insurances/insurance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# yaml-language-server: $schema=../../schemas/json/gematik-test-insurances.json
#
# Copyright 2024 gematik GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Insurances ("Versicherungen" / "Krankenkassen")
# initial content: only insurances, which are actively used in test or definitely planned to be used
# this is a sample as reference. There shall be one file patient.yaml to hold the different patient entries to be used in tests
insurances:
insuranceGematik:
insuranceData:
# hint: as gematik takes over several roles in tests, the specific role is additionally added in the name
# allowed Values:
# insuranceGematik, KKH, TK, Viactiv, BKK_MobilOil, Barmer, BKK_exclusiv, BKK_Technoform, IKK_Nord,
# IKK_Classic, DAK_Gesundheit, mhplus, AOK_NordOst, AOK_Bayern, AOK_BadenWürttemberg, AOK_RheinlandPfalz,
# AOK_BremenBH, AOK_Niedersachsen, AOK_Plus, AOK_Hessen, AOK_SachsenAnhalt
name: insuranceGematik
# an insurance has a SM(C)-B with a telematik-Id, i.e. to access ePA services
telematik-id: thisIsDummyText
# ik ('Institutskennzeichen') is the 9-digit identifier of the insurance
ik: 123456789
# IIN (Issuer Identification Number)
# is part of eGK-ICCSN (digits 6..10 within the 20-digit ICCSN)
# number for all eGK-ICCSNs of patients within this insurance
iin: 88311
# vsdServiceProvider holds the name of the VSDM service provider for the eGK of the insured
# VSDM has nothing to do with IDP
vsdServiceProvider:
# Allowed Values:
# providerGematik, Arge_AOK, gkvi, ITS_Care, Kubus, Mobil_ISC
# BitmarckT, ITSC_GmbH, TK_Provider, Worldline
name: providerGematik
# Links zu VSDM Fachdiensten TU, RU
# Wer würde die Daten nutzen?
TU:
ufs: https://example.org:443/ufs
cms: link to cms
vsdd: link to vsdd
RU:
ufs: thisIsDummyText
cms: link to cms
vsdd: link to vsdd
1 change: 0 additions & 1 deletion src/test/gematik-test-patients/patient.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# yaml-language-server: $schema=../../schemas/json/gematik-test-patients.json
# $schema: resource:/de/gematik/test/testdata/schemes/patients.json
#
# Copyright 2024 gematik GmbH
#
Expand Down
Loading