Skip to content

Instantly share code, notes, and snippets.

@skoba
Created September 26, 2020 04:41
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 skoba/cca9f69004a229e5922a0e3e73dca53e to your computer and use it in GitHub Desktop.
Save skoba/cca9f69004a229e5922a0e3e73dca53e to your computer and use it in GitHub Desktop.
JSON Instance for symptom_screening OPT
{
"name": {
"_type": "DV_TEXT",
"value": "Health summary"
},
"archetype_details": {
"_type": "ARCHETYPED",
"archetype_id": {
"_type": "ARCHETYPE_ID",
"value": "openEHR-EHR-COMPOSITION.health_summary.v1"
},
"template_id": {
"_type": "TEMPLATE_ID",
"value": "symptom_screening"
},
"rm_version": "1.0.4"
},
"archetype_node_id": "openEHR-EHR-COMPOSITION.health_summary.v1",
"language": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "ISO_639-1"
},
"code_string": "en"
},
"territory": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "ISO_3166-1"
},
"code_string": "JP"
},
"category": {
"_type": "DV_CODED_TEXT",
"value": "event",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "433"
}
},
"composer": {
"_type": "PARTY_IDENTIFIED",
"name": "Shinji Kobayashi"
},
"context": {
"_type": "EVENT_CONTEXT",
"start_time": {
"_type": "DV_DATE_TIME",
"value": "2020-09-22T16:18:51.481222+02:00"
},
"setting": {
"_type": "DV_CODED_TEXT",
"value": "other care",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "238"
}
},
"health_care_facility": {
"_type": "PARTY_IDENTIFIED",
"external_ref": {
"_type": "PARTY_REF",
"id": {
"_type": "GENERIC_ID",
"value": "9091",
"scheme": "Wako Hospital"
},
"namespace": "Wako hospital",
"type": "PARTY"
},
"name": "Wako Hospital"
},
"participations": [
{
"_type": "PARTICIPATION",
"function": {
"_type": "DV_TEXT",
"value": "requester"
},
"performer": {
"_type": "PARTY_IDENTIFIED",
"external_ref": {
"_type": "PARTY_REF",
"id": {
"_type": "GENERIC_ID",
"value": "199",
"scheme": "Wako Hospital"
},
"namespace": "Wako hospital",
"type": "ANY"
},
"name": "Dr. Shinji Kobayashi"
},
"mode": {
"_type": "DV_CODED_TEXT",
"value": "face-to-face communication",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "216"
}
}
},
{
"_type": "PARTICIPATION",
"function": {
"_type": "DV_TEXT",
"value": "performer"
},
"performer": {
"_type": "PARTY_IDENTIFIED",
"external_ref": {
"_type": "PARTY_REF",
"id": {
"_type": "GENERIC_ID",
"value": "198",
"scheme": "Wako Hospital"
},
"namespace": "Wako hospital",
"type": "ANY"
},
"name": "Nurse 1"
},
"mode": {
"_type": "DV_CODED_TEXT",
"value": "not specified",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "193"
}
}
}
]
},
"content": [
{
"_type": "OBSERVATION",
"name": {
"_type": "DV_TEXT",
"value": "Story/History"
},
"archetype_details": {
"_type": "ARCHETYPED",
"archetype_id": {
"_type": "ARCHETYPE_ID",
"value": "openEHR-EHR-OBSERVATION.story.v1"
},
"rm_version": "1.0.4"
},
"archetype_node_id": "openEHR-EHR-OBSERVATION.story.v1",
"language": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "ISO_639-1"
},
"code_string": "ja"
},
"encoding": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "IANA_character-sets"
},
"code_string": "UTF-8"
},
"subject": {
"_type": "PARTY_SELF"
},
"other_participations": [
{
"_type": "PARTICIPATION",
"function": {
"_type": "DV_TEXT",
"value": "requester"
},
"performer": {
"_type": "PARTY_IDENTIFIED",
"external_ref": {
"_type": "PARTY_REF",
"id": {
"_type": "GENERIC_ID",
"value": "199",
"scheme": "Wako Hospital"
},
"namespace": "Wako hospital",
"type": "ANY"
},
"name": "Dr. Shinji Kobayashi"
},
"mode": {
"_type": "DV_CODED_TEXT",
"value": "face-to-face communication",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "216"
}
}
},
{
"_type": "PARTICIPATION",
"function": {
"_type": "DV_TEXT",
"value": "performer"
},
"performer": {
"_type": "PARTY_IDENTIFIED",
"external_ref": {
"_type": "PARTY_REF",
"id": {
"_type": "GENERIC_ID",
"value": "198",
"scheme": "Wako Hospital"
},
"namespace": "Wako hospital",
"type": "ANY"
},
"name": "Nurse 1"
},
"mode": {
"_type": "DV_CODED_TEXT",
"value": "not specified",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "193"
}
}
}
],
"data": {
"_type": "HISTORY",
"name": {
"_type": "DV_TEXT",
"value": "Event Series"
},
"archetype_node_id": "at0001",
"origin": {
"_type": "DV_DATE_TIME",
"value": "2020-09-22T16:18:51.481222+02:00"
},
"events": [
{
"_type": "POINT_EVENT",
"name": {
"_type": "DV_TEXT",
"value": "Any event"
},
"archetype_node_id": "at0002",
"time": {
"_type": "DV_DATE_TIME",
"value": "2020-09-22T16:18:51.481222+02:00"
},
"data": {
"_type": "ITEM_TREE",
"name": {
"_type": "DV_TEXT",
"value": "Tree"
},
"archetype_node_id": "at0003",
"items": [
{
"_type": "ELEMENT",
"name": {
"_type": "DV_TEXT",
"value": "Story"
},
"archetype_node_id": "at0004",
"value": {
"_type": "DV_TEXT",
"value": "4日前より発熱。解熱せず呼吸器症状悪化"
}
},
{
"_type": "CLUSTER",
"name": {
"_type": "DV_TEXT",
"value": "Symptom/Sign"
},
"archetype_details": {
"_type": "ARCHETYPED",
"archetype_id": {
"_type": "ARCHETYPE_ID",
"value": "openEHR-EHR-CLUSTER.symptom_sign.v1"
},
"rm_version": "1.0.4"
},
"archetype_node_id": "openEHR-EHR-CLUSTER.symptom_sign.v1",
"items": [
{
"_type": "ELEMENT",
"name": {
"_type": "DV_TEXT",
"value": "Symptom/Sign name"
},
"archetype_node_id": "at0001",
"value": {
"_type": "DV_TEXT",
"value": "咳、鼻水"
}
}
]
}
]
}
}
]
}
},
{
"_type": "OBSERVATION",
"name": {
"_type": "DV_TEXT",
"value": "Temperature"
},
"archetype_details": {
"_type": "ARCHETYPED",
"archetype_id": {
"_type": "ARCHETYPE_ID",
"value": "openEHR-EHR-OBSERVATION.temperature.v1"
},
"rm_version": "1.0.4"
},
"archetype_node_id": "openEHR-EHR-OBSERVATION.temperature.v1",
"language": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "ISO_639-1"
},
"code_string": "ja"
},
"encoding": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "IANA_character-sets"
},
"code_string": "UTF-8"
},
"subject": {
"_type": "PARTY_SELF"
},
"other_participations": [
{
"_type": "PARTICIPATION",
"function": {
"_type": "DV_TEXT",
"value": "requester"
},
"performer": {
"_type": "PARTY_IDENTIFIED",
"external_ref": {
"_type": "PARTY_REF",
"id": {
"_type": "GENERIC_ID",
"value": "199",
"scheme": "Wako Hospital"
},
"namespace": "Wako hospital",
"type": "ANY"
},
"name": "Dr. Shinji Kobayashi"
},
"mode": {
"_type": "DV_CODED_TEXT",
"value": "face-to-face communication",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "216"
}
}
},
{
"_type": "PARTICIPATION",
"function": {
"_type": "DV_TEXT",
"value": "performer"
},
"performer": {
"_type": "PARTY_IDENTIFIED",
"external_ref": {
"_type": "PARTY_REF",
"id": {
"_type": "GENERIC_ID",
"value": "198",
"scheme": "Wako Hospital"
},
"namespace": "Wako hospital",
"type": "ANY"
},
"name": "Nurse 1"
},
"mode": {
"_type": "DV_CODED_TEXT",
"value": "not specified",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "193"
}
}
}
],
"data": {
"_type": "HISTORY",
"name": {
"_type": "DV_TEXT",
"value": "Event Series"
},
"archetype_node_id": "at0001",
"origin": {
"_type": "DV_DATE_TIME",
"value": "2020-09-22T16:18:51.481222+02:00"
},
"events": [
{
"_type": "POINT_EVENT",
"name": {
"_type": "DV_TEXT",
"value": "Any event"
},
"archetype_node_id": "at0002",
"time": {
"_type": "DV_DATE_TIME",
"value": "2020-09-22T16:18:51.481222+02:00"
},
"data": {
"_type": "ITEM_LIST",
"name": {
"_type": "DV_TEXT",
"value": "Single"
},
"archetype_node_id": "at0003",
"items": [
{
"_type": "ELEMENT",
"name": {
"_type": "DV_TEXT",
"value": "Temperature"
},
"archetype_node_id": "at0004",
"value": {
"_type": "DV_QUANTITY",
"magnitude": 37.0,
"units": "°C"
}
}
]
}
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment