Data Model Libraries
    Preparing search index...

    SpecimenDefinition Class

    A kind of specimen with associated set of requirements.

    FHIR Specification

    • Short: Kind of specimen
    • Definition: A kind of specimen with associated set of requirements.
    • FHIR Version: 5.0.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getUrlElement setUrlElement hasUrlElement getUrl setUrl hasUrl getIdentifier setIdentifier hasIdentifier getVersionElement setVersionElement hasVersionElement getVersion setVersion hasVersion getVersionAlgorithm setVersionAlgorithm hasVersionAlgorithm getVersionAlgorithmStringType hasVersionAlgorithmStringType getVersionAlgorithmCoding hasVersionAlgorithmCoding getNameElement setNameElement hasNameElement getName setName hasName getTitleElement setTitleElement hasTitleElement getTitle setTitle hasTitle getDerivedFromCanonicalElement setDerivedFromCanonicalElement addDerivedFromCanonicalElement hasDerivedFromCanonicalElement getDerivedFromCanonical setDerivedFromCanonical addDerivedFromCanonical hasDerivedFromCanonical getDerivedFromUriElement setDerivedFromUriElement addDerivedFromUriElement hasDerivedFromUriElement getDerivedFromUri setDerivedFromUri addDerivedFromUri hasDerivedFromUri getStatusEnumType setStatusEnumType hasStatusEnumType getStatusElement setStatusElement hasStatusElement getStatus setStatus hasStatus getExperimentalElement setExperimentalElement hasExperimentalElement getExperimental setExperimental hasExperimental getSubject setSubject hasSubject getSubjectCodeableConcept hasSubjectCodeableConcept getSubjectReference hasSubjectReference getDateElement setDateElement hasDateElement getDate setDate hasDate getPublisherElement setPublisherElement hasPublisherElement getPublisher setPublisher hasPublisher getContact setContact addContact hasContact getDescriptionElement setDescriptionElement hasDescriptionElement getDescription setDescription hasDescription getUseContext setUseContext addUseContext hasUseContext getJurisdiction setJurisdiction addJurisdiction hasJurisdiction getPurposeElement setPurposeElement hasPurposeElement getPurpose setPurpose hasPurpose getCopyrightElement setCopyrightElement hasCopyrightElement getCopyright setCopyright hasCopyright getCopyrightLabelElement setCopyrightLabelElement hasCopyrightLabelElement getCopyrightLabel setCopyrightLabel hasCopyrightLabel getApprovalDateElement setApprovalDateElement hasApprovalDateElement getApprovalDate setApprovalDate hasApprovalDate getLastReviewDateElement setLastReviewDateElement hasLastReviewDateElement getLastReviewDate setLastReviewDate hasLastReviewDate getEffectivePeriod setEffectivePeriod hasEffectivePeriod getTypeCollected setTypeCollected hasTypeCollected getPatientPreparation setPatientPreparation addPatientPreparation hasPatientPreparation getTimeAspectElement setTimeAspectElement hasTimeAspectElement getTimeAspect setTimeAspect hasTimeAspect getCollection setCollection addCollection hasCollection getTypeTested setTypeTested addTypeTested hasTypeTested fhirType isEmpty isRequiredFieldsEmpty copy toJSON getText setText hasText getContained setContained addContained hasContained getExtension setExtension hasExtension getExtensionByUrl addExtension removeExtension getModifierExtension setModifierExtension hasModifierExtension getModifierExtensionByUrl addModifierExtension removeModifierExtension resourceType getIdElement setIdElement hasIdElement getId setId hasId getMeta setMeta hasMeta getImplicitRulesElement setImplicitRulesElement hasImplicitRulesElement getImplicitRules setImplicitRules hasImplicitRules getLanguageElement setLanguageElement hasLanguageElement getLanguage setLanguage hasLanguage isResource isDataType isComplexDataType isPrimitive isBooleanPrimitive isStringPrimitive isNumberPrimitive isBigIntPrimitive isDateTimePrimitive copyValues initDerivedFromCanonical initDerivedFromUri initContact initUseContext initJurisdiction initPatientPreparation initCollection initTypeTested

    Constructors

    Properties

    url?: UriType

    SpecimenDefinition.url Element

    FHIR Specification

    • Short: Logical canonical URL to reference this SpecimenDefinition (globally unique)
    • Definition: An absolute URL that is used to identify this SpecimenDefinition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this SpecimenDefinition is (or will be) published. The URL SHOULD include the major version of the SpecimenDefinition. For more information see Technical and Business Versions.
    • Comment: Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred. This is the URI that will be used when making canonical references to this resource.
    • Requirements: Allows the SpecimenDefinition to be referenced by a single globally unique identifier.
    • FHIR Type: uri
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    identifier?: Identifier

    SpecimenDefinition.identifier Element

    FHIR Specification

    • Short: Business identifier
    • Definition: A business identifier assigned to this SpecimenDefinition.
    • FHIR Type: Identifier
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    version?: StringType

    SpecimenDefinition.version Element

    FHIR Specification

    • Short: Business version of the SpecimenDefinition
    • Definition: The identifier that is used to identify this version of the SpecimenDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the SpecimenDefinition author and is not expected to be globally unique.
    • Comment: There may be multiple different instances of a SpecimenDefinition that have the same identifier but different versions.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    versionAlgorithm?: IDataType

    SpecimenDefinition.versionAlgorithm[x] Element

    @ChoiceDataTypesMeta('SpecimenDefinition.versionAlgorithm[x]', ['string','Coding',]

    FHIR Specification

    • Short: How to compare versions
    • Definition: Indicates the mechanism used to compare versions to determine which is more current.
    • Comment: If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.
    • FHIR Types: 'string', 'Coding',
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    name?: StringType

    FHIR Specification

    • Short: Name for this {{title}} (computer friendly)
    • Definition: A natural language name identifying the {{title}}. This name should be usable as an identifier for the module by machine processing applications such as code generation.
    • Comment: The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.
    • Requirements: Support human navigation and code generation.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    title?: StringType

    SpecimenDefinition.title Element

    FHIR Specification

    • Short: Name for this SpecimenDefinition (Human friendly)
    • Definition: A short, descriptive, user-friendly title for the SpecimenDefinition.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    derivedFromCanonical?: CanonicalType[]

    SpecimenDefinition.derivedFromCanonical Element

    FHIR Specification

    • Short: Based on FHIR definition of another SpecimenDefinition
    • Definition: The canonical URL pointing to another FHIR-defined SpecimenDefinition that is adhered to in whole or in part by this definition.
    • FHIR Type: canonical
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    derivedFromUri?: UriType[]

    SpecimenDefinition.derivedFromUri Element

    FHIR Specification

    • Short: Based on external definition
    • Definition: The URL pointing to an externally-defined type of specimen, guideline or other definition that is adhered to in whole or in part by this definition.
    • Requirements: Specimen definitions may be refinements of other definitions.
    • FHIR Type: uri
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    publicationStatusEnum: PublicationStatusEnum

    FHIR CodeSystem: PublicationStatus

    status: null | EnumCodeType

    SpecimenDefinition.status Element

    FHIR Specification

    • Short: draft | active | retired | unknown
    • Definition: The current state of theSpecimenDefinition.
    • Comment: A nominal state-transition diagram can be found in the Definition pattern documentation Unknown does not represent "other" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is. See guidance around (not) making local changes to elements here.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: true
    • isModifierReason: Not known why this is labelled a modifier
    • isSummary: true

    CodeSystem Enumeration: PublicationStatusEnum

    experimental?: BooleanType

    SpecimenDefinition.experimental Element

    FHIR Specification

    • Short: If this SpecimenDefinition is not for real usage
    • Definition: A flag to indicate that this SpecimenDefinition is not authored for genuine usage.
    • Comment: Allows filtering of SpecimenDefinition that are appropriate for use vs. not.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    subject?: IDataType

    SpecimenDefinition.subject[x] Element

    @ChoiceDataTypesMeta('SpecimenDefinition.subject[x]', ['CodeableConcept','Reference',]

    FHIR Specification

    • Short: Type of subject for specimen collection
    • Definition: A code or group definition that describes the intended subject from which this kind of specimen is to be collected.
    • Comment: Examples: person, animal, device, water ....
    • FHIR Types: 'CodeableConcept', 'Reference',
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    SpecimenDefinition.date Element

    FHIR Specification

    • Short: Date status first applied
    • Definition: For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.
    • Comment: See guidance around (not) making local changes to elements here.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    publisher?: StringType

    SpecimenDefinition.publisher Element

    FHIR Specification

    • Short: The name of the individual or organization that published the SpecimenDefinition
    • Definition: Helps establish the "authority/credibility" of the SpecimenDefinition. May also allow for contact.
    • Requirements: Usually an organization, but may be an individual. The publisher (or steward) of the SpecimenDefinition is the organization or individual primarily responsible for the maintenance and upkeep of the SpecimenDefinition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the SpecimenDefinition. This item SHOULD be populated unless the information is available from context.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    contact?: ContactDetail[]

    SpecimenDefinition.contact Element

    FHIR Specification

    • Short: Contact details for the publisher
    • Definition: Contact details to assist a user in finding and communicating with the publisher.
    • Comment: May be a web site, an email address, a telephone number, etc. See guidance around (not) making local changes to elements here.
    • FHIR Type: ContactDetail
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    description?: MarkdownType

    SpecimenDefinition.description Element

    FHIR Specification

    • Short: Natural language description of the SpecimenDefinition
    • Definition: A free text natural language description of the SpecimenDefinition from the consumer's perspective.
    • Comment: This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the module as conveyed in the text field of the resource itself. This item SHOULD be populated unless the information is available from context.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    useContext?: UsageContext[]

    SpecimenDefinition.useContext Element

    FHIR Specification

    • Short: Content intends to support these contexts
    • Definition: The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of specimen definitions.
    • Comment: When multiple usageContexts are specified, there is no expectation for whether all or any of the contexts apply.
    • Requirements: Assist in searching for appropriate content.
    • FHIR Type: UsageContext
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    jurisdiction?: CodeableConcept[]

    SpecimenDefinition.jurisdiction Element

    FHIR Specification

    • Short: Intended jurisdiction for this SpecimenDefinition (if applicable)
    • Definition: A jurisdiction in which the SpecimenDefinition is intended to be used.
    • Comment: DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    purpose?: MarkdownType

    SpecimenDefinition.purpose Element

    FHIR Specification

    • Short: Why this SpecimenDefinition is defined
    • Definition: Explains why this SpecimeDefinition is needed and why it has been designed as it has.
    • Comment: This element does not describe the usage of the SpecimenDefinition. Rather it is for traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this SpecimenDefinition.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    copyright?: MarkdownType

    SpecimenDefinition.copyright Element

    FHIR Specification

    • Short: Use and/or publishing restrictions
    • Definition: Copyright statement relating to the SpecimenDefinition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the SpecimenDefinition.
    • Requirements: Consumers of the SpecimenDefinition must be able to determine any legal restrictions on the use of the artifact and/or its content.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    copyrightLabel?: StringType

    SpecimenDefinition.copyrightLabel Element

    FHIR Specification

    • Short: Copyright holder and year(s)
    • Definition: A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').
    • Comment: The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.
    • Requirements: Defines the content expected to be rendered in all representations of the artifact.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    approvalDate?: DateType

    SpecimenDefinition.approvalDate Element

    FHIR Specification

    • Short: When SpecimenDefinition was approved by publisher
    • Definition: The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.
    • Comment: The date may be more recent than the approval date because of minor changes / editorial corrections. See guidance around (not) making local changes to elements here.
    • FHIR Type: date
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    lastReviewDate?: DateType

    SpecimenDefinition.lastReviewDate Element

    FHIR Specification

    • Short: The date on which the asset content was last reviewed by the publisher
    • Definition: The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.
    • Comment: If specified, this is usually after the approval date. See guidance around (not) making local changes to elements here.
    • FHIR Type: date
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    effectivePeriod?: Period

    SpecimenDefinition.effectivePeriod Element

    FHIR Specification

    • Short: The effective date range for the SpecimenDefinition
    • Definition: The period during which the SpecimenDefinition content was or is planned to be effective.
    • Comment: The effective period for a SpecimenDefinition determines when the content is applicable for usage and is independent of publication and review dates. See guidance around (not) making local changes to elements here.
    • FHIR Type: Period
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    typeCollected?: CodeableConcept

    SpecimenDefinition.typeCollected Element

    FHIR Specification

    • Short: Kind of material to collect
    • Definition: The kind of material to be collected.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    patientPreparation?: CodeableConcept[]

    SpecimenDefinition.patientPreparation Element

    FHIR Specification

    • Short: Patient preparation for collection
    • Definition: Preparation of the patient for specimen collection.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    timeAspect?: StringType

    SpecimenDefinition.timeAspect Element

    FHIR Specification

    • Short: Time aspect for collection
    • Definition: Time aspect of specimen collection (duration or offset).
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    collection?: CodeableConcept[]

    SpecimenDefinition.collection Element

    FHIR Specification

    • Short: Specimen collection procedure
    • Definition: The action to be performed for collecting the specimen.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    SpecimenDefinition.typeTested Element

    FHIR Specification

    • Short: Specimen in container intended for testing by lab
    • Definition: Specimen conditioned in a container as expected by the testing laboratory.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR SpecimenDefinition

      • OptionaloptSourceField: string

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

      Returns undefined | SpecimenDefinition

      SpecimenDefinition data model or undefined for SpecimenDefinition

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided value to the text property.

      Parameters

      Returns this

      this

    • Returns boolean

      true if the text property exists and has a value; false otherwise

    • Assigns the provided Resource array value to the contained property.

      Parameters

      • value: undefined | IResource[]

        the contained array value

      Returns this

      this

    • Returns boolean

      true if the contained property exists and has a value; false otherwise

    • Assigns the provided array of Extension values to the extension property.

      Parameters

      • extension: undefined | IExtension[]

        array of Extensions

      Returns this

      this

    • 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

    • 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

    • 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

      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

    • Assigns the provided PrimitiveType value to the id property.

      Parameters

      • element: undefined | IdType

        the id value

      Returns this

      this

    • Returns undefined | string

      the id property value as a primitive value

    • Assigns the provided primitive value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the id property exists and has a value; false otherwise

    • Assigns the provided value to the meta property.

      Parameters

      • value: undefined | Meta

        the meta value

      Returns this

      this

    • Returns boolean

      true if the meta property exists and has a value; false otherwise

    • Assigns the provided primitive value to the implicitRules property.

      Parameters

      • value: undefined | string

        the implicitRules value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns undefined | string

      the language property value as a primitive value

    • Assigns the provided primitive value to the language property.

      Parameters

      • value: undefined | string

        the language value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the language property exists and has a value; false otherwise

    • Returns boolean

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