基于FHIR标准的健康档案共享文档实施指南
0.8.0.2022705 - 持续集成版

基于FHIR的健康档案共享文档实施时必须严格遵循本实施指南的规定。

Resource Profile: 医疗机构结构定义

Defining URL:http://hl7.org.cn/fhir/sd/ehr/StructureDefinition/example-organization
Version:0.8.0.2022705
Name:ExampleOrganization
Title:医疗机构结构定义
Status:Active as of 2022-07-05T13:46:42+08:00
Definition:

医疗机构资源本地化定义。

Publisher:CHIMA&HL7中国委员会
Source Resource:XML / JSON / Turtle

医疗机构结构定义的正式唯一标识为:

http://hl7.org.cn/fhir/sd/ehr/StructureDefinition/example-organization

定义内容的视图

医疗机构结构定义是在FHIR标准的CoreOrganization基础上进行更加详细的规则约束,下表展示了医疗机构结构定义的结构表示。

关于定义、差异、快照以及如何解读这些表示法

这种结构源自 CoreOrganization

Summary

Mandatory: 5 elements (3 nested mandatory elements)

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Organization.identifier is sliced based on the value of value:system
  • The element Organization.type is sliced based on the value of value:coding.system
  • The element Organization.contact is sliced based on the value of value:purpose

这种结构源自 CoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..*CoreOrganizationA grouping of people or organizations with a common purpose
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... organization-period 0..1Period可以记录医疗机构的建立时间
URL: http://hl7.org/fhir/StructureDefinition/organization-period
... identifier 1..*(Slice Definition)机构的业务标识符
Slice: Unordered, Open by value:system
.... identifier:CODS 1..1Identifier机构的统一社会信用代码
..... use 1..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... system 1..1uriThe namespace for the identifier value
Required Pattern: urn:cn:org:cods
..... value 1..1string18位统一社会信用代码
.... type:WS218 0..1CodeableConcept医疗机构类别
Binding: 卫生机构分类代码表 (required)
.... type:SponsorType 0..1CodeableConcept医疗机构主办单位类型
Binding: 医疗机构主办单位类型代码表 (required)
.... type:GB12402 0..1CodeableConcept医疗机构经济类型
Binding: 经济类型分类与代码表 (required)
.... type:ManagementLevel 0..1CodeableConcept医院分级管理代码
Binding: 医院等级代码表 (required)
.... type:AdministrationLevel 0..1CodeableConcept行政管理级别
Binding: 行政管理级别代码表 (required)
... contact 0..*(Slice Definition)Contact for the organization for a certain purpose
Slice: Unordered, Open by value:purpose
.... contact:Authenticator 0..1BackboneElement医疗机构的责任人(法人)联系方式
..... purpose 1..1CodeableConceptThe type of contact
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ADMIN
..... name 1..1HumanName责任人(法人)姓名
..... telecom 1..1ContactPoint责任人(法人)联系方式

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*CoreOrganizationA grouping of people or organizations with a common purpose
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... organization-period 0..1Period可以记录医疗机构的建立时间
URL: http://hl7.org/fhir/StructureDefinition/organization-period
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier ΣI1..*(Slice Definition)机构的业务标识符
Slice: Unordered, Open by value:system
.... identifier:CODS ΣI1..1Identifier机构的统一社会信用代码
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Required Pattern: official
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Required Pattern: urn:cn:org:cods
..... value Σ1..1string18位统一社会信用代码
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... active ?!Σ1..1boolean组织机构的有效状态,默认取值为true。
... type Σ0..*(Slice Definition)Kind of organization
Slice: Unordered, Open by value:coding.system
Binding: OrganizationType (example): Used to categorize the organization.


