Genomics Reporting Implementation Guide
3.0.0 - STU3 International flag

Genomics Reporting Implementation Guide, published by HL7 International / Clinical Genomics. This guide is not an authorized publication; it is the continuous build for version 3.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/genomics-reporting/ and changes regularly. See the Directory of published versions

OperationDefinition: Find Population Specific Haplotypes

Official URL: http://hl7.org/fhir/uv/genomics-reporting/OperationDefinition/find-population-specific-haplotypes Version: 3.0.0
Active as of 2024-12-12 Computable Name: FindPopulationSpecificHaplotypes

Retrieve count or list of patients having specified genotypes/haplotypes.

Description

Retrieve count or list of patients having specified genotypes/haplotypes.

Population queries are designed to return a count of patients that match each item sought, with or without a list of patients matching the item(s) sought.

As described in general guidance, FHIR Genomics Operations do not support 'AND' logic unless stated otherwise. This particular operation supports a logical 'AND' of the 'haplotypes' parameter, specified by repeating the parameter. 'AND' logic is useful when searching for other subjects sharing a specific constellation of haplotypes, as in the following example that seeks patients having haplotype 'a' or 'b' or 'c', and haplotype 'd' or 'e' or 'f', and haplotype 'i' or 'j' or 'k':

...&haplotypes=a,b,c&haplotypes=d,e,f&haplotypes=i,j,k

Generated Narrative: OperationDefinition find-population-specific-haplotypes

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INhaplotypes1..*string
(token)

List of haplotypes and/or genotypes being sought. Must be in token or codesystem|code format.

INgenomicSourceClass0..1string
(token)

Enables an App to limit results to those that are 'germline' or 'somatic'. Default is to include variants irrespective of genomic source class.

INincludePatientList0..1boolean

Include list of matching patients if set to true. Default=false.

OUThaplotypes1..*

(one for each haplotype in haplotypeList)

OUThaplotypes.haplotypeItem1..1string

haplotype/genotype from haplotypeList

OUThaplotypes.numerator1..1Quantity

Count of patients having this variant

OUThaplotypes.denominator0..1Quantity

Count of patients in the cohort searched

OUThaplotypes.subject0..*string

Patient ID. Include if includePatientList=true

Notes:

Error Codes

Valid response codes are shown in the following table. Additional response codes (e.g. 5xx server error) may also be encountered.

Response Code Description
200 Successfully executed request
400 ERROR: Invalid query parameters
404 ERROR: Patient not found
422 ERROR: Failed LiftOver

Examples

A transplant specialist is looking for potential unrelated donors in the donor registry that are a perfect HLA match for their patient.