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

HL7中国FHIR Connectathon测试实施指南 - Local Development build (v2025.3.12) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: 核酸检测样本结构定义

官方URL: http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-covid19-specimen 版本: 2025.3.12
Draft as of 2025-03-11 机读名称: Covid19Specimen

核酸检测样本资源本地化定义。

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..* Specimen Sample for analysis
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 0..1 code 核酸检测样本的状态,默认值可以设为available
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.


ele-1: All FHIR elements must have a @value or children
... type Σ 1..1 CodeableConcept 样本类型。例如:咽拭子等
Binding: 核酸检测样本类型代码表 (required)
ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(Patient) 核酸检测的居民
ele-1: All FHIR elements must have a @value or children
... receivedTime Σ 0..1 dateTime 接收到样本的时间
ele-1: All FHIR elements must have a @value or children
... collection 1..1 BackboneElement 样本采集信息
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... collector Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) 样本采集员
ele-1: All FHIR elements must have a @value or children
.... collected[x] Σ 1..1 dateTime 样本采集时间
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Specimen.statusrequiredSpecimenStatus
http://hl7.org/fhir/ValueSet/specimen-status|5.0.0
from the FHIR Standard
Specimen.typerequiredCovid19SpecimenTypeCodes
http://hl7.org.cn/fhir/connectathon/ValueSet/covid19-specimen-type-codes
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSpecimenIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSpecimenIf 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-4errorSpecimenIf 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-5errorSpecimenIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSpecimenA 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()

该结构继承自 Specimen

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen Specimen
... identifier 0..* Identifier 样本编号
... status 0..1 code 核酸检测样本的状态,默认值可以设为available
... type 1..1 CodeableConcept 样本类型。例如:咽拭子等
Binding: 核酸检测样本类型代码表 (required)
... receivedTime 0..1 dateTime 接收到样本的时间
... collection 1..1 BackboneElement 样本采集信息
.... collector 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) 样本采集员
.... collected[x] 1..1 dateTime 样本采集时间

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Specimen.typerequiredCovid19SpecimenTypeCodes
http://hl7.org.cn/fhir/connectathon/ValueSet/covid19-specimen-type-codes
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..* Specimen Sample for analysis
... 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier 样本编号
... accessionIdentifier Σ 0..1 Identifier Identifier assigned by the lab
... status ?!Σ 0..1 code 核酸检测样本的状态,默认值可以设为available
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.

... type Σ 1..1 CodeableConcept 样本类型。例如:咽拭子等
Binding: 核酸检测样本类型代码表 (required)
... subject Σ 1..1 Reference(Patient) 核酸检测的居民
... receivedTime Σ 0..1 dateTime 接收到样本的时间
... parent 0..* Reference(Specimen) Specimen from which this specimen originated
... request 0..* Reference(ServiceRequest) Why the specimen was collected
... combined Σ 0..1 code grouped | pooled
Binding: SpecimenCombined (required): Codes for the combined status of a specimen.

... role 0..* CodeableConcept The role the specimen serves
Binding: SpecimenRole (preferred): Codes describing specimen role.


... feature 0..* BackboneElement The physical feature of a specimen
.... 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
.... type 1..1 CodeableConcept Highlighted feature
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts

.... description 1..1 string Information about the feature
... collection 1..1 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
.... collector Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) 样本采集员
.... collected[x] Σ 1..1 dateTime 样本采集时间
.... duration Σ 0..1 Duration How long it took to collect specimen
.... quantity 0..1 SimpleQuantity The quantity of specimen collected
.... method 0..1 CodeableConcept Technique used to perform collection
Binding: FHIRSpecimenCollectionMethod (example): The technique that is used to perform the procedure.

.... device 0..1 CodeableReference(Device) Device used to perform collection
Binding Description (No ValueSet): (example): The device that was used to obtain the specimen (e.g. a catheter or catheter part used to draw the blood via a central line).

.... procedure 0..1 Reference(Procedure) The procedure that collects the specimen
.... bodySite 0..1 CodeableReference(BodyStructure) Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts

.... fastingStatus[x] Σ 0..1 Whether or how long patient abstained from food and/or drink
Binding: hl7VS-relevantClincialInformation (extensible): Codes describing the fasting status of the patient.

..... fastingStatusCodeableConcept CodeableConcept
..... fastingStatusDuration Duration
... processing 0..* BackboneElement Processing and processing step details
.... 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
.... description 0..1 string Textual description of procedure
.... method 0..1 CodeableConcept Indicates the treatment step applied to the specimen
Binding: SpecimenProcessingMethod (example): Type indicating the technique used to process the specimen.

