MyFHIRClientCapabilityStatement
type: CapabilityStatement
node role: treeRoot
id:
  v: MyFHIRClientCapabilityStatement
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: CapabilityStatement MyFHIRClientCapabilityStatement My FHIR Client Capability Statement Implementation Guide Version: 0.1.0 FHIR Version: 4.0.1 Supported Formats: json, xml Supported Patch Formats: application/json-patch+json Published on: 2025-10-25 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: client 用戶端建議應該（SHOULD）使用伺服端能力聲明中的查詢參數，支援讀取和查詢一個或多個 Profile。系統互動能力：可能可以（MAY）支援交易（transaction）、批次（batch）與查詢系統（search-system）。 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 Type Profile R S U C Searches _include _revinclude Operations Bundle http://hl7.org/fhir/StructureDefinition/Bundle Y Y _id, identifier CarePlan http://hl7.org/fhir/StructureDefinition/CarePlan Y Y patient, category, date, status Condition http://hl7.org/fhir/StructureDefinition/Condition Y Y _id, clinical-status, code, subject, onset-date, abatement-date, severity Encounter http://hl7.org/fhir/StructureDefinition/Encounter Y Y _id, class, date, identifier, location, subject, status Goal http://hl7.org/fhir/StructureDefinition/Goal Y Y patient, lifecycle-status, target-date, description MedicationAdministration http://hl7.org/fhir/StructureDefinition/MedicationAdministrat…
url:
  v: http://example.org/fhir/CapabilityStatement/MyFHIRClient
  l: MyFHIRClient
version:
  v: 0.1.0
name:
  v: MyFHIRClientCapabilityStatement
title:
  v: My FHIR Client Capability Statement
status:
  v: active
experimental:
  v: false
date:
  v: 2025-10-25
publisher:
  v: Kimsber
contact:
  name:
    v: Kimsber
  telecom:
    system:
      v: url
    value:
      v: https://github.com/Kimsber
description:
  v: 此 CapabilityStatement 定義了用戶端（Client）應支援的 FHIR RESTful API 功能。用戶端建議應該（SHOULD）使用伺服端能力聲明中的查詢參數，支援讀取和查詢一個或多個 FHIR Profile。
kind:
  v: requirements
fhir version:
  v: 4.0.1
format:
  v: json
format:
  v: xml
patch format:
  v: application/json-patch+json
rest:
  mode:
    v: client
  documentation:
    v: 用戶端建議應該（SHOULD）使用伺服端能力聲明中的查詢參數，支援讀取和查詢一個或多個 Profile。系統互動能力：可能可以（MAY）支援交易（transaction）、批次（batch）與查詢系統（search-system）。
  resource:
    type:
      v: Bundle
    profile:
      v: http://hl7.org/fhir/StructureDefinition/Bundle
      l: Bundle
      extension:
        value: Code
    interaction:
      extension:
        value: Code
      code:
        v: read
    interaction:
      extension:
        value: Code
      code:
        v: search-type
    search param:
      extension:
        value: Code
      name:
        v: _id
      definition:
        v: http://example.org/fhir/SearchParameter/Bundle-_id
        l: Bundle- id
      type:
        v: token
    search param:
      extension:
        value: Code
      name:
        v: identifier
      definition:
        v: http://example.org/fhir/SearchParameter/Bundle-identifier
        l: Bundle-identifier
      type:
        v: token
  resource:
    type:
      v: CarePlan
    profile:
      v: http://hl7.org/fhir/StructureDefinition/CarePlan
      l: CarePlan
      extension:
        value: Code
    interaction:
      extension:
        value: Code
      code:
        v: read
    interaction:
      extension:
        value: Code
      code:
        v: search-type
    search param:
      extension:
        value: Code
      name:
        v: patient
      definition:
        v: http://example.org/fhir/SearchParameter/CarePlan-patient
        l: CarePlan-patient
      type:
        v: reference
    search param:
      extension:
        value: Code
      name:
        v: category
      definition:
        v: http://example.org/fhir/SearchParameter/CarePlan-category
        l: CarePlan-category
      type:
        v: token
    search param:
      extension:
        value: Code
      name:
        v: date
      definition:
        v: http://example.org/fhir/SearchParameter/CarePlan-date
        l: CarePlan-date
      type:
        v: date
    search param:
      extension:
        value: Code
      name:
        v: status
      definition:
        v: http://example.org/fhir/SearchParameter/CarePlan-status
        l: CarePlan-status
      type:
        v: token
  resource:
    type:
      v: Condition
    profile:
      v: http://hl7.org/fhir/StructureDefinition/Condition
      l: Condition
      extension:
        value: Code
    interaction:
      extension:
        value: Code
      code:
        v: read
    interaction:
      extension:
        value: Code
      code:
        v: search-type
    search param:
      extension:
        value: Code
      name:
        v: _id
      definition:
        v: http://example.org/fhir/SearchParameter/Condition-_id
        l: Condition- id
      type:
        v: token
    search param:
      extension:
        value: Code
      name:
        v: clinical-status
      definition:
        v: http://example.org/fhir/SearchParameter/Condition-clinical-status
        l: Condition-clinical-status
      type:
        v: token
    search param:
      extension:
        value: Code
      name:
        v: code
      definition:
        v: http://example.org/fhir/SearchParameter/Condition-code
        l: Condition-code
      type:
        v: token
    search param:
      extension:
        value: Code
      name:
        v: subject
      definition:
        v: http://example.org/fhir/SearchParameter/Condition-subject
        l: Condition-subject

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

