<?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">2009-05-06</original_author>
    <original_author id="name">Heather Leslie</original_author>
    <original_author id="organisation">Ocean Informatics</original_author>
    <original_author id="email">heather.leslie@oceaninformatics.com</original_author>
    <other_contributors>Sam Heard, Ocean Informatics, Australia</other_contributors>
    <other_contributors>Vebjørn Arntzen, Oslo University Hospital, Norway</other_contributors>
    <lifecycle_state>in_development</lifecycle_state>
    <other_details id="licence">This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.</other_details>
    <other_details id="custodian_organisation">openEHR Foundation</other_details>
    <other_details id="references" />
    <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">52609E1B6CB58FB9C74D4B7944A5EC77</other_details>
    <other_details id="build_uid">b1a64fc7-5a23-470d-9cbf-52389d9b9f3e</other_details>
    <other_details id="revision">0.0.1-alpha</other_details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>pt-br</code_string>
      </language>
      <purpose>*To record the consumption of a specific substance or class of substances that may harm an individual's health or social well-being at a specific point or interval of time. (en)</purpose>
      <keywords>*drugs (en)</keywords>
      <keywords>*addiction (en)</keywords>
      <keywords>*abuse (en)</keywords>
      <keywords>*doping (en)</keywords>
      <keywords>*narcotics (en)</keywords>
      <keywords>*performance enhancing (en)</keywords>
      <keywords>*steroids (en)</keywords>
      <use>*Use to record the consumption of a specific substance or class of substances that may harm an individual's health or social well-being. This includes use at specific point or interval of time, and use of mathematical functions such as average or maximum consumption over a interval of time.&#xD;
&#xD;
This archetype has been designed as a framework for objectively documenting the use or administration of a single substance. While it supports recognition of abuse and dependence, it is not intended exclusively for this purpose.&#xD;
&#xD;
A typical use of this archetype will be related to a diary record of use or consumption of substances.&#xD;
&#xD;
Substances that fall within the scope of this archetype include harmful or potentially addictive substances, legal and illegal substances, as well as medications that are misused. Misuse may involve administration without clinical supervision, use for non-recommended purposes, or consumption in quantities or frequencies that exceed safe dosages. Examples of substances that may be recorded using this archetype include but are not limited to:&#xD;
- tobacco;&#xD;
- alcohol;&#xD;
- caffeine;&#xD;
- nicotine and other clinically significant components of vaping liquid;&#xD;
- psychostimulants;&#xD;
- barbiturates;&#xD;
- cannabis;&#xD;
- hallucinogens;&#xD;
- opioids;&#xD;
- GHB;&#xD;
- MDMA;&#xD;
- sniffing of hydrocarbons or other solvents;&#xD;
- "bath salts"; and&#xD;
- medication administration, such as a laxative for purposes other than relief of constipation, beta blockers to reduce the heart rate in elite athletes and anabolic steroids in weight lifters. (en)</use>
      <misuse>*Not to be used to record summary details about the use of the substance. Use EVALUATION.substance_use_summary for this purpose.&#xD;
&#xD;
Not to be used to record answers to pre-defined screening questions about substance use. Use OBSERVATION.substance_use_screening archetype for this purpose.&#xD;
  &#xD;
Not to be used to record use of consumption of tobacco or alcohol. Use a separate archetype for this purpose, or a specialisation of this archetype.&#xD;
&#xD;
Not to be used to record the summary or persistent information about, or monitor the cumulative dose of, a medication. Use EVALUATION.medication_summary for this purpose.&#xD;
&#xD;
Not to be used to record accidental administration of, or exposure to, a substance or medication, overdoses or poisonings, etc. Use an Adverse event archetype for this purpose.&#xD;
&#xD;
Not to be used to record information about appropriate medication use under clinical supervision, for recommended therapeutic intent and at appropriate dosages. Use an appropriate medication archetype for this purpose. (en)</misuse>
      <copyright>© copyright (c) 2009 openEHR Foundation, openEHR Foundation</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
      </language>
      <purpose>To record the consumption of a specific substance or class of substances that may harm an individual's health or social well-being at a specific point or interval of time.</purpose>
      <keywords>drugs</keywords>
      <keywords>addiction</keywords>
      <keywords>abuse</keywords>
      <keywords>doping</keywords>
      <keywords>narcotics</keywords>
      <keywords>performance enhancing</keywords>
      <keywords>steroids</keywords>
      <use>Use to record the consumption of a specific substance or class of substances that may harm an individual's health or social well-being. This includes use at specific point or interval of time, and use of mathematical functions such as average or maximum consumption over a interval of time.&#xD;
