@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/cg-incubator/MolecularDefinition/example-allelesliced-hla00381> a fhir:MolecularDefinition ;
  fhir:resourceDefinition http://hl7.org/fhir/StructureDefinition/MolecularDefinition|0.1.0-ci-build ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-allelesliced-hla00381"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: MolecularDefinition example-allelesliced-hla00381</b></p><a name=\"example-allelesliced-hla00381\"> </a><a name=\"hcexample-allelesliced-hla00381\"> </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\">Language: en</p></div><p><b>moleculeType</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/moleculardefinition-moleculetype dna}\">DNA sequence</span></p><blockquote><p><b>location</b></p><blockquote><p><b>sequenceLocation</b></p><p><b>sequenceContext</b>: <a href=\"MolecularDefinition-example-sequence-af1961831-url.html\">Starting Sequence Resource: Homo sapiens MHC class I antigen (HLA-B) gene</a></p><blockquote><p><b>coordinateInterval</b></p><h3>CoordinateSystems</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>System</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org LA30102-0}\">1-based character counting</span></td></tr></table><p><b>start</b>: 1</p><p><b>end</b>: 920</p></blockquote></blockquote></blockquote><h3>Representations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Focus</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>Allele State</td><td><span title=\"Codes:{http://www.ebi.ac.uk/ipd/imgt/hla HLA00381}\">B*57:01:01:01</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:moleculeType [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/moleculardefinition-moleculetype"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/moleculardefinition-moleculetype>
       ] ;
       fhir:code [ fhir:v "dna" ] ;
       fhir:display [ fhir:v "DNA sequence" ]
     ] )
  ] ; # 
  fhir:location ( [
     fhir:sequenceLocation [
       fhir:sequenceContext [
         fhir:l <http://hl7.org/fhir/uv/cg-incubator/MolecularDefinition/example-sequence-af1961831-url> ;
         fhir:reference [ fhir:v "MolecularDefinition/example-sequence-af1961831-url" ] ;
         fhir:type [
           fhir:v "MolecularDefinition"^^xsd:anyURI ;
           fhir:l fhir:MolecularDefinition
         ] ;
         fhir:display [ fhir:v "Starting Sequence Resource: Homo sapiens MHC class I antigen (HLA-B) gene" ]
       ] ;
       fhir:coordinateInterval [
         fhir:coordinateSystem [
           fhir:system [
             fhir:coding ( [
               a loinc:LA30102-0 ;
               fhir:system [
                 fhir:v "http://loinc.org"^^xsd:anyURI ;
                 fhir:l <http://loinc.org>
               ] ;
               fhir:code [ fhir:v "LA30102-0" ] ;
               fhir:display [ fhir:v "1-based character counting" ]
             ] ) ;
             fhir:text [ fhir:v "1-based character counting" ]
           ]
         ] ;
         fhir:start [
           a fhir:Quantity ;
           fhir:value [ fhir:v "1"^^xsd:decimal ]
         ] ;
         fhir:end [
           a fhir:Quantity ;
           fhir:value [ fhir:v "920"^^xsd:decimal ]
         ]
       ]
     ]
  ] ) ; # 
  fhir:representation ( [
     fhir:focus [ fhir:v "allele-state" ] ;
     fhir:code ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.ebi.ac.uk/ipd/imgt/hla"^^xsd:anyURI ;
           fhir:l <http://www.ebi.ac.uk/ipd/imgt/hla>
         ] ;
         fhir:code [ fhir:v "HLA00381" ] ;
         fhir:display [ fhir:v "B*57:01:01:01" ]
       ] )
     ] )
  ] ) . # 

<http://hl7.org/fhir/uv/cg-incubator/MolecularDefinition/example-sequence-af1961831-url> a fhir:Uv .

# -------------------------------------------------------------------------------------

