@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/cg-incubator/GenomicStudy/example-lungMass> a fhir:GenomicStudy ;
  fhir:resourceDefinition http://hl7.org/fhir/StructureDefinition/GenomicStudy|0.1.0-ci-build ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-lungMass"] ; #  from Resource: id, meta, implicitRules, and language ,  from DomainResource: text, contained, extension, and modifierExtension 
  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: GenomicStudy example-lungMass</b></p><a name=\"example-lungMass\"> </a><a name=\"hcexample-lungMass\"> </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>identifier</b>: <code>http://example.org/identifiers/genomicstudies</code>/urn:uuid:1111-1111-1111-1112 (use: temp, )</p><p><b>status</b>: Registered</p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 443968007}\">Sequencing of entire coding region of gene (procedure)</span></p><p><b>subject</b>: <a href=\"Patient-genomicPatient.html\">John Junior Doe (official) Unknown, DoB: 2001-01-01 ( Medical record number: 11117 (use: temp, period: 2021-01-01 --&gt; (ongoing)))</a></p><p><b>encounter</b>: <a href=\"Encounter-genomicEncounter.html\">Encounter: status = in-progress; class = inpatient encounter</a></p><p><b>startDate</b>: 2019-03-01</p><p><b>basedOn</b>: <a href=\"ServiceRequest-genomicServiceRequest2.html\">ServiceRequest Carrier detection, molecular genetics (procedure)</a></p><p><b>referrer</b>: <a href=\"Practitioner-practitioner01.html\">Practitioner John Doel </a></p><p><b>interpreter</b>: <a href=\"Practitioner-practitioner02.html\">Practitioner Jane Doel </a></p><h3>Reasons</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 309529002}\">Lung mass (finding)</span></td></tr></table><p><b>note</b>: </p><blockquote><div><p>For technical reasons, PIK3CA was deemed uncallable.</p>\n</div></blockquote><p><b>description</b>: </p><div><p>Whole exome sequencing of lung biopsy. 300 genes are examined for simple variants (SNV, MNV, InDel), and 170 genes are also examined for CNVs. For technical reasons, PIK3CA was deemed uncallable.</p>\n</div><blockquote><p><b>analysis</b></p><p><b>identifier</b>: <code>http://example.org/identifiers/genomicAnalyses</code>/urn:uuid:1111-1111-1111-1112 (use: official, )</p><p><b>methodType</b>: <span title=\"Codes:{http://snomed.info/sct 117040002}\">Nucleic acid sequencing (procedure)</span></p><p><b>changeType</b>: <span title=\"Codes:{http://www.sequenceontology.org SO:0001483}\">SNV</span>, <span title=\"Codes:{http://www.sequenceontology.org SO:0002007}\">MNV</span>, <span title=\"Codes:{http://www.sequenceontology.org SO:1000032}\">delins</span></p><p><b>genomeBuild</b>: <span title=\"Codes:{http://loinc.org LA26806-2}\">GRCh38</span></p><p><b>genomicSourceClass</b>: <span title=\"Codes:{http://loinc.org LA6684-0}\">Somatic</span></p><p><b>title</b>: Simple variant analysis</p><p><b>specimen</b>: <a href=\"Specimen-genomicSpecimen.html\">Specimen: identifier = http://example.org/identifiers/specimens#4; status = available; type = Specimen from lung obtained by biopsy (specimen); receivedTime = 2019-03-01 01:01:01+0000</a></p><p><b>date</b>: 2019-03-01 01:01:10-0600</p><p><b>note</b>: </p><blockquote><div><p>For technical reasons, PIK3CA was deemed uncallable using this method.</p>\n</div></blockquote><h3>Metrics</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ReadDepth</b></td><td><b>SequencingCoverage</b></td><td><b>Description</b></td></tr><tr><td style=\"display: none\">*</td><td>120 x<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></td><td>98 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></td><td>120x average read depth with 98% coverage of target regions.</td></tr></table><blockquote><p><b>genomicRegion</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype studied}\">Studied</span></p><h3>Locus</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"DocumentReference-WES-FullSequencedRegion-GRCh38.html\">DocumentReference: identifier = http://example.org/identifiers/files#11117; status = current; docStatus = preliminary; description = WES_FullSequencedRegion_GRCh38: A sample Document Reference instance representing a BED file that may be used as input or output of a genomic analysis pipeline.</a></td></tr></table></blockquote><blockquote><p><b>genomicRegion</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype called}\">Called</span></p><h3>Locus</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"DocumentReference-SimpleVariantAnalysis-called.html\">DocumentReference: identifier = http://example.org/identifiers/files#11118; status = current; docStatus = preliminary; description = SimpleVariantAnalysis_called: A sample Document Reference instance representing a BED file that may be used as input or output of a genomic analysis pipeline.</a></td></tr></table></blockquote><blockquote><p><b>genomicRegion</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype uncalled}\">Uncalled</span></p><h3>Locus</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://www.genenames.org HGNC:8975}\">PIK3CA</span></td></tr></table></blockquote><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-dataformat vcf}\">VCF</span></td></tr></table><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td><td><b>Role</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-practitioner02.html\">Practitioner Jane Doel </a></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PRF}\">Performer</span></td></tr></table><h3>Devices</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Device</b></td><td><b>Function</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Device-NGS-device.html\">Device: identifier = http://example.org/identifiers/devices#11111; status = active; manufacturer = Illumina; type = Device (physical object)</a></td><td><span title=\"Codes:{http://loinc.org LA26398-0}\">Sequencing</span></td></tr></table></blockquote><blockquote><p><b>analysis</b></p><p><b>identifier</b>: <code>http://example.org/identifiers/genomicAnalyses</code>/urn:uuid:1111-1111-1111-1115 (use: official, )</p><p><b>methodType</b>: <span title=\"Codes:{http://snomed.info/sct 117040002}\">Nucleic acid sequencing (procedure)</span></p><p><b>changeType</b>: <span title=\"Codes:{http://www.sequenceontology.org SO:0001019}\">CNV</span></p><p><b>genomeBuild</b>: <span title=\"Codes:{http://loinc.org LA26806-2}\">GRCh38</span></p><p><b>genomicSourceClass</b>: <span title=\"Codes:{http://loinc.org LA6684-0}\">Somatic</span></p><p><b>title</b>: CNV analysis</p><p><b>specimen</b>: <a href=\"Specimen-genomicSpecimen.html\">Specimen: identifier = http://example.org/identifiers/specimens#4; status = available; type = Specimen from lung obtained by biopsy (specimen); receivedTime = 2019-03-01 01:01:01+0000</a></p><p><b>date</b>: 2019-03-01 01:01:10-0600</p><blockquote><p><b>genomicRegion</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype studied}\">Studied</span></p><h3>Locus</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"DocumentReference-WES-FullSequencedRegion-GRCh38.html\">DocumentReference: identifier = http://example.org/identifiers/files#11117; status = current; docStatus = preliminary; description = WES_FullSequencedRegion_GRCh38: A sample Document Reference instance representing a BED file that may be used as input or output of a genomic analysis pipeline.</a></td></tr></table></blockquote><blockquote><p><b>genomicRegion</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype called}\">Called</span></p><h3>Locus</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"DocumentReference-CNVAnalysis-called.html\">DocumentReference: identifier = http://example.org/identifiers/files#11120; status = current; docStatus = preliminary; description = CNVAnalysis_called: A sample Document Reference instance representing a BED file that may be used as input or output of a genomic analysis pipeline.</a></td></tr></table></blockquote><blockquote><p><b>genomicRegion</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype uncalled}\">Uncalled</span></p><h3>Locus</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://www.genenames.org HGNC:8975}\">PIK3CA</span></td></tr></table><p><b>description</b>: PIK3CA was deemed uncallable using this CNV method due to technical limitations of the assay.</p></blockquote><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-dataformat vcf}\">VCF</span></td></tr></table><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td><td><b>Role</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-practitioner02.html\">Practitioner Jane Doel </a></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PRF}\">Performer</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "temp" ] ;
     fhir:system [
       fhir:v "http://example.org/identifiers/genomicstudies"^^xsd:anyURI ;
       fhir:l <http://example.org/identifiers/genomicstudies>
     ] ;
     fhir:value [ fhir:v "urn:uuid:1111-1111-1111-1112" ]
  ] ) ; #  from DomainResource: text, contained, extension, and modifierExtension 
  fhir:status [ fhir:v "registered"] ; # 
  fhir:type ( [
     fhir:coding ( [
       a sct:443968007 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "443968007" ] ;
       fhir:display [ fhir:v "Sequencing of entire coding region of gene (procedure)" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/cg-incubator/Patient/genomicPatient> ;
     fhir:reference [ fhir:v "Patient/genomicPatient" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://hl7.org/fhir/uv/cg-incubator/Encounter/genomicEncounter> ;
     fhir:reference [ fhir:v "Encounter/genomicEncounter" ]
  ] ; # 
  fhir:startDate [ fhir:v "2019-03-01"^^xsd:date] ; # 
  fhir:basedOn ( [
     fhir:l <http://hl7.org/fhir/uv/cg-incubator/ServiceRequest/genomicServiceRequest2> ;
     fhir:reference [ fhir:v "ServiceRequest/genomicServiceRequest2" ]
  ] ) ; # 
  fhir:referrer [
     fhir:l <http://hl7.org/fhir/uv/cg-incubator/Practitioner/practitioner01> ;
     fhir:reference [ fhir:v "Practitioner/practitioner01" ]
  ] ; # 
  fhir:interpreter ( [
     fhir:l <http://hl7.org/fhir/uv/cg-incubator/Practitioner/practitioner02> ;
     fhir:reference [ fhir:v "Practitioner/practitioner02" ]
  ] ) ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:coding ( [
         a sct:309529002 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "309529002" ] ;
         fhir:display [ fhir:v "Lung mass (finding)" ]
       ] )
     ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "For technical reasons, PIK3CA was deemed uncallable." ]
  ] ) ; # 
  fhir:description [ fhir:v "Whole exome sequencing of lung biopsy. 300 genes are examined for simple variants (SNV, MNV, InDel), and 170 genes are also examined for CNVs. For technical reasons, PIK3CA was deemed uncallable."] ; # 
  fhir:analysis ( [
     fhir:identifier ( [
       fhir:use [ fhir:v "official" ] ;
       fhir:system [
         fhir:v "http://example.org/identifiers/genomicAnalyses"^^xsd:anyURI ;
         fhir:l <http://example.org/identifiers/genomicAnalyses>
       ] ;
       fhir:value [ fhir:v "urn:uuid:1111-1111-1111-1112" ]
     ] ) ;
     fhir:methodType ( [
       fhir:coding ( [
         a sct:117040002 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "117040002" ] ;
         fhir:display [ fhir:v "Nucleic acid sequencing (procedure)" ]
       ] )
     ] ) ;
     fhir:changeType ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.sequenceontology.org"^^xsd:anyURI ;
           fhir:l <http://www.sequenceontology.org>
         ] ;
         fhir:code [ fhir:v "SO:0001483" ] ;
         fhir:display [ fhir:v "SNV" ]
       ] )
     ] [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.sequenceontology.org"^^xsd:anyURI ;
           fhir:l <http://www.sequenceontology.org>
         ] ;
         fhir:code [ fhir:v "SO:0002007" ] ;
         fhir:display [ fhir:v "MNV" ]
       ] )
     ] [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.sequenceontology.org"^^xsd:anyURI ;
           fhir:l <http://www.sequenceontology.org>
         ] ;
         fhir:code [ fhir:v "SO:1000032" ] ;
         fhir:display [ fhir:v "delins" ]
       ] )
     ] ) ;
     fhir:genomeBuild [
       fhir:coding ( [
         a loinc:LA26806-2 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "LA26806-2" ] ;
         fhir:display [ fhir:v "GRCh38" ]
       ] )
     ] ;
     fhir:genomicSourceClass [
       fhir:coding ( [
         a loinc:LA6684-0 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "LA6684-0" ] ;
         fhir:display [ fhir:v "Somatic" ]
       ] )
     ] ;
     fhir:title [ fhir:v "Simple variant analysis" ] ;
     fhir:specimen ( [
       fhir:l <http://hl7.org/fhir/uv/cg-incubator/Specimen/genomicSpecimen> ;
       fhir:reference [ fhir:v "Specimen/genomicSpecimen" ]
     ] ) ; #  0..1 Name of the analysis event (human friendly) 
     fhir:date [ fhir:v "2019-03-01T01:01:10-06:00"^^xsd:dateTime ] ;
     fhir:note ( [
       fhir:text [ fhir:v "For technical reasons, PIK3CA was deemed uncallable using this method." ]
     ] ) ; #  0..1 The date of the analysis event 
     fhir:metrics [
       fhir:readDepth [
         fhir:value [ fhir:v "120"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "x" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "1" ]
       ] ;
       fhir:sequencingCoverage [
         fhir:value [ fhir:v "98"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "%" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "%" ]
       ] ;
       fhir:description [ fhir:v "120x average read depth with 98% coverage of target regions." ]
     ] ;
     fhir:genomicRegion ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype>
           ] ;
           fhir:code [ fhir:v "studied" ] ;
           fhir:display [ fhir:v "Studied" ]
         ] )
       ] ;
       fhir:locus ( [
         fhir:reference [
           fhir:l <http://hl7.org/fhir/uv/cg-incubator/DocumentReference/WES-FullSequencedRegion-GRCh38> ;
           fhir:reference [ fhir:v "DocumentReference/WES-FullSequencedRegion-GRCh38" ]
         ]
       ] )
     ] [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype>
           ] ;
           fhir:code [ fhir:v "called" ] ;
           fhir:display [ fhir:v "Called" ]
         ] )
       ] ;
       fhir:locus ( [
         fhir:reference [
           fhir:l <http://hl7.org/fhir/uv/cg-incubator/DocumentReference/SimpleVariantAnalysis-called> ;
           fhir:reference [ fhir:v "DocumentReference/SimpleVariantAnalysis-called" ]
         ]
       ] )
     ] [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype>
           ] ;
           fhir:code [ fhir:v "uncalled" ] ;
           fhir:display [ fhir:v "Uncalled" ]
         ] )
       ] ;
       fhir:locus ( [
         fhir:concept [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://www.genenames.org"^^xsd:anyURI ;
               fhir:l <http://www.genenames.org>
             ] ;
             fhir:code [ fhir:v "HGNC:8975" ] ;
             fhir:display [ fhir:v "PIK3CA" ]
           ] )
         ]
       ] )
     ] ) ; #  genomicRegion: studied scope = full exome BED file 
     fhir:output ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-dataformat"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-dataformat>
           ] ;
           fhir:code [ fhir:v "vcf" ] ;
           fhir:display [ fhir:v "VCF" ]
         ] )
       ] #  0..* outputs for the analysis event ,  <file>\n                <reference value=\"DocumentReference\/genomicVCFfile_simple\"\/>\n            <\/file> 
     ] ) ;
     fhir:performer ( [
       fhir:actor [
         fhir:l <http://hl7.org/fhir/uv/cg-incubator/Practitioner/practitioner02> ;
         fhir:reference [ fhir:v "Practitioner/practitioner02" ]
       ] ; #  0..* Performer for the analysis event 
       fhir:role [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "PRF" ] ;
           fhir:display [ fhir:v "Performer" ]
         ] )
       ]
     ] ) ;
     fhir:device ( [
       fhir:device [
         fhir:l <http://hl7.org/fhir/uv/cg-incubator/Device/NGS-device> ;
         fhir:reference [ fhir:v "Device/NGS-device" ]
       ] ; #  0..* Devices used for the analysis (e.g., instruments, software), with settings and parameters 
       fhir:function [
         fhir:coding ( [
           a loinc:LA26398-0 ;
           fhir:system [
             fhir:v "http://loinc.org"^^xsd:anyURI ;
             fhir:l <http://loinc.org>
           ] ;
           fhir:code [ fhir:v "LA26398-0" ] ;
           fhir:display [ fhir:v "Sequencing" ]
         ] )
       ]
     ] )
  ] [
     fhir:identifier ( [
       fhir:use [ fhir:v "official" ] ;
       fhir:system [
         fhir:v "http://example.org/identifiers/genomicAnalyses"^^xsd:anyURI ;
         fhir:l <http://example.org/identifiers/genomicAnalyses>
       ] ;
       fhir:value [ fhir:v "urn:uuid:1111-1111-1111-1115" ]
     ] ) ;
     fhir:methodType ( [
       fhir:coding ( [
         a sct:117040002 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "117040002" ] ;
         fhir:display [ fhir:v "Nucleic acid sequencing (procedure)" ]
       ] )
     ] ) ;
     fhir:changeType ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.sequenceontology.org"^^xsd:anyURI ;
           fhir:l <http://www.sequenceontology.org>
         ] ;
         fhir:code [ fhir:v "SO:0001019" ] ;
         fhir:display [ fhir:v "CNV" ]
       ] )
     ] ) ;
     fhir:genomeBuild [
       fhir:coding ( [
         a loinc:LA26806-2 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "LA26806-2" ] ;
         fhir:display [ fhir:v "GRCh38" ]
       ] )
     ] ;
     fhir:genomicSourceClass [
       fhir:coding ( [
         a loinc:LA6684-0 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "LA6684-0" ] ;
         fhir:display [ fhir:v "Somatic" ]
       ] )
     ] ;
     fhir:title [ fhir:v "CNV analysis" ] ;
     fhir:specimen ( [
       fhir:l <http://hl7.org/fhir/uv/cg-incubator/Specimen/genomicSpecimen> ;
       fhir:reference [ fhir:v "Specimen/genomicSpecimen" ]
     ] ) ; #  0..1 Name of the analysis event (human friendly) 
     fhir:date [ fhir:v "2019-03-01T01:01:10-06:00"^^xsd:dateTime ] ;
     fhir:genomicRegion ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype>
           ] ;
           fhir:code [ fhir:v "studied" ] ;
           fhir:display [ fhir:v "Studied" ]
         ] )
       ] ;
       fhir:locus ( [
         fhir:reference [
           fhir:l <http://hl7.org/fhir/uv/cg-incubator/DocumentReference/WES-FullSequencedRegion-GRCh38> ;
           fhir:reference [ fhir:v "DocumentReference/WES-FullSequencedRegion-GRCh38" ]
         ]
       ] )
     ] [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype>
           ] ;
           fhir:code [ fhir:v "called" ] ;
           fhir:display [ fhir:v "Called" ]
         ] )
       ] ;
       fhir:locus ( [
         fhir:reference [
           fhir:l <http://hl7.org/fhir/uv/cg-incubator/DocumentReference/CNVAnalysis-called> ;
           fhir:reference [ fhir:v "DocumentReference/CNVAnalysis-called" ]
         ]
       ] )
     ] [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-regiontype>
           ] ;
           fhir:code [ fhir:v "uncalled" ] ;
           fhir:display [ fhir:v "Uncalled" ]
         ] )
       ] ;
       fhir:locus ( [
         fhir:concept [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://www.genenames.org"^^xsd:anyURI ;
               fhir:l <http://www.genenames.org>
             ] ;
             fhir:code [ fhir:v "HGNC:8975" ] ;
             fhir:display [ fhir:v "PIK3CA" ]
           ] )
         ]
       ] ) ;
       fhir:description [ fhir:v "PIK3CA was deemed uncallable using this CNV method due to technical limitations of the assay." ]
     ] ) ; #  0..1 The date of the analysis event ,  genomicRegion: studied scope = full exome BED file 
     fhir:output ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-dataformat"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/uv/cg-incubator/CodeSystem/genomicstudy-dataformat>
           ] ;
           fhir:code [ fhir:v "vcf" ] ;
           fhir:display [ fhir:v "VCF" ]
         ] )
       ] #  0..* Inputs for the analysis event ,  <file>\n                <reference value=\"DocumentReference\/genomicVCFfile_cnv\"\/>\n            <\/file> 
     ] ) ;
     fhir:performer ( [
       fhir:actor [
         fhir:l <http://hl7.org/fhir/uv/cg-incubator/Practitioner/practitioner02> ;
         fhir:reference [ fhir:v "Practitioner/practitioner02" ]
       ] ; #  0..* Performer for the analysis event 
       fhir:role [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "PRF" ] ;
           fhir:display [ fhir:v "Performer" ]
         ] )
       ]
     ] )
  ] ) . #  0..1 Description of the genomic study 

<http://hl7.org/fhir/uv/cg-incubator/Patient/genomicPatient> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/Encounter/genomicEncounter> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/ServiceRequest/genomicServiceRequest2> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/Practitioner/practitioner01> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/Practitioner/practitioner02> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/Specimen/genomicSpecimen> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/DocumentReference/WES-FullSequencedRegion-GRCh38> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/DocumentReference/SimpleVariantAnalysis-called> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/Device/NGS-device> a fhir:Uv .

<http://hl7.org/fhir/uv/cg-incubator/DocumentReference/CNVAnalysis-called> a fhir:Uv .

# -------------------------------------------------------------------------------------

