Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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

Clinical Genomics Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

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

<?xml version="1.0" encoding="UTF-8"?>

<MolecularSequence 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> watson</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="watson"/> 
        <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"/> 
</MolecularSequence> 

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.