Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). 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

Sequence-complex-variant.ttl

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

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

Example of representing complex variants in MolecularSequence resource

@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/MolecularSequence/sequence-complex-variant> a fhir:MolecularSequence;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "sequence-complex-variant"];
  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>: sequence-complex-variant</p><p><b>identifier</b>: ?? (OFFICIAL)</p><p><b>type</b>: dna</p><p><b>coordinateSystem</b>: 1</p><p><b>specimen</b>: <a>Molecular Specimen ID: MLD45-Z4-1234</a></p><p><b>device</b>: 12 lead EKG Device Metric</p><p><b>performer</b>: <a>HL7</a></p><p><b>quantity</b>: 25</p><h3>ReferenceSeqs</h3><table><tr><td>-</td><td><b>ReferenceSeqId</b></td><td><b>Strand</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>NC_000002.12 <span>(Details : {http://www.ncbi.nlm.nih.gov/nuccore code 'NC_000002.12' = 'NC_000002.12)</span></td><td>watson</td><td>128273724</td><td>128273754</td></tr></table><h3>Variants</h3><table><tr><td>-</td><td><b>Start</b></td><td><b>End</b></td><td><b>ObservedAllele</b></td><td><b>ReferenceAllele</b></td><td><b>Cigar</b></td></tr><tr><td>*</td><td>128273724</td><td>128273736</td><td>CTCATTGT</td><td>CTCCATTGCATGCGTT</td><td>3M1D4M6N2M</td></tr></table><p><b>readCoverage</b>: 1</p><h3>Repositories</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>DatasetId</b></td><td><b>ReadsetId</b></td></tr><tr><td>*</td><td>other</td><td>Ensembl</td><td>v1beta2</td></tr></table></div>"
  ];
  fhir:MolecularSequence.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ]
  ];
  fhir:MolecularSequence.type [ fhir:value "dna"];
  fhir:MolecularSequence.coordinateSystem [ fhir:value "1"^^xsd:integer];
  fhir:MolecularSequence.specimen [
     fhir:link <http://hl7.org/fhir/Specimen/genetics-example1-somatic>;
     fhir:Reference.reference [ fhir:value "Specimen/genetics-example1-somatic" ];
     fhir:Reference.display [ fhir:value "Molecular Specimen ID: MLD45-Z4-1234" ]
  ];
  fhir:MolecularSequence.device [
     fhir:Reference.display [ fhir:value "12 lead EKG Device Metric" ]
  ];
  fhir:MolecularSequence.performer [
     fhir:link <http://hl7.org/fhir/Organization/hl7>;
     fhir:Reference.reference [ fhir:value "Organization/hl7" ];
     fhir:Reference.display [ fhir:value "HL7" ]
  ];
  fhir:MolecularSequence.quantity [
     fhir:Quantity.value [ fhir:value "25"^^xsd:decimal ]
  ];
  fhir:MolecularSequence.referenceSeq [
     fhir:MolecularSequence.referenceSeq.referenceSeqId [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.ncbi.nlm.nih.gov/nuccore" ];
         fhir:Coding.code [ fhir:value "NC_000002.12" ]
       ]
     ];
     fhir:MolecularSequence.referenceSeq.strand [ fhir:value "watson" ];
     fhir:MolecularSequence.referenceSeq.windowStart [ fhir:value "128273724"^^xsd:integer ];
     fhir:MolecularSequence.referenceSeq.windowEnd [ fhir:value "128273754"^^xsd:integer ]
  ];
  fhir:MolecularSequence.variant [
     fhir:index 0;
     fhir:MolecularSequence.variant.start [ fhir:value "128273724"^^xsd:integer ];
     fhir:MolecularSequence.variant.end [ fhir:value "128273736"^^xsd:integer ];
     fhir:MolecularSequence.variant.observedAllele [ fhir:value "CTCATTGT" ];
     fhir:MolecularSequence.variant.referenceAllele [ fhir:value "CTCCATTGCATGCGTT" ];
     fhir:MolecularSequence.variant.cigar [ fhir:value "3M1D4M6N2M" ]
  ];
  fhir:MolecularSequence.readCoverage [ fhir:value "1"^^xsd:integer];
  fhir:MolecularSequence.repository [
     fhir:index 0;
     fhir:MolecularSequence.repository.type [ fhir:value "other" ];
     fhir:MolecularSequence.repository.datasetId [ fhir:value "Ensembl" ];
     fhir:MolecularSequence.repository.readsetId [ fhir:value "v1beta2" ]
  ] .

<http://hl7.org/fhir/Specimen/genetics-example1-somatic> a fhir:Specimen .

<http://hl7.org/fhir/Organization/hl7> a fhir:Organization .

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

<http://hl7.org/fhir/MolecularSequence/sequence-complex-variant.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/MolecularSequence/sequence-complex-variant.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.