復健訓練量表實作指引 (Rehabilitation Training Scale Implementation Guide)
0.2.0 - ci-build

復健訓練量表實作指引 (Rehabilitation Training Scale Implementation Guide), published by Kimsber. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Kimsber/Rehab-IG/ and changes regularly. See the Directory of published versions

CapabilityStatement: My FHIR Server Capability Statement

Official URL: https://build.fhir.org/ig/Kimsber/Rehab-IG/CapabilityStatement/MyFHIRServerCapabilityStatement Version: 0.2.0
Active as of 2025-10-24 Computable Name: MyFHIRServerCapabilityStatement

Server CapabilityStatement for the Rehab IG FHIR RESTful API.

Raw OpenAPI-Swagger Definition file | Download

My FHIR Server Capability Statement

  • Implementation Guide Version: 0.2.0
  • FHIR Version: 4.0.1
  • Supported Formats: xml, json
  • Supported Patch Formats: application/json-patch+json
  • Published on: 2025-10-24
  • Published by: Kimsber

Note to Implementers: FHIR Capabilities

Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.

FHIR RESTful Capabilities

Mode: server

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource TypeProfileRSUCSearches_include_revincludeOperations
Patienthttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
Additional supported profiles:
  根據醫院實際病人範例進行資料定義
YY_id, birthdate, gender, identifier, name$everything
Bundlehttp://hl7.org/fhir/StructureDefinition/Bundle
Additional supported profiles:
  Bundle-評估資料回傳
YY_id, identifier
CarePlanhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
Additional supported profiles:
  Care Plan
YYpatient, category, date, status
Conditionhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore
Additional supported profiles:
  復健病情、問題、診斷
YY_id, clinical-status, code, subject, onset-date, abatement-date, severity
Encounterhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore
Additional supported profiles:
  Encounter
YY_id, class, date, identifier, location, subject, status
Goalhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Goal-twcore
Additional supported profiles:
  病人照護計畫的範例
YYpatient, lifecycle-status, target-date, description
MedicationAdministrationhttp://hl7.org/fhir/StructureDefinition/MedicationAdministration
Additional supported profiles:
  Medication Administration
YYcode, identifier, medication, patient, status, context, device, effective-time, performer, reason-given, reason-not-given, request, subject
Observationhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-screening-assessment-twcore
Additional supported profiles:
  Observation Screening Assessment
YY_id, category, code, date, performer, status, subject, patient, _lastUpdated
Organizationhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore
Additional supported profiles:
  Organization
YY_id, identifier, name, type
Practitionerhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
Additional supported profiles:
  Practitioner
YY_id, identifier, name
PractitionerRolehttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore
Additional supported profiles:
  PractitionerRole
YY_id, identifier, specialty
Procedurehttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore
Additional supported profiles:
  PACProcedure
YY_id, code, status, subject, date
QuestionnaireResponsehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
Additional supported profiles:
  評估問卷回覆-總體
YYYY_id, patient, status, authored, questionnaire$extract
Questionnairehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn
Additional supported profiles:
  評估問卷
YYYYidentifier, title$populate, $render

Base System Profile
TW Core Patient
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDbirthdatedate
SHOULDgendertoken
SHOULDidentifiertoken
SHOULDnamestring
 
Extended Operations
ConformanceOperationDocumentation
SHOULD$everything
Base System Profile
Bundle
Profile Conformance
SHALL
Reference Policy

Supported Profiles

Bundle-評估資料回傳

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDidentifiertoken
 
Base System Profile
TW Core CarePlan
Profile Conformance
SHALL
Reference Policy

Supported Profiles

Care Plan

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULDpatientreference
SHOULDcategorytoken
SHOULDdatedate
SHOULDstatustoken
 
Base System Profile
TW Core Condition
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDclinical-statustoken
SHOULDcodetoken
SHOULDsubjectreference
SHOULDonset-datedate
SHOULDabatement-datedate
SHOULDseveritytoken
 
Base System Profile
TW Core Encounter
Profile Conformance
SHALL
Reference Policy

Supported Profiles

Encounter

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDclasstoken
SHOULDdatedate
SHOULDidentifiertoken
SHOULDlocationreference
SHOULDsubjectreference
SHOULDstatustoken
 
Base System Profile
TW Core Goal
Profile Conformance
SHALL
Reference Policy

Supported Profiles

病人照護計畫的範例

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULDpatientreference
SHOULDlifecycle-statustoken
SHOULDtarget-datedate
SHOULDdescriptiontoken
 
