-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from SevKohler/adverse_reaction_risk
added three new mappings, corrected tabacco
- Loading branch information
Showing
4 changed files
with
105 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
archetype_id: "openEHR-EHR-EVALUATION.adverse_reaction_risk.v1" | ||
|
||
mappings: | ||
- type: "Observation" | ||
concept_id: | ||
alternatives: | ||
- code: 35626089 #SNOMED Abnormal immune process (qualifier value) | ||
observation_date: | ||
alternatives: | ||
- path: "/data[at0001]/items[at0027]" #onset of reaction | ||
- path: "../context" | ||
value: | ||
alternatives: | ||
- path: "/data[at0001]/items[at0002]" # Substance, mandatory since the WHAT is essential here | ||
unit: | ||
optional: true | ||
alternatives: | ||
- path: "/data[at0001]/items[at0058]" # type of immune reaction | ||
qualifier: | ||
alternatives: | ||
- path: "/data[at0001]/items[at0063]" # status, enforce since could be refuted | ||
|
35 changes: 35 additions & 0 deletions
35
medical_data/evaluation/alcohol_consumption_summary_v1.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
archetype_id: "openEHR-EHR-EVALUATION.alcohol_consumption_summary.v1" | ||
|
||
mappings: | ||
- type: "Observation" | ||
concept_id: | ||
alternatives: | ||
- code: 4042860 # Finding relating to alcohol drinking behavior (finding) | ||
observation_date: | ||
alternatives: | ||
- path: "../context" | ||
value: | ||
alternatives: | ||
- path: "/data[at0001]/items[at0089]" # overall status | ||
|
||
- type: "Observation" | ||
concept_id: | ||
alternatives: | ||
- code: 619635 # Alcoholic drink intake | ||
observation_date: | ||
alternatives: | ||
- path: "../context" | ||
value: | ||
alternatives: &valueAlternatives1 | ||
- path: "/data[at0001]/items[at0064]/items[at0023]" # Typical consumption (alcohol units) | ||
unit: | ||
alternatives: | ||
- path: *valueAlternatives1 | ||
|
||
- type: "Observation" | ||
concept_id: | ||
alternatives: | ||
- code: 4052945 # Stopped drinking alcohol (finding) | ||
observation_date: | ||
alternatives: | ||
- path: "/data[at0001]/items[at0016]" # overall quit date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
archetype_id: "openEHR-EHR-OBSERVATION.head_circumference.v1" | ||
|
||
mappings: | ||
- type: "Measurement" | ||
concept_id: | ||
alternatives: | ||
- code: 4181669 | ||
measurement_date: | ||
alternatives: | ||
- path: "data[at0001]/events[at0006]" | ||
value: | ||
alternatives: &valueAlternatives1 | ||
- path: "/data[at0001]/events[at0010]/data[at0003]/items[at0004]" | ||
unit: | ||
alternatives: | ||
- path: *valueAlternatives1 | ||
range_low: | ||
optional: true | ||
alternatives: *valueAlternatives1 | ||
range_high: | ||
optional: true | ||
alternatives: *valueAlternatives1 | ||
operator_concept_id: | ||
optional: true | ||
alternatives: *valueAlternatives1 |