v: reference

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
name:
  v: onset-date
definition:
  v: http://example.org/fhir/SearchParameter/Condition-onset-date
  l: Condition-onset-date
type:
  v: date

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
name:
  v: abatement-date
definition:
  v: http://example.org/fhir/SearchParameter/Condition-abatement-date
  l: Condition-abatement-date
type:
  v: date

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
name:
  v: severity
definition:
  v: http://example.org/fhir/SearchParameter/Condition-severity
  l: Condition-severity
type:
  v: token

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/Encounter-_id
    l: Encounter- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: class
  definition:
    v: http://example.org/fhir/SearchParameter/Encounter-class
    l: Encounter-class
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: date
  definition:
    v: http://example.org/fhir/SearchParameter/Encounter-date
    l: Encounter-date
  type:
    v: date
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: identifier
  definition:
    v: http://example.org/fhir/SearchParameter/Encounter-identifier
    l: Encounter-identifier
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: location
  definition:
    v: http://example.org/fhir/SearchParameter/Encounter-location
    l: Encounter-location
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: subject
  definition:
    v: http://example.org/fhir/SearchParameter/Encounter-subject
    l: Encounter-subject
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://example.org/fhir/SearchParameter/Encounter-status
    l: Encounter-status
  type:
    v: token

type:
  v: Goal
profile:
  v: http://hl7.org/fhir/StructureDefinition/Goal
  l: Goal
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: patient
  definition:
    v: http://example.org/fhir/SearchParameter/Goal-patient
    l: Goal-patient
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: lifecycle-status
  definition:
    v: http://example.org/fhir/SearchParameter/Goal-lifecycle-status
    l: Goal-lifecycle-status
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: target-date
  definition:
    v: http://example.org/fhir/SearchParameter/Goal-target-date
    l: Goal-target-date
  type:
    v: date
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: description
  definition:
    v: http://example.org/fhir/SearchParameter/Goal-description
    l: Goal-description
  type:
    v: token

type:
  v: MedicationAdministration
profile:
  v: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
  l: MedicationAdministration
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: code
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-code
    l: MedicationAdministration-code
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: identifier
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-identifier
    l: MedicationAdministration-identifier
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: medication
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-medication
    l: MedicationAdministration-medication
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: patient
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-patient
    l: MedicationAdministration-patient
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-status
    l: MedicationAdministration-status
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: context
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-context
    l: MedicationAdministration-context
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: device
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-device
    l: MedicationAdministration-device
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: effective-time
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-effective-time
    l: MedicationAdministration-effective-time
  type:
    v: date
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: performer
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-performer
    l: MedicationAdministration-performer
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: reason-given
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-reason-given
    l: MedicationAdministration-reason-given
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: reason-not-given
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-reason-not-given
    l: MedicationAdministration-reason-not-given
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: request
  definition:
    v: http://example.org/fhir/SearchParameter/MedicationAdministration-request
    l: MedicationAdministration-request
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code

Code
v: SHOULD

v: subject

v: reference

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  l: Observation
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-_id
    l: Observation- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: category
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-category
    l: Observation-category
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: code
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-code
    l: Observation-code
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: date
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-date
    l: Observation-date
  type:
    v: date
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: performer
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-performer
    l: Observation-performer
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-status
    l: Observation-status
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: subject
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-subject
    l: Observation-subject
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: patient
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-patient
    l: Observation-patient
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _lastUpdated
  definition:
    v: http://example.org/fhir/SearchParameter/Observation-_lastUpdated
    l: Observation- lastUpdated
  type:
    v: date

type:
  v: Organization
