<?xml version="1.0" encoding="UTF-8"?>
<archetype xmlns="http://schemas.openehr.org/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <original_language>
    <terminology_id>
      <value>ISO_639-1</value>
    </terminology_id>
    <code_string>en</code_string>
  </original_language>
  <is_controlled>false</is_controlled>
  <description>
    <original_author id="date">2017-02-23</original_author>
    <original_author id="name">Cecilia Mascia</original_author>
    <original_author id="organisation">CRS4, Italy</original_author>
    <original_author id="email">cecilia.mascia@crs4.it</original_author>
    <other_contributors>Vebjørn Arntzen, Oslo University Hospital, Norway (openEHR Editor)</other_contributors>
    <other_contributors>Silje Ljosland Bakke, Helse Vest IKT AS, Norway (openEHR Editor)</other_contributors>
    <other_contributors>Francesca Frexia, CRS4, Italy</other_contributors>
    <other_contributors>Gideon Giacomelli, Charité Berlin, Germany</other_contributors>
    <other_contributors>Christina Jaeger-Schmidt, Heidelberg University Hospital, Germany</other_contributors>
    <other_contributors>Florian Kaercher, Charité Berlin, Germany</other_contributors>
    <other_contributors>Liv Laugen, ​Oslo University Hospital, Norway, Norway</other_contributors>
    <other_contributors>Heather Leslie, Atomica Informatics, Australia (openEHR Editor)</other_contributors>
    <other_contributors>Cecilia Mascia, CRS4, Italy (openEHR Editor)</other_contributors>
    <other_contributors>Ian McNicoll, freshEHR Clinical Informatics, United Kingdom (openEHR Editor)</other_contributors>
    <other_contributors>Andrej Orel, Marand d.o.o., Slovenia</other_contributors>
    <other_contributors>Simon Schumacher, HiGHmed, Germany</other_contributors>
    <other_contributors>Aurelie Tomczak, Uniklinikum Heidelberg, Germany (openEHR Editor)</other_contributors>
    <other_contributors>Paolo Uva, CRS4, Italy</other_contributors>
    <other_contributors>Gianluigi Zanetti, CRS4, Italy</other_contributors>
    <other_contributors>Gyri Aasland Gradek, Haukeland University Hospital, Norway</other_contributors>
    <other_contributors>Asbjørg Stray-Pedersen, Oslo University Hospital, Norway</other_contributors>
    <other_contributors>Toril Fagerheim, University Hospital of Northern Norway, Norway</other_contributors>
    <other_contributors>Camilla F. Skjelbred, Telemark Hospital HF, Norway</other_contributors>
    <other_contributors>Dag Erik Undlien, Oslo University Hospital, Norway</other_contributors>
    <other_contributors>Rune Østern, St Olavs Hospital, Norway</other_contributors>
    <lifecycle_state>deprecated</lifecycle_state>
    <other_details id="licence">This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.</other_details>
    <other_details id="custodian_organisation">openEHR Foundation</other_details>
    <other_details id="references">den Dunnen JT, Dalgleish R, Maglott DR, Hart RK, Greenblatt MS, McGowan-Jordan J, Roux AF, Smith T, Antonarakis SE, Taschner PE. HGVS Recommendations for the Description of Sequence Variants: 2016 Update. Hum Mutat. 2016 Jun;37(6):564-9. doi: 10.1002/humu.22981. Epub 2016 Mar 25. PubMed PMID: 26931183.&#xD;
&#xD;
Sequence Variant Nomenclature - DNA Recommendations - Inversion Variant [Internet]. Human Genome Variation Society. [2019] - [cited 2020-02-26]. Available from: https://varnomen.hgvs.org/recommendations/DNA/variant/inversion/</other_details>
    <other_details id="original_namespace">org.openehr</other_details>
    <other_details id="original_publisher">openEHR Foundation</other_details>
    <other_details id="custodian_namespace">org.openehr</other_details>
    <other_details id="MD5-CAM-1.0.1">D397897523A7D5BF82FC4F8E89C390E6</other_details>
    <other_details id="build_uid">d77cc537-b07f-46cb-985c-e0739dd4382f</other_details>
    <other_details id="revision">1.1.1</other_details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>de</code_string>
      </language>
      <purpose>Zur Beschreibung der in einer Sequenz beobachteten 'inversion variant' gemäß der HGVS-Nomenklatur.</purpose>
      <keywords>Inversion</keywords>
      <keywords>Variante</keywords>
      <keywords>genetisch</keywords>
      <keywords>genomisch</keywords>
      <keywords>Variation</keywords>
      <use>*Use to record the details about an inversion variant of human DNA, observed in a genomic sequence.&#xD;
