STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

13.11 Resource Contract - Content

Financial Management Work Group Maturity Level : 1 Compartments : Not linked to any defined compartments

A formal agreement between parties regarding the conduct of business, exchange of information or other matters.

The Contract resource is the basal resource to convey information of all manner of contracts for financial (e.g. Insurance policies), business arrangements (eg. supply contracts) and privacy and security (e.g. consent directives). Todo

This resource is referenced by Consent , Coverage and EligibilityResponse

Structure

Name Flags Card. Type Description & Constraints doco
. . Contract DomainResource Contract
. . . identifier Σ 0..1 Identifier Contract identifier
. . . status ?! Σ 0..1 code active | cancelled | draft | entered-in-error
Financial Resource Status Codes ( Required )
. . . issued Σ 0..1 dateTime When this Contract was issued
. . . applies Σ 0..1 Period Effective time
. . . subject Σ 0..* Reference ( Any ) Contract Target Entity
. . . topic Σ 0..* Reference ( Any ) Context of the Contract
. . . authority 0..* Reference ( Organization ) Authority under which this Contract has standing
. . . domain 0..* Reference ( Location ) Domain in which this Contract applies
. . . type Σ 0..1 CodeableConcept Contract Type
Contract Type Codes ( Example )
. . . subType Σ 0..* CodeableConcept Contract Subtype
Contract Subtype Codes ( Example )
. . . action 0..* CodeableConcept Contract Action
Contract Action Codes ( Example )
. . . actionReason 0..* CodeableConcept Contract Action Reason
PurposeOfUse ( Example )
. . . agent 0..* BackboneElement Contract Agent
. . . . actor 1..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance ) Contract Agent Type
. . . . role 0..* CodeableConcept Contract Agent Role
Contract Actor Role Codes ( Example )
. . . signer 0..* BackboneElement Contract Signer
. . . . type 1..1 Coding Contract Signer Type
Contract Signer Type Codes ( Preferred )
. . . . party 1..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Contract Signatory Party
. . . . signature 1..* Signature Contract Documentation Signature
. . . valuedItem 0..* BackboneElement Contract Valued Item
. . . . entity[x] 0..1 Contract Valued Item Type
. . . . . entityCodeableConcept CodeableConcept
. . . . . entityReference Reference ( Any )
. . . . identifier 0..1 Identifier Contract Valued Item Identifier
. . . . effectiveTime 0..1 dateTime Contract Valued Item Effective Tiem
. . . . quantity 0..1 SimpleQuantity Count of Contract Valued Items
. . . . unitPrice 0..1 Money Contract Valued Item fee, charge, or cost
. . . . factor 0..1 decimal Contract Valued Item Price Scaling Factor
. . . . points 0..1 decimal Contract Valued Item Difficulty Scaling Factor
. . . . net 0..1 Money Total Contract Valued Item Value
. . . term 0..* BackboneElement Contract Term List
. . . . identifier Σ 0..1 Identifier Contract Term identifier
. . . . issued Σ 0..1 dateTime Contract Term Issue Date Time
. . . . applies Σ 0..1 Period Contract Term Effective Time
. . . . type 0..1 CodeableConcept Contract Term Type
Contract Term Type Codes ( Example )
. . . . subType 0..1 CodeableConcept Contract Term Subtype
Contract Term Type Codes ( Example )
. . . . topic Σ 0..* Reference ( Any ) Context of the Contract term
. . . . action 0..* CodeableConcept Contract Term Action
Contract Action Codes ( Example )
. . . . actionReason 0..* CodeableConcept Contract Term Action Reason
PurposeOfUse ( Example )
. . . . agent 0..* BackboneElement Contract Term Agent List
. . . . . actor 1..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance ) Contract Term Agent List
. . . . . role 0..* CodeableConcept Contract Term Agent Role
Contract Actor Role Codes ( Example )
. . . . text 0..1 string Human readable Contract term text
. . . . valuedItem 0..* BackboneElement Contract Term Valued Item
. . . . . entity[x] 0..1 Contract Term Valued Item Type
. . . . . . entityCodeableConcept CodeableConcept
. . . . . . entityReference Reference ( Any )
. . . . . identifier 0..1 Identifier Contract Term Valued Item Identifier
. . . . . effectiveTime 0..1 dateTime Contract Term Valued Item Effective Tiem
. . . . . quantity 0..1 SimpleQuantity Contract Term Valued Item Count
. . . . . unitPrice 0..1 Money Contract Term Valued Item fee, charge, or cost
. . . . . factor 0..1 decimal Contract Term Valued Item Price Scaling Factor
. . . . . points 0..1 decimal Contract Term Valued Item Difficulty Scaling Factor
. . . . . net 0..1 Money Total Contract Term Valued Item Value
. . . . group 0..* see term Nested Contract Term Group
. . . binding[x] 0..1 Binding Contract
. . . . bindingAttachment Attachment
. . . . bindingReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . friendly 0..* BackboneElement Contract Friendly Language
. . . . content[x] 1..1 Easily comprehended representation of this Contract
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . legal 0..* BackboneElement Contract Legal Language
. . . . content[x] 1..1 Contract Legal Text
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . rule 0..* BackboneElement Computable Contract Language
. . . . content[x] 1..1 Computable Contract Rules
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( DocumentReference )

doco Documentation for this format

UML Diagram ( Legend )

