Genomics Reporting Implementation Guide
3.0.0-ballot - Ballot International flag

This page is part of the Genetic Reporting Implementation Guide (v3.0.0-ballot: STU 3 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

: Find Subject Haplotypes - TTL Representation

Active as of 2023-12-18

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "find-subject-haplotypes"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>subject</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#reference\">reference</a>)</td><td/><td><div><p>The subject of interest.</p>\n</div></td></tr><tr><td>IN</td><td>genes</td><td/><td>1..*</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#token\">token</a>)</td><td/><td><div><p>List of genes to be searched. Must be in token or codesystem|code format.</p>\n</div></td></tr><tr><td>IN</td><td>testIdentifiers</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#token\">token</a>)</td><td/><td><div><p>Supply a list of test identifiers. Only results originating from one of these tests will be returned.</p>\n</div></td></tr><tr><td>IN</td><td>testDateRange</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a></td><td/><td><div><p>Supply a date range. Only results generated during this range will be returned.</p>\n</div></td></tr><tr><td>IN</td><td>specimenIdentifiers</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#token\">token</a>)</td><td/><td><div><p>Supply a list of specimen identifiers. Only results derived from one of these specimens will be returned.</p>\n</div></td></tr><tr><td>IN</td><td>genomicSourceClass</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#token\">token</a>)</td><td/><td><div><p>Enables an App to limit results to those that are 'germline' or 'somatic'. Default is to include haplotypes irrespective of genomic source class.</p>\n</div></td></tr><tr><td>OUT</td><td>haplotypes</td><td/><td>1..*</td><td></td><td/><td><div><p>(one for each gene in geneList)</p>\n</div></td></tr><tr><td>OUT</td><td>haplotypes.geneItem</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>gene from geneList</p>\n</div></td></tr><tr><td>OUT</td><td>haplotypes.haplotype</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a></td><td/><td><div><p>Haplotypes must conform to [Profile: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/haplotype].</p>\n</div></td></tr><tr><td>OUT</td><td>haplotypes.genotype</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a></td><td/><td><div><p>Genotypes must conform to [Profile: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/genotype].</p>\n</div></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "cg" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/genomics-reporting/OperationDefinition/find-subject-haplotypes"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "3.0.0-ballot"] ; # 
  fhir:name [ fhir:v "FindSubjectHaplotypes"] ; # 
  fhir:title [ fhir:v "Find Subject Haplotypes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2023-12-18T22:45:59+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Genomics"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 International / Clinical Genomics" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/clingenomics" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "cg@lists.HL7.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Retrieve haplotypes/genotypes for specified genes."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]     ] )
  ] ) ; # 
  fhir:code [ fhir:v "match"] ; # 
  fhir:system [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:instance [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "subject" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The subject of interest." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "reference" ]
  ] [
fhir:name [ fhir:v "genes" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "List of genes to be searched. Must be in token or codesystem|code format." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "token" ]
  ] [
fhir:name [ fhir:v "testIdentifiers" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "Supply a list of test identifiers. Only results originating from one of these tests will be returned." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "token" ]
  ] [
fhir:name [ fhir:v "testDateRange" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Supply a date range. Only results generated during this range will be returned." ] ;
fhir:type [ fhir:v "Period" ]
  ] [
fhir:name [ fhir:v "specimenIdentifiers" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "Supply a list of specimen identifiers. Only results derived from one of these specimens will be returned." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "token" ]
  ] [
fhir:name [ fhir:v "genomicSourceClass" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Enables an App to limit results to those that are 'germline' or 'somatic'. Default is to include haplotypes irrespective of genomic source class." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "token" ]
  ] [
fhir:name [ fhir:v "haplotypes" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "(one for each gene in geneList)" ] ;
    ( fhir:part [
fhir:name [ fhir:v "geneItem" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "gene from geneList" ] ;
fhir:type [ fhir:v "string" ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/haplotype"^^xsd:anyURI ]       ] ) ;
fhir:name [ fhir:v "haplotype" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "Haplotypes must conform to [Profile: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/haplotype]." ] ;
fhir:type [ fhir:v "Observation" ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/genotype"^^xsd:anyURI ]       ] ) ;
fhir:name [ fhir:v "genotype" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "Genotypes must conform to [Profile: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/genotype]." ] ;
fhir:type [ fhir:v "Observation" ]     ] )
  ] ) . #