&#xD;
This archetype has been specifically designed to be used in the ‘Structured variant' SLOT within the CLUSTER.genetic_variant archetype, but can also be used within other ENTRY or CLUSTER archetypes, where clinically appropriate.&#xD;
&#xD;
In the examples in this archetype, lower case nucleotides are only intended to highlight the changed positions of the DNA sequence. (en)</use>
      <misuse />
      <copyright />
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>nb</code_string>
      </language>
      <purpose>For å dokumentere en inversjonsvariant funnet i en DNA- eller RNA-sekvensering, basert på HGVS nomenklaturen.</purpose>
      <keywords>inversjon</keywords>
      <keywords>genetisk variasjon</keywords>
      <keywords>genetikk</keywords>
      <keywords>genom</keywords>
      <keywords>variant</keywords>
      <keywords>DNA</keywords>
      <keywords>RNA</keywords>
      <keywords>kromosom</keywords>
      <keywords>mutasjon</keywords>
      <keywords>nukleotid</keywords>
      <use>*Use to record the details about an inversion variant of human DNA, observed in a genomic sequence.&#xD;
&#xD;
This archetype has been specifically designed to be used in the ‘Structured variant' SLOT within the CLUSTER.genetic_variant archetype, but can also be used within other ENTRY or CLUSTER archetypes, where clinically appropriate.&#xD;
&#xD;
In the examples in this archetype, lower case nucleotides are only intended to highlight the changed positions of the DNA sequence. (en)</use>
      <misuse>Skal ikke brukes for å dokumentere en inversjon av et enkelt nukleotid (enkeltbaseforskjell), bruk CLUSTER.substitution_variant (Genetisk substitusjonvariant) arketypen til dette.</misuse>
      <copyright />
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>To record the details about an inversion variant of human DNA, observed in a genomic sequence.</purpose>
      <keywords>inversion</keywords>
      <keywords>variation</keywords>
      <keywords>genetic</keywords>
      <keywords>genomic</keywords>
      <keywords>variant</keywords>
      <use>Use to record the details about an inversion variant of human DNA, observed in a genomic sequence.&#xD;
&#xD;
This archetype has been specifically designed to be used in the ‘Structured variant' SLOT within the CLUSTER.genetic_variant archetype, but can also be used within other ENTRY or CLUSTER archetypes, where clinically appropriate.&#xD;
&#xD;
In the examples in this archetype, lower case nucleotides are only intended to highlight the changed positions of the DNA sequence.</use>
      <misuse>Not to be used to record information about variants of non-human DNA, or any kind of RNA or protein.&#xD;
