PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@pas-2.1.0-preview
    http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-update
description: PAS constraints on Claim resource when submitting an update to a previous PAS prior authorization request
package_name: hl7.fhir.us.davinci
derivation: constraint
name: PASClaimUpdate
type: Claim
elements:
  extension:
    type: Extension
    short: Information about a hospital claim being requested.
    mustSupport: true
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter
    index: 0
    slicing:
      slices:
        encounter:
          match: {}
          schema:
            type: Extension
            short: Information about a hospital claim being requested.
            mustSupport: true
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter
            index: 0
            elements:
              value:
                choices: [valueReference]
                index: 2
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-encounter']
                index: 3
  identifier: {array: true, min: 1, max: 2, index: 4}
  related:
    mustSupport: true
    index: 5
    elements:
      claim: {mustSupport: true, index: 6}
      relationship:
        mustSupport: true
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: prior, system: 'http://terminology.hl7.org/CodeSystem/ex-relatedclaimrelationship'}
        index: 7
    required: [claim, relationship]
  supportingInfo:
    index: 8
    extensions:
      infoChanged: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-infoChanged', min: 0, max: 1, type: Extension, short: A code indicating how the piece of information has changed., mustSupport: true, index: 10}
    elements:
      extension:
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            infoChanged:
              match: {url: null}
              schema: {type: Extension, short: A code indicating how the piece of information has changed., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-infoChanged', index: 10}
              min: 0
              max: 1
      modifierExtension:
        index: 11
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            infoCancelledFlag:
              match: {url: null}
              schema: {type: Extension, short: Indicates that this piece of information is not to be used., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/modifierextension-infoCancelled', index: 12}
              min: 0
              max: 1
    slicing:
      slices:
        AdditionalInformation:
          match: {}
          schema:
            short: Send additional paperwork or supporting information for the request.  This can be most commonly a DocumentReference profile although any type of information is allowed.
            mustSupport: true
            array: true
            index: 13
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: additionalInformation, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 14
              timing:
                choices: []
                index: 16
              value:
                mustSupport: true
                choices: [valueReference]
                index: 18
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference']
                index: 19
            required: [valueReference, value]
        MessageText:
          match: {}
          schema:
            short: Send text messages to the UMO.
            mustSupport: true
            array: true
            index: 20
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: freeFormMessage, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 21
              timing:
                choices: []
                index: 23
              value:
                mustSupport: true
                choices: [valueString]
                index: 25
              valueString: {type: string, mustSupport: true, choiceOf: value, index: 26}
            required: [valueString, value]
  diagnosis:
    short: 'Pertinent diagnosis information.  NOTE: Only the first 12 diagnoses can be sent in the X12 request.'
    index: 27
    extensions:
      recordedDate: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate', min: 0, max: 1, type: Extension, short: The date that a diagnosis was recorded. (HIxx-4), mustSupport: true, index: 29}
    elements:
      extension:
        index: 28
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            recordedDate:
              match: {url: null}
              schema: {type: Extension, short: The date that a diagnosis was recorded. (HIxx-4), mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate', index: 29}
              min: 0
              max: 1
  item:
    constraint:
      ImmediateLevelOfCare: {human: 'If Certification Type is an immediate appeal, then Level of Service Code must be present', source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-update', severity: error, expression: 'extension.where(url=''http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType'' and value.code=''1'').exists() implies extension.where(url=''http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode'').exists()'}
    index: 30
    extensions:
      requestType: {url: null, min: 1, _required: true, index: 32}
      certificationType: {url: null, min: 1, _required: true, index: 33}
      epsdtIndicator: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator', min: 0, max: 1, type: Extension, short: An indicator of whether early and periodic screen for diagnosis and treatment of children is involved., mustSupport: true, index: 34}
      nursingHomeResidentialStatus:
        url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus
        type: Extension
        short: A code specifying the status of a nursing home resident at the time of service. (SV209)
        mustSupport: true
        index: 35
        elements:
          value:
            mustSupport: true
            choices: []
            index: 37
      nursingHomeLevelOfCare: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare', min: 0, max: 1, type: Extension, short: 'A code specifying the level of care provided by a nursing home facility. (SV120, SV210)', mustSupport: true, index: 38}
      revenueUnitRateLimit: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit', min: 0, max: 1, type: Extension, short: The limit on the rate per unit of revenue for hospital accomodation. (SV206), mustSupport: true, index: 39}
      requestedService: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService', min: 0, max: 1, type: Extension, short: The details of the service being requested., mustSupport: true, index: 40}
      infoChanged: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-infoChanged', min: 0, max: 1, type: Extension, short: A code indicating how the piece of information has changed., mustSupport: true, index: 41}
    elements:
      extension:
        array: true
        min: 2
        index: 31
        slicing:
          slices:
            requestType:
              match: {}
              schema: {_required: true, index: 32}
              min: 1
            certificationType:
              match: {}
              schema: {_required: true, index: 33}
              min: 1
            epsdtIndicator:
              match: {}
              schema: {type: Extension, short: An indicator of whether early and periodic screen for diagnosis and treatment of children is involved., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator', index: 34}
              min: 0
              max: 1
            nursingHomeResidentialStatus:
              match: {}
              schema:
                type: Extension
                short: A code specifying the status of a nursing home resident at the time of service. (SV209)
                mustSupport: true
                url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus
                index: 35
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 37
            nursingHomeLevelOfCare:
              match: {}
              schema: {type: Extension, short: 'A code specifying the level of care provided by a nursing home facility. (SV120, SV210)', mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare', index: 38}
              min: 0
              max: 1
            revenueUnitRateLimit:
              match: {}
              schema: {type: Extension, short: The limit on the rate per unit of revenue for hospital accomodation. (SV206), mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit', index: 39}
              min: 0
              max: 1
            requestedService:
              match: {}
              schema: {type: Extension, short: The details of the service being requested., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService', index: 40}
              min: 0
              max: 1
            infoChanged:
              match: {}
              schema: {type: Extension, short: A code indicating how the piece of information has changed., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-infoChanged', index: 41}
              min: 0
              max: 1
      modifierExtension:
        index: 42
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            infoCancelledFlag:
              match: {url: null}
              schema: {type: Extension, short: Indicates that this piece of information is not to be used., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/modifierextension-infoCancelled', index: 43}
              min: 0
              max: 1
      category: {short: 'Since PAS requests only have item-level information, a category is required for conformance with the X12 278 request.', index: 44}
      location:
        choices: []
        index: 46
      unitPrice: {mustSupport: true, index: 47}
    required: [location, category]
package_version: pas-2.1.0-preview
extensions:
  encounter:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter
    type: Extension
    short: Information about a hospital claim being requested.
    mustSupport: true
    index: 0
    elements:
      value:
        choices: [valueReference]
        index: 2
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-encounter']
        index: 3
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-update
base: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base
version: 2.1.0-preview
required: [related, identifier, item]