Generated Narrative: StructureDefinition profile-MolecularSequence-for-Sequence Name Flags Card. Type Description & Constraints Sequence 0..* Sequence Information about a biological sequence #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:structureVariant 0..* (Complex) R4: Structural variant (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MolecularSequence.structureVariant #xD; type #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:type 0..1 code R4: type URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MolecularSequence.type Binding: sequenceType (required): Type if a sequence -- DNA, RNA, or amino acid sequence. #xD; referenceSeq #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:orientation 0..1 code R4: sense | antisense (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MolecularSequence.referenceSeq.orientation Binding: R4OrientationTypeForR3 (0.1.0) (required): Type for orientation. #xD; strand #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:strand 0..1 code R4: watson | crick additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MolecularSequence.referenceSeq.strand Binding: R4StrandTypeForR3 (0.1.0) (required): Type for strand. #xD; quality #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:roc 0..1 (Complex) R4: Receiver Operator Characteristic (ROC) Curve (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MolecularSequence.quality.roc #xD; Documentation for this format
Cross-version Profile for R4.MolecularSequence for use in FHIR STU3
This cross-version profile allows R4 MolecularSequence content to be represented via FHIR STU3 Sequence resources.
Raw data describing a biological sequence.
If the resource is contained in another resource, it SHALL NOT contain nested Resources
not(parent::f:contained and f:contained)
If the resource is contained in another resource, it SHALL NOT contain any narrative
If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
Only 0 and 1 are valid for coordinateSystem
coordinateSystem = 1 or coordinateSystem = 0
count(f:coordinateSystem[@value=0 and @value=1]) = 1
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
A set of rules under which this content was created
A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
The base language in which the resource is written.
Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
Text summary of the resource, for human interpretation
A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.
These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.
R4: `MolecularSequence.structureVariant` (new:BackboneElement)
Element `MolecularSequence.structureVariant` has a context of Sequence based on following the parent source element upwards and mapping to `Sequence`. Element `MolecularSequence.structureVariant` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count())
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Unique ID for this particular sequence. This is a FHIR-defined id
A unique identifier for this particular sequence instance. This is a FHIR-defined id.
Allows sequences to be distinguished and referenced.
Amino Acid Sequence/ DNA Sequence / RNA Sequence.
Type if a sequence -- DNA, RNA, or amino acid sequence
unique id for the element within a resource (for internal references)
Element `MolecularSequence.type` is mapped to FHIR STU3 element `Sequence.type` as `Equivalent`.
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)
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).
The patient whose sequencing results are described by this resource.
The method for sequencing, for example, chip information.
Who should be responsible for test result
The organization or lab that should be responsible for this result.
The number of copies of the seqeunce of interest. (RNASeq)
The number of copies of the seqeunce of interest. (RNASeq).
A sequence that is used as a reference to describe variants that are present in a sequence analyzed.
strand.empty() or strand = 1 or strand = -1
not(exists(f:strand)) or count(f:strand[@value=-1 and @value=1]) = 1
GenomeBuild and chromosome must be both contained if either one of them is contained
(chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())
(exists(f:chromosome) and exists(f:genomeBuild)) or (not(exists(f:chromosome)) and not(exists(f:genomeBuild)))
Have and only have one of the following elements in referenceSeq : 1. genomeBuild ; 2 referenceSeqId; 3. referenceSeqPointer; 4. referenceSeqString;
(genomeBuild.count()+referenceSeqId.count()+ referenceSeqPointer.count()+ referenceSeqString.count()) = 1
unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
R4: `MolecularSequence.referenceSeq.orientation` (new:code)
Element `MolecularSequence.referenceSeq.orientation` has a context of Sequence.referenceSeq based on following the parent source element upwards and mapping to `Sequence`. Element `MolecularSequence.referenceSeq.orientation` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).
The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'
The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used.
Reference identifier of reference sequence submitted to NCBI. It must match the type in the Sequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.
A Pointer to another Sequence entity as reference sequence
A Pointer to another Sequence entity as reference sequence.
A string to represent reference sequence
Directionality of DNA sequence. Available values are "1" for the plus strand (5' to 3')/Watson/Sense/positive and "-1" for the minus strand(3' to 5')/Crick/Antisense/negative.
R4: `MolecularSequence.referenceSeq.strand` additional types (code) additional types from child elements (value)
Element `MolecularSequence.referenceSeq.strand` is mapped to FHIR STU3 element `Sequence.referenceSeq.strand` as `SourceIsBroaderThanTarget`. The mappings for `MolecularSequence.referenceSeq.strand` do not cover the following types: code. The mappings for `MolecularSequence.referenceSeq.strand` do not cover the following types based on type expansion: value.
Start position of the window on the reference sequence
Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.
End position of the window on the reference sequence
End position of the window on the reference sequence. If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.
The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/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.
Additional Content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Start position of the variant on the reference sequence
Start position of the variant on the reference sequence.If the coordinate system is either 0-based or 1-based, then start position is inclusive.
End position of the variant on the reference sequence
End position of the variant on the reference sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.
An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.
An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.
Extended CIGAR string for aligning the sequence with reference bases
Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).
A pointer to an Observation containing variant information.
Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall starts from referenceSeq.windowStart and end by referenceSeq.windowEnd.
An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).
R4: Receiver Operator Characteristic (ROC) Curve (new)
R4: `MolecularSequence.quality.roc` (new:BackboneElement)
Element `MolecularSequence.quality.roc` has a context of Sequence.quality based on following the parent source element upwards and mapping to `Sequence`. Element `MolecularSequence.quality.roc` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Gold standard sequence used for comparing against.
Reference identifier of the sequence that used to mark the quality of tested samples.
Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.
End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.
The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).
Which method is used to get sequence quality.
The method used to evaluate the numerical quality of the observed sequence.
True positives from the perspective of the truth data
True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
True positives from the perspective of the query data
True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.
False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.
False positives where the non-REF alleles in the Truth and Query Call Sets match
The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).
Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).
Average number of reads representing a given nucleotide in the reconstructed sequence
Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.
External repository which contains detailed report related with observedSeq in this resource
Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.
directlink | openapi | login | oauth | other
Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource.
URI of an external repository which contains further details about the genetics data.
Id of the dataset that used to call for dataset in repository
Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository.
Id of the variantset that used to call for variantset in repository
Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository.
Id of the read in this external repository.
Pointer to next atomic sequence which at most contains one variant.