Data Model Libraries
    Preparing search index...

    MolecularSequence Class

    Raw data describing a biological sequence.

    FHIR Specification

    • Short: Information about a biological sequence
    • Definition: Raw data describing a biological sequence.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getTypeEnumType setTypeEnumType hasTypeEnumType getTypeElement setTypeElement hasTypeElement getType setType hasType getCoordinateSystemElement setCoordinateSystemElement hasCoordinateSystemElement getCoordinateSystem setCoordinateSystem hasCoordinateSystem getPatient setPatient hasPatient getSpecimen setSpecimen hasSpecimen getDevice setDevice hasDevice getPerformer setPerformer hasPerformer getQuantity setQuantity hasQuantity getReferenceSeq setReferenceSeq hasReferenceSeq getVariant setVariant addVariant hasVariant getObservedSeqElement setObservedSeqElement hasObservedSeqElement getObservedSeq setObservedSeq hasObservedSeq getQuality setQuality addQuality hasQuality getReadCoverageElement setReadCoverageElement hasReadCoverageElement getReadCoverage setReadCoverage hasReadCoverage getRepository setRepository addRepository hasRepository getPointer setPointer addPointer hasPointer getStructureVariant setStructureVariant addStructureVariant hasStructureVariant 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 initIdentifier initVariant initQuality initRepository initPointer initStructureVariant

    Constructors

    Properties

    identifier?: Identifier[]

    MolecularSequence.identifier Element

    FHIR Specification

    • Short: Unique ID for this particular sequence. This is a FHIR-defined id
    • Definition: A unique identifier for this particular sequence instance. This is a FHIR-defined id.
    • Requirements: Allows sequences to be distinguished and referenced.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    sequenceTypeEnum: SequenceTypeEnum

    FHIR CodeSystem: SequenceType

    type_?: EnumCodeType

    MolecularSequence.type Element

    FHIR Specification

    • Short: aa | dna | rna
    • Definition: Amino Acid Sequence/ DNA Sequence / RNA Sequence.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: SequenceTypeEnum

    coordinateSystem: null | IntegerType

    MolecularSequence.coordinateSystem Element

    FHIR Specification

    • Short: Base number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)
    • Definition: Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end).
    • FHIR Type: integer
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    patient?: Reference

    MolecularSequence.patient Element

    FHIR Specification

    • Short: Who and/or what this is about
    • Definition: The patient whose sequencing results are described by this resource.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    specimen?: Reference

    MolecularSequence.specimen Element

    FHIR Specification

    device?: Reference

    MolecularSequence.device Element

    FHIR Specification

    • Short: The method for sequencing
    • Definition: The method for sequencing, for example, chip information.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    performer?: Reference

    MolecularSequence.performer Element

    FHIR Specification

    • Short: Who should be responsible for test result
    • Definition: The organization or lab that should be responsible for this result.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    quantity?: Quantity

    MolecularSequence.quantity Element

    FHIR Specification

    • Short: The number of copies of the sequence of interest. (RNASeq)
    • Definition: The number of copies of the sequence of interest. (RNASeq).
    • FHIR Type: Quantity
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    MolecularSequence.referenceSeq Element

    FHIR Specification

    • Short: A sequence used as reference
    • Definition: A sequence that is used as a reference to describe variants that are present in a sequence analyzed.
    • FHIR Type: BackboneElement
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    MolecularSequence.variant Element

    FHIR Specification

    • Short: Variant in sequence
    • Definition: The definition of variant here originates from Sequence ontology (variant_of). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.) It can represent some complex mutation or segment variation with the assist of CIGAR string.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    observedSeq?: StringType

    MolecularSequence.observedSeq Element

    FHIR Specification

    • Short: Sequence that was observed
    • Definition: Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    MolecularSequence.quality Element

    FHIR Specification

    • Short: An set of value as quality of sequence
    • Definition: An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score (SO:0001686).
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    readCoverage?: IntegerType

    MolecularSequence.readCoverage Element

    FHIR Specification

    • Short: Average number of reads representing a given nucleotide in the reconstructed sequence
    • Definition: Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.
    • FHIR Type: integer
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    MolecularSequence.repository Element

    FHIR Specification

    • Short: External repository which contains detailed report related with observedSeq in this resource
    • Definition: Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    pointer?: Reference[]

    MolecularSequence.pointer Element

    FHIR Specification

    MolecularSequence.structureVariant Element

    FHIR Specification

    • Short: Structural variant
    • Definition: Information about chromosome structure variation.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR MolecularSequence

      • OptionaloptSourceField: string

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

      Returns undefined | MolecularSequence

      MolecularSequence data model or undefined for MolecularSequence

      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