Apply

$applyoperation

The apply operation applies a SpecimenDefinition in a given context to create a Specimen resource instance

TypeInstance

Implementation Notes

The result of this operation is a Specimen resource based on the definition of the specimen as described in the SpecimenDefinition resource and the supplied parameters.

Metadata

ID
SpecimenDefinition-apply
Applies to Resources
SpecimenDefinition

Input Parameters (8)

specimenDefinition0..1SpecimenDefinition

The specimen definition to be applied. If the operation is invoked at the instance level, this parameter is not allowed; if the operation is invoked at the type level, this parameter is required

subject1..*stringrequired

The subject(s) that is/are the target of the Specimen instance to be created. The subject may be a Patient, Group, Device, Substance or Location. Subjects provided in this parameter will be resolved as the subject of the Specimen based on the type of the subject. If multiple subjects of the same type are provided, the behavior is implementation-defined

Search type: reference
collector0..1string

The practitioner (or practitioner role) that is collecting the specimen

Search type: reference
userType0..1CodeableConcept

The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.)

userLanguage0..1CodeableConcept

Preferred language of the person using the system

userTaskContext0..1CodeableConcept

The task the system user is performing, e.g. laboratory results review, medication list review, etc. This information can be used to tailor decision support outputs, such as recommended information resources

setting0..1CodeableConcept

The current setting of the request (inpatient, outpatient, etc.)

settingContext0..1CodeableConcept

Additional detail about the setting of the request, if any

Output Parameters (1)

return1..1Specimenrequired

The Specimen resource that is the result of applying the specimen definition