{
"description": "Notebook resource for interactive documentation and code execution.",
"_filename": "StructureDefinition-notebook.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "Notebook",
"abstract": false,
"type": "Notebook",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "7a5f5e64-ab50-458e-8411-0ee08405a380",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/Notebook",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "Notebook",
"max": "*",
"min": 0,
"path": "Notebook"
}, {
"id": "Notebook.name",
"max": "1",
"min": 0,
"path": "Notebook.name",
"type": [ {
"code": "string"
} ],
"short": "Name of the notebook."
}, {
"id": "Notebook.description",
"max": "1",
"min": 0,
"path": "Notebook.description",
"type": [ {
"code": "string"
} ],
"short": "Description of the notebook."
}, {
"id": "Notebook.origin",
"max": "1",
"min": 0,
"path": "Notebook.origin",
"type": [ {
"code": "string"
} ],
"short": "Origin information for the notebook."
}, {
"id": "Notebook.tags",
"max": "*",
"min": 0,
"path": "Notebook.tags",
"type": [ {
"code": "string"
} ],
"short": "Tags associated with the notebook."
}, {
"id": "Notebook.publication-id",
"max": "1",
"min": 0,
"path": "Notebook.publication-id",
"type": [ {
"code": "string"
} ],
"short": "Identifier for the published version of the notebook."
}, {
"id": "Notebook.edit-secret",
"max": "1",
"min": 0,
"path": "Notebook.edit-secret",
"type": [ {
"code": "string"
} ],
"short": "Secret for edit access to the notebook."
}, {
"id": "Notebook.notebook-superuser-secret",
"max": "1",
"min": 0,
"path": "Notebook.notebook-superuser-secret",
"type": [ {
"code": "string"
} ],
"short": "Secret for superuser access to the notebook."
}, {
"id": "Notebook.source",
"max": "1",
"min": 0,
"path": "Notebook.source",
"short": "Source content for the notebook.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
} ]
}, {
"id": "Notebook.cells",
"max": "*",
"min": 0,
"path": "Notebook.cells",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Cells contained in the notebook."
}, {
"id": "Notebook.cells.id",
"max": "1",
"min": 1,
"path": "Notebook.cells.id",
"short": "Unique identifier for the cell.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
} ]
}, {
"id": "Notebook.cells.type",
"max": "1",
"min": 1,
"path": "Notebook.cells.type",
"type": [ {
"code": "string"
} ],
"short": "Type of cell content.",
"constraint": [ {
"key": "enum-2",
"human": "Type must be one of: rpc, rest, empty, markdown, sql",
"severity": "error",
"expression": "%context.subsetOf('rpc' | 'rest' | 'empty' | 'markdown' | 'sql')"
} ]
}, {
"id": "Notebook.cells.nb-title",
"max": "1",
"min": 0,
"path": "Notebook.cells.nb-title",
"type": [ {
"code": "string"
} ],
"short": "Title for the cell."
}, {
"id": "Notebook.cells.evaluating?",
"max": "1",
"min": 0,
"path": "Notebook.cells.evaluating?",
"type": [ {
"code": "boolean"
} ],
"short": "Whether the cell is currently being evaluated."
}, {
"id": "Notebook.cells.value",
"path": "Notebook.cells.value",
"short": "Content value of the cell.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
} ]
}, {
"id": "Notebook.cells.result",
"path": "Notebook.cells.result",
"short": "Result of cell evaluation.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
} ]
}, {
"id": "Notebook.cells.error",
"path": "Notebook.cells.error",
"short": "Error information if evaluation failed.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
} ]
}, {
"id": "Notebook.cells.folded",
"max": "1",
"min": 0,
"path": "Notebook.cells.folded",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Folding state of the cell."
}, {
"id": "Notebook.cells.folded.code",
"max": "1",
"min": 0,
"path": "Notebook.cells.folded.code",
"type": [ {
"code": "boolean"
} ],
"short": "Whether the code section is folded."
}, {
"id": "Notebook.cells.folded.result",
"max": "1",
"min": 0,
"path": "Notebook.cells.folded.result",
"type": [ {
"code": "boolean"
} ],
"short": "Whether the result section is folded."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}