PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.medmorph@1.0.0
    http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-computable-library
description: The computable library profile sets the minimum expectations for a computable CQL library.
package_name: hl7.fhir.us.medmorph
derivation: constraint
name: USPublicHealthComputableLibrary
type: Library
elements:
  subject:
    mustSupport: true
    choices: []
    index: 1
  relatedArtifact:
    mustSupport: true
    array: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 0
      slices:
        dependency:
          match: {type: depends-on}
          schema:
            mustSupport: false
            array: true
            index: 3
            elements:
              type:
                pattern: {type: Code, value: depends-on}
                short: Required dependency
                type: code
                mustSupport: true
                index: 4
              display: {mustSupport: true, index: 5}
              resource: {type: canonical, mustSupport: true, index: 6}
            required: [resource, type]
  parameter: {mustSupport: true, index: 7}
  dataRequirement: {mustSupport: true, index: 8}
  content:
    mustSupport: true
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: contentType, type: value}
      min: null
      slices:
        cqlContent:
          match: {contentType: text/cql}
          schema:
            short: CQL Content
            mustSupport: false
            index: 10
            elements:
              contentType:
                type: code
                pattern: {type: Code, value: text/cql}
                mustSupport: true
                index: 11
              data: {mustSupport: false, index: 12}
            required: [contentType, data]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-computable-library
base: http://hl7.org/fhir/StructureDefinition/shareablelibrary
version: 1.0.0