STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Coord-0base-example.xml

Raw XML (canonical form)

Example of a record with 0-based coordinatesystem (id = "coord-0-base")

<Sequence xmlns="http://hl7.org/fhir">
    <id value="coord-0-base"/>
    <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: coord-0-base</p><p><b>type</b>: DNA</p><p><b>coordinateSystem</b>: 0</p><h3>ReferenceSeqs</h3><table><tr><td>-</td><td><b>ReferenceSeqString</b></td><td><b>Strand</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>ACGTAGTC</td><td>1</td><td>0</td><td>8</td></tr></table><blockquote><p><b>variant</b></p><p><b>start</b>: 2</p><p><b>end</b>: 2</p><p><b>observedAllele</b>: ATG</p><p><b>referenceAllele</b>: -</p><p><b>cigar</b>: 3I</p></blockquote><blockquote><p><b>variant</b></p><p><b>start</b>: 4</p><p><b>end</b>: 5</p><p><b>observedAllele</b>: T</p><p><b>referenceAllele</b>: A</p><p><b>cigar</b>: 1M</p></blockquote><blockquote><p><b>variant</b></p><p><b>start</b>: 6</p><p><b>end</b>: 7</p><p><b>observedAllele</b>: -</p><p><b>referenceAllele</b>: T</p><p><b>cigar</b>: 1D</p></blockquote><p><b>observedSeq</b>: ACATGGTAGC</p></div></text><type value="DNA"/>
    <coordinateSystem value="0"/>
    <referenceSeq>
        <referenceSeqString value="ACGTAGTC"/>
        <strand value="1"/>
        <windowStart value="0"/>
        <windowEnd value="8"/>
    </referenceSeq>
    <variant>
        <start value="2"/>
        <end value="2"/>
        <observedAllele value="ATG"/>
        <referenceAllele value="-"/>
        <cigar value="3I"/>
    </variant>
    <variant>
        <start value="4"/>
        <end value="5"/>
        <observedAllele value="T"/>
        <referenceAllele value="A"/>
        <cigar value="1M"/>
    </variant>
    <variant>
        <start value="6"/>
        <end value="7"/>
        <observedAllele value="-"/>
        <referenceAllele value="T"/>
        <cigar value="1D"/>
    </variant> 
    <observedSeq value="ACATGGTAGC"/>
</Sequence>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.