PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.davinci@deqm-5.0.0
    http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/extension-careGapRemark
description: This extension allows a coded and/or narrative remark be added to a Care Gap's Individual Measure Report that adds context from a Provider about the gap.
package_name: rs/hl7.fhir.us.davinci
derivation: constraint
name: DEQMCareGapRemarkExtension
type: Extension
elements:
  extension:
    type: Extension
    array: true
    index: 0
    slicing:
      rules: open
      description: Slices based on the url value.
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        author:
          match: {url: author}
          schema:
            type: Extension
            short: Identifier of the person who added the remark such as NPI
            index: 1
            elements:
              url:
                type: uri
                short: Identifier of the person who added the remark such as NPI
                pattern: {type: uri, value: author}
                index: 2
              value:
                short: Identifier of the person who added the remark such as NPI
                choices: [valueIdentifier, valueString]
                index: 4
              valueIdentifier: {type: Identifier, short: Identifier of the person who added the remark such as NPI, choiceOf: value, index: 5}
              valueString: {type: string, short: Identifier of the person who added the remark such as NPI, choiceOf: value, index: 6}
            required: [url, value, valueIdentifier, valueString]
        authorOrganization:
          match: {url: authorOrganization}
          schema:
            type: Extension
            short: Identifier of the organization that added the remark such as TIN, NPI.
            index: 7
            elements:
              url:
                type: uri
                pattern: {type: uri, value: authorOrganization}
                index: 8
              value:
                choices: [valueIdentifier, valueString, valueReference]
                index: 10
              valueIdentifier: {type: Identifier, choiceOf: value, index: 11}
              valueString: {type: string, choiceOf: value, index: 12}
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization']
                index: 13
            required: [url, value, valueIdentifier, valueReference, valueString]
        authorSoftware:
          match: {url: authorSoftware}
          schema:
            type: Extension
            short: Identifier of the software that added the remark.
            index: 14
            elements:
              url:
                type: uri
                pattern: {type: uri, value: authorSoftware}
                index: 15
              value:
                choices: [valueIdentifier, valueString]
                index: 17
              valueIdentifier: {type: Identifier, choiceOf: value, index: 18}
              valueString: {type: string, choiceOf: value, index: 19}
            required: [url, value, valueIdentifier, valueString]
        authorDatetime:
          match: {url: authorDatetime}
          schema:
            type: Extension
            short: When the remark was added
            index: 20
            elements:
              url:
                type: uri
                pattern: {type: uri, value: authorDatetime}
                index: 21
              value:
                choices: [valueDateTime]
                index: 23
              valueDateTime: {type: dateTime, choiceOf: value, index: 24}
            required: [url, value, valueDateTime]
        text:
          match: {url: text}
          schema:
            type: Extension
            short: Free text remark
            array: true
            index: 25
            elements:
              url:
                type: uri
                pattern: {type: uri, value: text}
                index: 26
              value:
                choices: [valueString]
                index: 28
              valueString: {type: string, choiceOf: value, index: 29}
            required: [url, value, valueString]
        code:
          match: {url: code}
          schema:
            type: Extension
            short: Coded remark
            index: 30
            elements:
              url:
                type: uri
                pattern: {type: uri, value: code}
                index: 31
              value:
                choices: [valueUri]
                index: 33
              valueUri: {type: uri, choiceOf: value, index: 34}
            required: [url, value, valueUri]
        relatedData:
          match: {url: relatedData}
          schema:
            type: Extension
            short: Related data
            array: true
            index: 35
            elements:
              url:
                type: uri
                pattern: {type: uri, value: relatedData}
                index: 36
              value:
                choices: [valueIdentifier, valueReference]
                index: 38
              valueIdentifier: {type: Identifier, choiceOf: value, index: 39}
              valueReference: {type: Reference, choiceOf: value, index: 40}
            required: [url, value, valueIdentifier, valueReference]
  url:
    type: uri
    pattern: {type: uri, value: 'http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/extension-careGapRemark'}
    index: 41
  value:
    choices: []
    index: 43
package_version: deqm-5.0.0
extensions:
  author:
    url: author
    type: Extension
    short: Identifier of the person who added the remark such as NPI
    index: 1
    elements:
      url:
        type: uri
        short: Identifier of the person who added the remark such as NPI
        pattern: {type: uri, value: author}
        index: 2
      value:
        short: Identifier of the person who added the remark such as NPI
        choices: [valueIdentifier, valueString]
        index: 4
      valueIdentifier: {type: Identifier, short: Identifier of the person who added the remark such as NPI, choiceOf: value, index: 5}
      valueString: {type: string, short: Identifier of the person who added the remark such as NPI, choiceOf: value, index: 6}
    required: [url, value, valueIdentifier, valueString]
  authorOrganization:
    url: authorOrganization
    type: Extension
    short: Identifier of the organization that added the remark such as TIN, NPI.
    index: 7
    elements:
      url:
        type: uri
        pattern: {type: uri, value: authorOrganization}
        index: 8
      value:
        choices: [valueIdentifier, valueString, valueReference]
        index: 10
      valueIdentifier: {type: Identifier, choiceOf: value, index: 11}
      valueString: {type: string, choiceOf: value, index: 12}
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization']
        index: 13
    required: [url, value, valueIdentifier, valueReference, valueString]
  authorSoftware:
    url: authorSoftware
    type: Extension
    short: Identifier of the software that added the remark.
    index: 14
    elements:
      url:
        type: uri
        pattern: {type: uri, value: authorSoftware}
        index: 15
      value:
        choices: [valueIdentifier, valueString]
        index: 17
      valueIdentifier: {type: Identifier, choiceOf: value, index: 18}
      valueString: {type: string, choiceOf: value, index: 19}
    required: [url, value, valueIdentifier, valueString]
  authorDatetime:
    url: authorDatetime
    type: Extension
    short: When the remark was added
    index: 20
    elements:
      url:
        type: uri
        pattern: {type: uri, value: authorDatetime}
        index: 21
      value:
        choices: [valueDateTime]
        index: 23
      valueDateTime: {type: dateTime, choiceOf: value, index: 24}
    required: [url, value, valueDateTime]
  text:
    url: text
    type: Extension
    short: Free text remark
    array: true
    index: 25
    elements:
      url:
        type: uri
        pattern: {type: uri, value: text}
        index: 26
      value:
        choices: [valueString]
        index: 28
      valueString: {type: string, choiceOf: value, index: 29}
    required: [url, value, valueString]
  code:
    url: code
    type: Extension
    short: Coded remark
    index: 30
    elements:
      url:
        type: uri
        pattern: {type: uri, value: code}
        index: 31
      value:
        choices: [valueUri]
        index: 33
      valueUri: {type: uri, choiceOf: value, index: 34}
    required: [url, value, valueUri]
  relatedData:
    url: relatedData
    type: Extension
    short: Related data
    array: true
    index: 35
    elements:
      url:
        type: uri
        pattern: {type: uri, value: relatedData}
        index: 36
      value:
        choices: [valueIdentifier, valueReference]
        index: 38
      valueIdentifier: {type: Identifier, choiceOf: value, index: 39}
      valueReference: {type: Reference, choiceOf: value, index: 40}
    required: [url, value, valueIdentifier, valueReference]
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/davinci-deqm/StructureDefinition/extension-careGapRemark
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.0.0