Base System Profile
MedicationAdministration
Profile Conformance
SHALL
Reference Policy

Supported Profiles

Medication Administration

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULDcodetoken
SHOULDidentifiertoken
SHOULDmedicationreference
SHOULDpatientreference
SHOULDstatustoken
SHOULDcontextreference
SHOULDdevicereference
SHOULDeffective-timedate
SHOULDperformerreference
SHOULDreason-giventoken
SHOULDreason-not-giventoken
SHOULDrequestreference
SHOULDsubjectreference
 
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDcategorytoken
SHOULDcodetoken
SHOULDdatedate
SHOULDperformerreference
SHOULDstatustoken
SHOULDsubjectreference
SHOULDpatientreference
SHOULD_lastUpdateddate
 
Base System Profile
TW Core Organization
Profile Conformance
SHALL
Reference Policy

Supported Profiles

Organization

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDidentifiertoken
SHOULDnamestring
SHOULDtypetoken
 
Base System Profile
TW Core Practitioner
Profile Conformance
SHALL
Reference Policy

Supported Profiles

Practitioner

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDidentifiertoken
SHOULDnamestring
 
Base System Profile
TW Core PractitionerRole
Profile Conformance
SHALL
Reference Policy

Supported Profiles

PractitionerRole

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDidentifiertoken
SHOULDspecialtytoken
 
Base System Profile
TW Core Procedure
Profile Conformance
SHALL
Reference Policy

Supported Profiles

PACProcedure

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDcodetoken
SHOULDstatustoken
SHOULDsubjectreference
SHOULDdatedate
 
Profile Conformance
SHALL
Reference Policy

Supported Profiles

評估問卷回覆-總體

Interaction summary
  • SHALL support read, search-type, create.
  • SHOULD support update.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULD_idtoken
SHOULDpatientreference
SHOULDstatustoken
SHOULDauthoreddate
SHOULDquestionnairereference
 
Extended Operations
ConformanceOperationDocumentation
SHALL$extract

The server must implement $extract to:

  1. Receive a completed QuestionnaireResponse.
  2. Parse extraction extensions from the Questionnaire.
  3. Convert the response into structured FHIR resources.
  4. Return a Bundle or a single extracted resource.

Technical expectations:

  • Support ObservationExtract as the common extraction path.
  • Support DefinitionExtract, TemplateExtract, or StructureMapExtract when required by the Questionnaire design.

Extraction priority:

  1. Simple Observation extraction, such as scores or measurements.
  2. Complex resource extraction, such as diagnosis or medication data.
  3. Calculated fields, such as BMI.
  4. Transaction Bundle generation.

Example response format: { "resourceType": "Bundle", "type": "transaction", "entry": [ { "resource": { "resourceType": "Observation", "code": { "coding": [{ "code": "PHQ9", "system": "http://loinc.org" }] }, "value": { "integer": 12 }, "derivedFrom": [{ "reference": "QuestionnaireResponse/qr123" }] } } ] }

This is the final SDC workflow step for importing structured data automatically.

Profile Conformance
SHALL
Reference Policy

Supported Profiles

評估問卷

Interaction summary
  • SHALL support read, search-type.
  • SHOULD support create, update.

Search Parameters
ConformanceParameterTypeDocumentation
SHOULDidentifiertoken
SHOULDtitlestring
 
Extended Operations
ConformanceOperationDocumentation
SHALL$populate

The server must implement $populate to:

  1. Receive a pre-population request from a client.
  2. Query patient data according to questionnaire.item.definition.
  3. Pre-fill answers according to FHIRPath expressions.
  4. Return the pre-populated QuestionnaireResponse.

Technical expectations:

  • Support a FHIRPath engine.
  • Support data lookup for resources such as Patient and Observation.
  • Parse extensions such as processingPriority, itemWeight, and calculatedExpression.

Implementation priority:

  1. Basic pre-population from definition.
  2. FHIRPath evaluation.
  3. answerExpression support.
  4. Complex expressions and conditions.

Example response format: { "resourceType": "QuestionnaireResponse", "questionnaire": "Questionnaire/q1", "status": "in-progress", "item": [ { "linkId": "patient-name", "answer": [{ "valueString": "[automatically populated patient name]" }] } ] }

MAY$render

The server may support $render to:

  • Convert Questionnaire into a renderable format, such as HTML, PDF, or JSON.
  • Apply themes or custom presentation rules.
  • Support multilingual rendering.

Most clients can render questionnaires themselves, so this operation is optional.