openEHR Test IG
1.6.6 -
openEHR Test IG, published by HL7 FHIR Product Director. This guide is not an authorized publication; it is the continuous build for version 1.6.6 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/openehr-test/ and changes regularly. See the Directory of published versions
<et:WebTemplate xmlns:et="http://openehr.org/fhir/StructureDefinition"
xmlns="http://hl7.org/fhir">
<templateId value="PGX - Pharmacogenetics diagnostic report"/>
<version value="2.3"/>
<defaultLanguage value="en"/>
<languages value="en"/>
<tree>
<id value="pharmacogenetics_diagnostic_report"/>
<name value="Pharmacogenetics diagnostic report"/>
<localizedName value="Pharmacogenetics diagnostic report"/>
<rmType value="COMPOSITION"/>
<nodeId value="openEHR-EHR-COMPOSITION.report-result.v1"/>
<min value="1"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath value=""/>
<children>
<id value="context"/>
<rmType value="EVENT_CONTEXT"/>
<nodeId value=""/>
<min value="1"/>
<max value="1"/>
<aqlPath value="/context"/>
<children>
<id value="xds_metadata"/>
<name value="XDS Metadata"/>
<localizedName value="XDS Metadata"/>
<rmType value="CLUSTER"/>
<nodeId value="openEHR-EHR-CLUSTER.xds_metadata.v0"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/context/other_context[at0001]/items[openEHR-EHR-CLUSTER.xds_metadata.v0]"/>
<children>
<id value="author_specialty"/>
<name value="Author specialty"/>
<localizedName value="Author specialty"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0001"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/context/other_context[at0001]/items[openEHR-EHR-CLUSTER.xds_metadata.v0]/items[at0001]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="document_type"/>
<name value="Document type"/>
<localizedName value="Document type"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0003"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="for example: Pulmonary History and Physical, Discharge Summary, Ultrasound Report.
These codes are specific to an XDS Affinity Domain."/>
</annotations>
<aqlPath
value="/context/other_context[at0001]/items[openEHR-EHR-CLUSTER.xds_metadata.v0]/items[at0003]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
</children>
<children>
<id value="start_time"/>
<name value="Start_time"/>
<rmType value="DV_DATE_TIME"/>
<min value="1"/>
<max value="1"/>
<aqlPath value="/context/start_time"/>
<inContext value="true"/>
<inputs>
<type value="DATETIME"/>
</inputs>
</children>
<children>
<id value="setting"/>
<name value="Setting"/>
<rmType value="DV_CODED_TEXT"/>
<min value="1"/>
<max value="1"/>
<aqlPath value="/context/setting"/>
<inContext value="true"/>
<inputs>
<suffix value="code"/>
<type value="TEXT"/>
</inputs>
<inputs>
<suffix value="value"/>
<type value="TEXT"/>
</inputs>
</children>
</children>
<children>
<id value="pharmacogenetic_laboratory_test"/>
<name value="Pharmacogenetic laboratory test"/>
<localizedName value="Pharmacogenetic laboratory test"/>
<rmType value="OBSERVATION"/>
<nodeId value="openEHR-EHR-OBSERVATION.laboratory_test_result.v1"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']"/>
<children>
<id value="test_name"/>
<name value="Test name"/>
<localizedName value="Test name"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0005"/>
<min value="1"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="A test result may be for a single analyte, or a group of items, including panel tests. It is strongly recommended that 'Test name' be coded with a terminology, for example LOINC or SNOMED CT. For example: 'Glucose', 'Urea and Electrolytes', 'Swab', 'Cortisol (am)', 'Potassium in perspiration' or 'Melanoma histopathology'. The name may sometimes include specimen type and patient state, for example 'Fasting blood glucose' or include other information, as 'Potassium (PNA blood gas)'."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[at0005]/value"/>
<inputs>
<type value="TEXT"/>
<defaultValue
value="Pharmacogenomic analysis basic associated observations panel - Blood or Tissue [78046-0]"/>
</inputs>
</children>
<children>
<id value="clinical_information_provided"/>
<name value="Clinical information provided"/>
<localizedName value="Clinical information provided"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0100"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="This data element may include a link to the original clinical information provided in the test request."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[at0100]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="laboratory_result"/>
<name value="Laboratory result"/>
<localizedName value="Laboratory result"/>
<rmType value="CLUSTER"/>
<nodeId value="openEHR-EHR-CLUSTER.laboratory_test_analyte.v1"/>
<min value="0"/>
<max value="-1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']"/>
<children>
<id value="analyte_name"/>
<name value="Analyte name"/>
<localizedName value="Analyte name"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0024"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="The value for this element is normally supplied in a specialisation, in a template or at run-time to reflect the actual analyte. For example: 'Serum sodium', 'Haemoglobin'. Coding with an external terminology is strongly recommended, such as LOINC, NPU, SNOMED CT, or local lab terminologies."/>
<fhir_mapping value="Observation.code"/>
<hl7v2_mapping value="OBX.3"/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[at0024]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="pharmacogenetic_test_result"/>
<name value="Pharmacogenetic test result"/>
<localizedName value="Pharmacogenetic test result"/>
<rmType value="CLUSTER"/>
<nodeId value="openEHR-EHR-CLUSTER.pharmacogenetic_result.v0"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']"/>
<children>
<id value="gene_symbol"/>
<name value="Gene symbol"/>
<localizedName value="Gene symbol"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0003"/>
<min value="1"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="Coding with an external terminology is preferred, where possible.
Preferably this should be coded with terms from the HGNC (HUGO Gene Nomenclature Committee) nomenclature, using 'http://www.genenames.org' as the terminology identifier.
For example: 'http://www.genenames.org::CYP2C9 | CYP2C9 |'."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0003]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="diplotype"/>
<name value="Diplotype"/>
<localizedName value="Diplotype"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0004"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="For example: 'g.94938683A>G' (Gene changes) or '*1/*36' (Star allele diplotype)."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0004]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="phenotype"/>
<name value="Phenotype"/>
<localizedName value="Phenotype"/>
<rmType value="DV_CODED_TEXT"/>
<nodeId value="at0052"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="The coded text values are based on CPIC phenotype recommendations - see https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5253119/.
It is possible to add other coded text values when they are required."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0052]/value"/>
<inputs>
<suffix value="code"/>
<type value="CODED_TEXT"/>
<list>
<value value="at0053"/>
<label value="Normal metaboliser"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3351000181105]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA25391-6]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0054"/>
<label value="Rapid metaboliser"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3341000181107]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA25390-8]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0055"/>
<label value="Ultrarapid metaboliser"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3331000181100]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA10315-2]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0056"/>
<label value="Intermediate metaboliser"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3361000181108]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA10317-8]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0057"/>
<label value="Poor metaboliser"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3371000181103]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA9657-3]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0087"/>
<label value="Increased function"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3381000181101]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA25392-4]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0088"/>
<label value="Decreased function"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3401000181101]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA25395-7]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0089"/>
<label value="Normal function"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3391000181104]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA25393-2]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0090"/>
<label value="Poor function"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::3451000181100]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA25394-0]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0091"/>
<label value="Negative"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::260385009]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA6576-8]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0092"/>
<label value="Positive"/>
<localizedLabels/>
<localizedDescriptions/>
<termBindings>
<code value="SNOMED-CT"/>
<value>
<value value="[SNOMED-CT::10828004]"/>
<terminologyId value="SNOMED-CT"/>
</value>
</termBindings>
<termBindings>
<code value="LOINC"/>
<value>
<value value="[LOINC::LA6577-6]"/>
<terminologyId value="LOINC"/>
</value>
</termBindings>
</list>
<list>
<value value="at0093"/>
<label
value="Normal risk of aminoglycoside-induced hearing loss"/>
<localizedLabels/>
<localizedDescriptions/>
</list>
<list>
<value value="at0094"/>
<label
value="Increased risk of aminoglycoside-induced hearing loss"/>
<localizedLabels/>
<localizedDescriptions/>
</list>
<list>
<value value="at0095"/>
<label
value="Uncertain risk of aminoglycoside-induced hearing loss"/>
<localizedLabels/>
<localizedDescriptions/>
</list>
</inputs>
</children>
<children>
<id value="overall_activity_score"/>
<name value="Overall activity score"/>
<localizedName value="Overall activity score"/>
<rmType value="DV_QUANTITY"/>
<nodeId value="at0080"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment value="For example: '0.5'."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0080]/value"/>
<inputs>
<suffix value="magnitude"/>
<type value="DECIMAL"/>
<validation>
<range>
<minOp value=">="/>
<min value="0.0"/>
<maxOp value="<="/>
<max value="10.0"/>
</range>
</validation>
</inputs>
<inputs>
<suffix value="unit"/>
<type value="CODED_TEXT"/>
<list>
<value value="1"/>
<label value="1"/>
</list>
</inputs>
</children>
<children>
<id value="individual_activity_value"/>
<name value="Individual activity value"/>
<localizedName value="Individual activity value"/>
<rmType value="CLUSTER"/>
<nodeId value="at0084"/>
<min value="0"/>
<max value="-1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0084]"/>
<children>
<id value="allele_haplotype"/>
<name value="Allele haplotype"/>
<localizedName value="Allele haplotype"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0086"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment value="For example: '*36'."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0084]/items[at0086]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="activity_value"/>
<name value="Activity value"/>
<localizedName value="Activity value"/>
<rmType value="DV_QUANTITY"/>
<nodeId value="at0085"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment value="For example: '0.5'."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0084]/items[at0085]/value"/>
<inputs>
<suffix value="magnitude"/>
<type value="DECIMAL"/>
<validation>
<range>
<minOp value=">="/>
<min value="0.0"/>
<maxOp value="<="/>
<max value="10.0"/>
</range>
</validation>
</inputs>
<inputs>
<suffix value="unit"/>
<type value="CODED_TEXT"/>
<list>
<value value="1"/>
<label value="1"/>
</list>
</inputs>
</children>
</children>
<children>
<id value="per-allele_tested"/>
<name value="Per-allele tested"/>
<localizedName value="Per-allele tested"/>
<rmType value="CLUSTER"/>
<nodeId value="at0097"/>
<min value="0"/>
<max value="-1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0097]"/>
<children>
<id value="snp_rsnumber"/>
<name value="SNP rsNumber"/>
<localizedName value="SNP rsNumber"/>
<rmType value="CLUSTER"/>
<nodeId
value="openEHR-EHR-CLUSTER.knowledge_base_reference.v1"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="For example: a genomics pipeline history, a database of genomic variants, or a database of healthcare procedure guidelines."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0097]/items[openEHR-EHR-CLUSTER.knowledge_base_reference.v1,'SNP rsNumber']"/>
<children>
<id value="knowledge_base_name"/>
<name value="Knowledge base name"/>
<localizedName value="Knowledge base name"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0001"/>
<min value="1"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="For example: Galaxy/Snakemake; dbSNP; or CADD."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0097]/items[openEHR-EHR-CLUSTER.knowledge_base_reference.v1,'SNP rsNumber']/items[at0001]/value"/>
<inputs>
<type value="TEXT"/>
<defaultValue value="dbSNP"/>
</inputs>
</children>
<children>
<id value="item_name"/>
<name value="Item name"/>
<localizedName value="Item name"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0005"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment value="For example: rs139581412."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[at0097]/items[openEHR-EHR-CLUSTER.knowledge_base_reference.v1,'SNP rsNumber']/items[at0005]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
</children>
</children>
<children>
<id value="variant_detail"/>
<name value="Variant detail"/>
<localizedName value="Variant detail"/>
<rmType value="CLUSTER"/>
<nodeId value="openEHR-EHR-CLUSTER.genomic_variant_result.v1"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']"/>
<children>
<id value="ga4gh_vrs_attachment"/>
<name value="GA4GH VRS attachment"/>
<localizedName value="GA4GH VRS attachment"/>
<rmType value="CLUSTER"/>
<nodeId value="openEHR-EHR-CLUSTER.media_file.v1"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']"/>
<children>
<id value="content"/>
<name value="Content"/>
<localizedName value="Content"/>
<rmType value="DV_MULTIMEDIA"/>
<nodeId value="at0001"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="If the file is stored locally, the actual content will be captured and stored using the Multimedia data type. For example: RTF or PDF for a document; JPG for an image; MP4 for a video; or WAV for an audio file. If the file is stored at a location outside of the health record, the detailed path to the file is captured using the URI attribute in the Multimedia data type. The Multimedia data type has many RM attributes such as the size of file and URI to an external source - see https://specifications.openehr.org/releases/RM/latest/data_types.html#_dv_multimedia_class."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']/items[at0001]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="content_name"/>
<name value="Content name"/>
<localizedName value="Content name"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0002"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="A description of the content of the media file. Use an agreed standardised naming convention, if available. For example: "Right hand burn #1" or "Cardiology video consultation on May 2"."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']/items[at0002]/value"/>
<inputs>
<type value="TEXT"/>
<defaultValue value="G4AGH VRS file"/>
</inputs>
</children>
<children>
<id value="created"/>
<name value="Created"/>
<localizedName value="Created"/>
<rmType value="ELEMENT"/>
<nodeId value="at0004"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']/items[at0004]"/>
<children>
<id value="date_time_value"/>
<localizedName value="Created"/>
<rmType value="DV_DATE_TIME"/>
<nodeId value=""/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']/items[at0004]/value"/>
<inputs>
<type value="DATETIME"/>
</inputs>
</children>
<children>
<id value="interval_of_date_time_value"/>
<localizedName value="Created"/>
<rmType value="DV_INTERVAL<DV_DATE_TIME>"/>
<nodeId value=""/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']/items[at0004]/value"/>
<children>
<id value="lower"/>
<rmType value="DV_DATE_TIME"/>
<nodeId value=""/>
<min value="1"/>
<max value="1"/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']/items[at0004]/value/lower"/>
<inputs>
<type value="DATETIME"/>
</inputs>
</children>
<children>
<id value="upper"/>
<rmType value="DV_DATE_TIME"/>
<nodeId value=""/>
<min value="1"/>
<max value="1"/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Laboratory result']/items[openEHR-EHR-CLUSTER.pharmacogenetic_result.v0,'Pharmacogenetic test result']/items[openEHR-EHR-CLUSTER.genomic_variant_result.v1,'Variant detail']/items[openEHR-EHR-CLUSTER.media_file.v1,'GA4GH VRS attachment']/items[at0004]/value/upper"/>
<inputs>
<type value="DATETIME"/>
</inputs>
</children>
</children>
</children>
</children>
</children>
</children>
</children>
<children>
<id value="overall_recommendation"/>
<name value="Overall recommendation"/>
<localizedName value="Overall recommendation"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0057"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="For example: 'Pattern suggests significant renal impairment'. The content of the conclusion will vary, depending on the investigation performed. This conclusion should be aligned with the coded 'Test diagnosis'."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/data[at0003]/items[at0057,'Overall recommendation']/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="time"/>
<name value="Time"/>
<rmType value="DV_DATE_TIME"/>
<min value="1"/>
<max value="1"/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/data[at0001]/events[at0002,'Point in time']/time"/>
<inContext value="true"/>
<inputs>
<type value="DATETIME"/>
</inputs>
</children>
<children>
<id value="test_method"/>
<name value="Test method"/>
<localizedName value="Test method"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0121"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="Coding with a terminology is desirable, where possible."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/protocol[at0004]/items[at0121]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="testing_device"/>
<name value="Testing device"/>
<localizedName value="Testing device"/>
<rmType value="CLUSTER"/>
<nodeId value="openEHR-EHR-CLUSTER.device.v1"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/protocol[at0004]/items[openEHR-EHR-CLUSTER.device.v1,'Testing device']"/>
<children>
<id value="device_name"/>
<name value="Device name"/>
<localizedName value="Device name"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0001"/>
<min value="1"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="This data element will capture the term, phrase or category used in clinical practice. For example: <brand name><machine> (XYZ Audiometer); <size> <brand name> <intravenous catheter> (14G Jelco IV catheter); or <brand name/type> <implant>. Coding with a terminology is desirable, where possible, although this may be local and depending on local supplies available.
"/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/protocol[at0004]/items[openEHR-EHR-CLUSTER.device.v1,'Testing device']/items[at0001]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
<children>
<id value="type"/>
<name value="Type"/>
<localizedName value="Type"/>
<rmType value="DV_TEXT"/>
<nodeId value="at0003"/>
<min value="0"/>
<max value="1"/>
<localizedNames/>
<localizedDescriptions/>
<annotations>
<comment
value="Not applicable if a category is already recorded in 'Device name'.
Example: if the 'Device' is named as a 'urinary catheter'; the 'Type' may be recorded as 'indwelling' or 'condom'.Coding with a terminology is desirable, where possible. This may include use of GTIN or EAN numbers."/>
</annotations>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/protocol[at0004]/items[openEHR-EHR-CLUSTER.device.v1,'Testing device']/items[at0003]/value"/>
<inputs>
<type value="TEXT"/>
</inputs>
</children>
</children>
<children>
<id value="language"/>
<name value="Language"/>
<rmType value="CODE_PHRASE"/>
<min value="1"/>
<max value="1"/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/language"/>
<inContext value="true"/>
</children>
<children>
<id value="encoding"/>
<name value="Encoding"/>
<rmType value="CODE_PHRASE"/>
<min value="1"/>
<max value="1"/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/encoding"/>
<inContext value="true"/>
</children>
<children>
<id value="subject"/>
<name value="Subject"/>
<rmType value="PARTY_PROXY"/>
<min value="1"/>
<max value="1"/>
<aqlPath
value="/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Pharmacogenetic laboratory test']/subject"/>
<inContext value="true"/>
<inputs>
<suffix value="id"/>
<type value="TEXT"/>
</inputs>
<inputs>
<suffix value="id_scheme"/>
<type value="TEXT"/>
</inputs>
<inputs>
<suffix value="id_namespace"/>
<type value="TEXT"/>
</inputs>
<inputs>
<suffix value="name"/>
<type value="TEXT"/>
</inputs>
</children>
</children>
<children>
<id value="category"/>
<rmType value="DV_CODED_TEXT"/>
<nodeId value=""/>
<min value="1"/>
<max value="1"/>
<aqlPath value="/category"/>
<inContext value="true"/>
<inputs>
<suffix value="code"/>
<type value="CODED_TEXT"/>
<terminology value="openehr"/>
<list>
<value value="433"/>
<label value="event"/>
<localizedLabels/>
</list>
</inputs>
</children>
<children>
<id value="language"/>
<name value="Language"/>
<rmType value="CODE_PHRASE"/>
<min value="1"/>
<max value="1"/>
<aqlPath value="/language"/>
<inContext value="true"/>
</children>
<children>
<id value="territory"/>
<name value="Territory"/>
<rmType value="CODE_PHRASE"/>
<min value="1"/>
<max value="1"/>
<aqlPath value="/territory"/>
<inContext value="true"/>
</children>
<children>
<id value="composer"/>
<name value="Composer"/>
<rmType value="PARTY_PROXY"/>
<min value="1"/>
<max value="1"/>
<aqlPath value="/composer"/>
<inContext value="true"/>
<inputs>
<suffix value="id"/>
<type value="TEXT"/>
</inputs>
<inputs>
<suffix value="id_scheme"/>
<type value="TEXT"/>
</inputs>
<inputs>
<suffix value="id_namespace"/>
<type value="TEXT"/>
</inputs>
<inputs>
<suffix value="name"/>
<type value="TEXT"/>
</inputs>
</children>
</tree>
</et:WebTemplate>