Data Model Libraries
    Preparing search index...

    SpecimenCollectionComponent Class

    FHIR Specification

    • Short: Collection details
    • Definition: Details concerning the specimen collection.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    collector?: Reference

    Specimen.collection.collector Element

    FHIR Specification

    collected?: IDataType

    Specimen.collection.collected[x] Element

    @ChoiceDataTypesMeta('Specimen.collection.collected[x]', ['dateTime','Period',]

    FHIR Specification

    • Short: Collection time
    • Definition: Time when specimen was collected from subject - the physiologically relevant time.
    • FHIR Types: 'dateTime', 'Period',
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    duration?: Duration

    Specimen.collection.duration Element

    FHIR Specification

    • Short: How long it took to collect specimen
    • Definition: The span of time over which the collection of a specimen occurred.
    • FHIR Type: Duration
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    quantity?: Quantity

    Specimen.collection.quantity Element

    FHIR Specification

    • Short: The quantity of specimen collected
    • Definition: The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample.
    • FHIR Type: Quantity
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Specimen.collection.method Element

    FHIR Specification

    • Short: Technique used to perform collection
    • Definition: A coded value specifying the technique that is used to perform the procedure.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Specimen.collection.device Element

    FHIR Specification

    • Short: Device used to perform collection
    • Definition: A coded value specifying the technique that is used to perform the procedure.
    • FHIR Type: CodeableReference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    procedure?: Reference

    Specimen.collection.procedure Element

    FHIR Specification

    • Short: The procedure that collects the specimen
    • Definition: The procedure event during which the specimen was collected (e.g. the surgery leading to the collection of a pathology sample).
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Specimen.collection.bodySite Element

    FHIR Specification

    • Short: Anatomical collection site
    • Definition: Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens.
    • Comment: Reasons for using BodyStructure reference include: 1.) Need to identify a specific site instance (e.g. a specific mole), 2.) a single pre-coordinated coded concept for the body site does not exist, 3.) a desire to represent bodySite using multiple attributes (e.g. modifiers).
    • FHIR Type: CodeableReference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    fastingStatus?: IDataType

    Specimen.collection.fastingStatus[x] Element

    @ChoiceDataTypesMeta('Specimen.collection.fastingStatus[x]', ['CodeableConcept','Duration',]

    FHIR Specification

    • Short: Whether or how long patient abstained from food and/or drink
    • Definition: Abstinence or reduction from some or all food, drink, or both, for a period of time prior to sample collection.
    • Comment: Representing fasting status using this element is preferred to representing it with an observation using a 'pre-coordinated code' such as LOINC 2005-7 (Calcium [Moles/ time] in 2 hour Urine --12 hours fasting), or using a component observation such asObservation.component code` = LOINC 49541-6 (Fasting status - Reported).
    • Requirements: Many diagnostic tests require fasting to facilitate accurate interpretation.
    • FHIR Types: 'CodeableConcept', 'Duration',
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    Methods

    • Parse the provided SpecimenCollectionComponent JSON to instantiate the SpecimenCollectionComponent data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR SpecimenCollectionComponent

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to SpecimenCollectionComponent

      Returns undefined | SpecimenCollectionComponent

      SpecimenCollectionComponent data model or undefined for SpecimenCollectionComponent

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided Collector object value to the collector property.

      Parameters

      • value: undefined | Reference

        the collector object value

      Returns this

      this

      @ReferenceTargets('Specimen.collection.collector', ['Practitioner','PractitionerRole','Patient','RelatedPerson',])

      InvalidTypeError for invalid data type or reference value

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Returns boolean

      true if and only if the data model has required fields (min cardinality > 0) and at least one of those required fields in the instance is empty; false otherwise

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise