This page is part of the 臺灣核心實作指引(TW Core IG) (v0.1.1: Releases) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Active as of 2023-08-30 |
XML representation of the person-age extension.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="person-age"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">Placeholder</div>
</text>
<url
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age"/>
<version value="0.1.1"/>
<name value="PersonAge"/>
<title value="Person Age"/>
<status value="active"/>
<date value="2023-08-30T12:27:08+08:00"/>
<contact>
<name value="衛生福利部"/>
<telecom>
<system value="url"/>
<value value="https://www.mohw.gov.tw/"/>
</telecom>
<telecom>
<system value="email"/>
<value value="CCYU@mohw.gov.tw"/>
</telecom>
</contact>
<description
value="年齡
- 2023/8/25異動說明:
相較於單純以integer Data Type 使用「數值」呈現年齡,改以Age Data Type包含「數值」及「單位」的呈現,其語意更為精確及使用上較具彈性。"/>
<fhirVersion value="4.0.1"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="complex-type"/>
<abstract value="false"/>
<context>
<type value="element"/>
<expression value="Patient"/>
</context>
<type value="Extension"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension"/>
<derivation value="constraint"/>
<snapshot>
<element id="Extension">
<path value="Extension"/>
<short value="年齡"/>
<definition
value="年齡
- 2023/8/25異動說明:
相較於單純以integer Data Type 使用「數值」呈現年齡,改以Age Data Type包含「數值」及「單位」的呈現,其語意更為精確及使用上較具彈性。"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Extension"/>
<min value="0"/>
<max value="*"/>
</base>
<condition value="ele-1"/>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
</element>
<element id="Extension.id">
<path value="Extension.id"/>
<representation value="xmlAttr"/>
<short value="唯一可識別ID,以供資料項目間相互參照。"/>
<definition value="resource中資料項目的唯一ID(用於內部參照)。這可以是任何不含空格的字串。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Extension.extension">
<path value="Extension.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Extension"/>
<definition value="An Extension"/>
<min value="0"/>
<max value="0"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Extension.url">
<path value="Extension.url"/>
<representation value="xmlAttr"/>
<short value="擴充的資料項目名稱"/>
<definition value="擴充的資料項目之定義連結—一個邏輯名稱或URL"/>
<comment
value="此定義可直接指向可計算的或人類可讀的擴充資料項目的定義,也可以是其他規範中聲明的邏輯URI。此定義**必須(SHALL)** 定義擴充的結構定義的URI。"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Extension.url"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="uri"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<fixedUri
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]"/>
<short value="擴充的資料項目的內容值"/>
<definition
value="擴充的資料項目的內容值—必須是一組受限制的data type中的一個(清單請見[Extensibility](http://hl7.org/fhir/2021Mar/extensibility.html))"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Extension.value[x]"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Age"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
</snapshot>
<differential>
<element id="Extension">
<path value="Extension"/>
<short value="年齡"/>
<definition
value="年齡
- 2023/8/25異動說明:
相較於單純以integer Data Type 使用「數值」呈現年齡,改以Age Data Type包含「數值」及「單位」的呈現,其語意更為精確及使用上較具彈性。"/>
</element>
<element id="Extension.id">
<path value="Extension.id"/>
<short value="唯一可識別ID,以供資料項目間相互參照。"/>
<definition value="resource中資料項目的唯一ID(用於內部參照)。這可以是任何不含空格的字串。"/>
</element>
<element id="Extension.extension">
<path value="Extension.extension"/>
<max value="0"/>
</element>
<element id="Extension.url">
<path value="Extension.url"/>
<short value="擴充的資料項目名稱"/>
<definition value="擴充的資料項目之定義連結—一個邏輯名稱或URL"/>
<comment
value="此定義可直接指向可計算的或人類可讀的擴充資料項目的定義,也可以是其他規範中聲明的邏輯URI。此定義**必須(SHALL)** 定義擴充的結構定義的URI。"/>
<fixedUri
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age"/>
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]"/>
<short value="擴充的資料項目的內容值"/>
<definition
value="擴充的資料項目的內容值—必須是一組受限制的data type中的一個(清單請見[Extensibility](http://hl7.org/fhir/2021Mar/extensibility.html))"/>
<type>
<code value="Age"/>
</type>
</element>
</differential>
</StructureDefinition>
IG © 2022+ 衛生福利部. Package tw.gov.mohw.twcore#0.1.1 based on FHIR 4.0.1. Generated 2023-08-30
Links: Table of Contents |
QA Report
| Version History |
Propose a change