R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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.ttl

Clinical Genomics Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of a record with 0-based coordinatesystem

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Sequence/coord-0-base> a fhir:Sequence;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "coord-0-base"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<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>"
  ];
  fhir:Sequence.type [ fhir:value "dna"];
  fhir:Sequence.coordinateSystem [ fhir:value "0"^^xsd:integer];
  fhir:Sequence.referenceSeq [
     fhir:Sequence.referenceSeq.referenceSeqString [ fhir:value "ACGTAGTC" ];
     fhir:Sequence.referenceSeq.strand [ fhir:value "watson" ];
     fhir:Sequence.referenceSeq.windowStart [ fhir:value "0"^^xsd:integer ];
     fhir:Sequence.referenceSeq.windowEnd [ fhir:value "8"^^xsd:integer ]
  ];
  fhir:Sequence.variant [
     fhir:index 0;
     fhir:Sequence.variant.start [ fhir:value "2"^^xsd:integer ];
     fhir:Sequence.variant.end [ fhir:value "2"^^xsd:integer ];
     fhir:Sequence.variant.observedAllele [ fhir:value "ATG" ];
     fhir:Sequence.variant.referenceAllele [ fhir:value "-" ];
     fhir:Sequence.variant.cigar [ fhir:value "3I" ]
  ], [
     fhir:index 1;
     fhir:Sequence.variant.start [ fhir:value "4"^^xsd:integer ];
     fhir:Sequence.variant.end [ fhir:value "5"^^xsd:integer ];
     fhir:Sequence.variant.observedAllele [ fhir:value "T" ];
     fhir:Sequence.variant.referenceAllele [ fhir:value "A" ];
     fhir:Sequence.variant.cigar [ fhir:value "1M" ]
  ], [
     fhir:index 2;
     fhir:Sequence.variant.start [ fhir:value "6"^^xsd:integer ];
     fhir:Sequence.variant.end [ fhir:value "7"^^xsd:integer ];
     fhir:Sequence.variant.observedAllele [ fhir:value "-" ];
     fhir:Sequence.variant.referenceAllele [ fhir:value "T" ];
     fhir:Sequence.variant.cigar [ fhir:value "1D" ]
  ];
  fhir:Sequence.observedSeq [ fhir:value "ACATGGTAGC"] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Sequence/coord-0-base.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Sequence/coord-0-base.ttl> .

# -------------------------------------------------------------------------------------


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.