PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r3@0.2609.0
    http://health-samurai.io/fhir/core/StructureDefinition/AidboxMaterializationStatus
description: 'Tracks the outcome of running $materialize on an AidboxMaterialization: current status, the AidboxMaterialization it belongs to, and the AidboxMaterialization version that was run.'
package_name: io.health-samurai.core.r3
derivation: specialization
name: AidboxMaterializationStatus
type: AidboxMaterializationStatus
elements:
  status:
    type: code
    short: in-progress | done | error | canceled
    constraint:
      materialization-status: {human: 'status shall be one of: in-progress, done, error, canceled', severity: error, expression: '%context.subsetOf(''in-progress'' | ''done'' | ''error'' | ''canceled'')'}
    index: 0
  target:
    type: Reference
    short: The AidboxMaterialization this status belongs to.
    refers: ['http://health-samurai.io/fhir/core/StructureDefinition/AidboxMaterialization']
    index: 1
  targetVersion: {type: id, short: AidboxMaterialization.meta.versionId at the time of the run., index: 2}
  sqlHash: {type: string, short: Hash of the SQL the target compiled to when this run happened., index: 3}
  duration: {type: integer, short: Milliseconds the run took., index: 4}
  error: {type: string, short: Why the run failed., index: 5}
package_version: 0.2609.0
class: resource
kind: resource
url: http://health-samurai.io/fhir/core/StructureDefinition/AidboxMaterializationStatus
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 0.2609.0
required: [targetVersion, status, target]