HL7 FHIR Implementation Guide: Rwanda HIV
0.1.0 - STU1 International flag

HL7 FHIR Implementation Guide: Rwanda HIV, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/openhie/Rwanda-HIV and changes regularly. See the Directory of published versions

Resource Profile: Viral Load Specimen

Official URL: http://openhie.org/fhir/rwanda-hiv/StructureDefinition/viral-load-specimen Version: 0.1.0
Active as of 2023-09-15 Computable Name: VLSpecimen

Represents the VL test sample that was collected for the service request.

Usage:

Formal Views of Profile Content

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

This structure is derived from Specimen

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..*SpecimenSample for analysis
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... SampleReordered S0..1booleanSample reordered
URL: http://openhie.org/fhir/rwanda-hiv/StructureDefinition/sample-reordered
... Slices for identifier 4..*IdentifierExternal Identifier
Slice: Unordered, Open by value:system
.... identifier:appSampleCode 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display 0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
...... text 0..1stringPlain text representation of the concept
Required Pattern: App sample identifier
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/app-sample-code
..... value 1..1stringThe value that is unique
.... identifier:remoteSampleCode 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display 0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
...... text 0..1stringPlain text representation of the concept
Required Pattern: Remote sample identifier
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/remote-sample-code
..... value 1..1stringThe value that is unique
.... identifier:sampleCode 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display 0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
...... text 0..1stringPlain text representation of the concept
Required Pattern: Sample identifier
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/sample-code
..... value 1..1stringThe value that is unique
.... identifier:uniqueId 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: PLAC
....... display 0..1stringRepresentation defined by the system
Required Pattern: Placer Identifier
...... text 0..1stringPlain text representation of the concept
Required Pattern: Universal Unique Identifier for the sample
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/uniqueID
..... value 1..1stringThe value that is unique
.... text 0..1stringPlain text representation of the concept
Required Pattern: Specimen Type
... subject 1..1Reference(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
... receivedTime S0..1dateTimeThe time when specimen is received by the testing laboratory
... collection
.... Slices for collected[x] 0..1dateTime, PeriodCollection time
Slice: Unordered, Open by type:$this
..... collected[x]:collectedDateTime S0..1dateTimeCollection time
... processing S0..1BackboneElementProcessing and processing step details
.... Slices for time[x] 1..1dateTimeDate and time of specimen processing
Slice: Unordered, Open by type:$this
..... time[x]:timeDateTime 1..1dateTimeDate and time of specimen processing
... note S0..*AnnotationComments

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Specimen.typerequiredVSSpecimenType
NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..*SpecimenSample for analysis
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ4..*IdentifierExternal Identifier
Slice: Unordered, Open by value:system
.... identifier:appSampleCode Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/app-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
.... identifier:remoteSampleCode Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/remote-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
.... identifier:sampleCode Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
.... identifier:uniqueId Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/uniqueID
..... value ΣC1..1stringThe value that is unique
Example General: 123456
... status ?!Σ0..1codeavailable | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.

... type Σ1..1CodeableConceptKind of material that forms the specimen
Binding: Specimen Type Used In Viral Load testing (required)
.... text Σ0..1stringPlain text representation of the concept
Required Pattern: Specimen Type
... subject Σ1..1Reference(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
... receivedTime SΣ0..1dateTimeThe time when specimen is received by the testing laboratory
... collection 0..1BackboneElementCollection details
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Slices for collected[x] Σ0..1Collection time
Slice: Unordered, Open by type:$this
..... collectedDateTimedateTime
..... collectedPeriodPeriod
..... collected[x]:collectedDateTime SΣ0..1dateTimeCollection time
... processing S0..1BackboneElementProcessing and processing step details
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Slices for time[x] 1..1dateTimeDate and time of specimen processing
Slice: Unordered, Closed by type:$this
..... time[x]:timeDateTime 1..1dateTimeDate and time of specimen processing
... note S0..*AnnotationComments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Specimen.identifier:appSampleCode.userequiredIdentifierUse
Specimen.identifier:remoteSampleCode.userequiredIdentifierUse
Specimen.identifier:sampleCode.userequiredIdentifierUse
Specimen.identifier:uniqueId.userequiredIdentifierUse
Specimen.statusrequiredSpecimenStatus
Specimen.typerequiredVSSpecimenType

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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..*SpecimenSample for analysis
... 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
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... SampleReordered S0..1booleanSample reordered
URL: http://openhie.org/fhir/rwanda-hiv/StructureDefinition/sample-reordered
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ4..*IdentifierExternal Identifier
Slice: Unordered, Open by value:system
.... identifier:appSampleCode Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: App sample identifier
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/app-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:remoteSampleCode Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: Remote sample identifier
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/remote-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:sampleCode Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: Sample identifier
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:uniqueId Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: PLAC
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Placer Identifier
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: Universal Unique Identifier for the sample
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/uniqueID
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... accessionIdentifier Σ0..1IdentifierIdentifier assigned by the lab
... status ?!Σ0..1codeavailable | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.

... type Σ1..1CodeableConceptKind of material that forms the specimen
Binding: Specimen Type Used In Viral Load testing (required)
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ0..1stringPlain text representation of the concept
Required Pattern: Specimen Type
... subject Σ1..1Reference(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
... receivedTime SΣ0..1dateTimeThe time when specimen is received by the testing laboratory
... parent 0..*Reference(Specimen)Specimen from which this specimen originated
... request 0..*Reference(ServiceRequest)Why the specimen was collected
... combined Σ0..1codegrouped | pooled
Binding: SpecimenCombined (required): Codes for the combined status of a specimen.

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


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

.... description 1..1stringInformation about the feature
... collection 0..1BackboneElementCollection details
.... 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
.... collector Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)Who collected the specimen
.... Slices for collected[x] Σ0..1Collection time
Slice: Unordered, Open by type:$this
..... collectedDateTimedateTime
..... collectedPeriodPeriod
..... collected[x]:collectedDateTime SΣ0..1dateTimeCollection time
.... duration Σ0..1DurationHow long it took to collect specimen
.... quantity 0..1SimpleQuantityThe quantity of specimen collected
.... method 0..1CodeableConceptTechnique used to perform collection
Binding: FHIRSpecimenCollectionMethod (example): The technique that is used to perform the procedure.

.... device 0..1CodeableReference(Device)Device used to perform collection
Binding: (unbound) (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..1Reference(Procedure)The procedure that collects the specimen
.... bodySite 0..1CodeableReference(BodyStructure)Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts

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

..... fastingStatusCodeableConceptCodeableConcept
..... fastingStatusDurationDuration
... processing S0..1BackboneElementProcessing and processing step details
.... 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
.... description 0..1stringTextual description of procedure
.... method 0..1CodeableConceptIndicates 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
.... Slices for time[x] 1..1dateTimeDate and time of specimen processing
Slice: Unordered, Closed by type:$this
..... time[x]:timeDateTime 1..1dateTimeDate and time of specimen processing
... container 0..*BackboneElementDirect container of specimen (tube/slide, etc.)
.... 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
.... device 1..1Reference(Device)Device resource for the container
.... location 0..1Reference(Location)Where the container is
.... specimenQuantity 0..1SimpleQuantityQuantity of specimen within container
... condition Σ0..*CodeableConceptState of the specimen
Binding: hl7VS-specimenCondition (extensible): Codes describing the state of the specimen.


... note S0..*AnnotationComments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Specimen.languagerequiredAllLanguages
Specimen.identifier:appSampleCode.userequiredIdentifierUse
Specimen.identifier:appSampleCode.typeextensibleIdentifierTypeCodes
Specimen.identifier:remoteSampleCode.userequiredIdentifierUse
Specimen.identifier:remoteSampleCode.typeextensibleIdentifierTypeCodes
Specimen.identifier:sampleCode.userequiredIdentifierUse
Specimen.identifier:sampleCode.typeextensibleIdentifierTypeCodes
Specimen.identifier:uniqueId.userequiredIdentifierUse
Specimen.identifier:uniqueId.typeextensibleIdentifierTypeCodes
Specimen.statusrequiredSpecimenStatus
Specimen.typerequiredVSSpecimenType
Specimen.combinedrequiredSpecimenCombined
Specimen.rolepreferredSpecimenRole
Specimen.feature.typeexampleSNOMEDCTBodyStructures
Specimen.collection.methodexampleFHIRSpecimenCollectionMethod
Specimen.collection.deviceexample
Specimen.collection.bodySiteexampleSNOMEDCTBodyStructures
Specimen.collection.fastingStatus[x]extensibleHl7VSRelevantClincialInformation
Specimen.processing.methodexampleSpecimenProcessingMethod
Specimen.conditionextensibleHl7VSSpecimenCondition

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()

This structure is derived from Specimen

Summary

Mandatory: 14 elements (2 nested mandatory elements)
Must-Support: 5 elements
Fixed Value: 4 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Specimen.identifier is sliced based on the value of value:system
  • The element Specimen.collection.collected[x] is sliced based on the value of type:$this
  • The element Specimen.processing.time[x] is sliced based on the value of type:$this

Differential View

This structure is derived from Specimen

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..*SpecimenSample for analysis
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... SampleReordered S0..1booleanSample reordered
URL: http://openhie.org/fhir/rwanda-hiv/StructureDefinition/sample-reordered
... Slices for identifier 4..*IdentifierExternal Identifier
Slice: Unordered, Open by value:system
.... identifier:appSampleCode 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display 0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
...... text 0..1stringPlain text representation of the concept
Required Pattern: App sample identifier
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/app-sample-code
..... value 1..1stringThe value that is unique
.... identifier:remoteSampleCode 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display 0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
...... text 0..1stringPlain text representation of the concept
Required Pattern: Remote sample identifier
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/remote-sample-code
..... value 1..1stringThe value that is unique
.... identifier:sampleCode 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display 0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
...... text 0..1stringPlain text representation of the concept
Required Pattern: Sample identifier
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/sample-code
..... value 1..1stringThe value that is unique
.... identifier:uniqueId 1..1IdentifierExternal Identifier
..... type
...... coding
....... system 0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 0..1codeSymbol in syntax defined by the system
Required Pattern: PLAC
....... display 0..1stringRepresentation defined by the system
Required Pattern: Placer Identifier
...... text 0..1stringPlain text representation of the concept
Required Pattern: Universal Unique Identifier for the sample
..... system 1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/uniqueID
..... value 1..1stringThe value that is unique
.... text 0..1stringPlain text representation of the concept
Required Pattern: Specimen Type
... subject 1..1Reference(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
... receivedTime S0..1dateTimeThe time when specimen is received by the testing laboratory
... collection
.... Slices for collected[x] 0..1dateTime, PeriodCollection time
Slice: Unordered, Open by type:$this
..... collected[x]:collectedDateTime S0..1dateTimeCollection time
... processing S0..1BackboneElementProcessing and processing step details
.... Slices for time[x] 1..1dateTimeDate and time of specimen processing
Slice: Unordered, Open by type:$this
..... time[x]:timeDateTime 1..1dateTimeDate and time of specimen processing
... note S0..*AnnotationComments

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Specimen.typerequiredVSSpecimenType

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..*SpecimenSample for analysis
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ4..*IdentifierExternal Identifier
Slice: Unordered, Open by value:system
.... identifier:appSampleCode Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/app-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
.... identifier:remoteSampleCode Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/remote-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
.... identifier:sampleCode Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
.... identifier:uniqueId Σ1..1IdentifierExternal Identifier
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/uniqueID
..... value ΣC1..1stringThe value that is unique
Example General: 123456
... status ?!Σ0..1codeavailable | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.

... type Σ1..1CodeableConceptKind of material that forms the specimen
Binding: Specimen Type Used In Viral Load testing (required)
.... text Σ0..1stringPlain text representation of the concept
Required Pattern: Specimen Type
... subject Σ1..1Reference(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
... receivedTime SΣ0..1dateTimeThe time when specimen is received by the testing laboratory
... collection 0..1BackboneElementCollection details
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Slices for collected[x] Σ0..1Collection time
Slice: Unordered, Open by type:$this
..... collectedDateTimedateTime
..... collectedPeriodPeriod
..... collected[x]:collectedDateTime SΣ0..1dateTimeCollection time
... processing S0..1BackboneElementProcessing and processing step details
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Slices for time[x] 1..1dateTimeDate and time of specimen processing
Slice: Unordered, Closed by type:$this
..... time[x]:timeDateTime 1..1dateTimeDate and time of specimen processing
... note S0..*AnnotationComments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Specimen.identifier:appSampleCode.userequiredIdentifierUse
Specimen.identifier:remoteSampleCode.userequiredIdentifierUse
Specimen.identifier:sampleCode.userequiredIdentifierUse
Specimen.identifier:uniqueId.userequiredIdentifierUse
Specimen.statusrequiredSpecimenStatus
Specimen.typerequiredVSSpecimenType

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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..*SpecimenSample for analysis
... 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
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... SampleReordered S0..1booleanSample reordered
URL: http://openhie.org/fhir/rwanda-hiv/StructureDefinition/sample-reordered
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ4..*IdentifierExternal Identifier
Slice: Unordered, Open by value:system
.... identifier:appSampleCode Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: App sample identifier
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/app-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:remoteSampleCode Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: Remote sample identifier
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/remote-sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:sampleCode Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: USID
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Unique Specimen ID
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: Sample identifier
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/sample-code
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:uniqueId Σ1..1IdentifierExternal Identifier
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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.

...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1idUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ0..1stringVersion of the system - if relevant
....... code ΣC0..1codeSymbol in syntax defined by the system
Required Pattern: PLAC
....... display ΣC0..1stringRepresentation defined by the system
Required Pattern: Placer Identifier
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
Required Pattern: Universal Unique Identifier for the sample
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://openhie.org/fhir/rwanda-hiv/identifier/uniqueID
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... accessionIdentifier Σ0..1IdentifierIdentifier assigned by the lab
... status ?!Σ0..1codeavailable | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.

... type Σ1..1CodeableConceptKind of material that forms the specimen
Binding: Specimen Type Used In Viral Load testing (required)
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ0..1stringPlain text representation of the concept
Required Pattern: Specimen Type
... subject Σ1..1Reference(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
... receivedTime SΣ0..1dateTimeThe time when specimen is received by the testing laboratory
... parent 0..*Reference(Specimen)Specimen from which this specimen originated
... request 0..*Reference(ServiceRequest)Why the specimen was collected
... combined Σ0..1codegrouped | pooled
Binding: SpecimenCombined (required): Codes for the combined status of a specimen.

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


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

.... description 1..1stringInformation about the feature
... collection 0..1BackboneElementCollection details
.... 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
.... collector Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson)Who collected the specimen
.... Slices for collected[x] Σ0..1Collection time
Slice: Unordered, Open by type:$this
..... collectedDateTimedateTime
..... collectedPeriodPeriod
..... collected[x]:collectedDateTime SΣ0..1dateTimeCollection time
.... duration Σ0..1DurationHow long it took to collect specimen
.... quantity 0..1SimpleQuantityThe quantity of specimen collected
.... method 0..1CodeableConceptTechnique used to perform collection
Binding: FHIRSpecimenCollectionMethod (example): The technique that is used to perform the procedure.

.... device 0..1CodeableReference(Device)Device used to perform collection
Binding: (unbound) (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..1Reference(Procedure)The procedure that collects the specimen
.... bodySite 0..1CodeableReference(BodyStructure)Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts

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

..... fastingStatusCodeableConceptCodeableConcept
..... fastingStatusDurationDuration
... processing S0..1BackboneElementProcessing and processing step details
.... 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
.... description 0..1stringTextual description of procedure
.... method 0..1CodeableConceptIndicates 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
.... Slices for time[x] 1..1dateTimeDate and time of specimen processing
Slice: Unordered, Closed by type:$this
..... time[x]:timeDateTime 1..1dateTimeDate and time of specimen processing
... container 0..*BackboneElementDirect container of specimen (tube/slide, etc.)
.... 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
.... device 1..1Reference(Device)Device resource for the container
.... location 0..1Reference(Location)Where the container is
.... specimenQuantity 0..1SimpleQuantityQuantity of specimen within container
... condition Σ0..*CodeableConceptState of the specimen
Binding: hl7VS-specimenCondition (extensible): Codes describing the state of the specimen.


... note S0..*AnnotationComments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Specimen.languagerequiredAllLanguages
Specimen.identifier:appSampleCode.userequiredIdentifierUse
Specimen.identifier:appSampleCode.typeextensibleIdentifierTypeCodes
Specimen.identifier:remoteSampleCode.userequiredIdentifierUse
Specimen.identifier:remoteSampleCode.typeextensibleIdentifierTypeCodes
Specimen.identifier:sampleCode.userequiredIdentifierUse
Specimen.identifier:sampleCode.typeextensibleIdentifierTypeCodes
Specimen.identifier:uniqueId.userequiredIdentifierUse
Specimen.identifier:uniqueId.typeextensibleIdentifierTypeCodes
Specimen.statusrequiredSpecimenStatus
Specimen.typerequiredVSSpecimenType
Specimen.combinedrequiredSpecimenCombined
Specimen.rolepreferredSpecimenRole
Specimen.feature.typeexampleSNOMEDCTBodyStructures
Specimen.collection.methodexampleFHIRSpecimenCollectionMethod
Specimen.collection.deviceexample
Specimen.collection.bodySiteexampleSNOMEDCTBodyStructures
Specimen.collection.fastingStatus[x]extensibleHl7VSRelevantClincialInformation
Specimen.processing.methodexampleSpecimenProcessingMethod
Specimen.conditionextensibleHl7VSSpecimenCondition

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()

This structure is derived from Specimen

Summary

Mandatory: 14 elements (2 nested mandatory elements)
Must-Support: 5 elements
Fixed Value: 4 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Specimen.identifier is sliced based on the value of value:system
  • The element Specimen.collection.collected[x] is sliced based on the value of type:$this
  • The element Specimen.processing.time[x] is sliced based on the value of type:$this

 

Other representations of profile: CSV, Excel, Schematron