Test environment
The test environment is used to test an integration against the new birth message. It uses HelseID test (STS: https://helseid-sts.test.nhn.no).
Getting started
- HelseID client – Register your client in HelseID Self-Service against HelseID test, with audience
nhn:birthsystemand the scope(s) you need (nhn:birthsystem/readand/ornhn:birthsystem/write). - Test users – To register a birth, the authenticated person must be a midwife or doctor, have assurance level 4, and be linked to an organisation (see Authentication). You can find suitable health personnel in the test population via SyntPop, which also includes the health personnel register.
- Test tokens – Instead of full HelseID login in the test environment, you can obtain test tokens from Test Token Tjenesten (TTT). TTT requires that your client is created in HelseID test and that you have a TTT API key.
- Base URL – Access to the test environment's base URL is granted by NHN. Contact NHN Customer Service.
What can be tested?
- Birth registration: single birth, multiple birth and correction
- All validation errors (
400) and the duplicate checks (409) - Status lookups by message ID and by the hospital's identification number
Limitations
- The test environment is not part of Grunndata's other test environments, and test data should not be used in other value-chain tests.
- The test environment must not be used for load testing.
- Forwarding to the Population Register in the test environment depends on the Tax Administration's producer test environment; it is therefore not guaranteed that a message in the test environment reaches a final status (e.g.
Approvedwith a NIN).