Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
| Responsible Owner: Orders and Observations Work Group | Standards Status : Informative | Compartments : No defined compartments |
ShEx statement for specimendefinition
PREFIX fhir: <http://hl7.org/fhir/> PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>IMPORT <uri.shex> IMPORT <code.shex> IMPORT <date.shex># ShEx Version 2.2 IMPORT <Uri.shex> IMPORT <Code.shex> IMPORT <Date.shex> IMPORT <Group.shex> IMPORT <Range.shex>IMPORT <string.shex>IMPORT <String.shex> IMPORT <Coding.shex> IMPORT <Period.shex>IMPORT <boolean.shex> IMPORT <dateTime.shex> IMPORT <markdown.shex> IMPORT <Quantity.shex>IMPORT <Boolean.shex> IMPORT <DateTime.shex> IMPORT <Markdown.shex> IMPORT <Duration.shex>IMPORT <canonical.shex>IMPORT <Quantity.shex> IMPORT <Canonical.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <UsageContext.shex> IMPORT <ContactDetail.shex> IMPORT <DomainResource.shex> IMPORT <SimpleQuantity.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <SubstanceDefinition.shex> start=@<SpecimenDefinition> AND {fhir:nodeRole [fhir:treeRoot]} # Kind of specimen <SpecimenDefinition> EXTENDS @<DomainResource> CLOSED { a [fhir:SpecimenDefinition]?;fhir:nodeRole [fhir:treeRoot]?;a [fhir:SpecimenDefinition]?; fhir:nodeRole [fhir:treeRoot]?; fhir:url @<uri>?; # Logical canonical URL to referencefhir:url @<Uri>?; # Logical canonical URL to reference # this SpecimenDefinition (globally # unique) fhir:identifier @<Identifier>?; # Business identifierfhir:version @<string>?; # Business version of thefhir:version @<String>?; # Business version of the # SpecimenDefinitionfhir:versionAlgorithm @<string> ORfhir:versionAlgorithm @<String> OR @<Coding> ?; # How to compare versionsfhir:name @<string>?; # Name for this {{title}} (computerfhir:name @<String>?; # Name for this {{title}} (computer # friendly)fhir:title @<string>?; # Name for this SpecimenDefinitionfhir:title @<String>?; # Name for this SpecimenDefinition # (Human friendly)fhir:derivedFromCanonical @<OneOrMore_canonical>?; # Based on FHIR definition offhir:derivedFromCanonical @<OneOrMore_Canonical>?; # Based on FHIR definition of # another SpecimenDefinitionfhir:derivedFromUri @<OneOrMore_uri>?; # Based on external definition fhir:status @<code> ANDfhir:derivedFromUri @<OneOrMore_Uri>?; # Based on external definition fhir:status @<Code> AND {fhir:v @fhirvs:publication-status}; # draft | active | retired | unknownfhir:experimental @<boolean>?; # If this SpecimenDefinition is notfhir:experimental @<Boolean>?; # If this SpecimenDefinition is not # for real usage fhir:subject @<CodeableConcept> OR(@<Reference> AND {fhir:link @<Group> }) ?; # Type of subject for specimen(@<Reference> AND {fhir:l @<Group> }) ?; # Type of subject for specimen # collectionfhir:date @<dateTime>?; # Date status first applied fhir:publisher @<string>?; # The name of the individual orfhir:date @<DateTime>?; # Date status first applied fhir:publisher @<String>?; # The name of the individual or # organization that published the # SpecimenDefinition fhir:contact @<OneOrMore_ContactDetail>?; # Contact details for the publisherfhir:description @<markdown>?; # Natural language description offhir:description @<Markdown>?; # Natural language description of # the SpecimenDefinition fhir:useContext @<OneOrMore_UsageContext>?; # Content intends to support these # contextsfhir:jurisdiction @<OneOrMore_CodeableConcept>?; # Intended jurisdiction for thisfhir:jurisdiction @<OneOrMore_CodeableConcept>?; # Jurisdiction of the authority that # maintains the this # SpecimenDefinition (if applicable)fhir:purpose @<markdown>?; # Why this SpecimenDefinition isfhir:purpose @<Markdown>?; # Why this SpecimenDefinition is # definedfhir:copyright @<markdown>?; # Use and/or publishing restrictions fhir:copyrightLabel @<string>?; # Copyright holder and year(s) fhir:approvalDate @<date>?; # When SpecimenDefinition wasfhir:copyright @<Markdown>?; # Notice about intellectual property # ownership, can include # restrictions on use fhir:copyrightLabel @<String>?; # Copyright holder and year(s) fhir:approvalDate @<Date>?; # When SpecimenDefinition was # approved by publisherfhir:lastReviewDate @<date>?; # The date on which the assetfhir:lastReviewDate @<Date>?; # The date on which the asset # content was last reviewed by the # publisher fhir:effectivePeriod @<Period>?; # The effective date range for the # SpecimenDefinition fhir:typeCollected @<CodeableConcept>?; # Kind of material to collect fhir:patientPreparation @<OneOrMore_CodeableConcept>?; # Patient preparation for collectionfhir:timeAspect @<string>?; # Time aspect for collectionfhir:timeAspect @<String>?; # Time aspect for collection fhir:collection @<OneOrMore_CodeableConcept>?; # Specimen collection procedure fhir:typeTested @<OneOrMore_SpecimenDefinition.typeTested>?; # Specimen in container intended for # testing by lab } # Additive associated with container <SpecimenDefinition.typeTested.container.additive> EXTENDS @<BackboneElement> CLOSED { fhir:additive @<CodeableConcept> OR(@<Reference> AND {fhir:link @<SubstanceDefinition> }) ; # Additive associated with container(@<Reference> AND {fhir:l @<SubstanceDefinition> }) ; # Additive associated with container } # Specimen in container intended for testing by lab <SpecimenDefinition.typeTested> EXTENDS @<BackboneElement> CLOSED { fhir:isDerived @<Boolean>?; # Primary or secondary specimen fhir:type @<CodeableConcept>?; # Type of intended specimen fhir:preference @<Code> AND {fhir:v @fhirvs:specimen-contained-preference}; # preferred | alternate fhir:container @<SpecimenDefinition.typeTested.container>?; # The specimen's container fhir:requirement @<Markdown>?; # Requirements for specimen delivery # and special handling fhir:retentionTime @<Duration>?; # The usual time for retaining this # kind of specimen fhir:singleUse @<Boolean>?; # Specimen for single use only fhir:rejectionCriterion @<OneOrMore_CodeableConcept>?; # Criterion specified for specimen # rejection fhir:handling @<OneOrMore_SpecimenDefinition.typeTested.handling>?; # Specimen handling before testing fhir:testingDestination @<OneOrMore_CodeableConcept>?; # Where the specimen will be tested } # The specimen's container <SpecimenDefinition.typeTested.container> EXTENDS @<BackboneElement> CLOSED { fhir:material @<CodeableConcept>?; # The material type used for the # container fhir:type @<CodeableConcept>?; # Kind of container associated with # the kind of specimen fhir:cap @<CodeableConcept>?; # Color of container capfhir:description @<markdown>?; # The description of the kind offhir:description @<Markdown>?; # The description of the kind of # container fhir:capacity @<Quantity>?; # The capacity of this kind of # container fhir:minimumVolume @<SimpleQuantity> OR@<string> ?; # Minimum volume@<String> ?; # Minimum volume fhir:additive @<OneOrMore_SpecimenDefinition.typeTested.container.additive>?; # Additive associated with containerfhir:preparation @<markdown>?; # Special processing applied to thefhir:preparation @<Markdown>?; # Special processing applied to the # container for this specimen type } # Specimen handling before testing <SpecimenDefinition.typeTested.handling> EXTENDS @<BackboneElement> CLOSED { fhir:temperatureQualifier @<CodeableConcept>?; # Qualifies the interval of # temperature fhir:temperatureRange @<Range>?; # Temperature range for these # handling instructions fhir:maxDuration @<Duration>?; # Maximum preservation timefhir:instruction @<markdown>?; # Preservation instruction } # Specimen in container intended for testing by lab <SpecimenDefinition.typeTested> EXTENDS @<BackboneElement> CLOSED { fhir:isDerived @<boolean>?; # Primary or secondary specimen fhir:type @<CodeableConcept>?; # Type of intended specimen fhir:preference @<code> AND {fhir:v @fhirvs:specimen-contained-preference}; # preferred | alternate fhir:container @<SpecimenDefinition.typeTested.container>?; # The specimen's container fhir:requirement @<markdown>?; # Requirements for specimen delivery # and special handling fhir:retentionTime @<Duration>?; # The usual time for retaining this # kind of specimen fhir:singleUse @<boolean>?; # Specimen for single use only fhir:rejectionCriterion @<OneOrMore_CodeableConcept>?; # Criterion specified for specimen # rejection fhir:handling @<OneOrMore_SpecimenDefinition.typeTested.handling>?; # Specimen handling before testing fhir:testingDestination @<OneOrMore_CodeableConcept>?; # Where the specimen will be testedfhir:instruction @<Markdown>?; # Preservation instruction } #---------------------- Cardinality Types (OneOrMore) -------------------<OneOrMore_canonical> CLOSED { rdf:first @<canonical> ; rdf:rest [rdf:nil] OR @<OneOrMore_canonical><OneOrMore_Canonical> CLOSED { rdf:first @<Canonical> ; rdf:rest [rdf:nil] OR @<OneOrMore_Canonical> }<OneOrMore_uri> CLOSED { rdf:first @<uri> ; rdf:rest [rdf:nil] OR @<OneOrMore_uri><OneOrMore_Uri> CLOSED { rdf:first @<Uri> ; rdf:rest [rdf:nil] OR @<OneOrMore_Uri> } <OneOrMore_ContactDetail> CLOSED { rdf:first @<ContactDetail> ; rdf:rest [rdf:nil] OR @<OneOrMore_ContactDetail> } <OneOrMore_UsageContext> CLOSED { rdf:first @<UsageContext> ; rdf:rest [rdf:nil] OR @<OneOrMore_UsageContext> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_SpecimenDefinition.typeTested> CLOSED { rdf:first @<SpecimenDefinition.typeTested> ; rdf:rest [rdf:nil] OR @<OneOrMore_SpecimenDefinition.typeTested> }<OneOrMore_SpecimenDefinition.typeTested.container.additive> CLOSED { rdf:first @<SpecimenDefinition.typeTested.container.additive> ; rdf:rest [rdf:nil] OR @<OneOrMore_SpecimenDefinition.typeTested.container.additive> }<OneOrMore_SpecimenDefinition.typeTested.handling> CLOSED { rdf:first @<SpecimenDefinition.typeTested.handling> ; rdf:rest [rdf:nil] OR @<OneOrMore_SpecimenDefinition.typeTested.handling> } <OneOrMore_SpecimenDefinition.typeTested.container.additive> CLOSED { rdf:first @<SpecimenDefinition.typeTested.container.additive> ; rdf:rest [rdf:nil] OR @<OneOrMore_SpecimenDefinition.typeTested.container.additive> } #---------------------- Value Sets ------------------------ # The lifecycle status of an artifact. fhirvs:publication-status ["draft" "active" "retired" "unknown"] # Degree of preference of a type of conditioned specimen. fhirvs:specimen-contained-preference ["preferred" "alternate"]
Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:26+1100.
Thu,
Nov
27,
2025
16:54+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change