.... type:WS218 Σ0..1CodeableConcept医疗机构类别
Binding: 卫生机构分类代码表 (required)
.... type:SponsorType Σ0..1CodeableConcept医疗机构主办单位类型
Binding: 医疗机构主办单位类型代码表 (required)
.... type:GB12402 Σ0..1CodeableConcept医疗机构经济类型
Binding: 经济类型分类与代码表 (required)
.... type:ManagementLevel Σ0..1CodeableConcept医院分级管理代码
Binding: 医院等级代码表 (required)
.... type:AdministrationLevel Σ0..1CodeableConcept行政管理级别
Binding: 行政管理级别代码表 (required)
... name ΣI1..1string医疗机构的官方全称。
... alias 0..*stringA list of alternate names that the organization is known as, or was known as in the past
... telecom I0..*ContactPoint医疗机构联系方式。
... address I0..*CNAddress医疗机构的地址。
... partOf Σ0..1Reference(Organization)The organization of which this organization forms a part
... contact 0..*(Slice Definition)Contact for the organization for a certain purpose
Slice: Unordered, Open by value:purpose
.... contact:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... purpose 0..1CodeableConceptThe type of contact
Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.

..... name 0..1HumanNameA name associated with the contact
..... telecom 0..*ContactPointContact details (telephone, email, etc.) for a contact
..... address 0..1AddressVisiting or postal addresses for the contact
.... contact:Authenticator 0..1BackboneElement医疗机构的责任人(法人)联系方式
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... purpose 1..1CodeableConceptThe type of contact
Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ADMIN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... name 1..1HumanName责任人(法人)姓名
..... telecom 1..1ContactPoint责任人(法人)联系方式
..... address 0..1AddressVisiting or postal addresses for the contact
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the organization

doco Documentation for this format

这种结构源自 CoreOrganization

Summary

Mandatory: 5 elements (3 nested mandatory elements)

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Organization.identifier is sliced based on the value of value:system
  • The element Organization.type is sliced based on the value of value:coding.system
  • The element Organization.contact is sliced based on the value of value:purpose

差异视图

这种结构源自 CoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..*CoreOrganizationA grouping of people or organizations with a common purpose
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... organization-period 0..1Period可以记录医疗机构的建立时间
URL: http://hl7.org/fhir/StructureDefinition/organization-period
... identifier 1..*(Slice Definition)机构的业务标识符
Slice: Unordered, Open by value:system
.... identifier:CODS 1..1Identifier机构的统一社会信用代码
..... use 1..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... system 1..1uriThe namespace for the identifier value
Required Pattern: urn:cn:org:cods
..... value 1..1string18位统一社会信用代码
.... type:WS218 0..1CodeableConcept医疗机构类别
Binding: 卫生机构分类代码表 (required)
.... type:SponsorType 0..1CodeableConcept医疗机构主办单位类型
Binding: 医疗机构主办单位类型代码表 (required)
.... type:GB12402 0..1CodeableConcept医疗机构经济类型
Binding: 经济类型分类与代码表 (required)
.... type:ManagementLevel 0..1CodeableConcept医院分级管理代码
Binding: 医院等级代码表 (required)
.... type:AdministrationLevel 0..1CodeableConcept行政管理级别
Binding: 行政管理级别代码表 (required)
... contact 0..*(Slice Definition)Contact for the organization for a certain purpose
Slice: Unordered, Open by value:purpose
.... contact:Authenticator 0..1BackboneElement医疗机构的责任人(法人)联系方式
..... purpose 1..1CodeableConceptThe type of contact
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ADMIN
..... name 1..1HumanName责任人(法人)姓名
..... telecom 1..1ContactPoint责任人(法人)联系方式

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*CoreOrganizationA grouping of people or organizations with a common purpose
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... organization-period 0..1Period可以记录医疗机构的建立时间
URL: http://hl7.org/fhir/StructureDefinition/organization-period
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier ΣI1..*(Slice Definition)机构的业务标识符
Slice: Unordered, Open by value:system
.... identifier:CODS ΣI1..1Identifier机构的统一社会信用代码
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Required Pattern: official
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Required Pattern: urn:cn:org:cods
..... value Σ1..1string18位统一社会信用代码
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... active ?!Σ1..1boolean组织机构的有效状态,默认取值为true。
... type Σ0..*(Slice Definition)Kind of organization
Slice: Unordered, Open by value:coding.system
Binding: OrganizationType (example): Used to categorize the organization.


