臺灣社政領域基礎實作指引, published by 衛生福利部社會及家庭署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/sfaassn2025-source/base/ and changes regularly. See the Directory of published versions
| Official URL: https://sfaa.gov.tw/base/StructureDefinition/twss-patient-age | Version: 0.0.1 | |||
| Draft as of 2026-09-03 | Computable Name: TWSSPatientAge | |||
記錄個案年齡及其判定日期。
Context of Use
This extension may be used on the following element(s)
Patient
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | 個案年齡 Constraints: twss-age-requires-recorded-date |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "age" | |
![]() ![]() ![]() ![]() |
1..1 | Age | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "recordedDate" | |
![]() ![]() ![]() ![]() |
1..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://sfaa.gov.tw/base/StructureDefinition/twss-patient-age" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | 個案年齡 Constraints: twss-age-requires-recorded-date |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "age" | |
![]() ![]() ![]() ![]() |
1..1 | Age | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "recordedDate" | |
![]() ![]() ![]() ![]() |
1..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://sfaa.gov.tw/base/StructureDefinition/twss-patient-age" | |
Documentation for this format | ||||
This structure is derived from Extension
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | 個案年齡 Constraints: twss-age-requires-recorded-date |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "age" | |
![]() ![]() ![]() ![]() |
1..1 | Age | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "recordedDate" | |
![]() ![]() ![]() ![]() |
1..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://sfaa.gov.tw/base/StructureDefinition/twss-patient-age" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Extension | 個案年齡 Constraints: twss-age-requires-recorded-date |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "age" | |
![]() ![]() ![]() ![]() |
1..1 | Age | Value of extension | |
![]() ![]() ![]() |
S | 0..1 | Extension | Extension |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "recordedDate" | |
![]() ![]() ![]() ![]() |
1..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://sfaa.gov.tw/base/StructureDefinition/twss-patient-age" | |
Documentation for this format | ||||
This structure is derived from Extension
Other representations of profile: CSV, Excel, Schematron
| Id | Grade | Path(s) | Description | Expression |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| twss-age-requires-recorded-date | error | Extension | 填寫年齡時,必須同時填寫年齡記錄日期。 |
extension.where(url = 'age').exists() implies extension.where(url = 'recordedDate').exists()
|