This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Biologicallyderivedproductdispense.shex
Raw ShEx
ShEx statement for biologicallyderivedproductdispense
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 <code.shex>
IMPORT <string.shex>
IMPORT <Patient.shex>
IMPORT <Location.shex>
IMPORT <Quantity.shex>
IMPORT <dateTime.shex>
IMPORT <Reference.shex>
IMPORT <Identifier.shex>
IMPORT <Annotation.shex>
IMPORT <Practitioner.shex>
IMPORT <DomainResource.shex>
IMPORT <ServiceRequest.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
IMPORT <BiologicallyDerivedProduct.shex>
start=@<BiologicallyDerivedProductDispense> AND {fhir:nodeRole [fhir:treeRoot]}
# A record of dispensation of a biologically derived product
<BiologicallyDerivedProductDispense> EXTENDS @<DomainResource> CLOSED {
a [fhir:BiologicallyDerivedProductDispense]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @<OneOrMore_Identifier>?; # Business identifier for this
# dispense
fhir:basedOn @<OneOrMore_Reference_ServiceRequest>?; # The order or request that this
# dispense is fulfilling
fhir:partOf @<OneOrMore_Reference_BiologicallyDerivedProductDispense>?; # Short description
fhir:status @<code> AND
{fhir:v @fhirvs:biologicallyderivedproductdispense-status}; # preparation | in-progress |
# allocated | issued | unfulfilled |
# returned | entered-in-error |
# unknown
fhir:originRelationshipType @<CodeableConcept>?; # Relationship between the donor and
# intended recipient
fhir:product @<Reference> AND {fhir:link
@<BiologicallyDerivedProduct> ? }; # The BiologicallyDerivedProduct
# that is dispensed
fhir:patient @<Reference> AND {fhir:link
@<Patient> ? }; # The intended recipient of the
# dispensed product
fhir:matchStatus @<CodeableConcept>?; # Indicates the type of matching
# associated with the dispense
fhir:performer @<OneOrMore_BiologicallyDerivedProductDispense.performer>?; # Indicates who or what performed an
# action
fhir:location @<Reference> AND {fhir:link
@<Location> ? }?; # Where the dispense occurred
fhir:quantity @<Quantity>?; # Amount dispensed
fhir:preparedDate @<dateTime>?; # When product was selected/matched
fhir:whenHandedOver @<dateTime>?; # When the product was dispatched
fhir:destination @<Reference> AND {fhir:link
@<Location> ? }?; # Where the product was dispatched to
fhir:note @<OneOrMore_Annotation>?; # Additional notes
fhir:usageInstruction @<string>?; # Specific instructions for use
}
# Indicates who or what performed an action
<BiologicallyDerivedProductDispense.performer> EXTENDS @<BackboneElement> CLOSED {
fhir:function @<CodeableConcept>?; # Identifies the function of the
# performer during the dispense
fhir:actor @<Reference> AND {fhir:link
@<Practitioner> ? }; # Who performed the action
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
rdf:first @<Identifier> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Identifier>
}
<OneOrMore_Reference_ServiceRequest> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<ServiceRequest> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ServiceRequest>
}
<OneOrMore_Reference_BiologicallyDerivedProductDispense> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<BiologicallyDerivedProductDispense> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_BiologicallyDerivedProductDispense>
}
<OneOrMore_BiologicallyDerivedProductDispense.performer> CLOSED {
rdf:first @<BiologicallyDerivedProductDispense.performer> ;
rdf:rest [rdf:nil] OR @<OneOrMore_BiologicallyDerivedProductDispense.performer>
}
<OneOrMore_Annotation> CLOSED {
rdf:first @<Annotation> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Annotation>
}
#---------------------- Value Sets ------------------------
# BiologicallyDerivedProductDispense Status Codes
fhirvs:biologicallyderivedproductdispense-status ["preparation" "in-progress" "allocated" "issued" "unfulfilled" "returned" "entered-in-error" "unknown"]
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.