Skip to content

Instantly share code, notes, and snippets.

@freshehr
Created April 9, 2024 13:14
Show Gist options
  • Save freshehr/7f33e3621812b5ae6ca99edbbdab3332 to your computer and use it in GitHub Desktop.
Save freshehr/7f33e3621812b5ae6ca99edbbdab3332 to your computer and use it in GitHub Desktop.
Example of openEHR term mappings
{
"archetype_node_id": "at0011",
"_type": "ELEMENT",
"name": {
"_type": "DV_TEXT",
"value": "Phenotype",
"mappings": [
{
"_type": "TERM_MAPPING",
"match": "=",
"purpose": "reference",
"target": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "http://snomed.info/sct"
},
"code_string": "8116006",
"preferred_term": "Phenotype finding"
}
},
{
"_type": "TERM_MAPPING",
"match": "=",
"purpose": "reference",
"target": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "http:/loinc.org"
},
"code_string": "LA25390-8",
"preferred_term": "Associated phenotype"
}
}
]
},
"value": {
"_type": "DV_CODED_TEXT",
"value": "Rapid metaboliser",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "local"
}
},
"code_string": "at0054"
},
"mappings": [
{
"_type": "TERM_MAPPING",
"match": "=",
"purpose": "reference",
"target": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "http://snomed.info/sct"
},
"code_string": "3341000181107",
"preferred_term": "Rapid metaboliser"
}
},
{
"_type": "TERM_MAPPING",
"match": "=",
"purpose": "reference",
"target": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "http:/loinc.org"
},
"code_string": "LA25390-8",
"preferred_term": "Rapid metaboliser"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment