{
"description": "Represents an Aidbox instance managed by the multibox cluster.",
"_filename": "StructureDefinition-Box.json",
"package_name": "io.health-samurai.multibox.r4",
"date": null,
"derivation": "specialization",
"publisher": "Health Samurai",
"fhirVersion": "4.0.1",
"name": "Box",
"abstract": false,
"type": "Box",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Box",
"package_version": "0.2606.0",
"status": "active",
"id": "35e1a4dc-ffcf-443d-bde9-1899c79ce2a6",
"kind": "resource",
"url": "http://health-samurai.io/fhir/multibox/StructureDefinition/Box",
"version": "0.2606.0",
"differential": {
"element": [ {
"id": "Box",
"max": "*",
"min": 0,
"path": "Box"
}, {
"id": "Box.description",
"max": "1",
"min": 0,
"path": "Box.description",
"type": [ {
"code": "string"
} ],
"short": "Human-readable description of the box."
}, {
"id": "Box.fhirVersion",
"max": "1",
"min": 0,
"path": "Box.fhirVersion",
"type": [ {
"code": "string"
} ],
"short": "FHIR version used by this box."
}, {
"id": "Box.env",
"max": "1",
"min": 0,
"path": "Box.env",
"short": "Environment variables for the box.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "Box.import",
"max": "1",
"min": 0,
"path": "Box.import",
"short": "Import configuration.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "Box.config",
"max": "1",
"min": 0,
"path": "Box.config",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Box configuration."
}, {
"id": "Box.config.base-url",
"max": "1",
"min": 0,
"path": "Box.config.base-url",
"type": [ {
"code": "uri"
} ],
"short": "Base URL of the box."
}, {
"id": "Box.modules",
"max": "*",
"min": 0,
"path": "Box.modules",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Modules loaded in the box."
}, {
"id": "Box.modules.name",
"max": "1",
"min": 0,
"path": "Box.modules.name",
"type": [ {
"code": "string"
} ],
"short": "Module name."
}, {
"id": "Box.modules.config",
"max": "1",
"min": 0,
"path": "Box.modules.config",
"short": "Module configuration.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "Box.configuration",
"max": "1",
"min": 0,
"path": "Box.configuration",
"type": [ {
"code": "uri"
} ],
"short": "URL of the manifest."
}, {
"id": "Box.database",
"max": "1",
"min": 0,
"path": "Box.database",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Database connection details."
}, {
"id": "Box.database.cluster",
"max": "1",
"min": 0,
"path": "Box.database.cluster",
"type": [ {
"code": "string"
} ],
"short": "Cluster identifier."
}, {
"id": "Box.database.dbname",
"max": "1",
"min": 0,
"path": "Box.database.dbname",
"type": [ {
"code": "string"
} ],
"short": "Database name."
}, {
"id": "Box.database.user",
"max": "1",
"min": 0,
"path": "Box.database.user",
"type": [ {
"code": "string"
} ],
"short": "Database user."
}, {
"id": "Box.database.password",
"max": "1",
"min": 0,
"path": "Box.database.password",
"type": [ {
"code": "string"
} ],
"short": "Database password."
}, {
"id": "Box.resources",
"max": "1",
"min": 0,
"path": "Box.resources",
"short": "Seed resources for the box.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "Box.participant",
"max": "*",
"min": 0,
"path": "Box.participant",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Users with access to this box."
}, {
"id": "Box.participant.role",
"max": "1",
"min": 1,
"path": "Box.participant.role",
"type": [ {
"code": "string"
} ],
"short": "Role of the participant.",
"constraint": [ {
"key": "box-participant-role-1",
"human": "Role must be one of: owner, admin, writer, reader",
"severity": "error",
"expression": "%context.subsetOf('owner' | 'admin' | 'writer' | 'reader')"
} ]
}, {
"id": "Box.participant.identifier",
"max": "*",
"min": 0,
"path": "Box.participant.identifier",
"type": [ {
"code": "Identifier"
} ],
"short": "Identifiers for the participant."
}, {
"id": "Box.participant.user",
"max": "1",
"min": 0,
"path": "Box.participant.user",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/User" ]
} ],
"short": "Reference to the User resource."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}