FHIR IG analytics| Package | io.health-samurai.core.r6 |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-AidboxMaterialization.json |
| FHIR Version | R6 |
No resources found
No resources found
No narrative content found in resource
{
"description": "Declares where and how a ViewDefinition or a SQL Library (SQLView) is materialized: the storage kind, the canonical URL of the source, and kind-specific parameters. Allowed parameters are constrained by the kind profile named in meta.profile, the same way AidboxTopicDestination kinds are.",
"derivation": "specialization",
"publisher": "Health Samurai",
"fhirVersion": "6.0.0-ballot5",
"name": "AidboxMaterialization",
"abstract": false,
"type": "AidboxMaterialization",
"resourceType": "StructureDefinition",
"title": "Aidbox Materialization",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "sql-on-fhir"
}
],
"status": "active",
"id": "AidboxMaterialization",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/AidboxMaterialization",
"version": "0.2609.3",
"differential": {
"element": [
{
"id": "AidboxMaterialization",
"path": "AidboxMaterialization",
"min": 0,
"max": "*",
"constraint": [
{
"key": "allow-materializations",
"severity": "error",
"human": "meta.profile shall be one of: http://health-samurai.io/fhir/core/StructureDefinition/aidboxmaterialization-pgProfile",
"expression": "meta.profile.where(subsetOf('http://health-samurai.io/fhir/core/StructureDefinition/aidboxmaterialization-pgProfile')).exists()"
}
]
},
{
"id": "AidboxMaterialization.type",
"path": "AidboxMaterialization.type",
"short": "Type of the resource being materialized.",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "materialization-type",
"severity": "error",
"human": "type shall be one of: ViewDefinition, Library",
"expression": "%context.subsetOf('ViewDefinition' | 'Library')"
}
]
},
{
"id": "AidboxMaterialization.target",
"path": "AidboxMaterialization.target",
"short": "Canonical URL of the ViewDefinition or Library to materialize.",
"min": 1,
"max": "1",
"type": [
{
"code": "canonical",
"targetProfile": [
"http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ViewDefinition",
"http://hl7.org/fhir/StructureDefinition/Library"
]
}
],
"constraint": [
{
"key": "materialization-target-unversioned",
"severity": "error",
"human": "target must not carry a |version suffix; the version of a FAR canonical is not tracked",
"expression": "empty() or matches('^[^|]+$')"
}
]
},
{
"id": "AidboxMaterialization.parameter",
"path": "AidboxMaterialization.parameter",
"short": "Kind-specific settings, constrained by the kind profile in meta.profile.",
"definition": "For kind 'pg': schema (string), name (string), materializationType (code: view | materialized-view).",
"min": 0,
"max": "*"
}
]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters"
}