HL7中国FHIR Connectathon测试实施指南
2024.5.5 - release
本指南适用于HL7中国的FHIR Connectathon测试。
Defining URL: | http://hl7.org.cn/fhir/StructureDefinition/core-patient |
Version: | 2024.5.5 |
Name: | CorePatient |
Title: | 患者信息结构定义 |
Status: | Active as of 2024-05-05 21:11:47+0800 |
Definition: | 患者资源本地化定义。 |
Publisher: | HL7中国. HL7中国, |
Source Resource: | XML / JSON / Turtle |
本定义的正式URL为:
http://hl7.org.cn/fhir/StructureDefinition/core-patient
这种结构源自 Patient
Summary
Mandatory: 10 elements (1 nested mandatory element)
Must-Support: 2 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
这种结构源自 Patient
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Patient | Patient | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
EthnicGroup | 0..1 | Coding | 民族 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup Binding: 民族类别代码表 (required) | |
Slices for identifier | 2..* | Identifier | 患者业务标识符。例如:身份证、健康卡、社保卡等 Slice: Unordered, Open by value:system | |
identifier:IDC | S | 1..1 | Identifier | 身份证 |
system | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.1 | |
identifier:SIN | S | 1..1 | Identifier | 社保卡 |
system | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.2 | |
active | 1..1 | boolean | 患者状态,默认取值为true。 | |
name | 1..* | HumanName | 患者名称 | |
telecom | 0..* | ContactPoint | 患者的联系方式 | |
gender | 1..1 | code | male | female | other | unknown | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
Gender | 1..1 | Coding | 国标性别代码 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-gender Binding: 生理性别代码表 (required) | |
birthDate | 1..1 | date | 患者的出生日期 | |
address | 0..* | Address | 患者的地址 | |
maritalStatus | 0..1 | CodeableConcept | 婚姻状态 Binding: 婚姻状况代码表 (required) | |
contact | 0..* | BackboneElement | 患者的联系人 | |
relationship | 0..* | CodeableConcept | 患者与联系人之间的关系 Binding: 家庭关系代码表 (required) | |
name | 1..1 | HumanName | 联系人的姓名 | |
telecom | 0..* | ContactPoint | 联系人的联系方式 | |
address | 0..1 | Address | 联系人的地址 | |
link | 0..* | BackboneElement | 连接到另一个患者资源 | |
other | 1..1 | Reference(Patient | RelatedPerson) | 指向其它患者资源的引用 | |
type | 1..1 | code | 连接的类型 | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Patient | 0..* | Patient | Information about an individual or animal receiving health care services | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
EthnicGroup | 0..1 | Coding | 民族 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup Binding: 民族类别代码表 (required) | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | Σ | 2..* | Identifier | 患者业务标识符。例如:身份证、健康卡、社保卡等 Slice: Unordered, Open by value:system | ||||
identifier:IDC | SΣ | 1..1 | Identifier | 身份证 | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.1 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:SIN | SΣ | 1..1 | Identifier | 社保卡 | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.2 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
active | ?!Σ | 1..1 | boolean | 患者状态,默认取值为true。 | ||||
name | Σ | 1..* | HumanName | 患者名称 | ||||
telecom | Σ | 0..* | ContactPoint | 患者的联系方式 | ||||
gender | Σ | 1..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
id | 0..1 | string | xml:id (or equivalent in JSON) | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
Gender | 1..1 | Coding | 国标性别代码 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-gender Binding: 生理性别代码表 (required) | |||||
value | 0..1 | code | Primitive value for code | |||||
birthDate | Σ | 1..1 | date | 患者的出生日期 | ||||
deceased[x] | ?!Σ | 0..1 | Indicates if the individual is deceased or not | |||||
deceasedBoolean | boolean | |||||||
deceasedDateTime | dateTime | |||||||
address | Σ | 0..* | Address | 患者的地址 | ||||
maritalStatus | 0..1 | CodeableConcept | 婚姻状态 Binding: 婚姻状况代码表 (required) | |||||
multipleBirth[x] | 0..1 | Whether patient is part of a multiple birth | ||||||
multipleBirthBoolean | boolean | |||||||
multipleBirthInteger | integer | |||||||
photo | 0..* | Attachment | Image of the patient | |||||
contact | C | 0..* | BackboneElement | 患者的联系人 pat-1: SHALL at least contain a contact's details or a reference to an organization | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
relationship | 0..* | CodeableConcept | 患者与联系人之间的关系 Binding: 家庭关系代码表 (required) | |||||
name | C | 1..1 | HumanName | 联系人的姓名 | ||||
telecom | C | 0..* | ContactPoint | 联系人的联系方式 | ||||
address | C | 0..1 | Address | 联系人的地址 | ||||
gender | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
organization | C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
period | 0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
communication | 0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
language | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: AllLanguages (required): IETF language tag for a human language
| |||||
preferred | 0..1 | boolean | Language preference indicator | |||||
generalPractitioner | 0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider | |||||
managingOrganization | Σ | 0..1 | Reference(Organization) | Organization that is the custodian of the patient record | ||||
link | ?!Σ | 0..* | BackboneElement | 连接到另一个患者资源 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
other | Σ | 1..1 | Reference(Patient | RelatedPerson) | 指向其它患者资源的引用 | ||||
type | Σ | 1..1 | code | 连接的类型 Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code | ||||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Patient | 0..* | Patient | Information about an individual or animal receiving health care services | |
identifier:IDC | Σ | 1..1 | Identifier | 身份证 |
identifier:SIN | Σ | 1..1 | Identifier | 社保卡 |
Documentation for this format |
这种结构源自 Patient
Summary
Mandatory: 10 elements (1 nested mandatory element)
Must-Support: 2 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
差异视图
这种结构源自 Patient
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Patient | Patient | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
EthnicGroup | 0..1 | Coding | 民族 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup Binding: 民族类别代码表 (required) | |
Slices for identifier | 2..* | Identifier | 患者业务标识符。例如:身份证、健康卡、社保卡等 Slice: Unordered, Open by value:system | |
identifier:IDC | S | 1..1 | Identifier | 身份证 |
system | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.1 | |
identifier:SIN | S | 1..1 | Identifier | 社保卡 |
system | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.2 | |
active | 1..1 | boolean | 患者状态,默认取值为true。 | |
name | 1..* | HumanName | 患者名称 | |
telecom | 0..* | ContactPoint | 患者的联系方式 | |
gender | 1..1 | code | male | female | other | unknown | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
Gender | 1..1 | Coding | 国标性别代码 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-gender Binding: 生理性别代码表 (required) | |
birthDate | 1..1 | date | 患者的出生日期 | |
address | 0..* | Address | 患者的地址 | |
maritalStatus | 0..1 | CodeableConcept | 婚姻状态 Binding: 婚姻状况代码表 (required) | |
contact | 0..* | BackboneElement | 患者的联系人 | |
relationship | 0..* | CodeableConcept | 患者与联系人之间的关系 Binding: 家庭关系代码表 (required) | |
name | 1..1 | HumanName | 联系人的姓名 | |
telecom | 0..* | ContactPoint | 联系人的联系方式 | |
address | 0..1 | Address | 联系人的地址 | |
link | 0..* | BackboneElement | 连接到另一个患者资源 | |
other | 1..1 | Reference(Patient | RelatedPerson) | 指向其它患者资源的引用 | |
type | 1..1 | code | 连接的类型 | |
Documentation for this format |
快照视图
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Patient | 0..* | Patient | Information about an individual or animal receiving health care services | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
EthnicGroup | 0..1 | Coding | 民族 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup Binding: 民族类别代码表 (required) | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | Σ | 2..* | Identifier | 患者业务标识符。例如:身份证、健康卡、社保卡等 Slice: Unordered, Open by value:system | ||||
identifier:IDC | SΣ | 1..1 | Identifier | 身份证 | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.1 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:SIN | SΣ | 1..1 | Identifier | 社保卡 | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.2.23.1.19.2 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
active | ?!Σ | 1..1 | boolean | 患者状态,默认取值为true。 | ||||
name | Σ | 1..* | HumanName | 患者名称 | ||||
telecom | Σ | 0..* | ContactPoint | 患者的联系方式 | ||||
gender | Σ | 1..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
id | 0..1 | string | xml:id (or equivalent in JSON) | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
Gender | 1..1 | Coding | 国标性别代码 URL: http://hl7.org.cn/fhir/StructureDefinition/ext-person-gender Binding: 生理性别代码表 (required) | |||||
value | 0..1 | code | Primitive value for code | |||||
birthDate | Σ | 1..1 | date | 患者的出生日期 | ||||
deceased[x] | ?!Σ | 0..1 | Indicates if the individual is deceased or not | |||||
deceasedBoolean | boolean | |||||||
deceasedDateTime | dateTime | |||||||
address | Σ | 0..* | Address | 患者的地址 | ||||
maritalStatus | 0..1 | CodeableConcept | 婚姻状态 Binding: 婚姻状况代码表 (required) | |||||
multipleBirth[x] | 0..1 | Whether patient is part of a multiple birth | ||||||
multipleBirthBoolean | boolean | |||||||
multipleBirthInteger | integer | |||||||
photo | 0..* | Attachment | Image of the patient | |||||
contact | C | 0..* | BackboneElement | 患者的联系人 pat-1: SHALL at least contain a contact's details or a reference to an organization | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
relationship | 0..* | CodeableConcept | 患者与联系人之间的关系 Binding: 家庭关系代码表 (required) | |||||
name | C | 1..1 | HumanName | 联系人的姓名 | ||||
telecom | C | 0..* | ContactPoint | 联系人的联系方式 | ||||
address | C | 0..1 | Address | 联系人的地址 | ||||
gender | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
organization | C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
period | 0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
communication | 0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
language | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: AllLanguages (required): IETF language tag for a human language
| |||||
preferred | 0..1 | boolean | Language preference indicator | |||||
generalPractitioner | 0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider | |||||
managingOrganization | Σ | 0..1 | Reference(Organization) | Organization that is the custodian of the patient record | ||||
link | ?!Σ | 0..* | BackboneElement | 连接到另一个患者资源 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
other | Σ | 1..1 | Reference(Patient | RelatedPerson) | 指向其它患者资源的引用 | ||||
type | Σ | 1..1 | code | 连接的类型 Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code | ||||
Documentation for this format |
本定义的其它表示法: Schematron
Path | Conformance | ValueSet | URI |
Patient.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
Patient.identifier:IDC.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Patient.identifier:IDC.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Patient.identifier:SIN.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Patient.identifier:SIN.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Patient.gender | required | AdministrativeGenderhttp://hl7.org/fhir/ValueSet/administrative-gender|5.0.0 from the FHIR Standard | |
Patient.maritalStatus | required | GB2261_2 (a valid code from 婚姻状况代码表)http://hl7.org.cn/fhir/ValueSet/gb2261-2 from this IG | |
Patient.contact.relationship | required | GB4761 (a valid code from 家庭关系代码表)http://hl7.org.cn/fhir/ValueSet/gb4761 from this IG | |
Patient.contact.gender | required | AdministrativeGenderhttp://hl7.org/fhir/ValueSet/administrative-gender|5.0.0 from the FHIR Standard | |
Patient.communication.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
Patient.link.type | required | LinkTypehttp://hl7.org/fhir/ValueSet/link-type|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Patient | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
pat-1 | error | Patient.contact | SHALL at least contain a contact's details or a reference to an organization : name.exists() or telecom.exists() or address.exists() or organization.exists() |