HL7中国FHIR Connectathon测试实施指南
V20230304 - release
本指南适用于HL7中国的FHIR Connectathon测试。
Defining URL: | http://hl7.org.cn/fhir/StructureDefinition/profile-covid19-specimen |
Version: | V20230304 |
Name: | Covid19Specimen |
Title: | 核酸检测样本结构定义 |
Status: | Active as of 2023-03-04T16:13:14+08:00 |
Definition: | 核酸检测样本资源本地化定义。 |
Publisher: | HL7中国 |
Source Resource: | XML / JSON / Turtle |
本定义的正式URL为:
http://hl7.org.cn/fhir/StructureDefinition/profile-covid19-specimen
本定义的其它表示法: Schematron
Path | Conformance | ValueSet |
Specimen.language | preferred | CommonLanguages Max Binding: AllLanguages |
Specimen.status | required | SpecimenStatus |
Specimen.type | required | Covid19SpecimenTypeCodes |
Specimen.collection.method | example | FHIRSpecimenCollectionMethod |
Specimen.collection.bodySite | example | SNOMEDCTBodyStructures |
Specimen.collection.fastingStatus[x] | extensible | Hl7VSRelevantClincialInformation |
Specimen.processing.procedure | example | SpecimenProcessingProcedure |
Specimen.container.type | example | SpecimenContainerType |
Specimen.container.additive[x] | example | Hl7VSAdditivePreservative |
Specimen.condition | extensible | Hl7VSSpecimenCondition |
Id | Path | Details | Requirements |
dom-2 | Specimen | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | Specimen | 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().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-4 | Specimen | 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 | Specimen | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Specimen | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | Specimen.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.accessionIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.receivedTime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.parent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.request | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.collection.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.collection.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.collection.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.collection.collector | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.collected[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.collected[x]:collectedDateTime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.duration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.method | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.bodySite | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.fastingStatus[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.processing.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.processing.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.processing.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.processing.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing.procedure | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing.additive | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing.time[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.container.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.container.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.container.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.container.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.capacity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.specimenQuantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.additive[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.condition | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |