This document describes the format of the @ONTOLOGY action tag parameter (a JSON string).
The format is minimal, with a single dataElement object.
A radio field, Education Level, with three options.
@ONTOLOGY=
{
"dataElement": {
"coding": [
{
"system": "http://loinc.org",
"code": "82589-3",
"display": "Highest level of education"
},
{
"system": "https://snomed.info/sct",
"code": "276031006",
"display": "Details of education (observable entity)"
}
],
"valueCodingMap": {
"1": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "410594000",
"display": "No formal education"
}
]
},
"2": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "289131004",
"display": "Completed secondary education"
}
]
},
"3": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "229710002",
"display": "Completed higher education"
}
]
}
}
}
}A text field with email validation:
{
"dataElement": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "424966008",
"display": "Patient email address"
}
]
}
}A numerical data type (height) with a unit
{
"dataElement": {
"unit": {
"coding": [
{
"system": "http://unitsofmeasure.org",
"code": "cm",
"display": "Zentimeter"
}
]
},
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "Body height"
}
]
}
}