PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.idms@1.0.9
    https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Agreement
description: Agreements and Amendments to Agreements.
package_name: ca.on.health.idms
derivation: constraint
name: IDMS_Contract_Agreement
type: Contract
elements:
  instantiatesCanonical: {short: Orignial Contract version, index: 24}
  instantiatesUri: {index: 25}
  site: {index: 45}
  relevantHistory: {index: 150}
  supportingInfo: {short: Related Drug Submissions, index: 149}
  applies:
    short: Effective time period
    index: 28
    elements:
      start: {short: Effective date, index: 29}
      end: {short: End date, index: 30}
    required: [start]
  name: {index: 46}
  authority:
    short: Manufacturer/Distributor
    index: 33
    elements:
      reference: {index: 34}
      type: {index: 35}
      identifier:
        short: Company Code and Type
        index: 36
        elements:
          use: {index: 37}
          type: {index: 38}
          system: {index: 39}
          value: {short: Company Code, index: 40}
          period: {index: 41}
          assigner: {index: 42}
        required: [type]
      display: {index: 43}
    required: [display, reference]
  rule: {index: 166}
  type:
    short: Agreement Type
    index: 60
    elements:
      coding:
        index: 61
        elements:
          system: {index: 62}
          version: {index: 63}
          code: {short: Agreement Type Code, index: 64}
          display: {short: Agreement Type, index: 65}
          userSelected: {index: 66}
        required: [code, display]
      text: {index: 67}
    required: [coding]
  legal: {index: 165}
  contentDerivative: {index: 26}
  topic:
    choices: [topicCodeableConcept]
    index: 53
  topicCodeableConcept: {type: CodeableConcept, choiceOf: topic, index: 54}
  legalState:
    short: Agreement Status
    index: 17
    elements:
      coding:
        elements:
          system: {index: 18}
          version: {index: 19}
          code: {short: Status Code, index: 20}
          display: {short: Status Name, index: 21}
          userSelected: {index: 22}
      text: {index: 23}
  contentDefinition: {index: 69}
  scope: {index: 51}
  title: {short: Description of the Agreement, index: 47}
  topic[x]:
    elements:
      coding:
        index: 55
        elements:
          system: {index: 56}
          version: {index: 57}
          userSelected: {index: 58}
      text: {index: 59}
    required: [coding]
  signer:
    short: Agreement Signoffs
    index: 151
    elements:
      type:
        short: Type of Signoff
        index: 152
        elements:
          system: {index: 153}
          version: {index: 154}
          userSelected: {index: 155}
      party:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/PractitionerRole']
        index: 156
      signature:
        elements:
          type: {index: 157}
          when: {short: Signoff Date, index: 158}
          who: {index: 159}
          onBehalfOf: {index: 160}
          targetFormat: {index: 161}
          sigFormat: {index: 162}
          data: {index: 163}
        required: [when]
  author: {short: Lead Negotiator, index: 50}
  term:
    index: 70
    elements:
      group: {index: 148}
      applies: {index: 73}
      offer:
        index: 80
        elements:
          party: {index: 82}
          linkId: {index: 89}
          decisionMode: {index: 86}
          type: {index: 84}
          topic: {index: 83}
          securityLabelNumber: {index: 90}
          answer: {index: 87}
          identifier: {index: 81}
          decision: {index: 85}
          text:
            pattern: {type: string, value: Drug products included in the agreement}
            type: string
            index: 88
        required: [text]
      type: {index: 76}
      topic:
        choices: []
        index: 75
      identifier: {index: 71}
      action: {index: 147}
      issued: {index: 72}
      subType: {index: 77}
      securityLabel: {index: 79}
      asset:
        short: Drug Products
        index: 91
        elements:
          periodType: {index: 106}
          usePeriod: {index: 108}
          linkId: {index: 110}
          relationship: {index: 103}
          type:
            short: Product type
            index: 93
            elements:
              coding:
                index: 94
                elements:
                  system: {index: 95}
                  version: {index: 96}
                  code: {short: Agreement Product Type Code, index: 97}
                  display: {index: 98}
                  userSelected: {index: 99}
                required: [code, display]
              text: {index: 100}
            required: [coding]
          scope: {index: 92}
          securityLabelNumber: {short: Schedule A - Table, index: 112}
          typeReference: {short: Drug Product Reference, index: 101}
          condition: {short: Transfer Details, index: 105}
          answer: {index: 111}
          context: {index: 104}
          period: {index: 107}
          valuedItem:
            short: Rebate Definition Reference
            index: 113
            elements:
              linkId: {index: 145}
              entity[x]:
                elements:
                  reference: {short: Rebate Definition Reference, index: 117}
                  type: {index: 118}
                  identifier: {index: 119}
                  display: {index: 120}
              payment: {index: 141}
              recipient: {index: 144}
              net: {index: 140}
              points: {index: 139}
              responsible: {index: 143}
              securityLabelNumber: {index: 146}
              factor: {index: 138}
              paymentDate: {index: 142}
              identifier:
                index: 121
                elements:
                  use: {index: 122}
                  type:
                    index: 123
                    elements:
                      coding:
                        index: 124
                        elements:
                          system: {index: 125}
                          version: {index: 126}
                          code: {index: 127}
                          display: {index: 128}
                          userSelected: {index: 129}
                        required: [code, display]
                      text: {index: 130}
                  system: {index: 131}
                  value: {index: 132}
                  period: {index: 133}
                  assigner: {index: 134}
              effectiveTime: {index: 135}
              quantity: {index: 136}
              entity:
                choices: [entityReference]
                index: 115
              unitPrice: {short: Drug Price, index: 137}
              entityReference: {type: Reference, choiceOf: entity, index: 116}
            required: [entity, entityReference]
          subtype: {index: 102}
          text: {index: 109}
        required: [securityLabelNumber, type, typeReference]
      text: {index: 78}
    required: [asset]
  friendly: {index: 164}
  alias: {index: 49}
  status: {index: 16}
  subtitle: {short: Version Description, index: 48}
  url: {index: 14}
  identifier:
    array: true
    max: 2
    index: 0
    elements:
      use: {index: 1}
      type:
        index: 2
        elements:
          coding:
            index: 3
            elements:
              system: {index: 4}
              version: {index: 5}
              code: {index: 6}
              display: {index: 7}
              userSelected: {index: 8}
            required: [code, display]
          text: {index: 9}
        required: [coding]
      system: {index: 10}
      value: {index: 11}
      period: {index: 12}
      assigner: {index: 13}
    required: [type]
  expirationType: {index: 31}
  issued: {index: 27}
  domain: {index: 44}
  subType: {index: 68}
  version: {short: Amendment Number, index: 15}
  subject: {short: Manufacter of Distributor, index: 32}
  legallyBinding:
    choices: []
    index: 168
package_version: 1.0.9
class: profile
kind: resource
url: https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Agreement
base: http://hl7.org/fhir/StructureDefinition/Contract
version: null
required: [legalState, type]