Contract ( DomainResource ) Unique identifier for this Contract identifier : Identifier [0..1] The status of the resource instance (this element modifies the meaning of other elements) status : code [0..1] « A code specifying the state of the resource instance. (Strength=Required) Financial Resource Status ! » When this Contract was issued issued : dateTime [0..1] Relevant time or time-period when this Contract is applicable applies : Period [0..1] The target entity impacted by or of interest to parties to the agreement subject : Reference [0..*] « Any » The matter of concern in the context of this agreement topic : Reference [0..*] « Any » A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies authority : Reference [0..*] « Organization » Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources domain : Reference [0..*] « Location » Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc type : CodeableConcept [0..1] « List of overall contract codes. (Strength=Example) Contract Type ?? » More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent subType : CodeableConcept [0..*] « Detailed codes within the above. (Strength=Example) Contract Subtype ?? » Action stipulated by this Contract action : CodeableConcept [0..*] « Detailed codes for the contract action. (Strength=Example) Contract Action ?? » Reason for action stipulated by this Contract actionReason : CodeableConcept [0..*] « Detailed codes for the contract action reason. (Strength=Example) PurposeOfUse ?? » Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract binding[x] : Type [0..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse ) » Agent Who or what parties are assigned roles in this Contract actor : Reference [1..1] « Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance » Role type of agent assigned roles in this Contract role : CodeableConcept [0..*] « Detailed codes for the contract actor role. (Strength=Example) Contract Actor Role ?? » Signatory Role of this Contract signer, e.g. notary, grantee type : Coding [1..1] « List of parties who may be signing. (Strength=Preferred) Contract Signer Type ? » Party which is a signator to this Contract party : Reference [1..1] « Organization | Patient | Practitioner | RelatedPerson » Legally binding Contract DSIG signature contents in Base64 signature : Signature [1..*] ValuedItem Specific type of Contract Valued Item that may be priced entity[x] : Type [0..1] « CodeableConcept | Reference ( Any ) » Identifies a Contract Valued Item instance identifier : Identifier [0..1] Indicates the time during which this Contract ValuedItem information is effective effectiveTime : dateTime [0..1] Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances quantity : Quantity ( SimpleQuantity ) [0..1] A Contract Valued Item unit valuation measure unitPrice : Money [0..1] A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount factor : decimal [0..1] An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point points : decimal [0..1] Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied net : Money [0..1] Term Unique identifier for this particular Contract Provision identifier : Identifier [0..1] When this Contract Provision was issued issued : dateTime [0..1] Relevant time or time-period when this Contract Provision is applicable applies : Period [0..1] Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit type : CodeableConcept [0..1] « Detailed codes for the types of contract provisions. (Strength=Example) Contract Term Type ?? » Subtype of this Contract Provision, e.g. life time maximum payment for a contract term for specific valued item, e.g. disability payment subType : CodeableConcept [0..1] « Detailed codes for the subtypes of contract provisions. (Strength=Example) Contract Term Type ?? » The matter of concern in the context of this provision of the agrement topic : Reference [0..*] « Any » Action stipulated by this Contract Provision action : CodeableConcept [0..*] « Detailed codes for the contract action. (Strength=Example) Contract Action ?? » Reason or purpose for the action stipulated by this Contract Provision actionReason : CodeableConcept [0..*] « Detailed codes for the contract action reason. (Strength=Example) PurposeOfUse ?? » Human readable form of this Contract Provision text : string [0..1] TermAgent The agent assigned a role in this Contract Provision actor : Reference [1..1] « Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance » Role played by the agent assigned this role in the execution of this Contract Provision role : CodeableConcept [0..*] « Detailed codes for the contract actor role. (Strength=Example) Contract Actor Role ?? » TermValuedItem Specific type of Contract Provision Valued Item that may be priced entity[x] : Type [0..1] « CodeableConcept | Reference ( Any ) » Identifies a Contract Provision Valued Item instance identifier : Identifier [0..1] Indicates the time during which this Contract Term ValuedItem information is effective effectiveTime : dateTime [0..1] Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances quantity : Quantity ( SimpleQuantity ) [0..1] A Contract Provision Valued Item unit valuation measure unitPrice : Money [0..1] A real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount factor : decimal [0..1] An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point points : decimal [0..1] Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied net : Money [0..1] FriendlyLanguage Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability content[x] : Type [1..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse ) » LegalLanguage Contract legal text in human renderable form content[x] : Type [1..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse ) » ComputableLanguage Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal) content[x] : Type [1..1] « Attachment | Reference ( DocumentReference ) » An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place agent [0..*] Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness signer [0..*] Contract Valued Item List valuedItem [0..*] An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place agent [0..*] Contract Provision Valued Item List valuedItem [0..*] Nested group of Contract Provisions group [0..*] One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups term [0..*] The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement friendly [0..*] List of Legal expressions or representations of this Contract legal [0..*] List of Computable Policy Rule Language Representations of this Contract rule [0..*]

XML Template

<Contract xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <identifier><!-- 0..1 Identifier Contract identifier --></identifier>
 <status value="[code]"/><!-- 0..1 active | cancelled | draft | entered-in-error -->
 <issued value="[dateTime]"/><!-- 0..1 When this Contract was issued -->
 <applies><!-- 0..1 Period Effective time --></applies>
 <subject><!-- 0..* Reference(Any) Contract Target Entity --></subject>
 <topic><!-- 0..* Reference(Any) Context of the Contract --></topic>
 <authority><!-- 0..* Reference(Organization) Authority under which this Contract has standing --></authority>
 <domain><!-- 0..* Reference(Location) Domain in which this Contract applies --></domain>
 <type><!-- 0..1 CodeableConcept Contract Type --></type>
 <subType><!-- 0..* CodeableConcept Contract Subtype --></subType>
 <action><!-- 0..* CodeableConcept Contract Action --></action>
 <actionReason><!-- 0..* CodeableConcept Contract Action Reason --></actionReason>
 <agent>  <!-- 0..* Contract Agent -->
  <actor><!-- 1..1 Reference(Contract|Device|Group|Location|Organization|Patient|
    Practitioner|RelatedPerson|Substance) Contract Agent Type --></actor>
  <role><!-- 0..* CodeableConcept Contract  Agent Role --></role>
 </agent>
 <signer>  <!-- 0..* Contract Signer -->
  <type><!-- 1..1 Coding Contract Signer Type --></type>
  <party><!-- 1..1 Reference(Organization|Patient|Practitioner|RelatedPerson) Contract Signatory Party --></party>
  <signature><!-- 1..* Signature Contract Documentation Signature --></signature>
 </signer>
 <valuedItem>  <!-- 0..* Contract Valued Item -->
  <entity[x]><!-- 0..1 CodeableConcept|Reference(Any) Contract Valued Item Type --></entity[x]>
  <identifier><!-- 0..1 Identifier Contract Valued Item Identifier --></identifier>
  <effectiveTime value="[dateTime]"/><!-- 0..1 Contract Valued Item Effective Tiem -->
  <quantity><!-- 0..1 Quantity(SimpleQuantity) Count of Contract Valued Items --></quantity>
  <unitPrice><!-- 0..1 Money Contract Valued Item fee, charge, or cost --></unitPrice>
  <factor value="[decimal]"/><!-- 0..1 Contract Valued Item Price Scaling Factor -->
  <points value="[decimal]"/><!-- 0..1 Contract Valued Item Difficulty Scaling Factor -->
  <net><!-- 0..1 Money Total Contract Valued Item Value --></net>
 </valuedItem>
 <term>  <!-- 0..* Contract Term List -->
  <identifier><!-- 0..1 Identifier Contract Term identifier --></identifier>
  <issued value="[dateTime]"/><!-- 0..1 Contract Term Issue Date Time -->
  <applies><!-- 0..1 Period Contract Term Effective Time --></applies>
  <type><!-- 0..1 CodeableConcept Contract Term Type --></type>
  <subType><!-- 0..1 CodeableConcept Contract Term Subtype --></subType>
  <topic><!-- 0..* Reference(Any) Context of the Contract term --></topic>
  <action><!-- 0..* CodeableConcept Contract Term Action --></action>
  <actionReason><!-- 0..* CodeableConcept Contract Term Action Reason --></actionReason>
  <agent>  <!-- 0..* Contract Term Agent List -->
   <actor><!-- 1..1 Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) Contract Term Agent List --></actor>
   <role><!-- 0..* CodeableConcept Contract Term Agent Role --></role>
  </agent>
  <text value="[string]"/><!-- 0..1 Human readable Contract term text -->
  <valuedItem>  <!-- 0..* Contract Term Valued Item -->
   <entity[x]><!-- 0..1 CodeableConcept|Reference(Any) Contract Term Valued Item Type --></entity[x]>
   <identifier><!-- 0..1 Identifier Contract Term Valued Item Identifier --></identifier>
   <effectiveTime value="[dateTime]"/><!-- 0..1 Contract Term Valued Item Effective Tiem -->
   <quantity><!-- 0..1 Quantity(SimpleQuantity) Contract Term Valued Item Count --></quantity>
   <unitPrice><!-- 0..1 Money Contract Term Valued Item fee, charge, or cost --></unitPrice>
   <factor value="[decimal]"/><!-- 0..1 Contract Term Valued Item Price Scaling Factor -->
   <points value="[decimal]"/><!-- 0..1 Contract Term Valued Item Difficulty Scaling Factor -->
   <net><!-- 0..1 Money Total Contract Term Valued Item Value --></net>
  </valuedItem>
  <group><!-- 0..* Content as for Contract.term Nested Contract Term Group --></group>
 </term>
 <binding[x]><!-- 0..1 Attachment|Reference(Composition|DocumentReference|
   QuestionnaireResponse) Binding Contract --></binding[x]>
 <friendly>  <!-- 0..* Contract Friendly Language -->
  <content[x]><!-- 1..1 Attachment|Reference(Composition|DocumentReference|
    QuestionnaireResponse) Easily comprehended representation of this Contract --></content[x]>
 </friendly>
 <legal>  <!-- 0..* Contract Legal Language -->
  <content[x]><!-- 1..1 Attachment|Reference(Composition|DocumentReference|
    QuestionnaireResponse) Contract Legal Text --></content[x]>
 </legal>
 <rule>  <!-- 0..* Computable Contract Language -->
  <content[x]><!-- 1..1 Attachment|Reference(DocumentReference) Computable Contract Rules --></content[x]>
 </rule>
