Skip to content

Instantly share code, notes, and snippets.

View brianraila's full-sized avatar
👨‍💻
Gaming on VS Code.

Amolo brianraila

👨‍💻
Gaming on VS Code.
View GitHub Profile
@brianraila
brianraila / ServiceRequest.json
Created February 28, 2024 08:07
Sample eCHIS Service Request
{
"resourceType": "ServiceRequest",
"identifier": [
{
"system": "https://example.com/medic/",
"value": "123456789"
}
],
"status": "in-progress",
"intent": "order",
@brianraila
brianraila / Sample-IPS-Composition.json
Last active December 4, 2023 04:40
Sample International Patient Summary (IPS) from a HAPI FHIR Server
{
"resourceType": "Bundle",
"id": "175bd032-8b00-4728-b2dc-748bb1501aed",
"language": "en-GB",
"identifier": {
"system": "urn:oid:2.16.724.4.8.10.200.10",
"value": "175bd032-8b00-4728-b2dc-748bb1501aed"
},
"type": "document",
"timestamp": "2023-12-03T14:30:00+01:00",
{
"resourceType" : "Questionnaire",
"id" : "zika-virus-exposure-assessment",
"url" : "http://example.org/Questionnaire/zika-virus-exposure-assessment",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.20.1"
}],
"name" : "ExampleZikaVirusExposureAssessment",
"title" : "Example Zika Virus Exposure Assessment",
{
"resourceType" : "Library",
"id" : "example",
"identifier" : [{
"use" : "official",
"value" : "ChlamydiaScreening_Common"
}],
"version" : "2.0.0",
"name" : "ChlamydiaScreeningCommonLibrary",
"title" : "Chlamydia Screening Common Library",
{
"resourceType": "CodeSystem",
"url": "http://example.com/CodeSystem/CardiacConditions",
"version": "1.0.0",
"name": "CardiacConditions",
"status": "active",
"concept": [
{
"code": "myocardial-infarction",
"display": "Myocardial Infarction"
{
"resourceType": "StructureDefinition",
"id": "CardiacCondition",
"url": "http://example.com/StructureDefinition/CardiacCondition",
"version": "1.0.0",
"name": "CardiacCondition",
"status": "active",
"publisher": "Cardiology Organization",
"description": "A cardiac condition extension",
"fhirVersion": "4.0.1",
{
"resourceType": "StructureDefinition",
"id": "CardiologyPatientProfile",
"url": "http://example.com/StructureDefinition/CardiologyPatientProfile",
"version": "1.0.0",
"name": "CardiologyPatientProfile",
"status": "active",
"publisher": "Cardiology Organization",
"description": "A profile for cardiology patients",
"fhirVersion": "4.0.1",
@brianraila
brianraila / countries.json
Created January 9, 2023 15:57 — forked from keeguon/countries.json
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},
@brianraila
brianraila / mysql-docker.sh
Created September 1, 2022 16:59 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
{"version":1,"resource":"file:///home/dell/p/python/app.py","entries":[{"id":"buFx.py","timestamp":1683796209535},{"id":"tPv9.py","timestamp":1683796472932},{"id":"UQzS.py","timestamp":1683796507161},{"id":"sM9r.py","timestamp":1683796522761},{"id":"b0zg.py","timestamp":1683797811403}]}