Publisert - 28.08.2026

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 for PHR REST-API

Dev environment

Note!
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 environment

The 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 environment

The 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

The document sources 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 connected to NHNs test environment. The list below is not exhaustive

Test patients with documents and different formats

Identifier Name Source System
09695436723 Urolig Panter bjarne-sykehus 2.16.578.1.12.4.5.100.3.15
17855599120 USNOBBET KLOKKE rex-sykehus 2.16.578.1.12.4.5.100.3.18
17855599120 USNOBBET KLOKKE kurt-sykehus 2.16.578.1.12.4.5.100.3.17
53665905078 FORSTANDIG HAM kurt-sykehus 2.16.578.1.12.4.5.100.3.17
17855599120 USNOBBET KLOKKE bjarne-sykehus 2.16.578.1.12.4.5.100.3.15
17855599120 USNOBBET KLOKKE origo-sykehus 2.16.578.1.12.4.5.100.3.19
02835998374 AUTORISERT JUL origo-sykehus 2.16.578.1.12.4.5.100.3.19
30707936017 Lørdags Disco origo-sykehus 2.16.578.1.12.4.5.100.3.19
01830349835 SELVTILFREDS JANUAR origo-sykehus 2.16.578.1.12.4.5.100.3.19
66835400272 STERK MOTVIND origo-sykehus 2.16.578.1.12.4.5.100.3.19
08777634659 ULYDIG BOLLE origo-sykehus 2.16.578.1.12.4.5.100.3.19
08777634659 ULYDIG BOLLE tim-sykehus 2.16.578.1.12.4.5.100.3.16
08777634659 ULYDIG BOLLE bjarne-sykehus 2.16.578.1.12.4.5.100.3.15
05898597468 GRØNN VITS bjarne-sykehus 2.16.578.1.12.4.5.100.3.15
17855599120 Usnobbet Klokke bjarne-sykehus 2.16.578.1.12.4.5.100.3.15
22876699307 Livsglad Kreps origo-sykehus 2.16.578.1.12.4.5.100.3.19
16683223356 Vanškelig Îñò-Èŋóŧ Çä-Kavring origo-sykehus 2.16.578.1.12.4.5.100.3.19
18848299525 Typisk Jordskorpe kurt-sykehus 2.16.578.1.12.4.5.100.3.17
24677637834 Blå Mandag origo-sykehus 2.16.578.1.12.4.5.100.3.19
19878996685 Lekker Befal bjarne-sykehus 2.16.578.1.12.4.5.100.3.15
28877099344 Risikabel Eridofobi kurt-sykehus 2.16.578.1.12.4.5.100.3.17
06757031467 Skog Furu origo-sykehus 2.16.578.1.12.4.5.100.3.19
30707936017 Lørdags Disco origo-sykehus 2.16.578.1.12.4.5.100.3.19
21868396234 Umake Idyll rex-sykehus 2.16.578.1.12.4.5.100.3.18
21830899704 Konfus Grønnfink origo-sykehus 2.16.578.1.12.4.5.100.3.19
08830899554 Rosa Pute kurt-sykehus 2.16.578.1.12.4.5.100.3.17
29917395908 Hurtig Badegjest origo-sykehus 2.16.578.1.12.4.5.100.3.19
29844697323 Salig Jordbær origo-sykehus 2.16.578.1.12.4.5.100.3.19
02898898892 Pleiende Toppskarv kurt-sykehus 2.16.578.1.12.4.5.100.3.17
19845899595 Smiskende Harmoni kurt-sykehus 2.16.578.1.12.4.5.100.3.17
01830349835 Selvtilfreds Januar origo-sykehus 2.16.578.1.12.4.5.100.3.19
11886698250 Fattig Aldose origo-sykehus 2.16.578.1.12.4.5.100.3.19
21817796815 Smart Babybag origo-sykehus 2.16.578.1.12.4.5.100.3.19
02835998374 Autorisert Jul kurt-sykehus 2.16.578.1.12.4.5.100.3.17
04733037933 Passiv Dans bjarne-sykehus 2.16.578.1.12.4.5.100.3.15
08777634659 Ulydig Bolle origo-sykehus 2.16.578.1.12.4.5.100.3.19
24895698977 Fruktbar Avstand origo-sykehus 2.16.578.1.12.4.5.100.3.19
04687025550 Hårek Lars O'Brian origo-sykehus 2.16.578.1.12.4.5.100.3.19
10861149590 Memorerende Jerv kurt-sykehus 2.16.578.1.12.4.5.100.3.17
06668904392 Lars Gul origo-sykehus 2.16.578.1.12.4.5.100.3.19
50667086954 Pen Stasjon bjarne-sykehus 2.16.578.1.12.4.5.100.3.15

These test patients have 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. 2

NHN Test Patient - 09695436723 Urolig Panter

This patient is the designated test patient for rendering document data in different formats. It should be available in the TEST environment.

⚠️ If the patient is not available in one of the environments, or a document format is missing, contact us in our slack channel #ext-nhn-pasientens-journaldokumenter

Document formats in test environment

Note!
A client integrating with PHR REST-API should preferrably be able to render all these formats.

Extension Mimetype Description Title Location Instance
.xml application/xml KITH XcaDS Testdata - KITH & TIFF vedlegg NHN document registry bjarne-sykehus
.pdf application/pdf PDF XcaDS Testdata - PDF document NHN document registry bjarne-sykehus
.rtf text/rtf Rich-Text Format XcaDS Testdata - RTF document 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

Legacy test health personell and patient relations

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

Søk i Utviklerportalen

Søket er fullført!