</Contract>

JSON Template

{doco
  "resourceType" : "Contract",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "identifier" : { Identifier }, // Contract identifier
  "status" : "<code>", // active | cancelled | draft | entered-in-error
  "issued" : "<dateTime>", // When this Contract was issued
  "applies" : { Period }, // Effective time
  "subject" : [{ Reference(Any) }], // Contract Target Entity
  "topic" : [{ Reference(Any) }], // Context of the Contract
  "authority" : [{ Reference(Organization) }], // Authority under which this Contract has standing
  "domain" : [{ Reference(Location) }], // Domain in which this Contract applies
  "type" : { CodeableConcept }, // Contract Type
  "subType" : [{ CodeableConcept }], // Contract Subtype
  "action" : [{ CodeableConcept }], // Contract Action
  "actionReason" : [{ CodeableConcept }], // Contract Action Reason
  "agent" : [{ // Contract Agent
    "actor" : { Reference(Contract|Device|Group|Location|Organization|Patient|
    Practitioner|RelatedPerson|Substance) }, // R!  Contract Agent Type
    "role" : [{ CodeableConcept }] // Contract  Agent Role
  }],
  "signer" : [{ // Contract Signer
    "type" : { Coding }, // R!  Contract Signer Type
    "party" : { Reference(Organization|Patient|Practitioner|RelatedPerson) }, // R!  Contract Signatory Party
    "signature" : [{ Signature }] // R!  Contract Documentation Signature
  }],
  "valuedItem" : [{ // Contract Valued Item
    // entity[x]: Contract Valued Item Type. One of these 2:
    "entityCodeableConcept" : { CodeableConcept },
    "entityReference" : { Reference(Any) },
    "identifier" : { Identifier }, // Contract Valued Item Identifier
    "effectiveTime" : "<dateTime>", // Contract Valued Item Effective Tiem
    "quantity" : { Quantity(SimpleQuantity) }, // Count of Contract Valued Items
    "unitPrice" : { Money }, // Contract Valued Item fee, charge, or cost
    "factor" : <decimal>, // Contract Valued Item Price Scaling Factor
    "points" : <decimal>, // Contract Valued Item Difficulty Scaling Factor
    "net" : { Money } // Total Contract Valued Item Value
  }],
  "term" : [{ // Contract Term List
    "identifier" : { Identifier }, // Contract Term identifier
    "issued" : "<dateTime>", // Contract Term Issue Date Time
    "applies" : { Period }, // Contract Term Effective Time
    "type" : { CodeableConcept }, // Contract Term Type
    "subType" : { CodeableConcept }, // Contract Term Subtype
    "topic" : [{ Reference(Any) }], // Context of the Contract term
    "action" : [{ CodeableConcept }], // Contract Term Action
    "actionReason" : [{ CodeableConcept }], // Contract Term Action Reason
    "agent" : [{ // Contract Term Agent List
      "actor" : { Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) }, // R!  Contract Term Agent List
      "role" : [{ CodeableConcept }] // Contract Term Agent Role
    }],
    "text" : "<string>", // Human readable Contract term text
    "valuedItem" : [{ // Contract Term Valued Item
      // entity[x]: Contract Term Valued Item Type. One of these 2:
      "entityCodeableConcept" : { CodeableConcept },
      "entityReference" : { Reference(Any) },
      "identifier" : { Identifier }, // Contract Term Valued Item Identifier
      "effectiveTime" : "<dateTime>", // Contract Term Valued Item Effective Tiem
      "quantity" : { Quantity(SimpleQuantity) }, // Contract Term Valued Item Count
      "unitPrice" : { Money }, // Contract Term Valued Item fee, charge, or cost
      "factor" : <decimal>, // Contract Term Valued Item Price Scaling Factor
      "points" : <decimal>, // Contract Term Valued Item Difficulty Scaling Factor
      "net" : { Money } // Total Contract Term Valued Item Value
    }],
    "group" : [{ Content as for Contract.term }] // Nested Contract Term Group
  }],
  // binding[x]: Binding Contract. One of these 2:
  "bindingAttachment" : { Attachment },
  "bindingReference" : { Reference(Composition|DocumentReference|
   QuestionnaireResponse) },
  "friendly" : [{ // Contract Friendly Language
    // content[x]: Easily comprehended representation of this Contract. One of these 2:
    "contentAttachment" : { Attachment }
    "contentReference" : { Reference(Composition|DocumentReference|
    QuestionnaireResponse) }
  }],
  "legal" : [{ // Contract Legal Language
    // content[x]: Contract Legal Text. One of these 2:
    "contentAttachment" : { Attachment }
    "contentReference" : { Reference(Composition|DocumentReference|
    QuestionnaireResponse) }
  }],
  "rule" : [{ // Computable Contract Language
    // content[x]: Computable Contract Rules. One of these 2:
    "contentAttachment" : { Attachment }
    "contentReference" : { Reference(DocumentReference) }
  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco


[ a fhir:Contract;
  fhir:nodeRole fhir:treeRoot; # if this is the parser root

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:Contract.identifier [ Identifier ]; # 0..1 Contract identifier
  fhir:Contract.status [ code ]; # 0..1 active | cancelled | draft | entered-in-error
  fhir:Contract.issued [ dateTime ]; # 0..1 When this Contract was issued
  fhir:Contract.applies [ Period ]; # 0..1 Effective time
  fhir:Contract.subject [ Reference(Any) ], ... ; # 0..* Contract Target Entity
  fhir:Contract.topic [ Reference(Any) ], ... ; # 0..* Context of the Contract
  fhir:Contract.authority [ Reference(Organization) ], ... ; # 0..* Authority under which this Contract has standing
  fhir:Contract.domain [ Reference(Location) ], ... ; # 0..* Domain in which this Contract applies
  fhir:Contract.type [ CodeableConcept ]; # 0..1 Contract Type
  fhir:Contract.subType [ CodeableConcept ], ... ; # 0..* Contract Subtype
  fhir:Contract.action [ CodeableConcept ], ... ; # 0..* Contract Action
  fhir:Contract.actionReason [ CodeableConcept ], ... ; # 0..* Contract Action Reason
  fhir:Contract.agent [ # 0..* Contract Agent
    fhir:Contract.agent.actor [ Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|
  Substance) ]; # 1..1 Contract Agent Type
    fhir:Contract.agent.role [ CodeableConcept ], ... ; # 0..* Contract  Agent Role
  ], ...;
  fhir:Contract.signer [ # 0..* Contract Signer
    fhir:Contract.signer.type [ Coding ]; # 1..1 Contract Signer Type
    fhir:Contract.signer.party [ Reference(Organization|Patient|Practitioner|RelatedPerson) ]; # 1..1 Contract Signatory Party
    fhir:Contract.signer.signature [ Signature ], ... ; # 1..* Contract Documentation Signature
  ], ...;
  fhir:Contract.valuedItem [ # 0..* Contract Valued Item
    # Contract.valuedItem.entity[x] : 0..1 Contract Valued Item Type. One of these 2
      fhir:Contract.valuedItem.entityCodeableConcept [ CodeableConcept ]
      fhir:Contract.valuedItem.entityReference [ Reference(Any) ]
    fhir:Contract.valuedItem.identifier [ Identifier ]; # 0..1 Contract Valued Item Identifier
    fhir:Contract.valuedItem.effectiveTime [ dateTime ]; # 0..1 Contract Valued Item Effective Tiem
    fhir:Contract.valuedItem.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Count of Contract Valued Items
    fhir:Contract.valuedItem.unitPrice [ Money ]; # 0..1 Contract Valued Item fee, charge, or cost
    fhir:Contract.valuedItem.factor [ decimal ]; # 0..1 Contract Valued Item Price Scaling Factor
    fhir:Contract.valuedItem.points [ decimal ]; # 0..1 Contract Valued Item Difficulty Scaling Factor
    fhir:Contract.valuedItem.net [ Money ]; # 0..1 Total Contract Valued Item Value
  ], ...;
  fhir:Contract.term [ # 0..* Contract Term List
    fhir:Contract.term.identifier [ Identifier ]; # 0..1 Contract Term identifier
    fhir:Contract.term.issued [ dateTime ]; # 0..1 Contract Term Issue Date Time
    fhir:Contract.term.applies [ Period ]; # 0..1 Contract Term Effective Time
    fhir:Contract.term.type [ CodeableConcept ]; # 0..1 Contract Term Type
    fhir:Contract.term.subType [ CodeableConcept ]; # 0..1 Contract Term Subtype
    fhir:Contract.term.topic [ Reference(Any) ], ... ; # 0..* Context of the Contract term
    fhir:Contract.term.action [ CodeableConcept ], ... ; # 0..* Contract Term Action
    fhir:Contract.term.actionReason [ CodeableConcept ], ... ; # 0..* Contract Term Action Reason
    fhir:Contract.term.agent [ # 0..* Contract Term Agent List
      fhir:Contract.term.agent.actor [ Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|
  Substance) ]; # 1..1 Contract Term Agent List
      fhir:Contract.term.agent.role [ CodeableConcept ], ... ; # 0..* Contract Term Agent Role
    ], ...;
    fhir:Contract.term.text [ string ]; # 0..1 Human readable Contract term text
    fhir:Contract.term.valuedItem [ # 0..* Contract Term Valued Item
      # Contract.term.valuedItem.entity[x] : 0..1 Contract Term Valued Item Type. One of these 2
        fhir:Contract.term.valuedItem.entityCodeableConcept [ CodeableConcept ]
        fhir:Contract.term.valuedItem.entityReference [ Reference(Any) ]
      fhir:Contract.term.valuedItem.identifier [ Identifier ]; # 0..1 Contract Term Valued Item Identifier
      fhir:Contract.term.valuedItem.effectiveTime [ dateTime ]; # 0..1 Contract Term Valued Item Effective Tiem
      fhir:Contract.term.valuedItem.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Contract Term Valued Item Count
      fhir:Contract.term.valuedItem.unitPrice [ Money ]; # 0..1 Contract Term Valued Item fee, charge, or cost
      fhir:Contract.term.valuedItem.factor [ decimal ]; # 0..1 Contract Term Valued Item Price Scaling Factor
      fhir:Contract.term.valuedItem.points [ decimal ]; # 0..1 Contract Term Valued Item Difficulty Scaling Factor
      fhir:Contract.term.valuedItem.net [ Money ]; # 0..1 Total Contract Term Valued Item Value
    ], ...;
    fhir:Contract.term.group [ See Contract.term ], ... ; # 0..* Nested Contract Term Group
  ], ...;
  # Contract.binding[x] : 0..1 Binding Contract. One of these 2
    fhir:Contract.bindingAttachment [ Attachment ]
    fhir:Contract.bindingReference [ Reference(Composition|DocumentReference|QuestionnaireResponse) ]
  fhir:Contract.friendly [ # 0..* Contract Friendly Language
    # Contract.friendly.content[x] : 1..1 Easily comprehended representation of this Contract. One of these 2
      fhir:Contract.friendly.contentAttachment [ Attachment ]
      fhir:Contract.friendly.contentReference [ Reference(Composition|DocumentReference|QuestionnaireResponse) ]
  ], ...;
  fhir:Contract.legal [ # 0..* Contract Legal Language
    # Contract.legal.content[x] : 1..1 Contract Legal Text. One of these 2
      fhir:Contract.legal.contentAttachment [ Attachment ]
      fhir:Contract.legal.contentReference [ Reference(Composition|DocumentReference|QuestionnaireResponse) ]
  ], ...;
  fhir:Contract.rule [ # 0..* Computable Contract Language
    # Contract.rule.content[x] : 1..1 Computable Contract Rules. One of these 2
      fhir:Contract.rule.contentAttachment [ Attachment ]
      fhir:Contract.rule.contentReference [ Reference(DocumentReference) ]
  ], ...;
]

