Subscription Adapter Implementation Guide
0.1.0 - ci-build
Publish Box goes here
This prototype runs both adapter roles and a mock source system in one Kotlin process. That makes it possible to see the full interaction without deploying multiple services.
Run the prototype from the repository root:
GRADLE_USER_HOME=$PWD/.gradle ./gradlew run --args="--port=8080"
Open:
http://127.0.0.1:8080/http://127.0.0.1:8080/source-adapter/fhirhttp://127.0.0.1:8080/source-system/fhirhttp://127.0.0.1:8080/subscriber/hooks/fhirSubscription to the source adapter role.If you select a different patient for the source event than the subscribed patient, no event notification is delivered to that subscriber.
The left panel represents the subscriber side:
The right panel represents the source side:
The lower traffic log shows the protocol-level interaction between the roles.
Generate the published HTML IG from the repository root:
cd ig
./_preview.sh
When the demo server is running, the generated IG is available at:
http://127.0.0.1:8080/ig/