&#xD;
This archetype has been designed as a framework for objectively documenting the use or administration of a single substance. While it supports recognition of abuse and dependence, it is not intended exclusively for this purpose.&#xD;
&#xD;
A typical use of this archetype will be related to a diary record of use or consumption of substances.&#xD;
&#xD;
Substances that fall within the scope of this archetype include harmful or potentially addictive substances, legal and illegal substances, as well as medications that are misused. Misuse may involve administration without clinical supervision, use for non-recommended purposes, or consumption in quantities or frequencies that exceed safe dosages. Examples of substances that may be recorded using this archetype include but are not limited to:&#xD;
- tobacco;&#xD;
- alcohol;&#xD;
- caffeine;&#xD;
- nicotine and other clinically significant components of vaping liquid;&#xD;
- psychostimulants;&#xD;
- barbiturates;&#xD;
- cannabis;&#xD;
- hallucinogens;&#xD;
- opioids;&#xD;
- GHB;&#xD;
- MDMA;&#xD;
- sniffing of hydrocarbons or other solvents;&#xD;
- "bath salts"; and&#xD;
- medication administration, such as a laxative for purposes other than relief of constipation, beta blockers to reduce the heart rate in elite athletes and anabolic steroids in weight lifters.</use>
      <misuse>Not to be used to record summary details about the use of the substance. Use EVALUATION.substance_use_summary for this purpose.&#xD;
&#xD;
Not to be used to record answers to pre-defined screening questions about substance use. Use OBSERVATION.substance_use_screening archetype for this purpose.&#xD;
  &#xD;
Not to be used to record use of consumption of tobacco or alcohol. Use a separate archetype for this purpose, or a specialisation of this archetype.&#xD;
&#xD;
Not to be used to record the summary or persistent information about, or monitor the cumulative dose of, a medication. Use EVALUATION.medication_summary for this purpose.&#xD;
&#xD;
Not to be used to record accidental administration of, or exposure to, a substance or medication, overdoses or poisonings, etc. Use an Adverse event archetype for this purpose.&#xD;
&#xD;
Not to be used to record information about appropriate medication use under clinical supervision, for recommended therapeutic intent and at appropriate dosages. Use an appropriate medication archetype for this purpose.</misuse>
      <copyright>© copyright (c) 2009 openEHR Foundation, openEHR Foundation</copyright>
    </details>
    <details>
      <language>
        <terminology_id>
          <value>ISO_639-1</value>
        </terminology_id>
        <code_string>ar-sy</code_string>
      </language>
      <purpose>*To record the consumption of a specific substance or class of substances that may harm an individual's health or social well-being at a specific point or interval of time. (en)</purpose>
      <keywords>*drugs (en)</keywords>
      <keywords>*addiction (en)</keywords>
      <keywords>*abuse (en)</keywords>
      <keywords>*doping (en)</keywords>
      <keywords>*narcotics (en)</keywords>
      <keywords>*performance enhancing (en)</keywords>
      <keywords>*steroids (en)</keywords>
      <use>*Use to record the consumption of a specific substance or class of substances that may harm an individual's health or social well-being. This includes use at specific point or interval of time, and use of mathematical functions such as average or maximum consumption over a interval of time.&#xD;
&#xD;
This archetype has been designed as a framework for objectively documenting the use or administration of a single substance. While it supports recognition of abuse and dependence, it is not intended exclusively for this purpose.&#xD;
&#xD;
A typical use of this archetype will be related to a diary record of use or consumption of substances.&#xD;
&#xD;
Substances that fall within the scope of this archetype include harmful or potentially addictive substances, legal and illegal substances, as well as medications that are misused. Misuse may involve administration without clinical supervision, use for non-recommended purposes, or consumption in quantities or frequencies that exceed safe dosages. Examples of substances that may be recorded using this archetype include but are not limited to:&#xD;
- tobacco;&#xD;
- alcohol;&#xD;
- caffeine;&#xD;
- nicotine and other clinically significant components of vaping liquid;&#xD;
- psychostimulants;&#xD;
- barbiturates;&#xD;
- cannabis;&#xD;
- hallucinogens;&#xD;
- opioids;&#xD;
- GHB;&#xD;
- MDMA;&#xD;
- sniffing of hydrocarbons or other solvents;&#xD;
- "bath salts"; and&#xD;
- medication administration, such as a laxative for purposes other than relief of constipation, beta blockers to reduce the heart rate in elite athletes and anabolic steroids in weight lifters. (en)</use>
      <misuse>*Not to be used to record summary details about the use of the substance. Use EVALUATION.substance_use_summary for this purpose.&#xD;