profile:
  v: http://hl7.org/fhir/StructureDefinition/Organization
  l: Organization
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/Organization-_id
    l: Organization- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: identifier
  definition:
    v: http://example.org/fhir/SearchParameter/Organization-identifier
    l: Organization-identifier
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: name
  definition:
    v: http://example.org/fhir/SearchParameter/Organization-name
    l: Organization-name
  type:
    v: string
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: type
  definition:
    v: http://example.org/fhir/SearchParameter/Organization-type
    l: Organization-type
  type:
    v: token

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/StructureDefinition/Patient
  l: Patient
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/Patient-_id
    l: Patient- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: birthdate
  definition:
    v: http://example.org/fhir/SearchParameter/Patient-birthdate
    l: Patient-birthdate
  type:
    v: date
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: gender
  definition:
    v: http://example.org/fhir/SearchParameter/Patient-gender
    l: Patient-gender
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: identifier
  definition:
    v: http://example.org/fhir/SearchParameter/Patient-identifier
    l: Patient-identifier
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: name
  definition:
    v: http://example.org/fhir/SearchParameter/Patient-name
    l: Patient-name
  type:
    v: string
operation:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: everything
  definition:
    v: http://hl7.org/fhir/OperationDefinition/Patient-everything
    l: Patient-everything

type:
  v: Practitioner
profile:
  v: http://hl7.org/fhir/StructureDefinition/Practitioner
  l: Practitioner
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/Practitioner-_id
    l: Practitioner- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: identifier
  definition:
    v: http://example.org/fhir/SearchParameter/Practitioner-identifier
    l: Practitioner-identifier
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: name
  definition:
    v: http://example.org/fhir/SearchParameter/Practitioner-name
    l: Practitioner-name
  type:
    v: string

type:
  v: PractitionerRole
profile:
  v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  l: PractitionerRole
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/PractitionerRole-_id
    l: PractitionerRole- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: identifier
  definition:
    v: http://example.org/fhir/SearchParameter/PractitionerRole-identifier
    l: PractitionerRole-identifier
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: specialty
  definition:
    v: http://example.org/fhir/SearchParameter/PractitionerRole-specialty
    l: PractitionerRole-specialty
  type:
    v: token

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/StructureDefinition/Procedure
  l: Procedure
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/Procedure-_id
    l: Procedure- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: code
  definition:
    v: http://example.org/fhir/SearchParameter/Procedure-code
    l: Procedure-code
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://example.org/fhir/SearchParameter/Procedure-status
    l: Procedure-status
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: subject
  definition:
    v: http://example.org/fhir/SearchParameter/Procedure-subject
    l: Procedure-subject
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: date
  definition:
    v: http://example.org/fhir/SearchParameter/Procedure-date
    l: Procedure-date
  type:
    v: date

type:
  v: Questionnaire
profile:
  v: http://hl7.org/fhir/StructureDefinition/Questionnaire
  l: Questionnaire
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: identifier
  definition:
    v: http://example.org/fhir/SearchParameter/Questionnaire-identifier
    l: Questionnaire-identifier
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: title
  definition:
    v: http://example.org/fhir/SearchParameter/Questionnaire-title
    l: Questionnaire-title
  type:
    v: string

type:
  v: QuestionnaireResponse
profile:
  v: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
  l: QuestionnaireResponse
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: read
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: create
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  code:
    v: update
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: _id
  definition:
    v: http://example.org/fhir/SearchParameter/QuestionnaireResponse-_id
    l: QuestionnaireResponse- id
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: patient
  definition:
    v: http://example.org/fhir/SearchParameter/QuestionnaireResponse-patient
    l: QuestionnaireResponse-patient
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://example.org/fhir/SearchParameter/QuestionnaireResponse-status
    l: QuestionnaireResponse-status
  type:
    v: token
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: authored
  definition:
    v: http://example.org/fhir/SearchParameter/QuestionnaireResponse-authored
    l: QuestionnaireResponse-authored
  type:
    v: date
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: questionnaire
  definition:
    v: http://example.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire
    l: QuestionnaireResponse-questionnaire
  type:
    v: reference
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: subject
  definition:
    v: http://example.org/fhir/SearchParameter/QuestionnaireResponse-subject
    l: QuestionnaireResponse-subject
  type:
    v: reference
operation:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: extract
  definition:
    v: http://hl7.org/fhir/uv/sdc/OperationDefinition/QuestionnaireResponse-extract
    l: QuestionnaireResponse-extract
  documentation:
    v: 用戶端應支援 $extract 操作以： • 將已完成的問卷回應轉換為結構化 FHIR 資源 • 支援 Observation 提取（計分、測量） • 支援資源 Bundle 提取（複雜資料模型） • 自動計算衍生欄位（如得分） 調用例： POST /QuestionnaireResponse/qr123/$extract 返回值： { "resourceType": "Bundle", "type": "transaction", "entry": [ { "resource": { "resourceType": "Observation", "code": { "coding": [{ "code": "depression-score" }] }, "value": { "integer": 15 } } } ] } 這是 SDC 工作流的關鍵步驟