This page is part of the Genetic Reporting Implementation Guide (v0.1.0: STU 1 Ballot 1) based on FHIR v3.3.0. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

The official URL for this profile is:

http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/sequence

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Sequence

Summary

Mandatory: 2 elements
Must-Support: 4 elements
Prohibited: 6 elements

This structure is derived from Sequence

NameFlagsCard.TypeDescription & Constraintsdoco
.. Sequence 0..*Definitional Sequence
... type S1..1code
... coordinateSystem S1..1integer
... patient 0..0
... specimen 0..0
... device 0..0
... performer 0..0
... referenceSeq S0..1BackboneElement
.... genomeBuild S0..1string
... variant 0..0
... quality 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Sequence I0..*Definitional Sequence
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierUnique ID for this particular sequence. This is a FHIR-defined id
... type SΣ1..1codeaa | dna | rna
Binding: sequenceType (example)
... coordinateSystem SΣ1..1integerBase number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)
... quantity Σ0..1QuantityThe number of copies of the seqeunce of interest. (RNASeq)
... referenceSeq SΣI0..1BackboneElementA sequence used as reference
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... chromosome Σ0..1CodeableConceptChromosome containing genetic finding
Binding: chromosome-human (example)
.... genomeBuild SΣ0..1stringThe Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'
.... orientation Σ0..1codesense | antisense
Binding: orientationType (required)
.... referenceSeqId Σ0..1CodeableConceptReference identifier
Binding: ENSEMBL (example)
.... referenceSeqPointer Σ0..1Reference(Sequence)A Pointer to another Sequence entity as reference sequence
.... referenceSeqString Σ0..1stringA string to represent reference sequence
.... strand Σ0..1codewatson | crick
Binding: strandType (required)
.... windowStart Σ1..1integerStart position of the window on the reference sequence
.... windowEnd Σ1..1integerEnd position of the window on the reference sequence
... observedSeq Σ0..1stringSequence that was observed
... readCoverage Σ0..1integerAverage number of reads representing a given nucleotide in the reconstructed sequence
... repository ΣI0..*BackboneElementExternal repository which contains detailed report related with observedSeq in this resource
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type Σ1..1codedirectlink | openapi | login | oauth | other
Binding: repositoryType (required)
.... url Σ0..1uriURI of the repository
.... name Σ0..1stringRepository's name
.... datasetId Σ0..1stringId of the dataset that used to call for dataset in repository
.... variantsetId Σ0..1stringId of the variantset that used to call for variantset in repository
.... readsetId Σ0..1stringId of the read
... pointer Σ0..*Reference(Sequence)Pointer to next atomic sequence
... structureVariant ΣI0..*BackboneElementStructural variant
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... precision Σ0..1stringPrecision of boundaries
.... reportedaCGHRatio Σ0..1decimalStructural Variant reported aCGH ratio
.... length Σ0..1integerStructural Variant Length
.... outer ΣI0..1BackboneElementStructural variant outer
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... start Σ0..1integerStructural Variant Outer Start
..... end Σ0..1integerStructural Variant Outer End
.... inner ΣI0..1BackboneElementStructural variant inner
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... start Σ0..1integerStructural Variant Inner Start
..... end Σ0..1integerStructural Variant Inner End

doco Documentation for this format

This structure is derived from Sequence

Summary

Mandatory: 2 elements
Must-Support: 4 elements
Prohibited: 6 elements

Differential View

This structure is derived from Sequence

