Test environments and test data
Each test environment serves a specific purpose and should contain its own unique set of test data, often associated with the same synthetic test patient. The use of production data or real patient information in test environments is strictly prohibited.
In each environment, this service is connected to external sources that may provide references to external documents. In some cases, external providers may not be able to offer separate environments corresponding to each NHN test environment. As a result, the same external documents may be accessible across multiple NHN test environments.
Our own "synthetic patients" are provided by SyntPop (NHNs solution to provide basic synthetic core pesonalia, potentially enriched with specific norwegian attributes)
Publicly available test environments
Dev environmentNote!: This environment is intended for development and early testing purposes and may be unstable under certain conditions. If you encounter any unexpected issues or irregular behavior, please contact the development team via the Slack channel. The test environment is available at https://api-dev.pjd.test.nhn.no Swagger: https://api-dev.pjd.test.nhn.no/swagger It sends requests to pjd-ehs-dev.test.nhn.no. This environment is available both from Helsenettet and from the regular Internet. |
Test environmentThe test environment is available at https://api.pjd.test.nhn.no Swagger: https://api.pjd.test.nhn.no/swagger It sends requests to pjd-ehs.test.nhn.no. This environment is available both from Helsenettet and from the regular Internet. |
QA environmentThe QA is available at https://api.pjd.qa.nhn.no. It sends requests to pjd-ehs.qa.nhn.no. This environment is only available from Helsenettet and not on the regular Internet. |
Test Data
Test patients and test health personell
Our internal document registry in Norsk helsenett in the test environment is preloaded with some default test patients which has some patient health records.
Furthermore, the test environment will query other Cross Community Gateways in the test environments of connected registry servers.
Test patient with documents and different formats
| Patient.identifier (NIN) | Patient Name | Example document | Location |
|---|---|---|---|
| xxx | [TODO] | NHN document registry |
This test patient has the following documents in the NHN document registry. All documents are returned in CDA format (XML metadata and document content as embedded base64 encoded data). The documents are available in the test environment environments.
Your client should preferrably be able to render all these formats.
| Extension | Mimetype | Description | Title | Location | Instance |
|---|---|---|---|---|---|
| .xml | application/xml | KITH | [TODO] | NHN document registry | Bjarne sykehus |
| application/pdf | [TODO] | NHN document registry | Bjarne sykehus | ||
| .rtf | text/rtf | Rich-Text Format | [TODO] | NHN document registry | Bjarne sykehus |
| .txt | text/plain | Text File | [TODO] | NHN document registry | Bjarne sykehus |
| .png | image/png | Image | [TODO] | NHN document registry | Bjarne sykehus |
| .jpg | image/jpeg | Image | [TODO] | NHN document registry | Bjarne sykehus |
| .gif | image/gif | Image | [TODO] | NHN document registry | Bjarne sykehus |
| .tif/.tiff | image/tiff | Image | [TODO] | NHN document registry | Bjarne sykehus |
Synthetic test patients
| Patient.identifier (NIN) | Patient Name | Identification number type | Location |
|---|---|---|---|
| 02835998374 | AUTORISERT JUL | F-number | Helse S�r-�st |
| 70019950032 | Andine And | F-number | Various |
Synthetic test patients in NHN document registry
| Patient.identifier (NIN) | Patient Name | Identification number type | Location |
|---|---|---|---|
| 17855599120 | USNOBBET KLOKKE | F-number | Various |
| 08777634659 | ULYDIG BOLLE | F-number | Various |
Synthetic test health personell
| NIN | HPR | Health personell name | Authorization |
|---|---|---|---|
| 13116900216 | 565501872 | GR�NN VITS | Lege |
| 13116900216 | 565505933 | KVART GREVLING | Lege |
| 13116900216 | 565512796 | VIRKELIG KJELTRING | Sykepleier |
| 13116900216 | 565501872 | LIVSTRETT BEVER | Vernepleier |
| 13116900216 | DIREKTE HEI | Ikke helsepersonell | |
| 13116900216 | VEIK LOGARITME | Ikke helsepersonell | |
| 13116900216 | HYPPIG AVTALE | Ikke helsepersonell |
more example data to come