Custodian

class fhir_biobank.custodian.Custodian(reference: str)[source]

Bases: object

This class represents reference to a Organization from which a specimen comes from. URL of the extension is already provided.

Parameters

reference (string) – short url of a resource, same as in Entry Resource defined in bundle. For example custodian/0

Raises

TypeError – This exception is raised when incorrect types of arguments are provided.

property custodianUrl

Getter for URL that defines how custodian extension should look like. :return: URL of custodian extension definition

property fhirExtension

Getter for a Custodian extension interpreted as a FHIR extension

Returns

FHIR Custodian extension in a correct FHIR representation

property reference

Getter for a reference to a custodian

Returns

reference to a custodian