PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@atr-1.0.0
    http://hl7.org/fhir/us/davinci-atr/StructureDefinition/atr-group
description: This is the Group Resource profile for the IG.
package_name: hl7.fhir.us.davinci
derivation: constraint
name: ATRGroup
type: Group
elements:
  meta:
    elements:
      lastUpdated: {mustSupport: true, index: 0}
    required: [lastUpdated]
  name: {mustSupport: true, index: 20}
  type:
    type: code
    pattern: {type: Code, value: person}
    mustSupport: true
    index: 18
  member:
    mustSupport: true
    array: true
    index: 22
    extensions:
      changeType:
        url: http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-changeType
        min: 0
        max: 1
        type: Extension
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-atr/ValueSet/atr-changetype'}
        mustSupport: true
        index: 23
      coverageReference: {url: 'http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-coverageReference', min: 0, max: 1, type: Extension, mustSupport: true, index: 24}
      attributedProvider: {url: 'http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-attributedProvider', min: 0, max: 1, type: Extension, mustSupport: true, index: 25}
    elements:
      extension:
        type: Extension
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-atr/ValueSet/atr-changetype'}
        mustSupport: true
        url: http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-changeType
        index: 23
        slicing:
          slices:
            changeType:
              match: {}
              schema:
                type: Extension
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-atr/ValueSet/atr-changetype'}
                mustSupport: true
                url: http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-changeType
                index: 23
              min: 0
              max: 1
            coverageReference:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-coverageReference', index: 24}
              min: 0
              max: 1
            attributedProvider:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-attributedProvider', index: 25}
              min: 0
              max: 1
      entity:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/davinci-atr/StructureDefinition/atr-patient']
        index: 26
      period: {mustSupport: true, index: 27}
      inactive: {mustSupport: true, index: 28}
    required: [entity]
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-contractValidityPeriod
    index: 1
    slicing:
      slices:
        contractValidityPeriod:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-contractValidityPeriod', index: 1}
          min: 0
          max: 1
  active: {mustSupport: true, index: 17}
  identifier:
    mustSupport: true
    array: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.system, type: value}
      - {path: type.coding.code, type: value}
      min: 0
      slices:
        NPIIdentifier:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: NPI}
          schema:
            mustSupport: true
            array: true
            index: 3
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                index: 4
                elements:
                  coding:
                    mustSupport: true
                    index: 5
                    elements:
                      system:
                        type: uri
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 6
                      code:
                        type: code
                        pattern: {type: Code, value: NPI}
                        mustSupport: true
                        index: 7
                    required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 8}
              value: {mustSupport: true, index: 9}
            required: [value, type, system]
        TAXIdentifier:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: TAX}
          schema:
            mustSupport: true
            array: true
            index: 10
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                index: 11
                elements:
                  coding:
                    mustSupport: true
                    index: 12
                    elements:
                      system:
                        type: uri
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 13
                      code:
                        type: code
                        pattern: {type: Code, value: TAX}
                        mustSupport: true
                        index: 14
                    required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 15}
              value: {mustSupport: true, index: 16}
            required: [value, type, system]
  managingEntity:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-atr/StructureDefinition/atr-organization']
    index: 21
  actual:
    type: boolean
    mustSupport: true
    pattern: {type: Boolean, value: true}
    index: 19
package_version: atr-1.0.0
extensions:
  contractValidityPeriod: {url: 'http://hl7.org/fhir/us/davinci-atr/StructureDefinition/ext-contractValidityPeriod', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-atr/StructureDefinition/atr-group
base: http://hl7.org/fhir/StructureDefinition/Group
version: 1.0.0
required: [managingEntity, type, actual]