Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example MolecularSequence/seq-ordinal (Turtle)

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

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

MolecularSequence example for long fusion RNA molecule of FGFR and MET

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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 -------------------------------------------------------------------

[a fhir:MolecularSequence;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "seq-ordinal"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MolecularSequence</b><a name=\"seq-ordinal\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MolecularSequence &quot;seq-ordinal&quot; </p></div><p><b>type</b>: rna</p><blockquote><p><b>relative</b></p><p><b>coordinateSystem</b>: 1-based character counting <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA30102-0)</span></p><p><b>ordinalPosition</b>: 1</p><p><b>sequenceRange</b>: 1-2194</p><h3>StartingSequences</h3><table class=\"grid\"><tr><td>-</td><td><b>Sequence[x]</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>NM_000141.5 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (#NM_000141.5)</span></td><td>1</td><td>2194</td></tr></table></blockquote><blockquote><p><b>relative</b></p><p><b>coordinateSystem</b>: 1-based character counting <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA30102-0)</span></p><p><b>ordinalPosition</b>: 2</p><p><b>sequenceRange</b>: 2194-4899</p><h3>StartingSequences</h3><table class=\"grid\"><tr><td>-</td><td><b>Sequence[x]</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>NM_000245.4 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (#NM_000245.4)</span></td><td>1923</td><td>6822</td></tr></table></blockquote></div>"
  ];
  fhir:MolecularSequence.type [ fhir:value "rna"];
  fhir:MolecularSequence.relative [
     fhir:index 0;
     fhir:MolecularSequence.relative.coordinateSystem [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:LA30102-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA30102-0" ];
         fhir:Coding.display [ fhir:value "1-based character counting" ]
       ]
     ];
     fhir:MolecularSequence.relative.ordinalPosition [ fhir:value "1"^^xsd:integer ];
     fhir:MolecularSequence.relative.sequenceRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ]
       ];
       fhir:Range.high [
         fhir:Quantity.value [ fhir:value "2194"^^xsd:decimal ]
       ]
     ];
     fhir:MolecularSequence.relative.startingSequence [
       fhir:MolecularSequence.relative.startingSequence.sequenceCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.ncbi.nlm.nih.gov/nuccore/" ];
           fhir:Coding.code [ fhir:value "NM_000141.5" ]
         ]
       ];
       fhir:MolecularSequence.relative.startingSequence.windowStart [ fhir:value "1"^^xsd:integer ];
       fhir:MolecularSequence.relative.startingSequence.windowEnd [ fhir:value "2194"^^xsd:integer ]
     ]
  ], [
     fhir:index 1;
     fhir:MolecularSequence.relative.coordinateSystem [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:LA30102-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA30102-0" ];
         fhir:Coding.display [ fhir:value "1-based character counting" ]
       ]
     ];
     fhir:MolecularSequence.relative.ordinalPosition [ fhir:value "2"^^xsd:integer ];
     fhir:MolecularSequence.relative.sequenceRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "2194"^^xsd:decimal ]
       ];
       fhir:Range.high [
         fhir:Quantity.value [ fhir:value "4899"^^xsd:decimal ]
       ]
     ];
     fhir:MolecularSequence.relative.startingSequence [
       fhir:MolecularSequence.relative.startingSequence.sequenceCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.ncbi.nlm.nih.gov/nuccore/" ];
           fhir:Coding.code [ fhir:value "NM_000245.4" ]
         ]
       ];
       fhir:MolecularSequence.relative.startingSequence.windowStart [ fhir:value "1923"^^xsd:integer ];
       fhir:MolecularSequence.relative.startingSequence.windowEnd [ fhir:value "6822"^^xsd:integer ]
     ]
  ]] .

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

[a owl:Ontology;
  owl:imports fhir:fhir.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.