Changes since DSTU2

Contract
Contract.status added Element
Contract.topic added Element
Contract.agent added Element
Contract.agent.actor added Element
Contract.agent.role added Element
Contract.signer.signature Max Cardinality changed from 1 to *
Type changed from string to Signature
Contract.valuedItem.unitPrice Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.valuedItem.net Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.term.topic added Element
Contract.term.agent added Element
Contract.term.agent.actor added Element
Contract.term.agent.role added Element
Contract.term.valuedItem.unitPrice Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.term.valuedItem.net Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.actor deleted
Contract.term.subject deleted
Contract.term.actor deleted

See the Full Difference for further information

Structure

Name Flags Card. Type Description & Constraints doco
. . Contract DomainResource Contract
. . . identifier Σ 0..1 Identifier Contract identifier
. . . status ?! Σ 0..1 code active | cancelled | draft | entered-in-error
Financial Resource Status Codes ( Required )
. . . issued Σ 0..1 dateTime When this Contract was issued
. . . applies Σ 0..1 Period Effective time
. . . subject Σ 0..* Reference ( Any ) Contract Target Entity
. . . topic Σ 0..* Reference ( Any ) Context of the Contract
. . . authority 0..* Reference ( Organization ) Authority under which this Contract has standing
. . . domain 0..* Reference ( Location ) Domain in which this Contract applies
. . . type Σ 0..1 CodeableConcept Contract Type
Contract Type Codes ( Example )
. . . subType Σ 0..* CodeableConcept Contract Subtype
Contract Subtype Codes ( Example )
. . . action 0..* CodeableConcept Contract Action
Contract Action Codes ( Example )
. . . actionReason 0..* CodeableConcept Contract Action Reason
PurposeOfUse ( Example )
. . . agent 0..* BackboneElement Contract Agent
. . . . actor 1..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance ) Contract Agent Type
. . . . role 0..* CodeableConcept Contract Agent Role
Contract Actor Role Codes ( Example )
. . . signer 0..* BackboneElement Contract Signer
. . . . type 1..1 Coding Contract Signer Type
Contract Signer Type Codes ( Preferred )
. . . . party 1..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Contract Signatory Party
. . . . signature 1..* Signature Contract Documentation Signature
. . . valuedItem 0..* BackboneElement Contract Valued Item
. . . . entity[x] 0..1 Contract Valued Item Type
. . . . . entityCodeableConcept CodeableConcept
. . . . . entityReference Reference ( Any )
. . . . identifier 0..1 Identifier Contract Valued Item Identifier
. . . . effectiveTime 0..1 dateTime Contract Valued Item Effective Tiem
. . . . quantity 0..1 SimpleQuantity Count of Contract Valued Items
. . . . unitPrice 0..1 Money Contract Valued Item fee, charge, or cost
. . . . factor 0..1 decimal Contract Valued Item Price Scaling Factor
. . . . points 0..1 decimal Contract Valued Item Difficulty Scaling Factor
. . . . net 0..1 Money Total Contract Valued Item Value
. . . term 0..* BackboneElement Contract Term List
. . . . identifier Σ 0..1 Identifier Contract Term identifier
. . . . issued Σ 0..1 dateTime Contract Term Issue Date Time
. . . . applies Σ 0..1 Period Contract Term Effective Time
. . . . type 0..1 CodeableConcept Contract Term Type
Contract Term Type Codes ( Example )
. . . . subType 0..1 CodeableConcept Contract Term Subtype
Contract Term Type Codes ( Example )
. . . . topic Σ 0..* Reference ( Any ) Context of the Contract term
. . . . action 0..* CodeableConcept Contract Term Action
Contract Action Codes ( Example )
. . . . actionReason 0..* CodeableConcept Contract Term Action Reason
PurposeOfUse ( Example )
. . . . agent 0..* BackboneElement Contract Term Agent List
. . . . . actor 1..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance ) Contract Term Agent List
. . . . . role 0..* CodeableConcept Contract Term Agent Role
Contract Actor Role Codes ( Example )
. . . . text 0..1 string Human readable Contract term text
. . . . valuedItem 0..* BackboneElement Contract Term Valued Item
. . . . . entity[x] 0..1 Contract Term Valued Item Type
. . . . . . entityCodeableConcept CodeableConcept
. . . . . . entityReference Reference ( Any )
. . . . . identifier 0..1 Identifier Contract Term Valued Item Identifier
. . . . . effectiveTime 0..1 dateTime Contract Term Valued Item Effective Tiem
. . . . . quantity 0..1 SimpleQuantity Contract Term Valued Item Count
. . . . . unitPrice 0..1 Money Contract Term Valued Item fee, charge, or cost
. . . . . factor 0..1 decimal Contract Term Valued Item Price Scaling Factor
. . . . . points 0..1 decimal Contract Term Valued Item Difficulty Scaling Factor
. . . . . net 0..1 Money Total Contract Term Valued Item Value
. . . . group 0..* see term Nested Contract Term Group
. . . binding[x] 0..1 Binding Contract
. . . . bindingAttachment Attachment
. . . . bindingReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . friendly 0..* BackboneElement Contract Friendly Language
. . . . content[x] 1..1 Easily comprehended representation of this Contract
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . legal 0..* BackboneElement Contract Legal Language
. . . . content[x] 1..1 Contract Legal Text
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . rule 0..* BackboneElement Computable Contract Language
. . . . content[x] 1..1 Computable Contract Rules
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( DocumentReference )

