PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@1.8.0
    http://hl7.org/fhir/StructureDefinition/Contract
description: Base StructureDefinition for Contract Resource
package_name: hl7.fhir.core
derivation: specialization
name: Contract
type: Contract
elements:
  applies: {short: Effective time, type: Period, isSummary: true, index: 3}
  authority:
    short: Authority under which this Contract has standing
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
    type: Reference
    array: true
    index: 6
  rule:
    type: BackboneElement
    short: Computable Contract Language
    array: true
    index: 77
    elements:
      content:
        short: Computable Contract Rules
        choices: [contentAttachment, contentReference]
        index: 79
      contentAttachment: {type: Attachment, short: Computable Contract Rules, choiceOf: content, index: 80}
      contentReference:
        short: Computable Contract Rules
        refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
        type: Reference
        choiceOf: content
        index: 81
    required: [contentAttachment, contentReference, content]
  type: {short: Contract Type, type: CodeableConcept, isSummary: true, index: 8}
  legal:
    type: BackboneElement
    short: Contract Legal Language
    array: true
    index: 70
    elements:
      content:
        short: Contract Legal Text
        choices: [contentAttachment, contentReference, contentReference, contentReference]
        index: 72
      contentAttachment: {type: Attachment, short: Contract Legal Text, choiceOf: content, index: 73}
      contentReference:
        short: Contract Legal Text
        refers: ['http://hl7.org/fhir/StructureDefinition/Composition']
        type: Reference
        choiceOf: content
        index: 74
    required: [contentAttachment, contentReference, content]
  topic:
    short: Context of the Contract
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    comments: "The Contract.topic may be an application for or offer of a policy or service (e.g., uri to a consent directive form or a health insurance policy), which becomes the Contract once accepted by both the grantor and grantee. \nThe Contract Resource may function simply as the computable representation of the executed contract, which may be the attached to the Contract Resource as the “binding” or as the “friendly” electronic form.  For example, a Contract Resource may be automatically populated with the values expressed in a related QuestionnaireResponse. \nHowever, the Contract Resource may be considered the legally binding contract if it is the only “executed” form of this contract, and includes the signatures as *The Contract Resource may function as the computable representation of an application or offer in a pre-executed Contract if the grantor has not entered any values.  In this case, it is populated with values in a “legal” form of the application or offer or by the values in an associated Questionnaire.  If the grantor has filled in the legal form or the associated Questionnaire Response, then these values are used to populate a pre-executed Contract Resource.\nIf the Contract.topic is considered an application or offer, then the policy is often required to be attached as the “legal” basis for the application to ensure “informed consent” to the contract, and that any discrepancy between the application and the policy are interpreted against the policy.  Implementers should check organizational and jurisdictional policies to determine the relationship among multiple representations of a contract pre- and post-execution."
    type: Reference
    array: true
    isSummary: true
    index: 5
  agent:
    short: Contract Agent
    comments: |-
      Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.
      For example, in cases of actions initiated by one user for other users, or in events that involve more than one user, hardware device, software, or system process. However, only one user may be the initiator/requestor for the event.
    type: BackboneElement
    array: true
    index: 12
    elements:
      actor:
        type: Reference
        short: Contract Agent Type
        refers: ['http://hl7.org/fhir/StructureDefinition/Contract', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Substance']
        index: 13
      role: {type: CodeableConcept, short: Contract  Agent Role, array: true, index: 14}
    required: [actor]
  signer:
    short: Contract Signer
    comments: |-
      Signers who are principal parties to the contract are bound by the Contract.activity related to the Contract.topic, and the Contract.term(s), which either extend or restrict the overall action on the topic by, for example, stipulating specific policies or obligations constraining actions, action reason, or agents with respect to some or all of the topic.
      For example, specifying how policies or obligations shall constrain actions and action reasons permitted or denied on all or a subset of the Contract.topic (e.g., all or a portion of property being transferred by the contract), agents (e.g., who can resell, assign interests, or alter the property being transferred by the contract), actions, and action reasons; or with respect to Contract.terms, stipulating, extending, or limiting the Contract.period of applicability or valuation of items under consideration.
    type: BackboneElement
    array: true
    index: 15
    elements:
      type: {type: Coding, short: Contract Signer Type, index: 16}
      party:
        type: Reference
        short: Contract Signatory Party
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 17
      signature: {type: Signature, short: Contract Documentation Signature, array: true, min: 1, index: 18}
    required: [signature, type, party]
  term:
    type: BackboneElement
    short: Contract Term List
    array: true
    index: 31
    elements:
      group:
        short: Nested Contract Term Group
        elementReference: ['http://hl7.org/fhir/StructureDefinition/Contract', elements, term]
        array: true
        index: 56
      applies: {type: Period, short: Contract Term Effective Time, isSummary: true, index: 34}
      type: {type: CodeableConcept, short: Contract Term Type, index: 35}
      topic:
        short: Context of the Contract term
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        comments: The Contract.term.topic, as a Contract Resource subpart, is handled in the same manner as the Contract Resource as discussed above.
        type: Reference
        array: true
        isSummary: true
        index: 37
      agent:
        short: Contract Term Agent List
        comments: |-
          Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.
          For example, in cases of actions initiated by one user for other users, or in events that involve more than one user, hardware device, software, or system process. However, only one user may be the initiator/requestor for the event.
        type: BackboneElement
        array: true
        index: 40
        elements:
          actor:
            type: Reference
            short: Contract Term Agent List
            refers: ['http://hl7.org/fhir/StructureDefinition/Contract', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Substance']
            index: 41
          role: {type: CodeableConcept, short: Contract Term Agent Role, array: true, index: 42}
        required: [actor]
      actionReason: {type: CodeableConcept, short: Contract Term Action Reason, array: true, index: 39}
      identifier: {type: Identifier, short: Contract Term identifier, isSummary: true, index: 32}
      action: {type: CodeableConcept, short: Contract Term Action, array: true, index: 38}
      issued: {type: dateTime, short: Contract Term Issue Date Time, isSummary: true, index: 33}
      subType: {type: CodeableConcept, short: Contract Term Subtype, index: 36}
      valuedItem:
        short: Contract Term Valued Item
        type: BackboneElement
        array: true
        index: 44
        elements:
          net: {type: Money, short: Total Contract Term Valued Item Value, index: 55}
          points: {type: decimal, short: Contract Term Valued Item Difficulty Scaling Factor, index: 54}
          factor: {type: decimal, short: Contract Term Valued Item Price Scaling Factor, index: 53}
          entityCodeableConcept: {short: Contract Term Valued Item Type, type: CodeableConcept, choiceOf: entity, index: 47}
          identifier: {type: Identifier, short: Contract Term Valued Item Identifier, index: 49}
          effectiveTime: {type: dateTime, short: Contract Term Valued Item Effective Tiem, index: 50}
          quantity: {type: Quantity, short: Contract Term Valued Item Count, index: 51}
          entity:
            short: Contract Term Valued Item Type
            choices: [entityCodeableConcept, entityReference]
            index: 46
          unitPrice: {type: Money, short: 'Contract Term Valued Item fee, charge, or cost', index: 52}
          entityReference:
            short: Contract Term Valued Item Type
            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
            type: Reference
            choiceOf: entity
            index: 48
      text: {type: string, short: Human readable Contract term text, index: 43}
  friendly:
    type: BackboneElement
    short: Contract Friendly Language
    array: true
    index: 63
    elements:
      content:
        short: Easily comprehended representation of this Contract
        choices: [contentAttachment, contentReference, contentReference, contentReference]
        index: 65
      contentAttachment: {type: Attachment, short: Easily comprehended representation of this Contract, choiceOf: content, index: 66}
      contentReference:
        short: Easily comprehended representation of this Contract
        refers: ['http://hl7.org/fhir/StructureDefinition/Composition']
        type: Reference
        choiceOf: content
        index: 67
    required: [contentAttachment, contentReference, content]
  binding:
    short: Binding Contract
    choices: [bindingAttachment, bindingReference, bindingReference, bindingReference]
    index: 58
  status: {isModifier: true, short: active | cancelled | draft | entered-in-error, type: code, isSummary: true, index: 1}
  actionReason: {short: Contract Action Reason, type: CodeableConcept, array: true, index: 11}
  identifier: {short: Contract identifier, type: Identifier, isSummary: true, index: 0}
  action: {short: Contract Action, type: CodeableConcept, array: true, index: 10}
  issued: {short: When this Contract was issued, type: dateTime, isSummary: true, index: 2}
  domain:
    short: Domain in which this Contract applies
    refers: ['http://hl7.org/fhir/StructureDefinition/Location']
    type: Reference
    array: true
    index: 7
  subType: {short: Contract Subtype, type: CodeableConcept, array: true, isSummary: true, index: 9}
  valuedItem:
    short: Contract Valued Item
    type: BackboneElement
    array: true
    index: 19
    elements:
      net: {type: Money, short: Total Contract Valued Item Value, index: 30}
      points: {type: decimal, short: Contract Valued Item Difficulty Scaling Factor, index: 29}
      factor: {type: decimal, short: Contract Valued Item Price Scaling Factor, index: 28}
      entityCodeableConcept: {short: Contract Valued Item Type, type: CodeableConcept, choiceOf: entity, index: 22}
      identifier: {type: Identifier, short: Contract Valued Item Identifier, index: 24}
      effectiveTime: {type: dateTime, short: Contract Valued Item Effective Tiem, index: 25}
      quantity: {type: Quantity, short: Count of Contract Valued Items, index: 26}
      entity:
        short: Contract Valued Item Type
        choices: [entityCodeableConcept, entityReference]
        index: 21
      unitPrice: {type: Money, short: 'Contract Valued Item fee, charge, or cost', index: 27}
      entityReference:
        short: Contract Valued Item Type
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        choiceOf: entity
        index: 23
  bindingReference:
    short: Binding Contract
    refers: ['http://hl7.org/fhir/StructureDefinition/Composition']
    type: Reference
    choiceOf: binding
    index: 60
  subject:
    short: Contract Target Entity
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    comments: "The Contract.subject is an entity that has some role with respect to the Contract.topic and Contract.topic.term, which is of focal interest to the parties to the contract and likely impacted in a significant way by the Contract.action/Contract.action.reason and the Contract.term.action/Contract.action.reason. \nIn many cases, the Contract.subject is a Contract.signer if the subject is an adult; has a legal interest in the contract; and incompetent to participate in the contract agreement."
    type: Reference
    array: true
    isSummary: true
    index: 4
  bindingAttachment: {type: Attachment, short: Binding Contract, choiceOf: binding, index: 59}
package_version: 1.8.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Contract
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: null