.... additive 0..* Reference(Substance) Material used in the processing step
.... time[x] 0..1 Date and time of specimen processing
..... timeDateTime dateTime
..... timePeriod Period
... container 0..* BackboneElement Direct container of specimen (tube/slide, etc.)
.... 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
.... device 1..1 Reference(Device) Device resource for the container
.... location 0..1 Reference(Location) Where the container is
.... specimenQuantity 0..1 SimpleQuantity Quantity of specimen within container
... condition Σ 0..* CodeableConcept State of the specimen
Binding: hl7VS-specimenCondition (extensible): Codes describing the state of the specimen.


... note 0..* Annotation Comments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Specimen.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
Specimen.statusrequiredSpecimenStatus
http://hl7.org/fhir/ValueSet/specimen-status|5.0.0
from the FHIR Standard
Specimen.typerequiredCovid19SpecimenTypeCodes
http://hl7.org.cn/fhir/connectathon/ValueSet/covid19-specimen-type-codes
from this IG
Specimen.combinedrequiredSpecimenCombined
http://hl7.org/fhir/ValueSet/specimen-combined|5.0.0
from the FHIR Standard
Specimen.rolepreferredSpecimenRole
http://hl7.org/fhir/ValueSet/specimen-role
from the FHIR Standard
Specimen.feature.typeexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Specimen.collection.methodexampleFHIRSpecimenCollectionMethod
http://hl7.org/fhir/ValueSet/specimen-collection-method
from the FHIR Standard
Specimen.collection.deviceexample
Specimen.collection.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Specimen.collection.fastingStatus[x]extensibleHl7VSRelevantClincialInformation
http://terminology.hl7.org/ValueSet/v2-0916
Specimen.processing.methodexampleSpecimenProcessingMethod
http://hl7.org/fhir/ValueSet/specimen-processing-method
from the FHIR Standard
Specimen.conditionextensibleHl7VSSpecimenCondition
http://terminology.hl7.org/ValueSet/v2-0493

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSpecimenIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSpecimenIf 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-4errorSpecimenIf 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-5errorSpecimenIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSpecimenA 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()

该结构继承自 Specimen

Summary

Mandatory: 5 elements

关键元素视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..* Specimen Sample for analysis
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 0..1 code 核酸检测样本的状态,默认值可以设为available
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.


ele-1: All FHIR elements must have a @value or children
... type Σ 1..1 CodeableConcept 样本类型。例如:咽拭子等
Binding: 核酸检测样本类型代码表 (required)
ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(Patient) 核酸检测的居民
ele-1: All FHIR elements must have a @value or children
... receivedTime Σ 0..1 dateTime 接收到样本的时间
ele-1: All FHIR elements must have a @value or children
... collection 1..1 BackboneElement 样本采集信息
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... collector Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) 样本采集员
ele-1: All FHIR elements must have a @value or children
.... collected[x] Σ 1..1 dateTime 样本采集时间
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Specimen.statusrequiredSpecimenStatus
http://hl7.org/fhir/ValueSet/specimen-status|5.0.0
from the FHIR Standard
Specimen.typerequiredCovid19SpecimenTypeCodes
http://hl7.org.cn/fhir/connectathon/ValueSet/covid19-specimen-type-codes
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSpecimenIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSpecimenIf 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-4errorSpecimenIf 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-5errorSpecimenIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSpecimenA 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()

差异视图

该结构继承自 Specimen

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen Specimen
... identifier 0..* Identifier 样本编号
... status 0..1 code 核酸检测样本的状态,默认值可以设为available
... type 1..1 CodeableConcept 样本类型。例如:咽拭子等
Binding: 核酸检测样本类型代码表 (required)
... receivedTime 0..1 dateTime 接收到样本的时间
... collection 1..1 BackboneElement 样本采集信息
.... collector 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) 样本采集员
.... collected[x] 1..1 dateTime 样本采集时间

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Specimen.typerequiredCovid19SpecimenTypeCodes
http://hl7.org.cn/fhir/connectathon/ValueSet/covid19-specimen-type-codes
from this IG

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..* Specimen Sample for analysis
... 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier 样本编号
... accessionIdentifier Σ 0..1 Identifier Identifier assigned by the lab
... status ?!Σ 0..1 code 核酸检测样本的状态,默认值可以设为available
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.