.... type:WS218 Σ0..1CodeableConcept医疗机构类别
Binding: 卫生机构分类代码表 (required)
.... type:SponsorType Σ0..1CodeableConcept医疗机构主办单位类型
Binding: 医疗机构主办单位类型代码表 (required)
.... type:GB12402 Σ0..1CodeableConcept医疗机构经济类型
Binding: 经济类型分类与代码表 (required)
.... type:ManagementLevel Σ0..1CodeableConcept医院分级管理代码
Binding: 医院等级代码表 (required)
.... type:AdministrationLevel Σ0..1CodeableConcept行政管理级别
Binding: 行政管理级别代码表 (required)
... name ΣI1..1string医疗机构的官方全称。
... alias 0..*stringA list of alternate names that the organization is known as, or was known as in the past
... telecom I0..*ContactPoint医疗机构联系方式。
... address I0..*CNAddress医疗机构的地址。
... partOf Σ0..1Reference(Organization)The organization of which this organization forms a part
... contact 0..*(Slice Definition)Contact for the organization for a certain purpose
Slice: Unordered, Open by value:purpose
.... contact:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... purpose 0..1CodeableConceptThe type of contact
Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.

..... name 0..1HumanNameA name associated with the contact
..... telecom 0..*ContactPointContact details (telephone, email, etc.) for a contact
..... address 0..1AddressVisiting or postal addresses for the contact
.... contact:Authenticator 0..1BackboneElement医疗机构的责任人(法人)联系方式
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... purpose 1..1CodeableConceptThe type of contact
Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ADMIN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... name 1..1HumanName责任人(法人)姓名
..... telecom 1..1ContactPoint责任人(法人)联系方式
..... address 0..1AddressVisiting or postal addresses for the contact
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the organization

doco Documentation for this format

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSet / Code
Organization.languagepreferredCommonLanguages
Max Binding: AllLanguages
Organization.identifier:CODS.userequiredPattern: official
Organization.identifier:CODS.typeextensibleIdentifier Type Codes
Organization.typeexampleOrganizationType
Organization.type:WS218requiredWS218_2002
Organization.type:SponsorTyperequiredHospitalSponsorType
Organization.type:GB12402requiredGB12402_2000
Organization.type:ManagementLevelrequiredHospitalManagementLevel
Organization.type:AdministrationLevelrequiredHospitalAdministrationLevel
Organization.contact.purposeextensibleContactEntityType
Organization.contact:Authenticator.purposeextensiblePattern: ADMIN

Constraints

IdPathDetailsRequirements
dom-2OrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3OrganizationIf 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4OrganizationIf 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-5OrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6OrganizationA resource should have narrative for robust management
: text.`div`.exists()
org-1OrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
ele-1Organization.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.extension:periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.extension:periodMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.identifier:CODSAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.identifier:CODS.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.identifier:CODS.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.identifier:CODS.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.identifier:CODS.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.identifier:CODS.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.identifier:CODS.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.identifier:CODS.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.identifier:CODS.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.activeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.type:WS218All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.type:SponsorTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.type:GB12402All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.type:ManagementLevelAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.type:AdministrationLevelAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.aliasAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
org-3Organization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()
ele-1Organization.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
org-2Organization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
ele-1Organization.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contactAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.contact.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.contact.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.contact.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.contact.purposeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact:AuthenticatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact:Authenticator.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.contact:Authenticator.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.contact:Authenticator.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Organization.contact:Authenticator.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Organization.contact:Authenticator.purposeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact:Authenticator.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact:Authenticator.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.contact:Authenticator.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Organization.endpointAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())