doco Documentation for this format

UML Diagram ( Legend )

Contract ( DomainResource ) Unique identifier for this Contract identifier : Identifier [0..1] The status of the resource instance (this element modifies the meaning of other elements) status : code [0..1] « A code specifying the state of the resource instance. (Strength=Required) Financial Resource Status ! » When this Contract was issued issued : dateTime [0..1] Relevant time or time-period when this Contract is applicable applies : Period [0..1] The target entity impacted by or of interest to parties to the agreement subject : Reference [0..*] « Any » The matter of concern in the context of this agreement topic : Reference [0..*] « Any » A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies authority : Reference [0..*] « Organization » Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources domain : Reference [0..*] « Location » Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc type : CodeableConcept [0..1] « List of overall contract codes. (Strength=Example) Contract Type ?? » More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent subType : CodeableConcept [0..*] « Detailed codes within the above. (Strength=Example) Contract Subtype ?? » Action stipulated by this Contract action : CodeableConcept [0..*] « Detailed codes for the contract action. (Strength=Example) Contract Action ?? » Reason for action stipulated by this Contract actionReason : CodeableConcept [0..*] « Detailed codes for the contract action reason. (Strength=Example) PurposeOfUse ?? » Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract binding[x] : Type [0..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse ) » Agent Who or what parties are assigned roles in this Contract actor : Reference [1..1] « Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance » Role type of agent assigned roles in this Contract role : CodeableConcept [0..*] « Detailed codes for the contract actor role. (Strength=Example) Contract Actor Role ?? » Signatory Role of this Contract signer, e.g. notary, grantee type : Coding [1..1] « List of parties who may be signing. (Strength=Preferred) Contract Signer Type ? » Party which is a signator to this Contract party : Reference [1..1] « Organization | Patient | Practitioner | RelatedPerson » Legally binding Contract DSIG signature contents in Base64 signature : Signature [1..*] ValuedItem Specific type of Contract Valued Item that may be priced entity[x] : Type [0..1] « CodeableConcept | Reference ( Any ) » Identifies a Contract Valued Item instance identifier : Identifier [0..1] Indicates the time during which this Contract ValuedItem information is effective effectiveTime : dateTime [0..1] Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances quantity : Quantity ( SimpleQuantity ) [0..1] A Contract Valued Item unit valuation measure unitPrice : Money [0..1] A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount factor : decimal [0..1] An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point points : decimal [0..1] Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied net : Money [0..1] Term Unique identifier for this particular Contract Provision identifier : Identifier [0..1] When this Contract Provision was issued issued : dateTime [0..1] Relevant time or time-period when this Contract Provision is applicable applies : Period [0..1] Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit type : CodeableConcept [0..1] « Detailed codes for the types of contract provisions. (Strength=Example) Contract Term Type ?? » Subtype of this Contract Provision, e.g. life time maximum payment for a contract term for specific valued item, e.g. disability payment subType : CodeableConcept [0..1] « Detailed codes for the subtypes of contract provisions. (Strength=Example) Contract Term Type ?? » The matter of concern in the context of this provision of the agrement topic : Reference [0..*] « Any » Action stipulated by this Contract Provision action : CodeableConcept [0..*] « Detailed codes for the contract action. (Strength=Example) Contract Action ?? » Reason or purpose for the action stipulated by this Contract Provision actionReason : CodeableConcept [0..*] « Detailed codes for the contract action reason. (Strength=Example) PurposeOfUse ?? » Human readable form of this Contract Provision text : string [0..1] TermAgent The agent assigned a role in this Contract Provision actor : Reference [1..1] « Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance » Role played by the agent assigned this role in the execution of this Contract Provision role : CodeableConcept [0..*] « Detailed codes for the contract actor role. (Strength=Example) Contract Actor Role ?? » TermValuedItem Specific type of Contract Provision Valued Item that may be priced entity[x] : Type [0..1] « CodeableConcept | Reference ( Any ) » Identifies a Contract Provision Valued Item instance identifier : Identifier [0..1] Indicates the time during which this Contract Term ValuedItem information is effective effectiveTime : dateTime [0..1] Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances quantity : Quantity ( SimpleQuantity ) [0..1] A Contract Provision Valued Item unit valuation measure unitPrice : Money [0..1] A real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount factor : decimal [0..1] An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point points : decimal [0..1] Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied net : Money [0..1] FriendlyLanguage Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability content[x] : Type [1..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse ) » LegalLanguage Contract legal text in human renderable form content[x] : Type [1..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse ) » ComputableLanguage Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal) content[x] : Type [1..1] « Attachment | Reference ( DocumentReference ) » An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place agent [0..*] Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness signer [0..*] Contract Valued Item List valuedItem [0..*] An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place agent [0..*] Contract Provision Valued Item List valuedItem [0..*] Nested group of Contract Provisions group [0..*] One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups term [0..*] The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement friendly [0..*] List of Legal expressions or representations of this Contract legal [0..*] List of Computable Policy Rule Language Representations of this Contract rule [0..*]

