Skip to content

docs(event-messages): document tightened EHealthApplicationEvent schema constraints (CCR0303 AC-7)#270

Open
jhntrifork wants to merge 121 commits intorelease_2026.3from
fix/CCR0303-ig-schema-constraints
Open

docs(event-messages): document tightened EHealthApplicationEvent schema constraints (CCR0303 AC-7)#270
jhntrifork wants to merge 121 commits intorelease_2026.3from
fix/CCR0303-ig-schema-constraints

Conversation

@jhntrifork
Copy link
Copy Markdown
Contributor

Summary

Follow-up to #241 (merged). Adds the tightened JSON schema contract to the public IG so subscribers can validate received events against the same constraint we now enforce at the publisher.

Changes

  • input/pagecontent/event-messages.mdEHealthApplicationEvent section now:

    • Declares resourceReference.minItems: 1 and marks label/reference as required on each item.
    • Adds an allOf block with five if/then/contains rules, one per eventType, each guaranteeing the obligatory resourceReference.label for that event type.
    • The existing Event Types table header is clarified to "Obligatory resourceReference label" and a sentence above it points readers at the schema's enforcement mechanism.
  • input/pagecontent/changelog.md — new ### Event messages bullet under Release 2026.2.

Contract summary (same as ehealth-commons)

eventType Obligatory resourceReference label
AppointmentReminder Appointment
VideoAppointmentReminder Appointment
ReminderSubmitMeasurement ServiceRequest
MissingMeasurement ServiceRequest
NewEHealthMessage EhealthMessage

Cross-repo dependency

  • Mirror of trifork/ehealth#3143 which applies the same constraints in the JSON schema shipped with the Java event model.
  • No FHIR profile is introduced — EHealthApplicationEvent is a JMS message, and this repo's convention is to document JMS events as prose on event-messages.md.

Verification

  • sushi . passes (0 errors). Pre-existing warnings are unrelated.
  • Change is limited to pagecontent/*.md; no FSH resources or StructureDefinitions altered.

BastianTrifork and others added 30 commits February 4, 2026 11:17
…for Wounds Conditions, add supplement CodeSystem for ICD-11 MMS
Added providerAffiliation extension to practitioner profile.
Added providerAffiliation extension to practitioner profile.
Inspection changes.
…e_practitioner_with_providerAffiliation

FUT1-22442 - Added providerAffiliation extension to practitioner profile
Make system required as it does not seem like the fixed system is prefilled.
…pts-to-remove-text-property

Fut1 22166 fetch scripts to remove text property
…ogram

FUT1-15818 Add "fob" as ehealth-program
…unds_terminology

CCR0297 FUT1-19959 wounds terminology
Added valuesets for new annotation fields for CCR0297. Still awaiting clarifications so addition changes is needed.
# Conflicts:
#	input/pagecontent/changelog.md
Updated valueSets to include agreed content.
jhntrifork and others added 28 commits April 13, 2026 14:00
…_systematic

FUT1-22618 - CCR0297 documentation and danish designation for two snomed code.
- using sed instead of jq for edit
- examples now include both request headers and response headers
- reindex (async)
- Binary expunge (bulk export)
…tal_in_search_bundles_for_episodeOfCare

Added small segment about getting total from search result bundles
…ator-role

# Conflicts:
#	input/pagecontent/changelog.md
…lan-administrator-role

[FUT1-22686]: add Clinical Plan Administrator role
….0-regional-subdivision-codes

Changelog: dk-core 3.6.0 RegionalSubDivisionCodes system change
…publish-for-release-2026.2

# Conflicts:
#	input/pagecontent/changelog.md
#	input/resources/CodeSystem-ehealth-oio-bpp-roles.json
#	input/resources/ConceptMap-ehealth.sundhed.dk-ConceptMap-oio-bpp-roles-to-careteam-participant-roles.json
…r-release-2026.2

Fut1 23057 publish for release 2026.2
- try to satisfy sushi transpile
…ma constraints (CCR0303 AC-7)

Mirrors the schema tightening from ehealth-commons (trifork/ehealth#3143)
so the IG and the Java-runtime schema agree on the contract:

- resourceReference requires minItems: 1.
- allOf / if-then / contains rules assert the obligatory resourceReference.label
  per eventType (AppointmentReminder, VideoAppointmentReminder,
  ReminderSubmitMeasurement, MissingMeasurement, NewEHealthMessage).

Changelog updated under Release 2026.2 > Event messages.
Base automatically changed from release_2026.2 to master April 21, 2026 07:23
@jhntrifork jhntrifork changed the base branch from master to release_2026.3 April 22, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants