As a SUT Operator, I want to be able to check the conformance of the IUA Extended Token produced by my SUT

Story status
Draft
Implementation status
Planned
Targetted user
Description

As a SUT Operator, I want to be able to check the conformance of the IUA Extended Token produced by my SUT so that I'll make sure that :

  • The mandatory attributes are present with their right values (error message if failed or info if passed).
  • If the optional attributes are present, their values are conform to the specifications (error message if failed or info if passed).
  • No other irrelevant attributes are present (Warning message if present, no check of the value).

Below are the attributes to test :

Attribute Obligation
iss required
sub required
client_id required
aud required
jti required
exp required
scope required
nbf optional
iat required
subject_name optional
subject_organization_id optional
subject_organization optional
subject_role optional
purpose_of_use optional
home_community_id optional
national_provider_identifier optional
person_id optional

You can find more detail here : https://profiles.ihe.net/ITI/IUA/index.html#volume-2---transactions, parag 3.71.4.2.2.1.1

Acceptance criteria
  • All the mandatory attributes are presents.
    • If so, an info message is returned.
    • If not, a dedicated error with an explanation is returned.
  • All the mandatory attributes values are present and well formed.
    • If so, an info message is returned.
    • If not, a dedicated error with an explanation is returned.
  • If an optional attribute is present, its value have to be present and well formed.
    • If so, an info message is returned.
    • If not, a dedicated error with an explanation is returned.
  • If an expected attribute is present (with or without value), a warning message with the corresponding line number shall be returned.