PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-pas@2.1.0
    http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base
description: PAS constraints on Claim resource that are common to both the request and the inquiry.
package_name: hl7.fhir.us.davinci-pas
derivation: constraint
name: PASClaimBase
abstract: true
type: Claim
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary']
    index: 8
  insurance:
    mustSupport: true
    index: 83
    elements:
      sequence: {mustSupport: true, index: 84}
      focal:
        pattern: {type: Boolean, value: true}
        index: 85
      coverage:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage']
        index: 86
  diagnosis:
    mustSupport: true
    index: 77
    elements:
      sequence: {mustSupport: true, index: 78}
      diagnosis:
        mustSupport: true
        choices: [diagnosisCodeableConcept]
        index: 80
      diagnosisCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: diagnosis, index: 81}
      type:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278DiagnosisType'}
        mustSupport: true
        index: 82
  supportingInfo:
    mustSupport: true
    index: 32
    elements:
      sequence: {mustSupport: true, index: 33}
      category:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-pas/ValueSet/PASSupportingInfoType'}
        mustSupport: true
        index: 34
    slicing:
      rules: open
      description: Slice based on the different types of supporting information that can be included in a authorization request.
      discriminator:
      - {path: category, type: value}
      min: null
      slices:
        PatientEvent:
          match:
            category:
              coding:
              - {code: patientEvent, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
          schema:
            short: Information about the dates of the event that are being requested.
            mustSupport: true
            index: 35
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: patientEvent, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 36
              timing:
                mustSupport: true
                choices: [timingPeriod]
                index: 43
                slicing:
                  slices:
                    timingPeriod:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [timingPeriod]
                        index: 43
                      min: 0
                      max: 1
              timingDate:
                constraint:
                  FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                type: date
                mustSupport: true
                choiceOf: timing
                index: 41
                slicing:
                  slices:
                    timingDate:
                      match: {}
                      schema:
                        constraint:
                          FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                        type: date
                        mustSupport: true
                        choiceOf: timing
                        index: 41
                      min: 0
                      max: 1
              timingPeriod:
                type: Period
                mustSupport: true
                choiceOf: timing
                index: 44
                slicing:
                  slices:
                    timingPeriod:
                      match: {}
                      schema: {type: Period, mustSupport: true, choiceOf: timing, index: 44}
                      min: 0
                      max: 1
              timing[x]:
                elements:
                  start:
                    constraint:
                      FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                    mustSupport: true
                    index: 45
                  end:
                    constraint:
                      FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                    mustSupport: true
                    index: 46
              value:
                choices: []
                index: 48
            required: [timing]
        AdmissionDates:
          match:
            category:
              coding:
              - {code: admissionDates, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
          schema:
            short: Information about the admission dates of a hospital admission being requested.
            mustSupport: true
            index: 49
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: admissionDates, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 50
              timing:
                mustSupport: true
                choices: [timingPeriod]
                index: 57
                slicing:
                  slices:
                    timingPeriod:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [timingPeriod]
                        index: 57
                      min: 0
                      max: 1
              timingDate:
                constraint:
                  FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                type: date
                mustSupport: true
                choiceOf: timing
                index: 55
                slicing:
                  slices:
                    timingDate:
                      match: {}
                      schema:
                        constraint:
                          FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                        type: date
                        mustSupport: true
                        choiceOf: timing
                        index: 55
                      min: 0
                      max: 1
              timingPeriod:
                type: Period
                mustSupport: true
                choiceOf: timing
                index: 58
                slicing:
                  slices:
                    timingPeriod:
                      match: {}
                      schema: {type: Period, mustSupport: true, choiceOf: timing, index: 58}
                      min: 0
                      max: 1
              timing[x]:
                elements:
                  start:
                    constraint:
                      FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                    mustSupport: true
                    index: 59
                  end:
                    constraint:
                      FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                    mustSupport: true
                    index: 60
              value:
                choices: []
                index: 62
            required: [timing]
        DischargeDates:
          match:
            category:
              coding:
              - {code: dischargeDates, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
          schema:
            short: Information about the discharge dates of a hospital admission being requested.
            mustSupport: true
            index: 63
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: dischargeDates, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 64
              timing:
                mustSupport: true
                choices: [timingPeriod]
                index: 71
                slicing:
                  slices:
                    timingPeriod:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [timingPeriod]
                        index: 71
                      min: 0
                      max: 1
              timingDate:
                constraint:
                  FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                type: date
                mustSupport: true
                choiceOf: timing
                index: 69
                slicing:
                  slices:
                    timingDate:
                      match: {}
                      schema:
                        constraint:
                          FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                        type: date
                        mustSupport: true
                        choiceOf: timing
                        index: 69
                      min: 0
                      max: 1
              timingPeriod:
                type: Period
                mustSupport: true
                choiceOf: timing
                index: 72
                slicing:
                  slices:
                    timingPeriod:
                      match: {}
                      schema: {type: Period, mustSupport: true, choiceOf: timing, index: 72}
                      min: 0
                      max: 1
              timing[x]:
                elements:
                  start:
                    constraint:
                      FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                    mustSupport: true
                    index: 73
                  end:
                    constraint:
                      FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                    mustSupport: true
                    index: 74
              value:
                choices: []
                index: 76
            required: [timing]
  use:
    mustSupport: true
    pattern: {type: Code, value: preauthorization}
    index: 7
  item:
    mustSupport: true
    index: 93
    extensions:
      itemTraceNumber: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber', min: 0, type: Extension, short: Uniquely identifies this claim item. (2000F-TRN), mustSupport: true, index: 95}
      authorizationNumber: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber', min: 0, max: 1, type: Extension, short: A string assigned by the UMO to an authorized review outcome associated with this service item., mustSupport: true, index: 96}
      administrationReferenceNumber: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber', min: 0, max: 1, type: Extension, short: A string assigned by the UMO to the original disallowed review outcome associated with this service item., mustSupport: true, index: 97}
      requestType: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType', min: 0, max: 1, type: Extension, short: A code that identifies the type of service being requested., mustSupport: true, index: 98}
      certificationType: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType', min: 0, max: 1, type: Extension, short: A code representing the type of certification being requested (UM02), mustSupport: true, index: 99}
      productOrServiceCodeEnd: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-productOrServiceCodeEnd', min: 0, max: 1, type: Extension, short: Used to provide the last code in a series of codes for the service being requested., mustSupport: true, index: 100}
    elements:
      category:
        binding: {strength: required, valueSet: 'https://valueset.x12.org/x217/005010/request/2000F/UM/1/03/00/1365'}
        mustSupport: true
        index: 106
      diagnosisSequence: {mustSupport: true, index: 103}
      modifier:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceModifierType'}
        mustSupport: true
        index: 108
      revenue:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-pas/ValueSet/AHANUBCRevenueCodes'}
        mustSupport: true
        index: 105
      locationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: location, index: 121}
      serviced:
        choices: [servicedPeriod]
        index: 115
        slicing:
          slices:
            servicedPeriod:
              match: {}
              schema:
                choices: [servicedPeriod]
                index: 115
              min: 0
              max: 1
      careTeamSequence: {mustSupport: true, index: 102}
      productOrService:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceType'}
        mustSupport: true
        index: 107
      extension:
        index: 94
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            itemTraceNumber:
              match: {url: null}
              schema: {type: Extension, short: Uniquely identifies this claim item. (2000F-TRN), mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber', index: 95}
              min: 0
            authorizationNumber:
              match: {url: null}
              schema: {type: Extension, short: A string assigned by the UMO to an authorized review outcome associated with this service item., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber', index: 96}
              min: 0
              max: 1
            administrationReferenceNumber:
              match: {url: null}
              schema: {type: Extension, short: A string assigned by the UMO to the original disallowed review outcome associated with this service item., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber', index: 97}
              min: 0
              max: 1
            requestType:
              match: {url: null}
              schema: {type: Extension, short: A code that identifies the type of service being requested., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType', index: 98}
              min: 0
              max: 1
            certificationType:
              match: {url: null}
              schema: {type: Extension, short: A code representing the type of certification being requested (UM02), mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType', index: 99}
              min: 0
              max: 1
            productOrServiceCodeEnd:
              match: {url: null}
              schema: {type: Extension, short: Used to provide the last code in a series of codes for the service being requested., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-productOrServiceCodeEnd', index: 100}
              min: 0
              max: 1
      informationSequence: {mustSupport: true, index: 104}
      servicedDate:
        type: date
        constraint:
          FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
        choiceOf: serviced
        index: 113
        slicing:
          slices:
            servicedDate:
              match: {}
              schema:
                type: date
                constraint:
                  FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
                choiceOf: serviced
                index: 113
              min: 0
              max: 1
      sequence: {mustSupport: true, index: 101}
      serviced[x]:
        elements:
          start:
            constraint:
              FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
            index: 117
          end:
            constraint:
              FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
            index: 118
      quantity: {type: Quantity, mustSupport: true, index: 122}
      location:
        mustSupport: true
        choices: [locationCodeableConcept]
        index: 120
      servicedPeriod:
        type: Period
        choiceOf: serviced
        index: 116
        slicing:
          slices:
            servicedPeriod:
              match: {}
              schema: {type: Period, choiceOf: serviced, index: 116}
              min: 0
              max: 1
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        levelOfServiceType:
          match: {url: null}
          schema: {type: Extension, short: A code specifying the level of service being requested (UM06), mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode', index: 1}
          min: 0
          max: 1
        conditionCode:
          match: {url: null}
          schema: {type: Extension, short: Used to indicate condition codes for various requests for service., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-conditionCode', index: 2}
          min: 0
        homeHealthCareInformation:
          match: {url: null}
          schema: {type: Extension, short: Used to provide required information about home health care services. (CR6), mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-homeHealthCareInformation', index: 3}
          min: 0
          max: 1
  insurer:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer']
    index: 9
  accident:
    mustSupport: true
    index: 87
    elements:
      date:
        constraint:
          FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base', severity: error, expression: $this.toString().length() = 10}
        mustSupport: true
        index: 88
      type:
        binding: {strength: required, valueSet: 'https://valueset.x12.org/x217/005010/request/2000E/UM/1/05/01/1362'}
        mustSupport: true
        index: 89
      location:
        mustSupport: true
        choices: [locationAddress]
        index: 91
      locationAddress: {type: Address, mustSupport: true, choiceOf: location, index: 92}
  status:
    mustSupport: true
    pattern: {type: Code, value: active}
    index: 6
  identifier:
    type: Identifier
    short: Business identifier for claim
    mustSupport: true
    index: 4
    elements:
      system: {short: 'SHOULD use a scheme of ''urn:trnorg:''', index: 5}
  provider:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole', 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor']
    index: 10
  careTeam:
    mustSupport: true
    index: 11
    extensions:
      careTeamClaimScope: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope', min: 1, max: 1, type: Extension, mustSupport: true, index: 13}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            careTeamClaimScope:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope', index: 13}
              min: 1
              max: 1
      sequence: {mustSupport: true, index: 14}
      provider:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-organization', 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole']
        index: 15
      role: {mustSupport: true, index: 16}
      qualification: {mustSupport: true, index: 17}
    required: [extension]
    slicing:
      rules: open
      description: Slice based on whether the care team member belongs to the overall claim or to an individual claim item.
      discriminator:
      - {path: 'extension(''http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope'').value.ofType(boolean)', type: value}
      min: null
      slices:
        OverallClaimMember:
          match:
            extension('http://hl7:
              org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope'):
                value: {ofType(boolean): null}
          schema:
            short: 'Care Team Providers that are applicable to all services being requested.  NOTE: Only the first 14 can be sent in the X12 Request.'
            mustSupport: true
            array: true
            index: 18
            extensions:
              careTeamClaimScope:
                url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope
                type: Extension
                mustSupport: true
                index: 20
                elements:
                  value:
                    mustSupport: true
                    pattern: {type: Boolean, value: true}
                    choices: []
                    index: 22
            elements:
              extension:
                index: 19
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    careTeamClaimScope:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope
                        index: 20
                        elements:
                          value:
                            mustSupport: true
                            pattern: {type: Boolean, value: true}
                            choices: []
                            index: 22
              role:
                binding: {strength: required, valueSet: 'https://valueset.x12.org/x217/005010/request/2010EA/NM1/1/01/00/98'}
                index: 23
              qualification:
                binding: {strength: required, valueSet: 'https://valueset.x12.org/x217/005010/request/2010EA/PRV/1/03/00/127'}
                index: 24
            required: [extension]
        ItemClaimMember:
          match:
            extension('http://hl7:
              org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope'):
                value: {ofType(boolean): null}
          schema:
            short: 'Care Team Providers that are applicable to a specific item (as referenced by that item).  NOTE: Only the first 10 can be sent in the X12 Request.'
            mustSupport: true
            array: true
            index: 25
            extensions:
              careTeamClaimScope:
                url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope
                type: Extension
                mustSupport: true
                index: 27
                elements:
                  value:
                    mustSupport: true
                    pattern: {type: Boolean, value: false}
                    choices: []
                    index: 29
            elements:
              extension:
                index: 26
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    careTeamClaimScope:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope
                        index: 27
                        elements:
                          value:
                            mustSupport: true
                            pattern: {type: Boolean, value: false}
                            choices: []
                            index: 29
              role:
                binding: {strength: required, valueSet: 'https://valueset.x12.org/x217/005010/request/2010F/NM1/1/01/00/98'}
                index: 30
              qualification:
                binding: {strength: required, valueSet: 'https://valueset.x12.org/x217/005010/request/2010F/PRV/1/03/00/127'}
                index: 31
            required: [extension]
package_version: 2.1.0
extensions:
  levelOfServiceType: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode', min: 0, max: 1, type: Extension, short: A code specifying the level of service being requested (UM06), mustSupport: true, index: 1}
  conditionCode: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-conditionCode', min: 0, type: Extension, short: Used to indicate condition codes for various requests for service., mustSupport: true, index: 2}
  homeHealthCareInformation: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-homeHealthCareInformation', min: 0, max: 1, type: Extension, short: Used to provide required information about home health care services. (CR6), mustSupport: true, index: 3}
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-base
base: http://hl7.org/fhir/StructureDefinition/Claim
version: 2.1.0
required: [insurer]