Skip to content

Instantly share code, notes, and snippets.

@tony-shannon
Last active September 10, 2019 09:03
Show Gist options
  • Save tony-shannon/8fa6b83b75f305ab63230b275b7c8c1f to your computer and use it in GitHub Desktop.
Save tony-shannon/8fa6b83b75f305ab63230b275b7c8c1f to your computer and use it in GitHub Desktop.
Examples posted into Showcase Demo Ripple
Allergies POST
{
"userId": "9999999001",
"author": "Rob Tweed",
"dateCreated": "08/28/2019",
"cause": "Latex",
"reaction": "Rash on Hands",
"causeCode": "SCT",
"causeTerminology": "1234"
}
Allergy Get Synopsis
{
"heading": "allergies",
"synopsis": [
{
"sourceId": "ethercis-03626e10-f2f9-44cb-b3a8-1c544febaf4a",
"source": "GP",
"text": "Allergy to eggs (disorder)",
"dateCreated": 1403858204000
},
{
"sourceId": "ethercis-8a506d77-ceab-4476-9b13-fbfec925fe85",
"source": "ethercis",
"text": "Aspirin",
"dateCreated": 1567508033000
}
],
"token": "ey etc"
}
Allergy Get Summary
[
{
"source": "GP",
"sourceId": "ethercis-b84a1ff9-cad6-40c4-81ba-95d5f469815b",
"cause": "Adverse reaction caused by drug (disorder)",
"reaction": "Adverse reaction caused by drug (disorder)",
"dateCreated": 1386152543000
},
{
"source": "ethercis",
"sourceId": "ethercis-8a506d77-ceab-4476-9b13-fbfec925fe85",
"cause": "Aspirin",
"reaction": "Rash",
"dateCreated": 1567508033000
}
]
Allergy GET Detail
{
"author": "Dr Tony Shannon",
"cause": "Dust Mites",
"causeCode": "SNOMED-CT",
"causeTerminology": 1239085,
"dateCreated": 1559558640000,
"originalComposition": "",
"originalSource": "",
"reaction": "Triggers asthma ",
"source": "ethercis",
"sourceId": "ethercis-5f27855d-e391-46b0-82f0-d8e49229352d",
"terminologyCode": "SNOMED-CT"
}
Problem POST
{
"userId": "9999999001",
"author": "Dr. Smith",
"dateCreated": "08/29/2019",
"problem": "Hypertension",
"dateOfOnset": "2013-01-01",
"description": "due to period of stress",
"code": "12556",
"terminology": "SCT"
}
Problem GET synopsis
{
"heading": "problems",
"synopsis": [
{
"sourceId": "ethercis-08676368-0535-4ec7-92bb-32a68766f4cd",
"source": "GP",
"text": "Allergy to eggs (disorder)",
"dateCreated": 1559136965000
},
{
"sourceId": "ethercis-af391c7c-494c-4a87-baca-d7d39523b667",
"source": "GP",
"text": "Asthma (disorder)",
"dateCreated": 1559136965000
}
],
"token": "ee etc"
}
Problem GET summary
[
{
"source": "GP",
"sourceId": "ethercis-08676368-0535-4ec7-92bb-32a68766f4cd",
"problem": "Allergy to eggs (disorder)",
"dateOfOnset": 1403823600000
},
{
"source": "GP",
"sourceId": "ethercis-70b11820-7a0c-42ef-9392-393a3e5792e7",
"problem": "Diabetes mellitus (disorder)",
"dateOfOnset": 1412118000000
},
{
"source": "GP",
"sourceId": "ethercis-77931e8e-3cfd-4ed5-846a-6c22c8f4e1eb",
"problem": "Single major depressive episode, severe, with psychosis, psychosis in remission (disorder)",
"dateOfOnset": 1403823600000
}
]
Problem GET detail
{
"author": "Dr Tony Shannon",
"code": 12393890,
"dateCreated": 1559558130000,
"dateOfOnset": 1541030400000,
"description": "Brought on as a result of pet hair / possible dust mites",
"originalComposition": "",
"originalSource": "",
"problem": "Asthma ",
"source": "ethercis",
"sourceId": "ethercis-98366d5c-4816-4eab-99ab-35e109ee862b",
"terminology": "SNOMED-CT"
}
Medication POST
{
"userId": "9999999001",
"author": "Dr. Smith",
"dateCreated": "08/30/2019",
"name": "Paracetamol",
"route": "Po Per Oral",
"doseAmount": "500mg",
"doseDirections": "tablets",
"doseTiming": "qds PRN",
"medicationCode": "for pain",
"startDate": "2019-08-01"
}
Medication GET Synopsis
{
"heading": "medications",
"synopsis": [
{
"sourceId": "ethercis-02c715f3-7292-40e2-acab-eea03ced902b",
"source": "ethercis",
"text": "Codeine",
"dateCreated": 1566479682000
},
{
"sourceId": "ethercis-468f44d6-6dda-4e96-9c1c-06c771d5cb3b",
"source": "ethercis",
"text": "Aspirin",
"dateCreated": 1567599883000
}
],
"token": "eyJ etc"
}
Medication GET Summary
[
{
"source": "GP",
"sourceId": "ethercis-2e2b1881-8e1d-402b-8db2-3661c2cc5005",
"name": "Liskonum 450mg modified-release tablets (GlaxoSmithKline UK Ltd)",
"doseAmount": "",
"dateCreated": 763516800000
},
{
"source": "ethercis",
"sourceId": "ethercis-468f44d6-6dda-4e96-9c1c-06c771d5cb3b",
"name": "Aspirin",
"doseAmount": "100mg",
"dateCreated": 1567599883000
}
]
Medication GET Detail
{
"author": "[email protected]",
"dateCreated": 1559567356000,
"doseAmount": "50mg",
"doseDirections": "With food",
"doseTiming": "twice daily",
"medicationCode": 173134014,
"medicationTerminology": "external",
"name": "Aspirin",
"route": "Po Per Oral",
"source": "ethercis",
"sourceId": "ethercis-f16bd4b5-93ae-43c8-a17d-a6ec968b0f8a",
"startDate": 1559621948000,
"startTime": 19148000
}
Vaccinsations POST
{
"userId": "9999999001",
"author": "Dr. Smith",
"dateSubmitted": "08/30/2019",
"vaccinationName": "MMR",
"vaccinationDateTime": "2019-08-01",
"series": "3",
"comment": "Missed out when younger"
}
Vaccinations GET Synopsis
{
"heading": "vaccinations",
"synopsis": [
{
"sourceId": "ethercis-cc7d6955-8902-449e-a6c9-2f5d53b26ddb",
"source": "GP",
"text": "Seasonal influenza vaccination (procedure)",
"dateCreated": 1415059200000
}
],
"token": "eyJ etc"
}
Vaccinations GET Summary
[
{
"source": "GP",
"sourceId": "ethercis-cc7d6955-8902-449e-a6c9-2f5d53b26ddb",
"vaccinationName": "Seasonal influenza vaccination (procedure)",
"dateCreated": 1415059200000
}
]
Vaccincations GET Detail
{
"author": "Dr. Smith",
"comment": "Missed out when younger",
"dateCreated": 1567160191000,
"series": 3,
"source": "ethercis",
"sourceId": "ethercis-60dd6994-f267-4eb4-bd19-ae2a1b31466b",
"vaccinationDateTime": 1564614000000,
"vaccinationName": "MMR"
}
Contacts POST
{
"userId": "9999999001",
"author": "Dr. Smith",
"dateSubmitted": "08/30/2019",
"name": "Jim Brown",
"relationship": "Friend",
"relationshipCode": "at0036",
"relationshipTerminology": "SCT",
"nextOfKin": true,
"contactInformation": "125 Main street, Dumbarton UK\n0114 667 9505",
"notes": "works away mid week"
}
Contacts GET Synopsis
{
"heading": "contacts",
"synopsis": [
{
"sourceId": "ethercis-0d1c3729-ab7b-4ab8-95fd-f11e6357aadf",
"source": "ethercis",
"text": "Paula Fitzpatrick",
"dateCreated": 1566479900000
}
],
"token": "eyetc 3A"
}
Contacts GET Summary
[
{
"source": "ethercis",
"sourceId": "ethercis-0d1c3729-ab7b-4ab8-95fd-f11e6357aadf",
"name": "Paula Fitzpatrick",
"relationship": "Sister",
"nextOfKin": true
}
]
Contacts GET Detail
{
"author": "Dr. Smith",
"contactInformation": "125 Main street, Dumbarton UK\n0114 667 9505",
"dateCreated": 1567160457000,
"name": "Jim Brown",
"nextOfKin": true,
"notes": "works away mid week",
"relationship": "Friend",
"relationshipCode": "at0036",
"relationshipTerminology": "local",
"relationshipType": "Informal carer",
"source": "ethercis",
"sourceId": "ethercis-69d9c3b1-75be-4a2f-8e4a-5733a74b3151"
}
Events POST
{
"userId": "9999999001",
"name": "Transfer in Emergency for NeuroSx",
"description": "from Trauma Centre to NeuroSx centre",
"author": "Dr. Smith",
"dateCreated": 1567164194000,
"type": "Transfer",
"dateTime": "2019-08-06T23:00:00.000Z"
}
Events GET synopsis
N/A- not in PtSummary View
Events GET Summary
[
{
"source": "ethercis",
"sourceId": "ethercis-1797f870-70eb-4164-90be-52d009c8a15b",
"dateCreated": 1454669420000,
"type": "Transfer",
"name": "Transfer from ward to ICU",
"description": "Complications following surgery",
"dateTime": 1452595820958
},
{
"source": "ethercis",
"sourceId": "ethercis-7d25b8ff-8b8a-4471-8772-73dd54e6a861",
"dateCreated": 1567160593000,
"type": "Transfer",
"name": "Transfer in Emergency for NeuroSx",
"description": "from Trauma Centre to NeuroSx centre",
"dateTime": 1565128800000
}
]
Events GET Detail
{
"author": "Dr. Smith",
"dateCreated": 1567160593000,
"dateTime": 1565128800000,
"description": "from Trauma Centre to NeuroSx centre",
"name": "Transfer in Emergency for NeuroSx",
"source": "ethercis",
"sourceId": "ethercis-7d25b8ff-8b8a-4471-8772-73dd54e6a861",
"type": "Transfer"
}
Vitals POST
{
"userId": "9999999001",
"respirationRate": "12",
"oxygenSaturation": "95",
"heartRate": "95",
"temperature": "37",
"systolicBP": "120",
"diastolicBP": "79",
"levelOfConsciousness": "Alert",
"oxygenSupplemental": false,
"newsScore": "5",
"dateCreate": 1567165552,
"author": "Dr. Smith",
"number": null
}
Vitals Get Synopsis
NA - not in pt summary view
Vitals GEt Summary
[
{
"source": "ethercis",
"sourceId": "ethercis-2135895e-852b-4d23-b532-030c8dd6220b",
"author": "Ross Cullen",
"dateCreated": 1566480151000,
"newsScore": 9,
"respirationRate": 12,
"oxygenSupplemental": true,
"heartRate": 110,
"temperature": 40,
"levelOfConsciousness": "Alert",
"systolicBP": 120,
"diastolicBP": 80,
"oxygenSaturation": 94
},
{
"source": "ethercis",
"sourceId": "ethercis-0e35ab4a-fda2-4eca-85e2-f4920417e497",
"author": "Ross Cullen",
"dateCreated": 1567692987000,
"newsScore": 6,
"respirationRate": 18,
"oxygenSupplemental": true,
"heartRate": 100,
"temperature": 38,
"levelOfConsciousness": "Alert",
"systolicBP": 100,
"diastolicBP": 65,
"oxygenSaturation": 92
}
]
Vitals GET Detail
{
"author": "[email protected]",
"dateCreated": 1559559096000,
"diastolicBP": 80,
"heartRate": 120,
"levelOfConsciousness": "Alert",
"newsScore": 11,
"oxygenSaturation": 94,
"oxygenSupplemental": true,
"respirationRate": 40,
"source": "ethercis",
"sourceId": "ethercis-b338ef64-3d43-47eb-8cb1-22938fe4abcb",
"systolicBP": 101,
"temperature": 40
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment