Context Information
To simplify the input, the flat formate offers the option to set context values which set default values in the rm-tree.
{
"ctx/language": "de",
"ctx/territory": "US",
"ctx/time": "2021-04-01T12:40:31.418954+02:00",
"ctx/composer_name": "Silvia Blake",
"ctx/composer_id": "123",
"ctx/id_namespace": "HOSPITAL-NS",
"ctx/id_scheme": "HOSPITAL-NS",
"ctx/work_flow_id|id": "567",
"ctx/work_flow_id|id_scheme": "HOSPITAL-NS",
"ctx/work_flow_id|namespace": "HOSPITAL-NS",
"ctx/work_flow_id|type": "ORGANISATION",
"ctx/participation_name:0": "Dr. Marcus Johnson",
"ctx/participation_function:0": "requester",
"ctx/participation_mode:0": "face-to-face communication",
"ctx/participation_id:0": "199",
"ctx/participation_identifiers:0": "issuer1::assigner1::id1::PERSON;issuer2::assigner2::id2::PERSON",
"ctx/participation_name:1": "Lara Markham",
"ctx/participation_function:1": "performer",
"ctx/participation_id:1": "198",
"ctx/participation_identifiers:1|issuer:0": "issuer3",
"ctx/participation_identifiers:1|assigner:0": "assigner3",
"ctx/participation_identifiers:1|id:0": "id3",
"ctx/participation_identifiers:1|type:0": "PERSON",
"ctx/participation_identifiers:1|issuer:1": "issuer4",
"ctx/participation_identifiers:1|assigner:1": "assigner4",
"ctx/participation_identifiers:1|id:1": "id4",
"ctx/participation_identifiers:1|type:1": "PERSON",
"ctx/health_care_facility|name": "Hospital",
"ctx/health_care_facility|id": "9091"
}
Composer
{
"ctx/composer_name": "Silvia Blake",
"ctx/composer_id": "123",
"ctx/id_namespace": "HOSPITAL-NS",
"ctx/id_scheme": "HOSPITAL-NS"
}
{
"ctx/composer_self": true,
"ctx/composer_id": "123",
"ctx/id_namespace": "HOSPITAL-NS",
"ctx/id_scheme": "HOSPITAL-NS"
}
-
composer_name: sets composer to party identified and sets the name -
composer_self: sets composer to party_self -
composer_id: sets composerexternal_ref.id.valueand sets it to party identified unless composer_self is set to true
ID Namespace and Scheme
{
"ctx/composer_id": "123",
"ctx/id_namespace": "HOSPITAL-NS",
"ctx/id_scheme": "HOSPITAL-NS"
}
-
id_namespace: default namespace for external references:OBJECT_REF.namespace -
id_scheme: default scheme for external references:OBJECT_REF.id.scheme
Language and Territory
{
"ctx/language": "de",
"ctx/territory": "US"
}
-
language: set the default language forENTRY.language&&COMPOSITION.language -
territory: set the default territory forCOMPOSITION.territory
Workflow ID
{
"ctx/work_flow_id|id": "567",
"ctx/work_flow_id|id_scheme": "HOSPITAL-NS",
"ctx/work_flow_id|namespace": "HOSPITAL-NS",
"ctx/work_flow_id|type": "ORGANISATION"
}
-
set the default for
ENTRY.workflow_id -
work_flow_id|id_schemecan be left out ifctx/id_schemeis set -
work_flow_id|namespacecan be left out ifctx/namespaceis set
Participation
{
"ctx/participation_name:0": "Dr. Marcus Johnson",
"ctx/participation_function:0": "requester",
"ctx/participation_mode:0": "face-to-face communication",
"ctx/participation_id:0": "199",
"ctx/participation_identifiers:0": "issuer1::assigner1::id1::PERSON;issuer2::assigner2::id2::PERSON",
"ctx/participation_name:1": "Lara Markham",
"ctx/participation_function:1": "performer",
"ctx/participation_id:1": "198",
"ctx/participation_identifiers:1|issuer:0": "issuer3",
"ctx/participation_identifiers:1|assigner:0": "assigner3",
"ctx/participation_identifiers:1|id:0": "id3",
"ctx/participation_identifiers:1|type:0": "PERSON",
"ctx/participation_identifiers:1|issuer:1": "issuer4",
"ctx/participation_identifiers:1|assigner:1": "assigner4",
"ctx/participation_identifiers:1|id:1": "id4",
"ctx/participation_identifiers:1|type:1": "PERSON"
}
-
sets the default for
EVENT_CONTEXT.participationsandENTRY.other_participations -
participation_identifierscan be set in a compact or non compat form.
health_care_facility
{
"ctx/health_care_facility|name": "Hospital",
"ctx/health_care_facility|id": "9091",
"ctx/id_namespace": "HOSPITAL-NS",
"ctx/id_scheme": "HOSPITAL-NS"
}
set the default for COMPOSITION.context.health_care_facility
time
{
"ctx/time": "2021-04-01T12:40:31.418954+02:00"
}
-
set the default time for
ACTION.time,COMPOSITION.context.start_time,OBSERVATION.history.origin -
EVENT.timewill be set to history.origin (plus offset if set to a minimum in the template) -
ctx/timewill be set tonow()if not set explicitly
end_time
{
"ctx/end_time": "2021-05-01T12:40:31.418954+02:00"
}
-
set the default time
COMPOSITION.context.end_time
history_origin
{
"ctx/history_origin": "2021-05-01T12:40:31.418954+02:00"
}
-
set the default time for
OBSERVATION.history.origin -
EVENT.timewill be set to history.origin (plus offset if set to a minimum in the template)
action_time
{
"ctx/action_time": "2021-05-01T12:40:31.418954+02:00"
}
-
set the default time for
ACTION.time
activity_timing
{
"ctx/activity_timing": "R4/2022-01-31T10:00:00+01:00/P3M"
}
-
set the default for
ACTIVITY.timing
provider
{
"ctx/provider_name": "Silvia Blake",
"ctx/provider_id": "123",
"ctx/id_namespace": "HOSPITAL-NS",
"ctx/id_scheme": "HOSPITAL-NS"
}
-
set the default
PARTY_IDENTIFIEDforENTRY.provider
action_ism_transition_current_state
{
"ctx/action_ism_transition_current_state": "completed"
}
{
"ctx/action_ism_transition_current_state": "532"
}
-
set the default for
ACTION.ism_transition.current_state -
either value or code is accepted
instruction_narrative
{
"ctx/instruction_narrative": "Human readable instruction narrative"
}
-
set the default for
INSTRUCTION.narrative
location
{
"ctx/location": "Lab B2"
}
-
set the default for
COMPOSITION.context.location
setting
{
"ctx/setting": "other care"
}
{
"ctx/setting": "238"
}
-
set the default for
COMPOSITION.context.setting -
either value or code is accepted
-
ctx/settingwill be set to "other care" if not set explicitly
link
{
"ctx/link:0|type": "problem",
"ctx/link:0|meaning": "problem related note",
"ctx/link:0|target": "ehr://ehr.network/347a5490-55ee-4da9-b91a-9bba710f730e"
}
-
set the default for
LOCATABLE.links