PMD Hackathon Project

Pasientens Måledata - FHIR R4 Observation Testing

API Testing Console

Test POST - Send Observation

Test GET - Search Observations

Live Observations Monitor

Run a search to start monitoring observations.

When auto-refresh is enabled, the results will update automatically.

PMD API Configuration

Base URL: https://pmd.dev.nhn.no

Authentication: Temporarily disabled for hackathon

Data Model: FHIR R4 Observation only

🔍 Connection Diagnostics

To diagnose connection issues, open your browser's Developer Tools (F12) and check the Console tab. Look for messages starting with [PMD API] or [GET /api/observations].

What to look for:

  • Local network issue: Check if you have internet connectivity. Try pinging pmd.dev.nhn.no
  • PMD API down: Error messages like "500 Internal Server Error" or timeouts
  • Firewall/proxy: Requests blocked before reaching the server
  • Geographic restrictions: PMD API may only accept requests from Norway

Console logs will show:

  • Request details (patient ID, LOINC codes, timestamps)
  • Response status codes (200 = success, 4xx = client error, 5xx = server error)
  • Network error messages (fetch failed, timeout, etc.)
  • Demo mode activation and reason

Testing connectivity:

Try one of the test forms above. The console will show detailed logs about what's happening.

Available Measurement Types

Body temperature

8310-5

Body weight

29463-7

Body height

8302-2

Heart rate

8867-4

Systolic blood pressure

8480-6

Diastolic blood pressure

8462-4

Respiratory rate

9279-1

Oxygen saturation

2708-6

Ethanol [Mass/volume] in Blood

5639-0

Consumption of alcohol

53410008

Does drink caffeine

288456005

Exercise activity

73985-4

Pain severity - 0-10 verbal numeric rating [Score] - Reported

72514-3