XML Template

<Contract xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <identifier><!-- 0..1 Identifier Contract identifier --></identifier>
 <status value="[code]"/><!-- 0..1 active | cancelled | draft | entered-in-error -->
 <issued value="[dateTime]"/><!-- 0..1 When this Contract was issued -->
 <applies><!-- 0..1 Period Effective time --></applies>
 <subject><!-- 0..* Reference(Any) Contract Target Entity --></subject>
 <topic><!-- 0..* Reference(Any) Context of the Contract --></topic>
 <authority><!-- 0..* Reference(Organization) Authority under which this Contract has standing --></authority>
 <domain><!-- 0..* Reference(Location) Domain in which this Contract applies --></domain>
 <type><!-- 0..1 CodeableConcept Contract Type --></type>
 <subType><!-- 0..* CodeableConcept Contract Subtype --></subType>
 <action><!-- 0..* CodeableConcept Contract Action --></action>
 <actionReason><!-- 0..* CodeableConcept Contract Action Reason --></actionReason>
 <agent>  <!-- 0..* Contract Agent -->
  <actor><!-- 1..1 Reference(Contract|Device|Group|Location|Organization|Patient|
    Practitioner|RelatedPerson|Substance) Contract Agent Type --></actor>
  <role><!-- 0..* CodeableConcept Contract  Agent Role --></role>
 </agent>
 <signer>  <!-- 0..* Contract Signer -->
  <type><!-- 1..1 Coding Contract Signer Type --></type>
  <party><!-- 1..1 Reference(Organization|Patient|Practitioner|RelatedPerson) Contract Signatory Party --></party>
  <signature><!-- 1..* Signature Contract Documentation Signature --></signature>
 </signer>
 <valuedItem>  <!-- 0..* Contract Valued Item -->
  <entity[x]><!-- 0..1 CodeableConcept|Reference(Any) Contract Valued Item Type --></entity[x]>
  <identifier><!-- 0..1 Identifier Contract Valued Item Identifier --></identifier>
  <effectiveTime value="[dateTime]"/><!-- 0..1 Contract Valued Item Effective Tiem -->
  <quantity><!-- 0..1 Quantity(SimpleQuantity) Count of Contract Valued Items --></quantity>
  <unitPrice><!-- 0..1 Money Contract Valued Item fee, charge, or cost --></unitPrice>
  <factor value="[decimal]"/><!-- 0..1 Contract Valued Item Price Scaling Factor -->
  <points value="[decimal]"/><!-- 0..1 Contract Valued Item Difficulty Scaling Factor -->
  <net><!-- 0..1 Money Total Contract Valued Item Value --></net>
 </valuedItem>
 <term>  <!-- 0..* Contract Term List -->
  <identifier><!-- 0..1 Identifier Contract Term identifier --></identifier>
  <issued value="[dateTime]"/><!-- 0..1 Contract Term Issue Date Time -->
  <applies><!-- 0..1 Period Contract Term Effective Time --></applies>
  <type><!-- 0..1 CodeableConcept Contract Term Type --></type>
  <subType><!-- 0..1 CodeableConcept Contract Term Subtype --></subType>
  <topic><!-- 0..* Reference(Any) Context of the Contract term --></topic>
  <action><!-- 0..* CodeableConcept Contract Term Action --></action>
  <actionReason><!-- 0..* CodeableConcept Contract Term Action Reason --></actionReason>
  <agent>  <!-- 0..* Contract Term Agent List -->
   <actor><!-- 1..1 Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) Contract Term Agent List --></actor>
   <role><!-- 0..* CodeableConcept Contract Term Agent Role --></role>
  </agent>
  <text value="[string]"/><!-- 0..1 Human readable Contract term text -->
  <valuedItem>  <!-- 0..* Contract Term Valued Item -->
   <entity[x]><!-- 0..1 CodeableConcept|Reference(Any) Contract Term Valued Item Type --></entity[x]>
   <identifier><!-- 0..1 Identifier Contract Term Valued Item Identifier --></identifier>
   <effectiveTime value="[dateTime]"/><!-- 0..1 Contract Term Valued Item Effective Tiem -->
   <quantity><!-- 0..1 Quantity(SimpleQuantity) Contract Term Valued Item Count --></quantity>
   <unitPrice><!-- 0..1 Money Contract Term Valued Item fee, charge, or cost --></unitPrice>
   <factor value="[decimal]"/><!-- 0..1 Contract Term Valued Item Price Scaling Factor -->
   <points value="[decimal]"/><!-- 0..1 Contract Term Valued Item Difficulty Scaling Factor -->
   <net><!-- 0..1 Money Total Contract Term Valued Item Value --></net>
  </valuedItem>
  <group><!-- 0..* Content as for Contract.term Nested Contract Term Group --></group>
 </term>
 <binding[x]><!-- 0..1 Attachment|Reference(Composition|DocumentReference|
   QuestionnaireResponse) Binding Contract --></binding[x]>
 <friendly>  <!-- 0..* Contract Friendly Language -->
  <content[x]><!-- 1..1 Attachment|Reference(Composition|DocumentReference|
    QuestionnaireResponse) Easily comprehended representation of this Contract --></content[x]>
 </friendly>
 <legal>  <!-- 0..* Contract Legal Language -->
  <content[x]><!-- 1..1 Attachment|Reference(Composition|DocumentReference|
    QuestionnaireResponse) Contract Legal Text --></content[x]>
 </legal>
 <rule>  <!-- 0..* Computable Contract Language -->
  <content[x]><!-- 1..1 Attachment|Reference(DocumentReference) Computable Contract Rules --></content[x]>
 </rule>