... type Σ 1..1 CodeableConcept 样本类型。例如:咽拭子等
Binding: 核酸检测样本类型代码表 (required)
... subject Σ 1..1 Reference(Patient) 核酸检测的居民
... receivedTime Σ 0..1 dateTime 接收到样本的时间
... parent 0..* Reference(Specimen) Specimen from which this specimen originated
... request 0..* Reference(ServiceRequest) Why the specimen was collected
... combined Σ 0..1 code grouped | pooled
Binding: SpecimenCombined (required): Codes for the combined status of a specimen.

... role 0..* CodeableConcept The role the specimen serves
Binding: SpecimenRole (preferred): Codes describing specimen role.


... feature 0..* BackboneElement The physical feature of a specimen
.... 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
.... type 1..1 CodeableConcept Highlighted feature
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts

.... description 1..1 string Information about the feature
... collection 1..1 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
.... collector Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) 样本采集员
.... collected[x] Σ 1..1 dateTime 样本采集时间
.... duration Σ 0..1 Duration How long it took to collect specimen
.... quantity 0..1 SimpleQuantity The quantity of specimen collected
.... method 0..1 CodeableConcept Technique used to perform collection
Binding: FHIRSpecimenCollectionMethod (example): The technique that is used to perform the procedure.

.... device 0..1 CodeableReference(Device) Device used to perform collection
Binding Description (No ValueSet): (example): The device that was used to obtain the specimen (e.g. a catheter or catheter part used to draw the blood via a central line).

.... procedure 0..1 Reference(Procedure) The procedure that collects the specimen
.... bodySite 0..1 CodeableReference(BodyStructure) Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts

.... fastingStatus[x] Σ 0..1 Whether or how long patient abstained from food and/or drink
Binding: hl7VS-relevantClincialInformation (extensible): Codes describing the fasting status of the patient.

..... fastingStatusCodeableConcept CodeableConcept
..... fastingStatusDuration Duration
... processing 0..* BackboneElement Processing and processing step details
.... 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
.... description 0..1 string Textual description of procedure
.... method 0..1 CodeableConcept Indicates the treatment step applied to the specimen
Binding: SpecimenProcessingMethod (example): Type indicating the technique used to process the specimen.

.... additive 0..* Reference(Substance) Material used in the processing step
.... time[x] 0..1 Date and time of specimen processing
..... timeDateTime dateTime
..... timePeriod Period
... container 0..* BackboneElement Direct container of specimen (tube/slide, etc.)
.... 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
.... device 1..1 Reference(Device) Device resource for the container
.... location 0..1 Reference(Location) Where the container is
.... specimenQuantity 0..1 SimpleQuantity Quantity of specimen within container
... condition Σ 0..* CodeableConcept State of the specimen
Binding: hl7VS-specimenCondition (extensible): Codes describing the state of the specimen.


... note 0..* Annotation Comments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Specimen.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
Specimen.statusrequiredSpecimenStatus
http://hl7.org/fhir/ValueSet/specimen-status|5.0.0
from the FHIR Standard
Specimen.typerequiredCovid19SpecimenTypeCodes
http://hl7.org.cn/fhir/connectathon/ValueSet/covid19-specimen-type-codes
from this IG
Specimen.combinedrequiredSpecimenCombined
http://hl7.org/fhir/ValueSet/specimen-combined|5.0.0
from the FHIR Standard
Specimen.rolepreferredSpecimenRole
http://hl7.org/fhir/ValueSet/specimen-role
from the FHIR Standard
Specimen.feature.typeexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Specimen.collection.methodexampleFHIRSpecimenCollectionMethod
http://hl7.org/fhir/ValueSet/specimen-collection-method
from the FHIR Standard
Specimen.collection.deviceexample
Specimen.collection.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Specimen.collection.fastingStatus[x]extensibleHl7VSRelevantClincialInformation
http://terminology.hl7.org/ValueSet/v2-0916
Specimen.processing.methodexampleSpecimenProcessingMethod
http://hl7.org/fhir/ValueSet/specimen-processing-method
from the FHIR Standard
Specimen.conditionextensibleHl7VSSpecimenCondition
http://terminology.hl7.org/ValueSet/v2-0493

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSpecimenIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSpecimenIf 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-4errorSpecimenIf 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-5errorSpecimenIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSpecimenA 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()

该结构继承自 Specimen

Summary

Mandatory: 5 elements

 

本 Profile 的其它表示法: CSV, Excel, Schematron