Components
GA<tiro-form-filler/>
Form Filler
The primary component for rendering FHIR Questionnaires.
Attributes:
questionnaire- Canonical URL with version (e.g.,url|version)sdc-endpoint-address- SDC FHIR server URLlaunch-context- JSON object with FHIR resources (Patient, Encounter)read-only- Disable form editing
Methods:
getResponse()- Get current QuestionnaireResponsesubmit()- Programmatically submit the formcheckValidity()- Check if form is valid
Events:
tiro-ready- Fired when the questionnaire is loaded.e.detail.questionnairetiro-update- Fired on every form change.e.detail.responsetiro-submit- Fired when the form is submitted.e.detail.responsetiro-validate- Fired after validation.e.detail.isValid,e.detail.operationOutcometiro-error- Fired on errors.e.detail.error
GA<tiro-narrative/>
Narrative
Generates human-readable clinical narratives from questionnaire responses.
Attributes:
for- ID of the<tiro-form-filler>to link to
<tiro-narrative for="my-form"></tiro-narrative>
Events:
tiro-update- Fired when narrative content changes.e.detail.narrative