HL7中国FHIR Connectathon测试实施指南
2024.5.5 - release

本指南适用于HL7中国的FHIR Connectathon测试。

Resource Profile: 医疗机构结构定义

Defining URL:http://hl7.org.cn/fhir/StructureDefinition/core-organization
Version:2024.5.5
Name:CoreOrganization
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-organization

定义内容的视图

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

这种结构源自 Organization

Summary

Mandatory: 2 elements

这种结构源自 Organization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization Organization
... active 1..1boolean组织机构的有效状态,默认取值为true。
... name 1..1string医疗机构的官方全称。
... contact
.... telecom 0..*ContactPoint医疗机构联系方式。
.... address 0..1Address医疗机构的地址。

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C0..*OrganizationA grouping of people or organizations with a common purpose
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
... id Σ0..1idLogical 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..*ExtensionAdditional content defined by implementations
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... identifier ΣC0..*IdentifierIdentifies this organization across multiple systems
... active ?!Σ1..1boolean组织机构的有效状态,默认取值为true。
... type Σ0..*CodeableConceptKind of organization
Binding: OrganizationType (example): Used to categorize the organization.


... name ΣC1..1string医疗机构的官方全称。
... alias 0..*stringA list of alternate names that the organization is known as, or was known as in the past
... description Σ0..1markdownAdditional details about the Organization that could be displayed as further information to identify the Organization beyond its name
... contact C0..*ExtendedContactDetailOfficial contact details for the Organization
org-3: The telecom of an organization can never be of use 'home'
org-4: The address of an organization can never be of use 'home'
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... purpose Σ0..1CodeableConceptThe type of contact
Binding: Contact entity type (preferred): The purpose for which an extended contact detail should be used.

.... name Σ0..*HumanNameName of an individual to contact
.... telecom Σ0..*ContactPoint医疗机构联系方式。
.... address Σ0..1Address医疗机构的地址。
.... organization Σ0..1Reference(Organization)This contact detail is handled/monitored by a specific organization
.... period Σ0..1PeriodPeriod that this contact was valid for usage
... partOf Σ0..1Reference(Organization)The organization of which this organization forms a part
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the organization
... qualification 0..*BackboneElementQualifications, certifications, accreditations, licenses, training, etc. pertaining to the provision of care
.... 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
.... identifier 0..*IdentifierAn identifier for this qualification for the organization
.... code 1..1CodeableConceptCoded representation of the qualification
Binding: (unbound) (example): Specific qualification the organization has to provide a service.

.... period 0..1PeriodPeriod during which the qualification is valid
.... issuer 0..1Reference(Organization)Organization that regulates and issues the qualification

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..*OrganizationA grouping of people or organizations with a common purpose

doco Documentation for this format

这种结构源自 Organization

Summary

Mandatory: 2 elements

差异视图

这种结构源自 Organization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization Organization
... active 1..1boolean组织机构的有效状态,默认取值为true。
... name 1..1string医疗机构的官方全称。
... contact
.... telecom 0..*ContactPoint医疗机构联系方式。
.... address 0..1Address医疗机构的地址。

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C0..*OrganizationA grouping of people or organizations with a common purpose
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
... id Σ0..1idLogical 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..*ExtensionAdditional content defined by implementations
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... identifier ΣC0..*IdentifierIdentifies this organization across multiple systems
... active ?!Σ1..1boolean组织机构的有效状态,默认取值为true。
... type Σ0..*CodeableConceptKind of organization
Binding: OrganizationType (example): Used to categorize the organization.


... name ΣC1..1string医疗机构的官方全称。
... alias 0..*stringA list of alternate names that the organization is known as, or was known as in the past
... description Σ0..1markdownAdditional details about the Organization that could be displayed as further information to identify the Organization beyond its name
... contact C0..*ExtendedContactDetailOfficial contact details for the Organization
org-3: The telecom of an organization can never be of use 'home'
org-4: The address of an organization can never be of use 'home'
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... purpose Σ0..1CodeableConceptThe type of contact
Binding: Contact entity type (preferred): The purpose for which an extended contact detail should be used.

.... name Σ0..*HumanNameName of an individual to contact
.... telecom Σ0..*ContactPoint医疗机构联系方式。
.... address Σ0..1Address医疗机构的地址。
.... organization Σ0..1Reference(Organization)This contact detail is handled/monitored by a specific organization
.... period Σ0..1PeriodPeriod that this contact was valid for usage
... partOf Σ0..1Reference(Organization)The organization of which this organization forms a part
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the organization
... qualification 0..*BackboneElementQualifications, certifications, accreditations, licenses, training, etc. pertaining to the provision of care
.... 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
.... identifier 0..*IdentifierAn identifier for this qualification for the organization
.... code 1..1CodeableConceptCoded representation of the qualification
Binding: (unbound) (example): Specific qualification the organization has to provide a service.

.... period 0..1PeriodPeriod during which the qualification is valid
.... issuer 0..1Reference(Organization)Organization that regulates and issues the qualification

doco Documentation for this format

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSetURI
Organization.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
Organization.typeexampleOrganizationType
http://hl7.org/fhir/ValueSet/organization-type
from the FHIR Standard
Organization.contact.purposepreferredContactEntityType
http://terminology.hl7.org/ValueSet/contactentity-type
Organization.qualification.codeexample

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
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()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
org-3errorOrganization.contactThe telecom of an organization can never be of use 'home'
: telecom.where(use = 'home').empty()
org-4errorOrganization.contactThe address of an organization can never be of use 'home'
: address.where(use = 'home').empty()