Created
August 29, 2019 09:19
-
-
Save tony-shannon/86fff437be4956981cdb1cb354eb98ae to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Input format | |
{ | |
"ctx": { | |
"composer_name": "{{composer}}", | |
"health_care_facility|id": "999999-345", | |
"health_care_facility|name": "Home", | |
"id_namespace": "NHS-UK", | |
"id_scheme": "2.16.840.1.113883.2.1.4.3", | |
"language": "en", | |
"territory": "GB", | |
"time": "{{now}}" | |
}, | |
"adverse_reaction_list": { | |
"allergies_and_adverse_reactions": { | |
"adverse_reaction_risk": [ | |
{ | |
"status|code": "at0127", | |
"status|value": "Suspected", | |
"status|terminology": "local", | |
"criticality|code": "at0102", | |
"criticality|value": "Low", | |
"criticality|terminology": "local", | |
"category|code": "at0121", | |
"category|value": "Food", | |
"category|terminology": "local", | |
"onset_of_last_reaction": "1900-01-01T00:00:00.000Z", | |
"reaction_mechanism|code": "at0059", | |
"reaction_mechanism|value": "Immune mediated", | |
"reaction_mechanism|terminology": "local", | |
"reaction_details": { | |
"certainty|code": "at0095", | |
"certainty|value": "Suspected", | |
"certainty|terminology": "local", | |
"manifestation": [ | |
{ | |
"|value": "{{obj.value}}", | |
"|code": "{{obj.code}}", | |
"|terminology": "{{obj.terminology}}" | |
} | |
], | |
"onset_of_reaction": "1900-01-01T00:00:00.000Z", | |
"severity|code": "at0093", | |
"severity|value": "Mild", | |
"severity|terminology": "local", | |
"specific_substance|value": "{{obj.value}}", | |
"specific_substance|code": "{{obj.code}}", | |
"specific_substance|terminology": "{{obj.terminology}}", | |
"reaction_description|value": "{{obj.value}}", | |
"reaction_description|code": "{{obj.code}}", | |
"reaction_description|terminology": "{{obj.terminology}}", | |
"route_of_exposure|value": "{{obj.value}}", | |
"route_of_exposure|code": "{{obj.code}}", | |
"route_of_exposure|terminology": "{{obj.terminology}}", | |
"comment|value": "{{obj.value}}", | |
"comment|code": "{{obj.code}}", | |
"comment|terminology": "{{obj.terminology}}" | |
}, | |
"last_updated": "1900-01-01T00:00:00.000Z", | |
"language|code": "en", | |
"language|terminology": "ISO_639-1", | |
"encoding|code": "UTF-8", | |
"encoding|terminology": "IANA_character-sets", | |
"causative_agent|value": "{{obj.value}}", | |
"causative_agent|code": "{{obj.code}}", | |
"causative_agent|terminology": "{{obj.terminology}}", | |
"comment|value": "{{obj.value}}", | |
"comment|code": "{{obj.code}}", | |
"comment|terminology": "{{obj.terminology}}" | |
} | |
] | |
} | |
} | |
} | |
Output format | |
{ | |
"adverse_reaction_list": { | |
"_uid": "65b7b9e6-3357-4899-bd7c-f31394ae2f8b::example.ethercis.com::1", | |
"language|code": "en", | |
"language|terminology": "ISO_639-1", | |
"territory|code": "GB", | |
"territory|terminology": "ISO_3166-1", | |
"context": { | |
"_health_care_facility|id": "123456-123", | |
"_health_care_facility|id_scheme": "ETHERCIS-SCHEME", | |
"_health_care_facility|id_namespace": "DEMOGRAPHIC", | |
"_health_care_facility|name": "FACILITY", | |
"start_time": "2019-08-29T09:19:43.751Z", | |
"setting|code": "238", | |
"setting|value": "Other Care", | |
"setting|terminology": "openehr" | |
}, | |
"allergies_and_adverse_reactions": { | |
"adverse_reaction_risk": [ | |
{ | |
"causative_agent": "DEFAULT_TEXT_VALUE", | |
"status|code": "at0127", | |
"status|value": "Suspected", | |
"status|terminology": "local", | |
"criticality|code": "at0102", | |
"criticality|value": "Low", | |
"criticality|terminology": "local", | |
"category|code": "at0121", | |
"category|value": "Food", | |
"category|terminology": "local", | |
"onset_of_last_reaction": "1900-01-01T00:00:00.000Z", | |
"reaction_mechanism|code": "at0059", | |
"reaction_mechanism|value": "Immune mediated", | |
"reaction_mechanism|terminology": "local", | |
"comment": "DEFAULT_TEXT_VALUE", | |
"reaction_details": { | |
"specific_substance": "DEFAULT_TEXT_VALUE", | |
"certainty|code": "at0095", | |
"certainty|value": "Suspected", | |
"certainty|terminology": "local", | |
"manifestation": [ | |
"DEFAULT_TEXT_VALUE" | |
], | |
"reaction_description": "DEFAULT_TEXT_VALUE", | |
"onset_of_reaction": "1900-01-01T00:00:00.000Z", | |
"severity|code": "at0093", | |
"severity|value": "Mild", | |
"severity|terminology": "local", | |
"route_of_exposure": "DEFAULT_TEXT_VALUE", | |
"comment": "DEFAULT_TEXT_VALUE" | |
}, | |
"last_updated": "1900-01-01T00:00:00.000Z", | |
"language|code": "en", | |
"language|terminology": "ISO_639-1", | |
"encoding|code": "UTF-8", | |
"encoding|terminology": "IANA_character-sets" | |
} | |
] | |
}, | |
"composer|id": "1234-5678", | |
"composer|id_scheme": "ETHERCIS-TEST", | |
"composer|id_namespace": "DEMOGRAPHIC", | |
"composer|name": "Composer", | |
"composer": { | |
"_identifier": [ | |
"1234-5678" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment