Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). 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-example-TPMT-two.ttl

Example MolecularSequence/example-TPMT-two (Turtle)

Clinical Genomics Work Group Maturity Level : N/A Standards Status : Informative Compartments : Patient

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

Example of another TPMT SNP data that support a haplotype observation

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

<http://hl7.org/fhir/MolecularSequence/example-TPMT-two> a fhir:MolecularSequence;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-TPMT-two"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 &quot;example-TPMT-two&quot; </p></div><p><b>type</b>: dna</p><p><b>coordinateSystem</b>: 1</p><p><b>patient</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><h3>ReferenceSeqs</h3><table class=\"grid\"><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>NT_007592.15 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nuccore#NT_007592.15)</span></td><td>watson</td><td>18130918</td><td>18143955</td></tr></table><h3>Variants</h3><table class=\"grid\"><tr><td>-</td><td><b>Start</b></td><td><b>End</b></td><td><b>ObservedAllele</b></td><td><b>ReferenceAllele</b></td></tr><tr><td>*</td><td>18131012</td><td>18131012</td><td>T</td><td>C</td></tr></table><p><b>observedSeq</b>: T-C-T-C-G-C-C-C</p></div>"
  ];
  fhir:MolecularSequence.type [ fhir:value "dna"];
  fhir:MolecularSequence.coordinateSystem [ fhir:value "1"^^xsd:integer];
  fhir:MolecularSequence.patient [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  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 "NT_007592.15" ]
       ]
     ];
     fhir:MolecularSequence.referenceSeq.strand [ fhir:value "watson" ];
     fhir:MolecularSequence.referenceSeq.windowStart [ fhir:value "18130918"^^xsd:integer ];
     fhir:MolecularSequence.referenceSeq.windowEnd [ fhir:value "18143955"^^xsd:integer ]
  ];
  fhir:MolecularSequence.variant [
     fhir:index 0;
     fhir:MolecularSequence.variant.start [ fhir:value "18131012"^^xsd:integer ];
     fhir:MolecularSequence.variant.end [ fhir:value "18131012"^^xsd:integer ];
     fhir:MolecularSequence.variant.observedAllele [ fhir:value "T" ];
     fhir:MolecularSequence.variant.referenceAllele [ fhir:value "C" ]
  ];
  fhir:MolecularSequence.observedSeq [ fhir:value "T-C-T-C-G-C-C-C"] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

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

<http://hl7.org/fhir/MolecularSequence/example-TPMT-two.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/MolecularSequence/example-TPMT-two.ttl> .

[a fhir:MolecularSequence ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-TPMT-two"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MolecularSequence</b><a name=\"example-TPMT-two\"> </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;example-TPMT-two&quot; </p></div><p><b>type</b>: dna</p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</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><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><td><b>Strand</b></td></tr><tr><td>*</td><td>NT_007592.15 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nuccore#NT_007592.15)</span></td><td>18130918</td><td>18143955</td><td>watson</td></tr></table><h3>Edits</h3><table class=\"grid\"><tr><td>-</td><td><b>Start</b></td><td><b>End</b></td><td><b>ReplacementSequence</b></td><td><b>ReplacedSequence</b></td></tr><tr><td>*</td><td>18131012</td><td>18131012</td><td>T</td><td>C</td></tr></table></blockquote></div>"
  ] ; # 
  fhir:type [ fhir:v "dna"] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:relative ( [
     fhir:coordinateSystem [
       fhir:coding ( [
         a loinc:LA30102-0 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "LA30102-0" ] ;
         fhir:display [ fhir:v "1-based character counting" ]
       ] )
     ] ;
     fhir:startingSequence [
       fhir:sequence [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://www.ncbi.nlm.nih.gov/nuccore"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "NT_007592.15" ]
         ] )
       ] ;
       fhir:windowStart [ fhir:v "18130918"^^xsd:integer ] ;
       fhir:windowEnd [ fhir:v "18143955"^^xsd:integer ] ;
       fhir:strand [ fhir:v "watson" ]
     ] ;
     fhir:edit ( [
       fhir:start [ fhir:v "18131012"^^xsd:integer ] ;
       fhir:end [ fhir:v "18131012"^^xsd:integer ] ;
       fhir:replacementSequence [ fhir:v "T" ] ;
       fhir:replacedSequence [ fhir:v "C" ]
     ] )
  ] )] . # 


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


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.