FHIR © HL7.org  |  FHIRsmith 0.18.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageio.health-samurai.core.r3
Resource TypeStructureDefinition
IdStructureDefinition-AidboxMaterialization.json
FHIR VersionR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "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": "3.0.2",
  "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/StructureDefinition/Resource"
          }
        ],
        "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"
}