NameFlagsCard.TypeDescription & Constraintsdoco
.. Sequence 0..*Definitional Sequence
... type S1..1code
... coordinateSystem S1..1integer
... patient 0..0
... specimen 0..0
... device 0..0
... performer 0..0
... referenceSeq S0..1BackboneElement
.... genomeBuild S0..1string
... variant 0..0
... quality 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Sequence I0..*Definitional Sequence
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierUnique ID for this particular sequence. This is a FHIR-defined id
... type SΣ1..1codeaa | dna | rna
Binding: sequenceType (example)
... coordinateSystem SΣ1..1integerBase number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)
... quantity Σ0..1QuantityThe number of copies of the seqeunce of interest. (RNASeq)
... referenceSeq SΣI0..1BackboneElementA sequence used as reference
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... chromosome Σ0..1CodeableConceptChromosome containing genetic finding
Binding: chromosome-human (example)
.... genomeBuild SΣ0..1stringThe Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'
.... orientation Σ0..1codesense | antisense
Binding: orientationType (required)
.... referenceSeqId Σ0..1CodeableConceptReference identifier
Binding: ENSEMBL (example)
.... referenceSeqPointer Σ0..1Reference(Sequence)A Pointer to another Sequence entity as reference sequence
.... referenceSeqString Σ0..1stringA string to represent reference sequence
.... strand Σ0..1codewatson | crick
Binding: strandType (required)
.... windowStart Σ1..1integerStart position of the window on the reference sequence
.... windowEnd Σ1..1integerEnd position of the window on the reference sequence
... observedSeq Σ0..1stringSequence that was observed
... readCoverage Σ0..1integerAverage number of reads representing a given nucleotide in the reconstructed sequence
... repository ΣI0..*BackboneElementExternal repository which contains detailed report related with observedSeq in this resource
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type Σ1..1codedirectlink | openapi | login | oauth | other
Binding: repositoryType (required)
.... url Σ0..1uriURI of the repository
.... name Σ0..1stringRepository's name
.... datasetId Σ0..1stringId of the dataset that used to call for dataset in repository
.... variantsetId Σ0..1stringId of the variantset that used to call for variantset in repository
.... readsetId Σ0..1stringId of the read
... pointer Σ0..*Reference(Sequence)Pointer to next atomic sequence
... structureVariant ΣI0..*BackboneElementStructural variant
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... precision Σ0..1stringPrecision of boundaries
.... reportedaCGHRatio Σ0..1decimalStructural Variant reported aCGH ratio
.... length Σ0..1integerStructural Variant Length
.... outer ΣI0..1BackboneElementStructural variant outer
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... start Σ0..1integerStructural Variant Outer Start
..... end Σ0..1integerStructural Variant Outer End
.... inner ΣI0..1BackboneElementStructural variant inner
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... start Σ0..1integerStructural Variant Inner Start
..... end Σ0..1integerStructural Variant Inner End

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathNameConformanceValueSet
Sequence.languageCommon LanguagesextensibleCommon Languages
Sequence.typesequenceTypeexamplesequenceType
Sequence.referenceSeq.chromosomechromosome-humanexamplechromosome-human
Sequence.referenceSeq.orientationorientationTyperequiredorientationType
Sequence.referenceSeq.referenceSeqIdENSEMBLexampleENSEMBL
Sequence.referenceSeq.strandstrandTyperequiredstrandType
Sequence.quality.typequalityTyperequiredqualityType
Sequence.quality.standardSequenceFDA-StandardSequenceexampleFDA-StandardSequence
Sequence.quality.methodFDA-MethodexampleFDA-Method
Sequence.repository.typerepositoryTyperequiredrepositoryType

Constraints

IdPathDetailsRequirements
dom-2SequenceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1SequenceIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4SequenceIf 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()
dom-3SequenceIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.all(('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists())
seq-3SequenceOnly 0 and 1 are valid for coordinateSystem
: coordinateSystem = 1 or coordinateSystem = 0
ele-1Sequence.referenceSeqAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
seq-5Sequence.referenceSeqGenomeBuild and chromosome must be both contained if either one of them is contained
: (chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())
seq-6Sequence.referenceSeqHave 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
ele-1Sequence.quality.rocAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Sequence.repositoryAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Sequence.structureVariantAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Sequence.structureVariant.outerAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Sequence.structureVariant.innerAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())