HL7® Serious Med FHIR® Core Implementation Guide
1.0.0 - ci-build

HL7® Serious Med FHIR® Core Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: SmAddress

Official URL: https://whcater.github.io/serious-med-ig/StructureDefinition/sm-address Version: 1.0.0
Draft as of 2024-11-11 Computable Name: SmAddress

地址(Address) 若有详细地址信息需求,可依情况填选;若无需区分详细地址信息,可使用原生栏位textlinedistrict呈现。

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address 使用邮政规范表达的地址(相对于GPS或其他位置定义格式)
... id 0..1 string 唯一可识别ID,以供资料项目间相互参照。
... use S 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 应填入AddressUse值集中的其中一个代码

... type S 0..1 code postal | physical | both
Binding: AddressType (required): 应填入AddressType值集中的其中一个代码

... line S 0..1 string 路/街
... city S 0..1 string 乡/镇/市/区
... district S 0..1 string 县/市
... state 0..1 string 国家的子单位(缩写也可以)
... postalCode S 0..1 string 邮递区号
.... id 0..1 string xml:id(或JSON格式)。
.... value 0..1 string 邮递区号
... country S 0..1 string 国家(例如:ISO 3166的2个或3个字母代码)。
... period 0..1 Period 此地址曾经/正在使用的时间区间

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address 使用邮政规范表达的地址(相对于GPS或其他位置定义格式)
... id 0..1 string 唯一可识别ID,以供资料项目间相互参照。
... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 应填入AddressUse值集中的其中一个代码


Example General: home
... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 应填入AddressType值集中的其中一个代码


Example General: both
... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ 0..1 string 乡/镇/市/区
Example General: Erewhon
... district SΣ 0..1 string 县/市
Example General: Madison
... state Σ 0..1 string 国家的子单位(缩写也可以)
... postalCode SΣ 0..1 string 邮递区号
Example General: 9132
.... id 0..1 string xml:id(或JSON格式)。
.... value 0..1 string 邮递区号
Max Length: 1048576
... country SΣ 0..1 string 国家(例如:ISO 3166的2个或3个字母代码)。
... period Σ 0..1 Period 此地址曾经/正在使用的时间区间
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address 使用邮政规范表达的地址(相对于GPS或其他位置定义格式)
... id 0..1 string 唯一可识别ID,以供资料项目间相互参照。
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 应填入AddressUse值集中的其中一个代码


Example General: home
... text Σ 0..1 string 地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ 0..1 string 乡/镇/市/区
Example General: Erewhon
... district SΣ 0..1 string 县/市
Example General: Madison
... state Σ 0..1 string 国家的子单位(缩写也可以)
... postalCode SΣ 0..1 string 邮递区号
Example General: 9132
.... id 0..1 string xml:id(或JSON格式)。
.... extension 0..* Extension Additional content defined by implementations
.... value 0..1 string 邮递区号
Max Length: 1048576
... country SΣ 0..1 string 国家(例如:ISO 3166的2个或3个字母代码)。
... period Σ 0..1 Period 此地址曾经/正在使用的时间区间
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Address

Summary

Must-Support: 7 elements

Differential View

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address 使用邮政规范表达的地址(相对于GPS或其他位置定义格式)
... id 0..1 string 唯一可识别ID,以供资料项目间相互参照。
... use S 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 应填入AddressUse值集中的其中一个代码

... type S 0..1 code postal | physical | both
Binding: AddressType (required): 应填入AddressType值集中的其中一个代码

... line S 0..1 string 路/街
... city S 0..1 string 乡/镇/市/区
... district S 0..1 string 县/市
... state 0..1 string 国家的子单位(缩写也可以)
... postalCode S 0..1 string 邮递区号
.... id 0..1 string xml:id(或JSON格式)。
.... value 0..1 string 邮递区号
... country S 0..1 string 国家(例如:ISO 3166的2个或3个字母代码)。
... period 0..1 Period 此地址曾经/正在使用的时间区间

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address 使用邮政规范表达的地址(相对于GPS或其他位置定义格式)
... id 0..1 string 唯一可识别ID,以供资料项目间相互参照。
... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 应填入AddressUse值集中的其中一个代码


Example General: home
... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 应填入AddressType值集中的其中一个代码


Example General: both
... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ 0..1 string 乡/镇/市/区
Example General: Erewhon
... district SΣ 0..1 string 县/市
Example General: Madison
... state Σ 0..1 string 国家的子单位(缩写也可以)
... postalCode SΣ 0..1 string 邮递区号
Example General: 9132
.... id 0..1 string xml:id(或JSON格式)。
.... value 0..1 string 邮递区号
Max Length: 1048576
... country SΣ 0..1 string 国家(例如:ISO 3166的2个或3个字母代码)。
... period Σ 0..1 Period 此地址曾经/正在使用的时间区间
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..* Address 使用邮政规范表达的地址(相对于GPS或其他位置定义格式)
... id 0..1 string 唯一可识别ID,以供资料项目间相互参照。
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 应填入AddressUse值集中的其中一个代码


Example General: home
... text Σ 0..1 string 地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ 0..1 string 乡/镇/市/区
Example General: Erewhon
... district SΣ 0..1 string 县/市
Example General: Madison
... state Σ 0..1 string 国家的子单位(缩写也可以)
... postalCode SΣ 0..1 string 邮递区号
Example General: 9132
.... id 0..1 string xml:id(或JSON格式)。
.... extension 0..* Extension Additional content defined by implementations
.... value 0..1 string 邮递区号
Max Length: 1048576
... country SΣ 0..1 string 国家(例如:ISO 3166的2个或3个字母代码)。
... period Σ 0..1 Period 此地址曾经/正在使用的时间区间
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Address

Summary

Must-Support: 7 elements

 

Other representations of profile: CSV, Excel, Schematron