</Contract>

JSON Template

{doco
  "resourceType" : "Contract",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "identifier" : { Identifier }, // Contract identifier
  "status" : "<code>", // active | cancelled | draft | entered-in-error
  "issued" : "<dateTime>", // When this Contract was issued
  "applies" : { Period }, // Effective time
  "subject" : [{ Reference(Any) }], // Contract Target Entity
  "topic" : [{ Reference(Any) }], // Context of the Contract
  "authority" : [{ Reference(Organization) }], // Authority under which this Contract has standing
  "domain" : [{ Reference(Location) }], // Domain in which this Contract applies
  "type" : { CodeableConcept }, // Contract Type
  "subType" : [{ CodeableConcept }], // Contract Subtype
  "action" : [{ CodeableConcept }], // Contract Action
  "actionReason" : [{ CodeableConcept }], // Contract Action Reason
  "agent" : [{ // Contract Agent
    "actor" : { Reference(Contract|Device|Group|Location|Organization|Patient|
    Practitioner|RelatedPerson|Substance) }, // R!  Contract Agent Type
    "role" : [{ CodeableConcept }] // Contract  Agent Role
  }],
  "signer" : [{ // Contract Signer
    "type" : { Coding }, // R!  Contract Signer Type
    "party" : { Reference(Organization|Patient|Practitioner|RelatedPerson) }, // R!  Contract Signatory Party
    "signature" : [{ Signature }] // R!  Contract Documentation Signature
  }],
  "valuedItem" : [{ // Contract Valued Item
    // entity[x]: Contract Valued Item Type. One of these 2:
    "entityCodeableConcept" : { CodeableConcept },
    "entityReference" : { Reference(Any) },
    "identifier" : { Identifier }, // Contract Valued Item Identifier
    "effectiveTime" : "<dateTime>", // Contract Valued Item Effective Tiem
    "quantity" : { Quantity(SimpleQuantity) }, // Count of Contract Valued Items
    "unitPrice" : { Money }, // Contract Valued Item fee, charge, or cost
    "factor" : <decimal>, // Contract Valued Item Price Scaling Factor
    "points" : <decimal>, // Contract Valued Item Difficulty Scaling Factor
    "net" : { Money } // Total Contract Valued Item Value
  }],
  "term" : [{ // Contract Term List
    "identifier" : { Identifier }, // Contract Term identifier
    "issued" : "<dateTime>", // Contract Term Issue Date Time
    "applies" : { Period }, // Contract Term Effective Time
    "type" : { CodeableConcept }, // Contract Term Type
    "subType" : { CodeableConcept }, // Contract Term Subtype
    "topic" : [{ Reference(Any) }], // Context of the Contract term
    "action" : [{ CodeableConcept }], // Contract Term Action
    "actionReason" : [{ CodeableConcept }], // Contract Term Action Reason
    "agent" : [{ // Contract Term Agent List
      "actor" : { Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) }, // R!  Contract Term Agent List
      "role" : [{ CodeableConcept }] // Contract Term Agent Role
    }],
    "text" : "<string>", // Human readable Contract term text
    "valuedItem" : [{ // Contract Term Valued Item
      // entity[x]: Contract Term Valued Item Type. One of these 2:
      "entityCodeableConcept" : { CodeableConcept },
      "entityReference" : { Reference(Any) },
      "identifier" : { Identifier }, // Contract Term Valued Item Identifier
      "effectiveTime" : "<dateTime>", // Contract Term Valued Item Effective Tiem
      "quantity" : { Quantity(SimpleQuantity) }, // Contract Term Valued Item Count
      "unitPrice" : { Money }, // Contract Term Valued Item fee, charge, or cost
      "factor" : <decimal>, // Contract Term Valued Item Price Scaling Factor
      "points" : <decimal>, // Contract Term Valued Item Difficulty Scaling Factor
      "net" : { Money } // Total Contract Term Valued Item Value
    }],
    "group" : [{ Content as for Contract.term }] // Nested Contract Term Group
  }],
  // binding[x]: Binding Contract. One of these 2:
  "bindingAttachment" : { Attachment },
  "bindingReference" : { Reference(Composition|DocumentReference|
   QuestionnaireResponse) },
  "friendly" : [{ // Contract Friendly Language
    // content[x]: Easily comprehended representation of this Contract. One of these 2:
    "contentAttachment" : { Attachment }
    "contentReference" : { Reference(Composition|DocumentReference|
    QuestionnaireResponse) }
  }],
  "legal" : [{ // Contract Legal Language
    // content[x]: Contract Legal Text. One of these 2:
    "contentAttachment" : { Attachment }
    "contentReference" : { Reference(Composition|DocumentReference|
    QuestionnaireResponse) }
  }],
  "rule" : [{ // Computable Contract Language
    // content[x]: Computable Contract Rules. One of these 2:
    "contentAttachment" : { Attachment }
    "contentReference" : { Reference(DocumentReference) }
  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco


[ a fhir:Contract;
  fhir:nodeRole fhir:treeRoot; # if this is the parser root

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:Contract.identifier [ Identifier ]; # 0..1 Contract identifier
  fhir:Contract.status [ code ]; # 0..1 active | cancelled | draft | entered-in-error
  fhir:Contract.issued [ dateTime ]; # 0..1 When this Contract was issued
  fhir:Contract.applies [ Period ]; # 0..1 Effective time
  fhir:Contract.subject [ Reference(Any) ], ... ; # 0..* Contract Target Entity
  fhir:Contract.topic [ Reference(Any) ], ... ; # 0..* Context of the Contract
  fhir:Contract.authority [ Reference(Organization) ], ... ; # 0..* Authority under which this Contract has standing
  fhir:Contract.domain [ Reference(Location) ], ... ; # 0..* Domain in which this Contract applies
  fhir:Contract.type [ CodeableConcept ]; # 0..1 Contract Type
  fhir:Contract.subType [ CodeableConcept ], ... ; # 0..* Contract Subtype
  fhir:Contract.action [ CodeableConcept ], ... ; # 0..* Contract Action
  fhir:Contract.actionReason [ CodeableConcept ], ... ; # 0..* Contract Action Reason
  fhir:Contract.agent [ # 0..* Contract Agent
    fhir:Contract.agent.actor [ Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|
  Substance) ]; # 1..1 Contract Agent Type
    fhir:Contract.agent.role [ CodeableConcept ], ... ; # 0..* Contract  Agent Role
  ], ...;
  fhir:Contract.signer [ # 0..* Contract Signer
    fhir:Contract.signer.type [ Coding ]; # 1..1 Contract Signer Type
    fhir:Contract.signer.party [ Reference(Organization|Patient|Practitioner|RelatedPerson) ]; # 1..1 Contract Signatory Party
    fhir:Contract.signer.signature [ Signature ], ... ; # 1..* Contract Documentation Signature
  ], ...;
  fhir:Contract.valuedItem [ # 0..* Contract Valued Item
    # Contract.valuedItem.entity[x] : 0..1 Contract Valued Item Type. One of these 2
      fhir:Contract.valuedItem.entityCodeableConcept [ CodeableConcept ]
      fhir:Contract.valuedItem.entityReference [ Reference(Any) ]
    fhir:Contract.valuedItem.identifier [ Identifier ]; # 0..1 Contract Valued Item Identifier
    fhir:Contract.valuedItem.effectiveTime [ dateTime ]; # 0..1 Contract Valued Item Effective Tiem
    fhir:Contract.valuedItem.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Count of Contract Valued Items
    fhir:Contract.valuedItem.unitPrice [ Money ]; # 0..1 Contract Valued Item fee, charge, or cost
    fhir:Contract.valuedItem.factor [ decimal ]; # 0..1 Contract Valued Item Price Scaling Factor
    fhir:Contract.valuedItem.points [ decimal ]; # 0..1 Contract Valued Item Difficulty Scaling Factor
    fhir:Contract.valuedItem.net [ Money ]; # 0..1 Total Contract Valued Item Value
  ], ...;
  fhir:Contract.term [ # 0..* Contract Term List
    fhir:Contract.term.identifier [ Identifier ]; # 0..1 Contract Term identifier
    fhir:Contract.term.issued [ dateTime ]; # 0..1 Contract Term Issue Date Time
    fhir:Contract.term.applies [ Period ]; # 0..1 Contract Term Effective Time
    fhir:Contract.term.type [ CodeableConcept ]; # 0..1 Contract Term Type
    fhir:Contract.term.subType [ CodeableConcept ]; # 0..1 Contract Term Subtype
    fhir:Contract.term.topic [ Reference(Any) ], ... ; # 0..* Context of the Contract term
    fhir:Contract.term.action [ CodeableConcept ], ... ; # 0..* Contract Term Action
    fhir:Contract.term.actionReason [ CodeableConcept ], ... ; # 0..* Contract Term Action Reason
    fhir:Contract.term.agent [ # 0..* Contract Term Agent List
      fhir:Contract.term.agent.actor [ Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|
  Substance) ]; # 1..1 Contract Term Agent List
      fhir:Contract.term.agent.role [ CodeableConcept ], ... ; # 0..* Contract Term Agent Role
    ], ...;
    fhir:Contract.term.text [ string ]; # 0..1 Human readable Contract term text
    fhir:Contract.term.valuedItem [ # 0..* Contract Term Valued Item
      # Contract.term.valuedItem.entity[x] : 0..1 Contract Term Valued Item Type. One of these 2
        fhir:Contract.term.valuedItem.entityCodeableConcept [ CodeableConcept ]
        fhir:Contract.term.valuedItem.entityReference [ Reference(Any) ]
      fhir:Contract.term.valuedItem.identifier [ Identifier ]; # 0..1 Contract Term Valued Item Identifier
      fhir:Contract.term.valuedItem.effectiveTime [ dateTime ]; # 0..1 Contract Term Valued Item Effective Tiem
      fhir:Contract.term.valuedItem.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Contract Term Valued Item Count
      fhir:Contract.term.valuedItem.unitPrice [ Money ]; # 0..1 Contract Term Valued Item fee, charge, or cost
      fhir:Contract.term.valuedItem.factor [ decimal ]; # 0..1 Contract Term Valued Item Price Scaling Factor
      fhir:Contract.term.valuedItem.points [ decimal ]; # 0..1 Contract Term Valued Item Difficulty Scaling Factor
      fhir:Contract.term.valuedItem.net [ Money ]; # 0..1 Total Contract Term Valued Item Value
    ], ...;
    fhir:Contract.term.group [ See Contract.term ], ... ; # 0..* Nested Contract Term Group
  ], ...;
  # Contract.binding[x] : 0..1 Binding Contract. One of these 2
    fhir:Contract.bindingAttachment [ Attachment ]
    fhir:Contract.bindingReference [ Reference(Composition|DocumentReference|QuestionnaireResponse) ]
  fhir:Contract.friendly [ # 0..* Contract Friendly Language
    # Contract.friendly.content[x] : 1..1 Easily comprehended representation of this Contract. One of these 2
      fhir:Contract.friendly.contentAttachment [ Attachment ]
      fhir:Contract.friendly.contentReference [ Reference(Composition|DocumentReference|QuestionnaireResponse) ]
  ], ...;
  fhir:Contract.legal [ # 0..* Contract Legal Language
    # Contract.legal.content[x] : 1..1 Contract Legal Text. One of these 2
      fhir:Contract.legal.contentAttachment [ Attachment ]
      fhir:Contract.legal.contentReference [ Reference(Composition|DocumentReference|QuestionnaireResponse) ]
  ], ...;
  fhir:Contract.rule [ # 0..* Computable Contract Language
    # Contract.rule.content[x] : 1..1 Computable Contract Rules. One of these 2
      fhir:Contract.rule.contentAttachment [ Attachment ]
      fhir:Contract.rule.contentReference [ Reference(DocumentReference) ]
  ], ...;
]

