Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logbook-standard.code-workspace

2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# logbook-standards
Standards for Anaesthesia Logbooks
This is an initial draft (17-Oct 2020) of a JSON schema for anaesthetic logbooks.
Created for json-schema.org/draft-07
40 changes: 40 additions & 0 deletions logbook-record1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"id": 123456,
"comment": "This is a comment",
"category": {
"id": 0,
"category_type": "Anaesthesia"
},
"activity_grouping": {
"activity_name": "Theatre List",
"id": 0
},
"timing": {
"start": "2020-10-17T13:23:00+00:00",
"end": "2020-10-17T13:45:00+00:00",
"category": "Day"
},
"actors": [
{"id": 0,"role": "Patient"},
{"id": 1,"role": "Performer"},
{"id": 2,"role": "Supervisor"}
],
"events": [
{ "id":0, "event_type": "procedure", "event": {
"procedure": {
"category": {
"general anaesthesia": { "induction": "Intravenous", "maintenance": "TIVA/TCI" }
}
}
}
},
{ "id":1, "event_type": "procedure", "event": {
"procedure": {
"category": {
"airway": {"tracheal intubation": "single lumen"}
}
}
}
}
]
}
73 changes: 73 additions & 0 deletions logbook-schema-encounter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"$id": "http://json-schema.org/draft-7/hyper-schema-output",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Encounter",
"description": "A root encounter for a logbook",

"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"setting": { "type": "string", "enum": ["unit or physical location","rotation or training programme","country"]},
"unique_id": { "type": "integer"},
"comment": { "type": "string" },
"version": { "type": "string" },
"timestamp": { "type": "string", "format": "date-time" }
}
},
"category": {
"type": "object",
"properties": {
"id": { "type": "integer"},
"category_type": { "type": "string", "enum": ["Anaesthesia","ICM","Pain","Transfer","Resus"]}
}
},
"activity_grouping": {
"type": "object",
"properties": {
"activity_name": { "type": "string", "enum": ["Theatre List","Ward Round","Clinic"]},
"id": { "type": "integer" }
}
},
"timing": {
"type": "object",
"properties": {
"start": { "type": "string", "format": "date-time" },
"end": { "type": "string", "format": "date-time" },
"category": { "type": "string", "enum": ["Day","Evening","Night"]}
}
},
"actors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {"type":"integer"},
"role": {"type": "string", "enum": ["Patient","Performer","Supervisor"]}
}
}
},
"events": {
"type": "array",
"items": {
"type":"object",
"properties": {
"id": { "type": "integer"},
"event_type": { "type":"string","enum": ["procedure","teaching","simulation"]},
"event": {
"type":"object",
"properties": {
"procedure": { "$ref": "logbook-schema-procedure.json"},
"surgical procedure": { "type":"object"},
"teaching": { "type": "string"},
"simulation": { "type": "string"}
}
}
}
}

}

}
}
31 changes: 31 additions & 0 deletions logbook-schema-procedure.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$id": "http://json-schema.org/draft-7/hyper-schema-output",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A sub-schema of logbook-schema-encounter.json, for procedures",

"type": "object",
"properties": {
"category": {
"type": "object",
"properties": {
"airway": {
"type": "object",
"properties": {
"tracheal intubation": {"type": "string", "enum":["single lumen","double lumen","fibreoptic","awake fibreoptic","other"]},
"lma placement": { "type": "string", "enum":["standard","supreme","iGel","other"]}
},
"lines": { "type": "object"},
"regional blocks": { "type": "object" },
"general anaesthesia": {
"type": "object",
"properties": {
"induction": { "type": "string", "enum": ["Inhalation", "Intravenous"]},
"maintenance": { "type": "string", "enum": ["Inhalational Agent","TIVA/TCI","TIVA/Other"]}
}
}
}

}
}
}
}