Skip to content

aidbox-notify-via-custom-resources: use StructureDefinition#41

Merged
ryukzak merged 1 commit into
mainfrom
structuredefinition-custom-resources
Jul 22, 2026
Merged

aidbox-notify-via-custom-resources: use StructureDefinition#41
ryukzak merged 1 commit into
mainfrom
structuredefinition-custom-resources

Conversation

@ryukzak

@ryukzak ryukzak commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

Migrates the aidbox-notify-via-custom-resources example from the removed POST /fhir/FHIRSchema endpoint (HealthSamurai/sansara#8028, refs HealthSamurai/sansara#8017) to POST /fhir/StructureDefinition in README.md, bootstrap.js, and resources.yaml.

Notes:

  • templateParameters previously used the FHIR-incompatible additionalProperties FHIR Schema extension, which has no StructureDefinition equivalent. It is remodeled as a BackboneElement with an explicit patientName child — the only key index.js actually sends, so the demo behavior is unchanged.
  • Docs links updated to the current StructureDefinition custom-resources tutorial URL.

Verification

Ran against a live local Aidbox: both StructureDefinitions are accepted, a TutorNotification instance with templateParameters is created, the status constraint rejects invalid values (422), and the custom search parameters work.

POST/PUT /fhir/FHIRSchema was removed in Aidbox (HealthSamurai/sansara#8017). templateParameters remodeled as a BackboneElement with explicit patientName.
@ryukzak
ryukzak merged commit 5636ac0 into main Jul 22, 2026
@ryukzak
ryukzak deleted the structuredefinition-custom-resources branch July 22, 2026 08:26
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.

1 participant