&#xD;
Not to be used to record answers to pre-defined screening questions about substance use. Use OBSERVATION.substance_use_screening archetype for this purpose.&#xD;
  &#xD;
Not to be used to record use of consumption of tobacco or alcohol. Use a separate archetype for this purpose, or a specialisation of this archetype.&#xD;
&#xD;
Not to be used to record the summary or persistent information about, or monitor the cumulative dose of, a medication. Use EVALUATION.medication_summary for this purpose.&#xD;
&#xD;
Not to be used to record accidental administration of, or exposure to, a substance or medication, overdoses or poisonings, etc. Use an Adverse event archetype for this purpose.&#xD;
&#xD;
Not to be used to record information about appropriate medication use under clinical supervision, for recommended therapeutic intent and at appropriate dosages. Use an appropriate medication archetype for this purpose. (en)</misuse>
      <copyright>© copyright (c) 2009 openEHR Foundation, openEHR Foundation</copyright>
    </details>
  </description>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>pt-br</code_string>
    </language>
    <author id="name">Adriana Kitajima, Débora Farage, Fernanda Maia, Laíse Figueiredo, Marivan Abrahão</author>
    <author id="organisation">Core Consulting</author>
    <author id="email">contato@coreconsulting.com.br</author>
    <accreditation>Hospital Alemão Oswaldo Cruz (HAOC)</accreditation>
  </translations>
  <translations>
    <language>
      <terminology_id>
        <value>ISO_639-1</value>
      </terminology_id>
      <code_string>ar-sy</code_string>
    </language>
    <author id="name">?</author>
  </translations>
  <uid>
    <value>76247f4f-a44a-4b3f-b303-d86fae7a1a24</value>
  </uid>
  <archetype_id>
    <value>openEHR-EHR-OBSERVATION.substance_use.v0</value>
  </archetype_id>
  <adl_version>1.4</adl_version>
  <concept>at0000</concept>
  <definition>
    <rm_type_name>OBSERVATION</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_SINGLE_ATTRIBUTE">
      <rm_attribute_name>data</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>HISTORY</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_MULTIPLE_ATTRIBUTE">
          <rm_attribute_name>events</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>EVENT</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>at0002</node_id>
            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
              <rm_attribute_name>data</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>ITEM_TREE</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>at0003</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>0</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>0</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_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="C_COMPLEX_OBJECT">
                    <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>0</lower>
                      <upper>1</upper>
                    </occurrences>
                    <node_id>at0010</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>0</lower>
                          <upper>1</upper>
                        </occurrences>
                        <node_id>at0011</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="C_COMPLEX_OBJECT">
                        <rm_type_name>ELEMENT</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>at0018</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="C_COMPLEX_OBJECT">
                        <rm_type_name>ELEMENT</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>at0005</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_CODED_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 />
                            <attributes xsi:type="C_SINGLE_ATTRIBUTE">
                              <rm_attribute_name>defining_code</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_CODE_PHRASE">
                                <rm_type_name>CODE_PHRASE</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 />
                                <terminology_id>
                                  <value>local</value>
                                </terminology_id>
                                <code_list>at0006</code_list>
                                <code_list>at0007</code_list>
                                <code_list>at0008</code_list>
                                <code_list>at0009</code_list>
                              </children>
                            </attributes>
                          </children>
                          <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="C_COMPLEX_OBJECT">
                        <rm_type_name>ELEMENT</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>at0012</node_id>
                      </children>
                      <cardinality>
                        <is_ordered>false</is_ordered>
                        <is_unique>false</is_unique>
                        <interval>
                          <lower_included>true</lower_included>
                          <lower_unbounded>false</lower_unbounded>
                          <upper_unbounded>true</upper_unbounded>
                          <lower>1</lower>
                        </interval>
                      </cardinality>
                    </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>at0013</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>at0014</node_id>
                    <includes>
                      <string_expression>archetype_id/value matches {/openEHR-EHR-CLUSTER\.change\.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\.change\.v1</pattern>
                          </item>
                          <reference_type>constraint</reference_type>
                        </right_operand>
                      </expression>
                    </includes>
                  </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>at0016</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>
                  <cardinality>
                    <is_ordered>false</is_ordered>
                    <is_unique>false</is_unique>
                    <interval>
                      <lower_included>true</lower_included>
                      <lower_unbounded>false</lower_unbounded>
                      <upper_unbounded>true</upper_unbounded>
                      <lower>0</lower>
                    </interval>
                  </cardinality>
                </attributes>
              </children>
            </attributes>
          </children>
          <cardinality>
            <is_ordered>false</is_ordered>
            <is_unique>false</is_unique>
            <interval>
              <lower_included>true</lower_included>
              <lower_unbounded>false</lower_unbounded>
              <upper_unbounded>true</upper_unbounded>
              <lower>1</lower>
            </interval>
          </cardinality>
        </attributes>
      </children>
    </attributes>
  </definition>
  <ontology>
    <term_definitions language="en">
      <items code="at0000">
        <items id="text">Substance use</items>
        <items id="description">The consumption of a specific substance or class of substances that may harm an individual's health or social well-being at a specific point or interval of time.</items>
      </items>
      <items code="at0001">
        <items id="text">Event Series</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0002">
        <items id="text">Any event</items>
        <items id="description">Default, unspecified point in time or interval which may be explicitly defined in a template or at run-time.</items>
      </items>
      <items code="at0003">
        <items id="text">Tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0004">
        <items id="text">Substance name</items>
        <items id="description">The name of the substance or class of substance.</items>
        <items id="comment">Coding with an external terminology is preferred, where possible.</items>
      </items>
      <items code="at0005">
        <items id="text">Pattern</items>
        <items id="description">The pattern of frequency of use of the specific substance.</items>
        <items id="comment">This element is repeatable to allow multiple ways of recording the pattern of use. The typical pattern of use can be made more granular by coding with a terminology or a local value set, or using the quantity data type, in a template.</items>
      </items>
      <items code="at0006">
        <items id="text">Daily use</items>
        <items id="description">Used every day.</items>
      </items>
      <items code="at0007">
        <items id="text">Weekly use</items>
        <items id="description">Used at least weekly.</items>
      </items>
      <items code="at0008">
        <items id="text">Irregular use</items>
        <items id="description">Used irregularly.</items>
      </items>
      <items code="at0009">
        <items id="text">No use</items>
        <items id="description">Not used at all.</items>
      </items>
      <items code="at0010">
        <items id="text">Consumption details</items>
        <items id="description">Details about the consumption of the substance.</items>
      </items>
      <items code="at0011">
        <items id="text">Form</items>
        <items id="description">Form of the substance used.</items>
      </items>
      <items code="at0012">
        <items id="text">Amount</items>
        <items id="description">Amount of substance consumed.  Data type can be further specified in specialised archetypes or in templates.</items>
      </items>
      <items code="at0013">
        <items id="text">Triggers</items>
        <items id="description">Identified triggers which stimulate or cause use.</items>
      </items>
      <items code="at0014">
        <items id="text">Readiness for change</items>
        <items id="description">Details about the readiness to change use or consumption of substance.</items>
      </items>
      <items code="at0016">
        <items id="text">Evidence of dependence</items>
        <items id="description">Description of any evidence of dependence on the substance.</items>
      </items>
      <items code="at0018">
        <items id="text">Route</items>
        <items id="description">The name of the route of administration of the specified substance.</items>
        <items id="comment">Coding with an external terminology is preferred, where possible.</items>
      </items>
    </term_definitions>
    <term_definitions language="pt-br">
      <items code="at0000">
        <items id="text">*Substance use (en)</items>
        <items id="description">*The consumption of a specific substance or class of substances that may harm an individual's health or social well-being at a specific point or interval of time. (en)</items>
      </items>
      <items code="at0001">
        <items id="text">Event Series</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0002">
        <items id="text">Qualquer evento</items>
        <items id="description">*Any event. (en)</items>
      </items>
      <items code="at0003">
        <items id="text">Tree</items>
        <items id="description">@ internal @</items>
      </items>
      <items code="at0004">
        <items id="text">*Substance name (en)</items>
        <items id="description">Identificação da substância</items>
      </items>
      <items code="at0005">
        <items id="text">*Pattern (en)</items>
        <items id="description">*The pattern of frequency of use of the specific substance. (en)</items>
        <items id="comment">*This element is repeatable to allow multiple ways of recording the pattern of use. The typical pattern of use can be made more granular by coding with a terminology or a local value set, or using the quantity data type, in a template. (en)</items>
      </items>
      <items code="at0006">
        <items id="text">Uso diário</items>
        <items id="description">*Used every day. (en)</items>
      </items>
      <items code="at0007">
        <items id="text">Uso semanal</items>
        <items id="description">*Used at least weekly. (en)</items>
      </items>
      <items code="at0008">
        <items id="text">Uso irregular</items>
        <items id="description">*Used irregularly. (en)</items>
      </items>
      <items code="at0009">
        <items id="text">Sem uso</items>
        <items id="description">*Not used at all. (en)</items>
      </items>
      <items code="at0010">
        <items id="text">Detalhes do consumo</items>
        <items id="description">*Details about the consumption of the substance. (en)</items>
      </items>
      <items code="at0011">
        <items id="text">Forma</items>
        <items id="description">*Form of the substance used. (en)</items>
      </items>
      <items code="at0012">
        <items id="text">Quantidade</items>
        <items id="description">*Amount of substance consumed.  Data type can be further specified in specialised archetypes or in templates. (en)</items>
      </items>
      <items code="at0013">
        <items id="text">Gatilhos</items>
        <items id="description">*Identified triggers which stimulate or cause use. (en)</items>
      </items>
      <items code="at0014">
        <items id="text">Disponibilidade para mudança</items>
        <items id="description">*Details about the readiness to change use or consumption of substance. (en)</items>
      </items>
      <items code="at0016">
        <items id="text">Evidência de dependência</items>
        <items id="description">*Description of any evidence of dependence on the substance. (en)</items>
      </items>
      <items code="at0018">
        <items id="text">*Route (en)</items>
        <items id="description">Método de uso ou consumo da substância</items>
        <items id="comment">*Coding with an external terminology is preferred, where possible. (en)</items>
      </items>
    </term_definitions>
    <term_definitions language="ar-sy">
      <items code="at0000">
        <items id="text">*Substance use (en)</items>
        <items id="description">*The consumption of a specific substance or class of substances that may harm an individual's health or social well-being at a specific point or interval of time. (en)</items>
      </items>
      <items code="at0001">
        <items id="text">سلسلة الوقائع</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0002">
        <items id="text">إحدى الوقائع</items>
        <items id="description">*Any event. (en)</items>
      </items>
      <items code="at0003">
        <items id="text">شجرة</items>
        <items id="description">*@ internal @(en)</items>
      </items>
      <items code="at0004">
        <items id="text">*Substance name (en)</items>
        <items id="description">تعريف المادة</items>
      </items>
      <items code="at0005">
        <items id="text">*Pattern (en)</items>
        <items id="description">*The pattern of frequency of use of the specific substance. (en)</items>
        <items id="comment">*This element is repeatable to allow multiple ways of recording the pattern of use. The typical pattern of use can be made more granular by coding with a terminology or a local value set, or using the quantity data type, in a template. (en)</items>
      </items>
      <items code="at0006">
        <items id="text">استخدام يومي</items>
        <items id="description">*Used every day. (en)</items>
      </items>
      <items code="at0007">
        <items id="text">استخدام أسبوعي</items>
        <items id="description">*Used at least weekly. (en)</items>
      </items>
      <items code="at0008">
        <items id="text">استخدام غير منتظم</items>
        <items id="description">*Used irregularly. (en)</items>
      </items>
      <items code="at0009">
        <items id="text">لا يتم الاستخدام</items>
        <items id="description">*Not used at all. (en)</items>
      </items>
      <items code="at0010">
        <items id="text">تفاصيل الاستهلاك</items>
        <items id="description">*Details about the consumption of the substance. (en)</items>
      </items>
      <items code="at0011">
        <items id="text">الشكل</items>
        <items id="description">*Form of the substance used. (en)</items>
      </items>
      <items code="at0012">
        <items id="text">الكمية</items>
        <items id="description">*Amount of substance consumed.  Data type can be further specified in specialised archetypes or in templates. (en)</items>
      </items>
      <items code="at0013">
        <items id="text">المثيرات - المحفزات</items>
        <items id="description">*Identified triggers which stimulate or cause use. (en)</items>
      </items>
      <items code="at0014">
        <items id="text">عنقود - الاستعداد للتغيير</items>
        <items id="description">*Details about the readiness to change use or consumption of substance. (en)</items>
      </items>
      <items code="at0016">
        <items id="text">البينة على الاعتماد</items>
        <items id="description">*Description of any evidence of dependence on the substance. (en)</items>
      </items>
      <items code="at0018">
        <items id="text">*Route (en)</items>
        <items id="description">طريقة استخدام أو استهلاك المادة</items>
        <items id="comment">*Coding with an external terminology is preferred, where possible. (en)</items>
      </items>
    </term_definitions>
  </ontology>
</archetype>
