Cardea
cardea.fhir.
Specimen
A sample to be used for analysis.
resourceType – This is a Specimen resource
identifier – Id for specimen.
accessionIdentifier – The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures.
status – The availability of the specimen.
type – The kind of material that forms the specimen.
subject – Where the specimen came from. This may be from the patient(s) or from the environment or a device.
receivedTime – Time when specimen was received for processing or testing.
parent – Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.
request – Details concerning a test or procedure request that required a specimen to be collected.
collection – Details concerning the specimen collection.
processing – Details concerning processing and processing steps for the specimen.
container – The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
note – To communicate any details or issues about the specimen or during the specimen collection. (for example: broken vial, sent with patient, frozen).
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([dict_values])
Initialize self.
assert_type()
assert_type
Checks class values follow set possible enumerations.
get_dataframe()
get_dataframe
Returns dataframe from class attribute values.
get_eligible_relationships()
get_eligible_relationships
Returns class relationships for attributes that are used.
get_id()
get_id
Returns fhir class identifier.
get_relationships()
get_relationships
Returns class relationships.
set_attributes(dict_values)
set_attributes
Sets values to class attributes.