Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sasurfer/5f97f7fcfc532268179cb7987e6fb807 to your computer and use it in GitHub Desktop.
Save sasurfer/5f97f7fcfc532268179cb7987e6fb807 to your computer and use it in GitHub Desktop.
openEHR-EHR-EVALUATION.problem_diagnosis-sus.v1.adl
archetype (adl_version=1.4)
openEHR-EHR-EVALUATION.problem_diagnosis-sus.v1
specialize
openEHR-EHR-EVALUATION.problem_diagnosis.v1
concept
[at0000.1] -- Problema
language
original_language = <[ISO_639-1::en]>
translations = <
["pt-br"] = <
language = <[ISO_639-1::pt-br]>
author = <
["organisation"] = <"P2D">
["name"] = <"Sergio Miranda Freire">
["email"] = <"sergio@lampada.uerj.br">
>
>
>
description
original_author = <
["name"] = <"Sergio Miranda Freire">
["organisation"] = <"Universidade do Estado do Rio de Janeiro">
["email"] = <"sergio@lampada.uerj.br">
["date"] = <"2013-03-06">
>
details = <
["en"] = <
language = <[ISO_639-1::en]>
purpose = <"To register some variables used in the Brazilian Health Care System. Archetype should be used only for research use.">
keywords = <"">
misuse = <"">
copyright = <"">
>
["pt-br"] = <
language = <[ISO_639-1::pt-br]>
purpose = <"Para registrar algumas variáveis usadas no Sistema Único de Saúde do Brasil. Arquétipo para finalidades de pesquisa somente.">
keywords = <"">
misuse = <"">
copyright = <"">
>
>
lifecycle_state = <"AuthorDraft">
other_contributors = <"">
other_details = <>
definition
EVALUATION[at0000.1] matches { -- Problema
data matches {
ITEM_TREE[at0001] matches { -- estrutura
items cardinality matches {1..*; ordered} matches {
ELEMENT[at0002.1] matches { -- ! - Problema
value matches {
DV_CODED_TEXT matches {
defining_code matches {[ac0.3]} -- código do diagnóstico primário
}
}
}
ELEMENT[at0.1] occurrences matches {0..1} matches { -- Diagnóstico secundário
value matches {
DV_CODED_TEXT matches {
defining_code matches {[ac0.1]} -- código do diagnóstico secundário
}
}
}
ELEMENT[at0.2] occurrences matches {0..1} matches { -- Causas associadas
value matches {
DV_CODED_TEXT matches {
defining_code matches {[ac0.2]} -- código das causas associadas
}
}
}
ELEMENT[at0.3] occurrences matches {0..1} matches { -- Metástase
value matches {
DV_BOOLEAN matches {
value matches {True, False}
}
}
}
ELEMENT[at0.4] occurrences matches {0..1} matches { -- Linfonodos regionais invadidos
value matches {
DV_BOOLEAN matches {
value matches {True, False}
}
}
}
ELEMENT[at0009] occurrences matches {0..1} matches { -- Descrição Clinica
value matches {
DV_TEXT matches {*}
}
}
ELEMENT[at0005] occurrences matches {0..1} matches { -- Gravidade
value matches {
DV_CODED_TEXT matches {
defining_code matches {[local::]}
}
}
}
ELEMENT[at0003] occurrences matches {0..1} matches { -- Data de começo inicial
value matches {
DV_DATE_TIME matches {
value matches {yyyy-mm-ddTHH:MM:SS}
}
}
}
ELEMENT[at0004] occurrences matches {0..1} matches { -- A idade de começo inicial
value matches {
DV_DURATION matches {*}
}
}
ELEMENT[at0012] occurrences matches {0..1} matches { -- Local do corpo
value matches {
DV_TEXT matches {*}
}
}
allow_archetype CLUSTER[at0039] occurrences matches {0..1} matches { -- localização anatômica
include
archetype_id/value matches {/openEHR-EHR-CLUSTER\.anatomical_location(-[a-zA-Z0-9_]+)*\.v1/}
}
CLUSTER[at0018] occurrences matches {0..1} matches { -- Ocorrências ou exacerbações
items cardinality matches {1..*; ordered} matches {
ELEMENT[at0019] occurrences matches {0..1} matches { -- Frequência de recorrência
value matches {
C_DV_QUANTITY <
property = <[openehr::382]>
list = <
["1"] = <
units = <"/min">
>
["2"] = <
units = <"/h">
magnitude = <|>=0.0|>
>
["3"] = <
units = <"/d">
magnitude = <|>=0.0|>
>
["4"] = <
units = <"/wk">
magnitude = <|>=0.0|>
>
["5"] = <
units = <"/mo">
magnitude = <|>=0.0|>
>
["6"] = <
units = <"/yr">
magnitude = <|>=0.0|>
>
>
>
}
}
ELEMENT[at0020] occurrences matches {0..1} matches { -- Data da última ocorrência
value matches {
DV_DATE_TIME matches {
value matches {yyyy-mm-ddTHH:MM:SS}
}
}
}
ELEMENT[at0025] occurrences matches {0..1} matches { -- Número de ocorrências
value matches {
DV_COUNT matches {
magnitude matches {|>=1|}
}
}
}
ELEMENT[at0022] occurrences matches {0..1} matches { -- Descrição clínica
value matches {
DV_TEXT matches {*}
}
}
}
}
CLUSTER[at0027] occurrences matches {0..*} matches { -- Problema relacionado
items cardinality matches {1..*; unordered} matches {
ELEMENT[at0029] occurrences matches {0..1} matches { -- Descrição clínica
value matches {
DV_CODED_TEXT matches {
defining_code matches {
[local::
at0040, -- *Caused by(en)
at0041] -- *Following(en)
}
}
}
}
ELEMENT[at0028] occurrences matches {0..1} matches { -- Problema relacionado
value matches {
DV_TEXT matches {*}
DV_URI matches {*}
}
}
ELEMENT[at0044] occurrences matches {0..1} matches { -- *New element(en)
value matches {
DV_TEXT matches {*}
}
}
}
}
ELEMENT[at0030] occurrences matches {0..1} matches { -- Data da resolução
value matches {
DV_DATE matches {*}
}
}
ELEMENT[at0031] occurrences matches {0..1} matches { -- Idade na resolução
value matches {
DV_DURATION matches {*}
}
}
allow_archetype CLUSTER[at0042] occurrences matches {0..1} matches { -- *Cluster(en)
include
archetype_id/value matches {/.*/}
}
allow_archetype CLUSTER[at0043.1] occurrences matches {0..*} matches { -- ! - Staging
include
archetype_id/value matches {/.*/}
exclude
archetype_id/value matches {/openEHR-EHR-CLUSTER\.tnm_staging-sus(-[a-zA-Z0-9_]+)*\.v1|openEHR-EHR-CLUSTER\.tnm_staging(-[a-zA-Z0-9_]+)*\.v1/}
}
}
}
}
protocol matches {
ITEM_TREE[at0032] matches { -- Árvore
items cardinality matches {0..*; unordered} matches {
ELEMENT[at0035] occurrences matches {0..*} matches { -- Web link
value matches {
DV_EHR_URI matches {*}
}
}
allow_archetype CLUSTER[at0046] occurrences matches {0..*} matches {
include
archetype_id/value matches {/.*/}
}
}
}
}
}
ontology
term_definitions = <
["en"] = <
items = <
["at0.1"] = <
text = <"Secondary Diagnosis">
description = <"Secondary Diagnosis">
>
["at0.2"] = <
text = <"Associated causes">
description = <"Associated causes">
>
["at0.3"] = <
text = <"Metastasis">
description = <"Metastasis">
>
["at0.4"] = <
text = <"Invaded regional linphonodes">
description = <"Invaded regional linphonodes">
>
["at0000.1"] = <
text = <"Problem/Diagnosis">
description = <"An issue or obstacle which adversely impacts on the physical, mental and/or social well-being of an individual. The definition of a problem is deliberately kept rather loose and inclusive of a formal biomedical diagnosis so as to capture any real or perceived concerns that may adversely affect an individual's wellbeing to any degree.">
>
["at0001"] = <
text = <"structure">
description = <"">
>
["at0002"] = <
text = <"Problem/Diagnosis">
description = <"Identification of the index problem, issue or diagnosis.">
>
["at0002.1"] = <
text = <"Problem">
description = <"Identification of the problem">
>
["at0003"] = <
text = <"Date of Onset">
description = <"The date / time when the problem was first identified by the individual.">
>
["at0004"] = <
text = <"Age at Onset">
description = <"The age of the individual when the problem was first identified by the individual.">
>
["at0005"] = <
description = <"The assessed overall severity of the index problem.">
text = <"Severity">
comment = <" Coding of the severity with a terminology is preferred, where possible.">
>
["at0009"] = <
text = <"Description">
description = <"A narrative description of the issue, problem or diagnosis.">
>
["at0012"] = <
text = <"Body Site">
description = <"The body site affected.">
>
["at0018"] = <
text = <"Previous Occurrences">
description = <"Grouping of information about individual occurrences or exacerbations.">
>
["at0019"] = <
text = <"Frequency">
description = <"The frequency of individual occurrences of the problem.">
>
["at0020"] = <
text = <"Date of last Occurrence">
description = <"The date / time of the last occurrence of the problem.">
>
["at0022"] = <
text = <"Description">
description = <"A description of the exacerbation or occurrence.">
>
["at0025"] = <
text = <"Number">
description = <"Number of times this problem has occurred or been apparent.">
>
["at0027"] = <
text = <"Related Item">
description = <"A group of characteristics of the problem complicating the index problem.">
>
["at0028"] = <
text = <"Item">
description = <"Identification of a related problem as text,coded text or link within the EHR.">
>
["at0029"] = <
text = <"Relationship Type">
description = <"The type of relationship that this problem/diagnosis has to the related item.">
>
["at0030"] = <
text = <"Date of Resolution">
description = <"The date that the problem resolved or went into remission.">
>
["at0031"] = <
text = <"Age at Resolution">
description = <"The age of the person at the resolution of the problem.">
>
["at0032"] = <
text = <"Tree">
description = <"@ internal @">
>
["at0035"] = <
text = <"Supporting clinical evidence">
description = <"Useful information on the internet about this condition.">
>
["at0039"] = <
text = <"Body Site Details">
description = <"Details of the body site concerned.">
>
["at0040"] = <
text = <"Caused by">
description = <"This concept identifies the direct cause or causative agent of a Problem/Diagnosis. The concept includes the idea of ‘complications’, ‘causative agent’ and ‘due to’. Note: Where no causality or sequence of events is known, this relationship type should be left blank.">
>
["at0041"] = <
text = <"Following">
description = <"This value identifies the sequence of events between the related items, but does not assert causality. This can be used for sequelae or late effects. Note: Where no causality or sequence of events is known, this relationship type should be left blank.">
>
["at0042"] = <
text = <"Diagnostic Criteria">
description = <"The criteria on which the problem/diagnosis is based.">
>
["at0043"] = <
text = <"Clinical Stage/Grade">
description = <"Clinical stage or grade of a problem/diagnosis. Note: May include formal severity assessments.">
>
["at0043.1"] = <
text = <"Staging">
description = <"">
>
["at0044"] = <
text = <"Description">
description = <"A narrative description of the related item.">
>
["at0046"] = <
text = <"Status">
description = <"Descriptor for context- or use-case specific label or workflow-related aspect of the diagnostic process which may not be safe to exchange between systems or use in a shared environment. Examples include: active/inactive; primary/secondary; preliminary/provisional/working/final.">
>
>
>
["pt-br"] = <
items = <
["at0.1"] = <
text = <"Diagnóstico secundário">
description = <"*">
>
["at0.2"] = <
text = <"Causas associadas">
description = <"*">
>
["at0.3"] = <
text = <"Metástase">
description = <"*">
>
["at0.4"] = <
text = <"Linfonodos regionais invadidos">
description = <"*">
>
["at0000.1"] = <
text = <"Problema">
description = <"Um caso ou obstáculo que tenha impactos sobre o bem estar físico, mental e/ou social de um indivíduo">
>
["at0001"] = <
text = <"Estrutura">
description = <"@ internal @">
>
["at0002"] = <
text = <"Problema">
description = <"Identificação dos indicadores do problema">
>
["at0002.1"] = <
text = <"Problema">
description = <"Identificação dos indicadores do problema">
>
["at0003"] = <
text = <"Data de começo inicial">
description = <"A data de quando o problema foi identificado pela primeira vez pelo indivíduo.">
>
["at0004"] = <
text = <"A idade de começo inicial">
description = <"A idade do indivíduo quando o problema foi identificado pela primeira vez pelo indivíduo.">
>
["at0005"] = <
text = <"Gravidade">
description = <"A avaliação global da gravidade dos indicadores problema.">
>
["at0009"] = <
text = <"Descrição Clinica">
description = <"Descrição dos aspectos clínicos do problema.">
>
["at0012"] = <
text = <"Local do corpo">
description = <"O local do corpo afetado.">
>
["at0018"] = <
text = <"Ocorrências ou exacerbações">
description = <"Agrupamento de informações sobre ocorrências individuais ou exacerbações.">
>
["at0019"] = <
text = <"Frequência de recorrência">
description = <"A frequência de ocorrências individuais do problema.">
>
["at0020"] = <
text = <"Data da última ocorrência">
description = <"A data da última ocorrência do problema.">
>
["at0022"] = <
text = <"Descrição clínica">
description = <"Uma descrição da exacerbação ou ocorrência.">
>
["at0025"] = <
text = <"Número de ocorrências">
description = <"Número de vezes que este problema ocorreu ou foi aparente.">
>
["at0027"] = <
text = <"Problema relacionado">
description = <"Um grupo de características do problema complicando os indicadores do problema.">
>
["at0028"] = <
text = <"Problema relacionado">
description = <"dentificação textual de um problema relacionado, texto codificado ou link dentro do RES.">
>
["at0029"] = <
text = <"Descrição clínica">
description = <"Decription do problema relacionado.">
>
["at0030"] = <
text = <"Data da resolução">
description = <"A data em que o problema resolvido ou entrou em remissão.">
>
["at0031"] = <
text = <"Idade na resolução">
description = <"A idade da pessoa com a resolução do problema.">
>
["at0032"] = <
text = <"Árvore">
description = <"@ internal @">
>
["at0035"] = <
text = <"Web link">
description = <"Informações úteis na internet sobre essa condição.">
>
["at0039"] = <
text = <"Localização anatômica">
description = <"">
>
["at0040"] = <
text = <"Causado por">
description = <"*This concept identifies the direct cause or causative agent of a Problem/Diagnosis. The concept includes the idea of ‘complications’, ‘causative agent’ and ‘due to’. Note: Where no causality or sequence of events is known, this relationship type should be left blank.(en)">
>
["at0041"] = <
text = <"Seguinte">
description = <"*his value identifies the sequence of events between the related items, but does not assert causality. This can be used for sequelae or late effects. Note: Where no causality or sequence of events is known, this relationship type should be left blank.(en)">
>
["at0042"] = <
text = <"Critério diagnóstico">
description = <"">
>
["at0043"] = <
text = <"Estágio/Gradação Clínica">
description = <"">
>
["at0043.1"] = <
text = <"Estadiamento">
description = <"">
>
["at0044"] = <
text = <"Descrição">
description = <"">
>
["at0046"] = <
text = <"Status">
description = <"">
>
>
>
>
constraint_definitions = <
["en"] = <
items = <
["ac0.1"] = <
text = <"code for the secondary diagnosis">
description = <"code for the secondary diagnosis">
>
["ac0.2"] = <
text = <"code for the associated causes">
description = <"code for the associated causes">
>
["ac0.3"] = <
text = <"code for the problem/diagnosis">
description = <"code for the problem/diagnosis">
>
>
>
["pt-br"] = <
items = <
["ac0.1"] = <
text = <"código do diagnóstico secundário">
description = <"código do diagnóstico secundário">
>
["ac0.2"] = <
text = <"código das causas associadas">
description = <"código das causas associadas">
>
["ac0.3"] = <
text = <"código do diagnóstico primário">
description = <"código do diagnóstico primário">
>
>
>
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment