Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R2_Specimen_R5

Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-Specimen Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R2_Specimen_R5

This cross-version profile allows DSTU2 Specimen content to be represented via FHIR R5 Specimen resources.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Specimen 0..* Specimen(5.0.0) Sample for analysis
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.status Base required Specimen Status 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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().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 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 error Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen A resource should have narrative for robust management text.`div`.exists()
ele-1 error Specimen.implicitRules, Specimen.modifierExtension, Specimen.status All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Specimen.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Specimen

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Specimen 0..* Specimen(5.0.0) Sample for analysis
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.text
... identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:accessionIdentifier 0..1 Identifier DSTU2: accessionIdentifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.accessionIdentifier
... subject
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 1..1 Reference(Resource) DSTU2: Where the specimen came from. This may be from the patient(s) or from the environment or a device
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... parent
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:parent 0..* Reference(Resource) DSTU2: parent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... collection
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:comment 0..* string DSTU2: Collector comments (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.collection.comment
.... collector
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:collector 0..1 Reference(Resource) DSTU2: collector additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... processing
.... additive
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:additive 0..* Reference(Resource) DSTU2: additive additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... container
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: Id for the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.identifier
..... extension:description 0..1 string DSTU2: Textual description of the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.description
..... extension:type 0..1 CodeableConcept DSTU2: Kind of container directly associated with specimen (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.type
..... extension:capacity 0..1 SimpleQuantity(5.0.0) DSTU2: Container volume or size (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.capacity
..... extension:additive 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Substance for use in FHIR R5(0.1.0) | Substance) DSTU2: Additive associated with container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.additive
Binding: http://terminology.hl7.org/ValueSet/v2-0371|2.0.0 (example): Substance added to specimen container

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Specimen 0..* Specimen(5.0.0) Sample for analysis
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External Identifier
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.identifier
Constraints: ext-1
.... 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 Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... 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)
... accessionIdentifier Σ 0..1 Identifier Identifier assigned by the lab
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:accessionIdentifier 0..1 Identifier DSTU2: accessionIdentifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.accessionIdentifier
Constraints: ext-1
.... 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 Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... 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)
... status ?!Σ 0..1 code available | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.
... type Σ 0..1 CodeableConcept Kind of material that forms the specimen
Binding: Hl7VSSpecimenType (3.0.0) (example): The type of the specimen.
... subject Σ 0..1 Reference(Patient | Group | Device | BiologicallyDerivedProduct | Substance | Location) Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance, a biologically-derived product, or a device
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 1..1 Reference(Resource) DSTU2: Where the specimen came from. This may be from the patient(s) or from the environment or a device
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... receivedTime Σ 0..1 dateTime The time when specimen is received by the testing laboratory
... parent 0..* Reference(Specimen) Specimen from which this specimen originated
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:parent 0..1 Reference(Resource) DSTU2: parent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type 1..1 CodeableConcept Highlighted feature
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
.... description 1..1 string Information about the feature
... collection 0..1 BackboneElement Collection details
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:comment 0..* string DSTU2: Collector comments (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.collection.comment
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... collector Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who collected the specimen
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:collector 0..1 Reference(Resource) DSTU2: collector additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
.... collected[x] Σ 0..1 Collection time
..... collectedDateTime dateTime
..... collectedPeriod Period
.... duration Σ 0..1 Duration How long it took to collect specimen
.... quantity 0..1 SimpleQuantity(5.0.0) 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: (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: Hl7VSRelevantClincialInformation (3.0.0) (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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... 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
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:additive 0..1 Reference(Resource) DSTU2: additive additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
.... 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
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: Id for the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.identifier
Constraints: ext-1
..... extension:description 0..1 string DSTU2: Textual description of the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.description
Constraints: ext-1
..... extension:type 0..1 CodeableConcept DSTU2: Kind of container directly associated with specimen (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.type
Constraints: ext-1
..... extension:capacity 0..1 SimpleQuantity(5.0.0) DSTU2: Container volume or size (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.capacity
Constraints: ext-1
..... extension:additive 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Substance for use in FHIR R5(0.1.0) | Substance) DSTU2: Additive associated with container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.additive
Binding: http://terminology.hl7.org/ValueSet/v2-0371|2.0.0 (example): Substance added to specimen container
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... device 1..1 Reference(Device) Device resource for the container
.... location 0..1 Reference(Location) Where the container is
.... specimenQuantity 0..1 SimpleQuantity(5.0.0) Quantity of specimen within container
... condition Σ 0..* CodeableConcept State of the specimen
Binding: Hl7VSSpecimenCondition (3.0.0) (extensible): Codes describing the state of the specimen.
... note 0..* Annotation Comments

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
Specimen.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Specimen.language Base required All Languages 📍5.0.0 FHIR Std.
Specimen.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
Specimen.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Specimen.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Specimen.accessionIdentifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Specimen.accessionIdentifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Specimen.status Base required Specimen Status 📍5.0.0 FHIR Std.
Specimen.type Base example hl7VS-specimenType 📍3.0.0 THO v7.1
Specimen.subject.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.parent.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.combined Base required Specimen Combined 📍5.0.0 FHIR Std.
Specimen.role Base preferred Specimen Role 📍5.0.0 FHIR Std.
Specimen.feature.type Base example SNOMED CT Body Structures 📍5.0.0 FHIR Std.
Specimen.collection.​collector.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.collection.​method Base example FHIR Specimen Collection Method 📍5.0.0 FHIR Std.
Specimen.collection.​device Base example Not State Unknown
Specimen.collection.​bodySite Base example SNOMED CT Body Structures 📍5.0.0 FHIR Std.
Specimen.collection.​fastingStatus[x] Base extensible hl7VS-relevantClincialInformation 📍3.0.0 THO v7.1
Specimen.processing.​method Base example Specimen Processing Method 📍5.0.0 FHIR Std.
Specimen.processing.​additive.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.condition Base extensible hl7VS-specimenCondition 📍3.0.0 THO v7.1

Constraints

Id Grade Path(s) Description Expression
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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().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 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 error Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen A resource should have narrative for robust management text.`div`.exists()
ele-1 error Specimen.meta, Specimen.meta.extension, Specimen.meta.extension:meta, Specimen.meta.versionId, Specimen.meta.lastUpdated, Specimen.meta.source, Specimen.meta.profile, Specimen.meta.security, Specimen.meta.tag, Specimen.implicitRules, Specimen.language, Specimen.text, Specimen.text.extension, Specimen.text.extension:text, Specimen.text.status, Specimen.text.div, Specimen.extension, Specimen.modifierExtension, Specimen.identifier, Specimen.identifier.extension, Specimen.identifier.extension:identifier, Specimen.identifier.use, Specimen.identifier.type, Specimen.identifier.system, Specimen.identifier.value, Specimen.identifier.period, Specimen.identifier.assigner, Specimen.accessionIdentifier, Specimen.accessionIdentifier.extension, Specimen.accessionIdentifier.extension:accessionIdentifier, Specimen.accessionIdentifier.use, Specimen.accessionIdentifier.type, Specimen.accessionIdentifier.system, Specimen.accessionIdentifier.value, Specimen.accessionIdentifier.period, Specimen.accessionIdentifier.assigner, Specimen.status, Specimen.type, Specimen.subject, Specimen.subject.extension, Specimen.subject.extension:subject, Specimen.subject.reference, Specimen.subject.type, Specimen.subject.identifier, Specimen.subject.display, Specimen.receivedTime, Specimen.parent, Specimen.parent.extension, Specimen.parent.extension:parent, Specimen.parent.reference, Specimen.parent.type, Specimen.parent.identifier, Specimen.parent.display, Specimen.request, Specimen.combined, Specimen.role, Specimen.feature, Specimen.feature.extension, Specimen.feature.modifierExtension, Specimen.feature.type, Specimen.feature.description, Specimen.collection, Specimen.collection.extension, Specimen.collection.extension:comment, Specimen.collection.modifierExtension, Specimen.collection.collector, Specimen.collection.collector.extension, Specimen.collection.collector.extension:collector, Specimen.collection.collector.reference, Specimen.collection.collector.type, Specimen.collection.collector.identifier, Specimen.collection.collector.display, Specimen.collection.collected[x], Specimen.collection.duration, Specimen.collection.quantity, Specimen.collection.method, Specimen.collection.device, Specimen.collection.procedure, Specimen.collection.bodySite, Specimen.collection.fastingStatus[x], Specimen.processing, Specimen.processing.extension, Specimen.processing.modifierExtension, Specimen.processing.description, Specimen.processing.method, Specimen.processing.additive, Specimen.processing.additive.extension, Specimen.processing.additive.extension:additive, Specimen.processing.additive.reference, Specimen.processing.additive.type, Specimen.processing.additive.identifier, Specimen.processing.additive.display, Specimen.processing.time[x], Specimen.container, Specimen.container.extension, Specimen.container.extension:identifier, Specimen.container.extension:description, Specimen.container.extension:type, Specimen.container.extension:capacity, Specimen.container.extension:additive, Specimen.container.modifierExtension, Specimen.container.device, Specimen.container.location, Specimen.container.specimenQuantity, Specimen.condition, Specimen.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Specimen.meta.extension, Specimen.meta.extension:meta, Specimen.text.extension, Specimen.text.extension:text, Specimen.extension, Specimen.modifierExtension, Specimen.identifier.extension, Specimen.identifier.extension:identifier, Specimen.accessionIdentifier.extension, Specimen.accessionIdentifier.extension:accessionIdentifier, Specimen.subject.extension, Specimen.subject.extension:subject, Specimen.parent.extension, Specimen.parent.extension:parent, Specimen.feature.extension, Specimen.feature.modifierExtension, Specimen.collection.extension, Specimen.collection.extension:comment, Specimen.collection.modifierExtension, Specimen.collection.collector.extension, Specimen.collection.collector.extension:collector, Specimen.processing.extension, Specimen.processing.modifierExtension, Specimen.processing.additive.extension, Specimen.processing.additive.extension:additive, Specimen.container.extension, Specimen.container.extension:identifier, Specimen.container.extension:description, Specimen.container.extension:type, Specimen.container.extension:capacity, Specimen.container.extension:additive, Specimen.container.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error Specimen.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Specimen.text.div The narrative SHALL have some non-whitespace content htmlChecks()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Specimen 0..* Specimen(5.0.0) Sample for analysis
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.status Base required Specimen Status 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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().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 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 error Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen A resource should have narrative for robust management text.`div`.exists()
ele-1 error Specimen.implicitRules, Specimen.modifierExtension, Specimen.status All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Specimen.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Specimen

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Specimen 0..* Specimen(5.0.0) Sample for analysis
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.text
... identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:accessionIdentifier 0..1 Identifier DSTU2: accessionIdentifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.accessionIdentifier
... subject
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 1..1 Reference(Resource) DSTU2: Where the specimen came from. This may be from the patient(s) or from the environment or a device
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... parent
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:parent 0..* Reference(Resource) DSTU2: parent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... collection
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:comment 0..* string DSTU2: Collector comments (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.collection.comment
.... collector
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:collector 0..1 Reference(Resource) DSTU2: collector additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... processing
.... additive
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:additive 0..* Reference(Resource) DSTU2: additive additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... container
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: Id for the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.identifier
..... extension:description 0..1 string DSTU2: Textual description of the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.description
..... extension:type 0..1 CodeableConcept DSTU2: Kind of container directly associated with specimen (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.type
..... extension:capacity 0..1 SimpleQuantity(5.0.0) DSTU2: Container volume or size (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.capacity
..... extension:additive 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Substance for use in FHIR R5(0.1.0) | Substance) DSTU2: Additive associated with container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.additive
Binding: http://terminology.hl7.org/ValueSet/v2-0371|2.0.0 (example): Substance added to specimen container

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Specimen 0..* Specimen(5.0.0) Sample for analysis
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External Identifier
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.identifier
Constraints: ext-1
.... 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 Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... 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)
... accessionIdentifier Σ 0..1 Identifier Identifier assigned by the lab
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:accessionIdentifier 0..1 Identifier DSTU2: accessionIdentifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.accessionIdentifier
Constraints: ext-1
.... 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 Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... 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)
... status ?!Σ 0..1 code available | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.
... type Σ 0..1 CodeableConcept Kind of material that forms the specimen
Binding: Hl7VSSpecimenType (3.0.0) (example): The type of the specimen.
... subject Σ 0..1 Reference(Patient | Group | Device | BiologicallyDerivedProduct | Substance | Location) Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance, a biologically-derived product, or a device
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 1..1 Reference(Resource) DSTU2: Where the specimen came from. This may be from the patient(s) or from the environment or a device
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... receivedTime Σ 0..1 dateTime The time when specimen is received by the testing laboratory
... parent 0..* Reference(Specimen) Specimen from which this specimen originated
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:parent 0..1 Reference(Resource) DSTU2: parent additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type 1..1 CodeableConcept Highlighted feature
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
.... description 1..1 string Information about the feature
... collection 0..1 BackboneElement Collection details
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:comment 0..* string DSTU2: Collector comments (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.collection.comment
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... collector Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who collected the specimen
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:collector 0..1 Reference(Resource) DSTU2: collector additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
.... collected[x] Σ 0..1 Collection time
..... collectedDateTime dateTime
..... collectedPeriod Period
.... duration Σ 0..1 Duration How long it took to collect specimen
.... quantity 0..1 SimpleQuantity(5.0.0) 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: (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: Hl7VSRelevantClincialInformation (3.0.0) (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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... 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
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:additive 0..1 Reference(Resource) DSTU2: additive additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
.... 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
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: Id for the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.identifier
Constraints: ext-1
..... extension:description 0..1 string DSTU2: Textual description of the container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.description
Constraints: ext-1
..... extension:type 0..1 CodeableConcept DSTU2: Kind of container directly associated with specimen (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.type
Constraints: ext-1
..... extension:capacity 0..1 SimpleQuantity(5.0.0) DSTU2: Container volume or size (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.capacity
Constraints: ext-1
..... extension:additive 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.Substance for use in FHIR R5(0.1.0) | Substance) DSTU2: Additive associated with container (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Specimen.container.additive
Binding: http://terminology.hl7.org/ValueSet/v2-0371|2.0.0 (example): Substance added to specimen container
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... device 1..1 Reference(Device) Device resource for the container
.... location 0..1 Reference(Location) Where the container is
.... specimenQuantity 0..1 SimpleQuantity(5.0.0) Quantity of specimen within container
... condition Σ 0..* CodeableConcept State of the specimen
Binding: Hl7VSSpecimenCondition (3.0.0) (extensible): Codes describing the state of the specimen.
... note 0..* Annotation Comments

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
Specimen.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Specimen.language Base required All Languages 📍5.0.0 FHIR Std.
Specimen.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
Specimen.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Specimen.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Specimen.accessionIdentifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Specimen.accessionIdentifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Specimen.status Base required Specimen Status 📍5.0.0 FHIR Std.
Specimen.type Base example hl7VS-specimenType 📍3.0.0 THO v7.1
Specimen.subject.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.parent.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.combined Base required Specimen Combined 📍5.0.0 FHIR Std.
Specimen.role Base preferred Specimen Role 📍5.0.0 FHIR Std.
Specimen.feature.type Base example SNOMED CT Body Structures 📍5.0.0 FHIR Std.
Specimen.collection.​collector.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.collection.​method Base example FHIR Specimen Collection Method 📍5.0.0 FHIR Std.
Specimen.collection.​device Base example Not State Unknown
Specimen.collection.​bodySite Base example SNOMED CT Body Structures 📍5.0.0 FHIR Std.
Specimen.collection.​fastingStatus[x] Base extensible hl7VS-relevantClincialInformation 📍3.0.0 THO v7.1
Specimen.processing.​method Base example Specimen Processing Method 📍5.0.0 FHIR Std.
Specimen.processing.​additive.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Specimen.condition Base extensible hl7VS-specimenCondition 📍3.0.0 THO v7.1

Constraints

Id Grade Path(s) Description Expression
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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().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 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 error Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen A resource should have narrative for robust management text.`div`.exists()
ele-1 error Specimen.meta, Specimen.meta.extension, Specimen.meta.extension:meta, Specimen.meta.versionId, Specimen.meta.lastUpdated, Specimen.meta.source, Specimen.meta.profile, Specimen.meta.security, Specimen.meta.tag, Specimen.implicitRules, Specimen.language, Specimen.text, Specimen.text.extension, Specimen.text.extension:text, Specimen.text.status, Specimen.text.div, Specimen.extension, Specimen.modifierExtension, Specimen.identifier, Specimen.identifier.extension, Specimen.identifier.extension:identifier, Specimen.identifier.use, Specimen.identifier.type, Specimen.identifier.system, Specimen.identifier.value, Specimen.identifier.period, Specimen.identifier.assigner, Specimen.accessionIdentifier, Specimen.accessionIdentifier.extension, Specimen.accessionIdentifier.extension:accessionIdentifier, Specimen.accessionIdentifier.use, Specimen.accessionIdentifier.type, Specimen.accessionIdentifier.system, Specimen.accessionIdentifier.value, Specimen.accessionIdentifier.period, Specimen.accessionIdentifier.assigner, Specimen.status, Specimen.type, Specimen.subject, Specimen.subject.extension, Specimen.subject.extension:subject, Specimen.subject.reference, Specimen.subject.type, Specimen.subject.identifier, Specimen.subject.display, Specimen.receivedTime, Specimen.parent, Specimen.parent.extension, Specimen.parent.extension:parent, Specimen.parent.reference, Specimen.parent.type, Specimen.parent.identifier, Specimen.parent.display, Specimen.request, Specimen.combined, Specimen.role, Specimen.feature, Specimen.feature.extension, Specimen.feature.modifierExtension, Specimen.feature.type, Specimen.feature.description, Specimen.collection, Specimen.collection.extension, Specimen.collection.extension:comment, Specimen.collection.modifierExtension, Specimen.collection.collector, Specimen.collection.collector.extension, Specimen.collection.collector.extension:collector, Specimen.collection.collector.reference, Specimen.collection.collector.type, Specimen.collection.collector.identifier, Specimen.collection.collector.display, Specimen.collection.collected[x], Specimen.collection.duration, Specimen.collection.quantity, Specimen.collection.method, Specimen.collection.device, Specimen.collection.procedure, Specimen.collection.bodySite, Specimen.collection.fastingStatus[x], Specimen.processing, Specimen.processing.extension, Specimen.processing.modifierExtension, Specimen.processing.description, Specimen.processing.method, Specimen.processing.additive, Specimen.processing.additive.extension, Specimen.processing.additive.extension:additive, Specimen.processing.additive.reference, Specimen.processing.additive.type, Specimen.processing.additive.identifier, Specimen.processing.additive.display, Specimen.processing.time[x], Specimen.container, Specimen.container.extension, Specimen.container.extension:identifier, Specimen.container.extension:description, Specimen.container.extension:type, Specimen.container.extension:capacity, Specimen.container.extension:additive, Specimen.container.modifierExtension, Specimen.container.device, Specimen.container.location, Specimen.container.specimenQuantity, Specimen.condition, Specimen.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Specimen.meta.extension, Specimen.meta.extension:meta, Specimen.text.extension, Specimen.text.extension:text, Specimen.extension, Specimen.modifierExtension, Specimen.identifier.extension, Specimen.identifier.extension:identifier, Specimen.accessionIdentifier.extension, Specimen.accessionIdentifier.extension:accessionIdentifier, Specimen.subject.extension, Specimen.subject.extension:subject, Specimen.parent.extension, Specimen.parent.extension:parent, Specimen.feature.extension, Specimen.feature.modifierExtension, Specimen.collection.extension, Specimen.collection.extension:comment, Specimen.collection.modifierExtension, Specimen.collection.collector.extension, Specimen.collection.collector.extension:collector, Specimen.processing.extension, Specimen.processing.modifierExtension, Specimen.processing.additive.extension, Specimen.processing.additive.extension:additive, Specimen.container.extension, Specimen.container.extension:identifier, Specimen.container.extension:description, Specimen.container.extension:type, Specimen.container.extension:capacity, Specimen.container.extension:additive, Specimen.container.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error Specimen.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Specimen.text.div The narrative SHALL have some non-whitespace content htmlChecks()

 

Other representations of profile: CSV, Excel, Schematron