Changes since DSTU2

Contract
Contract.status added Element
Contract.topic added Element
Contract.agent added Element
Contract.agent.actor added Element
Contract.agent.role added Element
Contract.signer.signature Max Cardinality changed from 1 to *
Type changed from string to Signature
Contract.valuedItem.unitPrice Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.valuedItem.net Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.term.topic added Element
Contract.term.agent added Element
Contract.term.agent.actor added Element
Contract.term.agent.role added Element
Contract.term.valuedItem.unitPrice Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.term.valuedItem.net Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money
Contract.actor deleted
Contract.term.subject deleted
Contract.term.actor deleted

See the Full Difference for further information

 

Alternate definitions: Master Definition ( XML , JSON ), XML Schema / Schematron (for ) + JSON Schema , ShEx (for Turtle ), JSON-LD (for RDF as JSON-LD ),

Path Definition Type Reference
Contract.status A code specifying the state of the resource instance. Required Financial Resource Status Codes
Contract.type List of overall contract codes. Example Contract Type Codes
Contract.subType Detailed codes within the above. Example Contract Subtype Codes
Contract.action
Contract.term.action
Detailed codes for the contract action. Example Contract Action Codes
Contract.actionReason
Contract.term.actionReason
Detailed codes for the contract action reason. Example PurposeOfUse
Contract.agent.role
Contract.term.agent.role
Detailed codes for the contract actor role. Example Contract Actor Role Codes
Contract.signer.type List of parties who may be signing. Preferred Contract Signer Type Codes
Contract.term.type Detailed codes for the types of contract provisions. Example Contract Term Type Codes
Contract.term.subType Detailed codes for the subtypes of contract provisions. Example Contract Term Type Codes

Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.

Name Type Description Paths In Common
agent reference Agent to the Contact Contract.agent.actor
( Practitioner , Group , Organization , Device , Patient , Substance , Contract , RelatedPerson , Location )
authority reference The authority of the contract Contract.authority
( Organization )
domain reference The domain of the contract Contract.domain
( Location )
identifier token The identity of the contract Contract.identifier
issued date The date/time the contract was issued Contract.issued
patient reference The identity of the subject of the contract (if a patient) Contract.subject
( Patient )
signer reference Contract Signatory Party Contract.signer.party
( Practitioner , Organization , Patient , RelatedPerson )
subject reference The identity of the subject of the contract Contract.subject
(Any)
topic reference The identity of the topic of the contract Contract.topic
(Any)
ttopic reference The identity of the topic of the contract terms Contract.term.topic
(Any)