&#xD;
Not to be used to record a one nucleotide inversion. Use the CLUSTER.substitution_variant archetype for this purpose.</misuse>
      <copyright>© openEHR Foundation</copyright>
    </details>
  </description>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>de</code_string>
    </language>
    <author id="name">Aurelie Tomczak</author>
    <author id="organisation">Institute of Pathology, University Hospital Heidelberg, Germany</author>
    <author id="email">au.tomczak@yahoo.com</author>
  </translations>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>nb</code_string>
    </language>
    <author id="name">Liv Laugen, Silje Ljosland Bakke</author>
    <author id="organisation">Oslo University Hospital, Norway, Helse Vest IKT AS</author>
    <author id="email">liv.laugen@ous-hf.no, silje.ljosland.bakke@helse-vest-ikt.no</author>
  </translations>
  <uid>
    <value>ee9f2fe2-e652-4324-a289-07eb3b720b89</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-CLUSTER.inversion_variant.v1</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>CLUSTER</rm_type_name>
    <occurrences>
      <lower_included>true</lower_included>
      <upper_included>true</upper_included>
      <lower_unbounded>false</lower_unbounded>
      <upper_unbounded>false</upper_unbounded>
      <lower>1</lower>
      <upper>1</upper>
    </occurrences>
    <node_id>at0000</node_id>
    <attributes xsi:type="C_MULTIPLE_ATTRIBUTE">
      <rm_attribute_name>items</rm_attribute_name>
      <existence>
        <lower_included>true</lower_included>
        <upper_included>true</upper_included>
        <lower_unbounded>false</lower_unbounded>
        <upper_unbounded>false</upper_unbounded>
        <lower>1</lower>
        <upper>1</upper>
      </existence>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ELEMENT</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0001</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>value</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_COUNT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ELEMENT</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>1</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0004</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>value</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_COUNT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
          </children>
        </attributes>
      </children>
      <children xsi:type="C_COMPLEX_OBJECT">
        <rm_type_name>ELEMENT</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <upper_included>true</upper_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>false</upper_unbounded>
          <lower>0</lower>
          <upper>1</upper>
        </occurrences>
        <node_id>at0006</node_id>
        <attributes xsi:type="C_SINGLE_ATTRIBUTE">
          <rm_attribute_name>value</rm_attribute_name>
          <existence>
            <lower_included>true</lower_included>
            <upper_included>true</upper_included>
            <lower_unbounded>false</lower_unbounded>
            <upper_unbounded>false</upper_unbounded>
            <lower>0</lower>
            <upper>1</upper>
          </existence>
          <children xsi:type="C_COMPLEX_OBJECT">
            <rm_type_name>DV_TEXT</rm_type_name>
            <occurrences>
              <lower_included>true</lower_included>
              <upper_included>true</upper_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>false</upper_unbounded>
              <lower>1</lower>
              <upper>1</upper>
            </occurrences>
            <node_id />
          </children>
        </attributes>
      </children>
      <children xsi:type="ARCHETYPE_SLOT">
        <rm_type_name>CLUSTER</rm_type_name>
        <occurrences>
          <lower_included>true</lower_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>true</upper_unbounded>
          <lower>0</lower>
        </occurrences>
        <node_id>at0007</node_id>
        <includes>
          <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.reference_sequence(-[a-zA-Z0-9_]+)*\.v1/}</string_expression>
          <expression xsi:type="EXPR_BINARY_OPERATOR">
            <type>Boolean</type>
            <operator>2007</operator>
            <precedence_overridden>false</precedence_overridden>
            <left_operand xsi:type="EXPR_LEAF">
              <type>String</type>
              <item xsi:type="xsd:string">archetype_id/value</item>
              <reference_type>attribute</reference_type>
            </left_operand>
            <right_operand xsi:type="EXPR_LEAF">
              <type>C_STRING</type>
              <item xsi:type="C_STRING">
                <pattern>openEHR-EHR-CLUSTER\.reference_sequence(-[a-zA-Z0-9_]+)*\.v1</pattern>
              </item>
              <reference_type>constraint</reference_type>
            </right_operand>
          </expression>
        </includes>
      </children>
      <cardinality>
        <is_ordered>true</is_ordered>
        <is_unique>false</is_unique>
        <interval>
          <lower_included>true</lower_included>
          <lower_unbounded>false</lower_unbounded>
          <upper_unbounded>true</upper_unbounded>
          <lower>2</lower>
        </interval>
      </cardinality>
    </attributes>
  </definition>
  <ontology>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Genomic inversion variant</items>
        <items id="description">A human genetic sequence change where more than one nucleotide replaces the original sequence with the reverse complement of the original sequence, compared to a genomic reference sequence.</items>
        <items id="comment">For example: changing 'TCAG' to 'CTGA'.</items>
      </items>
      <items code="at0001">
        <items id="text">Start position</items>
        <items id="description">Position of the first nucleotide of the inverted range, in relation to the reference sequence.</items>
        <items id="comment">For example: for a variant where the reference sequence 'CAtcagCCT' is changed to 'CActgaCCT', the start position is 3.</items>
      </items>
      <items code="at0004">
        <items id="text">End position</items>
        <items id="description">Position of the last nucleotide of the inverted range, in relation to the reference sequence.</items>
        <items id="comment">For example: for a variant where the reference sequence 'CAtcagCCT' is changed to 'CActgaCCT', the end position is 6.</items>
      </items>
      <items code="at0006">
        <items id="text">Inverted sequence</items>
        <items id="description">The inverted sequence.</items>
        <items id="comment">For example: for a variant where the reference sequence  'CAtcagCCT' is changed to 'CActgaCCT', the inverted sequence is 'TCAG'.</items>
      </items>
      <items code="at0007">
        <items id="text">Reference sequence</items>
        <items id="description">The sequence file used as a reference to describe this variant.</items>
      </items>
    </term_definitions>
    <term_definitions language="nb">
      <items code="at0000">
        <items id="text">Genetisk variant - Inversjon</items>
        <items id="description">En endring i gensekvensen hvor mer enn ett nukleotid (et DNA eller RNA-segment) er tatt ut og satt inn igjen i motsatt orientering (reversering av rekkefølgen i et kromosomsegment), sammenliknet med referansesekvensen.</items>
        <items id="comment">For eksempel: endring fra 'TCAG' til 'CTGA'.</items>
      </items>
      <items code="at0001">
        <items id="text">Startposisjonen</items>
        <items id="description">Posisjonen til det første nukleotidet i inversjonen i forhold til referansesekvensen.</items>
        <items id="comment">*For example: for a variant where the reference sequence 'CAtcagCCT' is changed to 'CActgaCCT', the start position is 3. (en)</items>
      </items>
      <items code="at0004">
        <items id="text">Sluttposisjonen</items>
        <items id="description">Posisjonen til det siste nukleotidet i inversjonen i forhold til referansesekvensen.</items>
        <items id="comment">*For example: for a variant where the reference sequence 'CAtcagCCT' is changed to 'CActgaCCT', the end position is 6. (en)</items>
      </items>
      <items code="at0006">
        <items id="text">Inverterte sekvensen</items>
        <items id="description">Den omvendte/inverterte nukleotidsekvensen på referansesekvensen.</items>
        <items id="comment">*For example: for a variant where the reference sequence  'CAtcagCCT' is changed to 'CActgaCCT', the inverted sequence is 'TCAG'. (en)</items>
      </items>
      <items code="at0007">
        <items id="text">Referansesekvens</items>
        <items id="description">Sekvensfilen som har blitt brukt som en referanse for å beskrive varianten.</items>
      </items>
    </term_definitions>
    <term_definitions language="de">
      <items code="at0000">
        <items id="text">Genetic inversion variant</items>
        <items id="description">A genetic sequence change where, compared to a reference sequence, more than one nucleotide replacing the original sequence are the reverse complement of the original sequence.</items>
        <items id="comment">*For example: changing 'TCAG' to 'CTGA'. (en)</items>
      </items>
      <items code="at0001">
        <items id="text">Start position</items>
        <items id="description">*Position of the first nucleotide of the inverted range, in relation to the reference sequence. (en)</items>
        <items id="comment">*For example: for a variant where the reference sequence 'CAtcagCCT' is changed to 'CActgaCCT', the start position is 3. (en)</items>
      </items>
      <items code="at0004">
        <items id="text">End position</items>
        <items id="description">*Position of the last nucleotide of the inverted range, in relation to the reference sequence. (en)</items>
        <items id="comment">*For example: for a variant where the reference sequence 'CAtcagCCT' is changed to 'CActgaCCT', the end position is 6. (en)</items>
      </items>
      <items code="at0006">
        <items id="text">Inverted sequence</items>
        <items id="description">*The nucleotide sequence of the reference sequence at the given positions. (en)</items>
        <items id="comment">*For example: for a variant where the reference sequence  'CAtcagCCT' is changed to 'CActgaCCT', the inverted sequence is 'TCAG'. (en)</items>
      </items>
      <items code="at0007">
        <items id="text">Reference sequence</items>
        <items id="description">The sequence file that has been used as a reference to describe the variant.</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
