@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/genomics-reporting/Observation/VariantExample> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "VariantExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/variant"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/variant>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation VariantExample</b></p><a name=\"VariantExample\"> </a><a name=\"hcVariantExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-variant.html\">Variant</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span>, <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0074 GE}\">Genetics</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 69548-6}\">Genetic variant assessment</span></p><p><b>subject</b>: <a href=\"Patient-HG00403.html\">Alanine B. Everyone  Unknown, DoB: 1951-01-20 ( Medical Record Number: m234 (use: usual, ))</a></p><p><b>effective</b>: 2019-04-01</p><p><b>performer</b>: <a href=\"Organization-ExampleOrg.html\">Organization some lab</a></p><p><b>value</b>: <span title=\"Codes:{http://loinc.org LA9633-4}\">Present</span></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 48013-7}\">Genomic reference sequence [ID]</span></p><p><b>value</b>: <span title=\"Codes:{http://www.ncbi.nlm.nih.gov/refseq NC_000017.11}\">NC_000017.11</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 69547-8}\">Ref nucleotide</span></p><p><b>value</b>: ATTGAGGGAAAACACAT</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 69551-0}\">Alt allele</span></p><p><b>value</b>: T</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 81254-5}\">Genomic allele start-end</span></p><p><b>value</b>: 39723965-?</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 92822-6}\">Genomic coord system</span></p><p><b>value</b>: <span title=\"Codes:{http://loinc.org LA30100-4}\">0-based interval counting</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>
       ] ;
       fhir:code [ fhir:v "laboratory" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v2-0074"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v2-0074>
       ] ;
       fhir:code [ fhir:v "GE" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:69548-6 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "69548-6" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/genomics-reporting/Patient/HG00403> ;
     fhir:reference [ fhir:v "Patient/HG00403" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2019-04-01"^^xsd:date
  ] ; # 
  fhir:performer ( [
     fhir:l <http://hl7.org/fhir/uv/genomics-reporting/Organization/ExampleOrg> ;
     fhir:reference [ fhir:v "Organization/ExampleOrg" ]
  ] ) ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a loinc:LA9633-4 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "LA9633-4" ] ;
       fhir:display [ fhir:v "Present" ]
     ] )
  ] ; # 
  fhir:component ( [
     fhir:code [
       fhir:coding ( [
         a loinc:48013-7 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "48013-7" ] ;
         fhir:display [ fhir:v "Genomic reference sequence [ID]" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.ncbi.nlm.nih.gov/refseq"^^xsd:anyURI ;
           fhir:l <http://www.ncbi.nlm.nih.gov/refseq>
         ] ;
         fhir:code [ fhir:v "NC_000017.11" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:69547-8 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "69547-8" ] ;
         fhir:display [ fhir:v "Ref nucleotide" ]
       ] )
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "ATTGAGGGAAAACACAT"
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:69551-0 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "69551-0" ] ;
         fhir:display [ fhir:v "Alt allele" ]
       ] )
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "T"
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:81254-5 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "81254-5" ] ;
         fhir:display [ fhir:v "Genomic allele start-end" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "39723965"^^xsd:decimal ]
       ]
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:92822-6 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "92822-6" ] ;
         fhir:display [ fhir:v "Genomic coord system" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a loinc:LA30100-4 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "LA30100-4" ]
       ] )
     ]
  ] ) . # 

<http://hl7.org/fhir/uv/genomics-reporting/Patient/HG00403> a fhir:Uv .

<http://hl7.org/fhir/uv/genomics-reporting/Organization/ExampleOrg> a fhir:Uv .

# -------------------------------------------------------------------------------------

