...
In order for a citizen to gain access to its patient data the citizen needs to be created using the https://docs.ehealth.sundhed.dk/latest/ig/OperationDefinition-ehealth-patient-create.html. Failing to have done so will grant the citizen access to the platform but not its data. This will be reflected in the access token as the user_id
will be a UUID instead of a FHIR Patient
resource reference. This design ensures that federated NemLogin can be verified without blocking the citizen from accessing the platform.