PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.crmi@1.0.0-ballot
    http://hl7.org/fhir/StructureDefinition/cqf-artifactComment
description: A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user.
package_name: hl7.fhir.uv.crmi
derivation: constraint
name: ArtifactComment
type: Extension
elements:
  extension:
    type: Extension
    short: documentation | review | guidance
    index: 0
    slicing:
      slices:
        type:
          match: {}
          schema:
            type: Extension
            short: documentation | review | guidance
            _required: true
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                type: uri
                pattern: {type: Uri, value: type}
                index: 2
              value:
                choices: [valueCode]
                index: 4
              valueCode: {type: code, choiceOf: value, index: 5}
            required: [valueCode, value]
        text:
          match: {}
          schema:
            type: Extension
            short: The comment
            _required: true
            index: 6
            extensions: {}
            elements:
              extension: {index: 7}
              url:
                type: uri
                pattern: {type: Uri, value: text}
                index: 8
              value:
                choices: [valueMarkdown]
                index: 10
              valueMarkdown: {type: markdown, choiceOf: value, index: 11}
            required: [valueMarkdown, value]
        target:
          match: {}
          schema:
            short: What the comment is directed to
            type: Extension
            array: true
            index: 12
            extensions: {}
            elements:
              extension: {index: 13}
              url:
                type: uri
                pattern: {type: Uri, value: target}
                index: 14
              value:
                choices: [valueUri]
                index: 16
              valueUri: {type: uri, choiceOf: value, index: 17}
            required: [valueUri, value]
        reference:
          match: {}
          schema:
            short: Supporting reference for the comment
            type: Extension
            array: true
            index: 18
            extensions: {}
            elements:
              extension: {index: 19}
              url:
                type: uri
                pattern: {type: Uri, value: reference}
                index: 20
              value:
                choices: [valueUri]
                index: 22
              valueUri: {type: uri, choiceOf: value, index: 23}
            required: [valueUri, value]
        user:
          match: {}
          schema:
            type: Extension
            short: Who commented
            index: 24
            extensions: {}
            elements:
              extension: {index: 25}
              url:
                type: uri
                pattern: {type: Uri, value: user}
                index: 26
              value:
                choices: [valueString]
                index: 28
              valueString: {type: string, choiceOf: value, index: 29}
            required: [valueString, value]
        authoredOn:
          match: {}
          schema:
            type: Extension
            short: Date and time the comment was made
            index: 30
            extensions: {}
            elements:
              extension: {index: 31}
              url:
                type: uri
                pattern: {type: Uri, value: authoredOn}
                index: 32
              value:
                choices: [valueDateTime]
                index: 34
              valueDateTime: {type: dateTime, choiceOf: value, index: 35}
            required: [valueDateTime, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/cqf-artifactComment'}
    index: 36
  value:
    choices: []
    index: 38
package_version: 1.0.0-ballot
extensions:
  type:
    url: null
    type: Extension
    short: documentation | review | guidance
    _required: true
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        type: uri
        pattern: {type: Uri, value: type}
        index: 2
      value:
        choices: [valueCode]
        index: 4
      valueCode: {type: code, choiceOf: value, index: 5}
    required: [valueCode, value]
  text:
    url: null
    type: Extension
    short: The comment
    _required: true
    index: 6
    extensions: {}
    elements:
      extension: {index: 7}
      url:
        type: uri
        pattern: {type: Uri, value: text}
        index: 8
      value:
        choices: [valueMarkdown]
        index: 10
      valueMarkdown: {type: markdown, choiceOf: value, index: 11}
    required: [valueMarkdown, value]
  target:
    url: null
    short: What the comment is directed to
    type: Extension
    array: true
    index: 12
    extensions: {}
    elements:
      extension: {index: 13}
      url:
        type: uri
        pattern: {type: Uri, value: target}
        index: 14
      value:
        choices: [valueUri]
        index: 16
      valueUri: {type: uri, choiceOf: value, index: 17}
    required: [valueUri, value]
  reference:
    url: null
    short: Supporting reference for the comment
    type: Extension
    array: true
    index: 18
    extensions: {}
    elements:
      extension: {index: 19}
      url:
        type: uri
        pattern: {type: Uri, value: reference}
        index: 20
      value:
        choices: [valueUri]
        index: 22
      valueUri: {type: uri, choiceOf: value, index: 23}
    required: [valueUri, value]
  user:
    url: null
    type: Extension
    short: Who commented
    index: 24
    extensions: {}
    elements:
      extension: {index: 25}
      url:
        type: uri
        pattern: {type: Uri, value: user}
        index: 26
      value:
        choices: [valueString]
        index: 28
      valueString: {type: string, choiceOf: value, index: 29}
    required: [valueString, value]
  authoredOn:
    url: null
    type: Extension
    short: Date and time the comment was made
    index: 30
    extensions: {}
    elements:
      extension: {index: 31}
      url:
        type: uri
        pattern: {type: Uri, value: authoredOn}
        index: 32
      value:
        choices: [valueDateTime]
        index: 34
      valueDateTime: {type: dateTime, choiceOf: value, index: 35}
    required: [valueDateTime, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/cqf-artifactComment
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0-ballot
required: [extension]