Environments and Base URLs
Environments
The Pasientens Rekvisisjoner API is available to external API consumers in two separate environments:
- Test: Only for test data regarding synthetic patients
- Production (or Prod): Only for real data regarding real patients
The Test environment is available on the internet and the health network, while Prod is only available on the health network. Therefore, it is a requirement that your organization has membership in the health network to consume the API.
Test
- Prod-like test environment, available for internal and external use.
- Main test environment for cross-environment testing in NHN and for externals.
- Used for functional testing of integration from professional systems against the service.
- We do not want the environment to be used for performance testing unless it has been agreed upon in advance.
- For synthetic test data only! No real data containing personal or personally identifiable data should exist in this environment.
- We have a Swagger UI page with direct access to the test environment.
Note: This environment is widely available and must not contain sensitive information of any kind. It is the responsibility of producers into this environment to ensure that data is properly synthesized, using synthetic person identifiers etc. Create your own synthetic patients with SyntPop (in Norwegian).
Production/Prod
- Production environment.
- Production should never, under any circumstance, be used for testing; neither on synthetic nor real persons.
Note: All new services made available from NHN's private cloud are published on a separate IP segment from other NHN services. If your organization already uses services via the health network, you may still need to add new firewall rules to access the new service.
Base URLs
Below is an overview of available base URLs in the two environments, as well as which DNS they are available on.
| Environment | Base URL | Port | Network Access | Authorization |
|---|---|---|---|---|
| Test | https://test.parek.nhn.no (try it out!) |
443 | Internet, Health network | DPoP |
| Test | https://resident.test.parek.nhn.no* |
443 | Internet, Health network | Bearer Token |
| Prod | https://parek.nhn.no |
443 | Health network | DPoP |
| Prod | https://resident.parek.nhn.no* |
443 | Health network | Bearer Token |
* Helsenorge-specific endpoint, not to be used by other clients.
AMQPS hosts
| Environment | Host. | Port | Network Access |
|---|---|---|---|
| Test | amqps.test.parek.nhn.no |
5671 | Internet, Health network |
| Prod | amqps.parek.nhn.no |
5671 | Health network |