FHIR Release 3 (STU) R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.0.2: STU 3). (v3.3.0: R4 Ballot 2). 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   Trial Use 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 , EligibilityResponse and SupplyDelivery

Structure

PurposeOfUse entityCodeableConcept entityReference Identifier Money binding[x]
Name Flags Card. Type Description & Constraints doco
. . Contract TU DomainResource Legal Agreement
Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension
. . . identifier Σ 0..1 0..* Identifier Contract number
. . . status ?! Σ 0..1 code amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated
Contract Resource Status Codes ( Required )
. . issued . contentDerivative Σ 0..1 dateTime CodeableConcept When this Content derived from the basal information
Contract was issued Content Derivation Codes ( Example )
. . applies . issued Σ 0..1 Period dateTime Effective time When this Contract was issued
. . subject . applies Σ 0..* 0..1 Reference ( Any Period ) Contract Target Entity Effective time
. . . topic subject Σ 0..* Reference ( Any ) Context of the Contract Target Entity
. . . authority 0..* Reference ( Organization ) Authority under which this Contract has standing
. . . domain 0..* Reference ( Location ) Domain in which this Contract applies A sphere of control governed by an authoritative jurisdiction, organization, or person
. . . type Σ 0..1 CodeableConcept Type or form
Contract Type Codes ( Example )
. . . subType Σ 0..* CodeableConcept Subtype within the context of type
Contract Subtype Codes ( Example )
. . action . term 0..* CodeableConcept BackboneElement Action stipulated by this Contract Contract Action Codes ( Example ) Term List
. . . . actionReason identifier Σ 0..* 0..1 CodeableConcept Identifier Rationale for the stiplulated action Contract Term Number
. . . . issued ( Example ) Σ 0..1 dateTime Contract Term Issue Date Time
. . . . decisionType applies Σ 0..1 CodeableConcept Period Decision by Grantor ActConsentDirective ( Extensible ) Contract Term Effective Time
. . . . contentDerivative type 0..1 CodeableConcept Content derived from the basal information Contract Term Type or Form
Contract Content Derivation Term Type Codes ( Example )
. . . . securityLabel subType Σ 0..* 0..1 Coding CodeableConcept Security Labels that define affected resources Contract Term Type specific classification
All Security Labels Contract Term Subtype Codes ( Extensible Example )
. . . . agent offer 0..* 1..1 BackboneElement Entity being ascribed responsibility Context of the Contract term
. . . . . actor topic Σ 1..1 0..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance Any ) Contract Agent Type Negotiable offer asset
. . . . . role type 0..* 0..1 CodeableConcept Role type of the agent Contract Offer Type or Form
Contract Actor Role Term Type Codes ( Example )
. signer 0..* BackboneElement Contract Signatory . . . . type decision 1..1 0..1 Coding CodeableConcept Contract Signatory Role Decision by Grantor
Contract Signer Type Codes ActConsentDirective ( Preferred Extensible )
. . . . party . text 1..1 0..1 Reference ( Organization | Patient | Practitioner | RelatedPerson string ) Contract Signatory Party Human readable offer text
. . . . signature . linkId 1..* 0..1 Signature string Contract Documentation Signature Pointer to text
. . . . valuedItem asset 0..* BackboneElement Contract Valued Item Term Asset List
. . . . entity[x] . class 0..1 Coding Contract Valued Item Type Resource Type, Profile, or CDA etc.
Consent Content Class ( Extensible )
. . . . . entityCodeableConcept code CodeableConcept 0..1 Coding entityReference Code in the content
Reference Consent Content Codes ( Any Example )
. . . . . identifier period 0..1 Identifier Period Contract Valued Item Number Time period of the asset
. . . . effectiveTime . dataPeriod 0..1 dateTime Period Contract Valued Item Effective Tiem Time period of the data for the asset
. . . . quantity . data 0..1 0..* SimpleQuantity BackboneElement Count of Contract Valued Items Data defined by this Asset
. . . . . unitPrice . meaning 0..1 Money code Contract Valued Item fee, charge, or cost instance | related | dependents | authoredby
ContractDataMeaning ( Required )
. . . factor . . . reference 0..1 decimal Reference ( Any ) Contract Valued Item Price Scaling Factor The actual data reference
. . . . points . valuedItem 0..1 0..* decimal BackboneElement Contract Valued Item Difficulty Scaling Factor List
. . . net . . . entity[x] 0..1 Money Total Contract Valued Item Value Type
. . term . . . . . entityCodeableConcept 0..* BackboneElement CodeableConcept Contract Term List
. . . identifier . . . . entityReference Σ 0..1 Identifier Reference ( Any ) Contract Term Number
. . . . . issued . identifier Σ 0..1 dateTime Identifier Contract Term Issue Date Time Valued Item Number
. . . . . applies . effectiveTime Σ 0..1 Period dateTime Contract Term Valued Item Effective Time Tiem
. . . . . . type quantity 0..1 CodeableConcept SimpleQuantity Count of Contract Term Type or Form Contract Term Type Codes ( Example ) Valued Items
. . . . . . subType unitPrice 0..1 CodeableConcept Money Contract Term Type specific classification Contract Term Subtype Codes ( Example ) Valued Item fee, charge, or cost
. . . . . topic . factor Σ 0..* 0..1 Reference ( Any decimal ) Context of the Contract term Valued Item Price Scaling Factor
. . . . . action . points 0..* 0..1 CodeableConcept decimal Contract Term Activity Contract Action Codes ( Example ) Valued Item Difficulty Scaling Factor
. . . . . . actionReason net 0..* 0..1 CodeableConcept Money Purpose for the Total Contract Term Action PurposeOfUse ( Example ) Valued Item Value
. . . . . securityLabel Σ 0..* Coding Security Labels that define affected terms
All Security Labels ( Extensible )
. . . . agent 0..* BackboneElement Contract Term Agent List Entity being ascribed responsibility
. . . . . actor 1..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance ) Contract Term Agent Subject Type
. . . . . role 0..* CodeableConcept Type Role type of the Contract Term Agent agent
Contract Actor Role Codes ( Example )
. . . text . action 0..1 string Human readable Contract term text valuedItem 0..* BackboneElement CodeableConcept Contract Term Valued Item List Activity
Contract Action Codes ( Example )
. . . entity[x] . actionReason 0..1 Contract Term Valued Item Type 0..* CodeableConcept Purpose for the Contract Term Action
Reference PurposeOfUse ( Any Example )
. . . identifier . group 0..1 0..* see term Nested Contract Term Valued Item Number Group
. . effectiveTime . signer 0..1 0..* dateTime BackboneElement Contract Term Valued Item Effective Tiem Signatory
. . . . quantity type 0..1 1..1 SimpleQuantity Coding Contract Term Valued Item Count Signatory Role
Contract Signer Type Codes ( Preferred )
. . . unitPrice . party 0..1 1..1 Money Reference ( Organization | Patient | Practitioner | RelatedPerson ) Contract Term Valued Item fee, charge, or cost Signatory Party
. . . factor . signature 0..1 1..* decimal Signature Contract Term Valued Item Price Scaling Factor Documentation Signature
. . points . friendly 0..1 0..* decimal BackboneElement Contract Term Valued Item Difficulty Scaling Factor Friendly Language
. . . net . content[x] 0..1 1..1 Total Easily comprehended representation of this Contract Term Valued Item Value
. . group . . . contentAttachment 0..* see term Nested Contract Term Group Attachment 0..1 Binding Contract
. . . bindingAttachment . . contentReference Attachment bindingReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . friendly legal 0..* BackboneElement Contract Friendly Legal Language
. . . . content[x] 1..1 Easily comprehended representation of this Contract Legal Text
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . legal rule 0..* 0..1 BackboneElement Computable Contract Legal Language
. . . . content[x] 1..1 Computable Contract Legal Text Rules
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . rule . legallyBinding[x] 0..* BackboneElement Computable Contract Language content[x] 0..1 1..1 Computable Binding Contract Rules
. . . . contentAttachment legallyBindingAttachment Attachment
. . . . contentReference legallyBindingReference Reference ( Composition | DocumentReference | QuestionnaireResponse | Contract )

doco Documentation for this format

UML Diagram ( Legend )

Contract ( DomainResource ) Unique identifier for this Contract or a derivative that references a Source Contract identifier : Identifier [0..1] [0..*] 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) Contract Resource Status ! » The minimal content derived from the basal information source at a specific stage in its lifecycle contentDerivative : CodeableConcept [0..1] « This is an example set of Content Derivative type codes, which represent the minimal content derived from the basal information source. (Strength=Example) Contract Content Derivation ?? » 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 ?? The type of decision made by a grantor with respect to an offer made by a grantee decisionType : CodeableConcept [0..1] The type of decision made by a grantor with respect to an offer made by a grantee. (Strength=Extensible) ActConsentDirective + The minimal content derived from the basal information source at a specific stage in its lifecycle contentDerivative : CodeableConcept [0..1] This is an example set of Content Derivative type codes, which represent the minimal content derived from the basal information source. (Strength=Example) Contract Content Derivation ?? A set of security labels that define which resources are controlled by this consent. If more than one label is specified, all resources must have all the specified labels securityLabel : Coding [0..*] Security Labels from the Healthcare Privacy and Security Classification System. (Strength=Extensible) All Security Labels + Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source "source of truth" truth" and which would be the basis for legal action related to enforcement of this Contract binding[x] legallyBinding[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 Subtype ?? » 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 ?? » ContractOffer A set The owner of security labels that define which terms are controlled by this condition an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30) securityLabel topic : Coding Reference [0..*] [0..1] « Any » Security Labels from 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 Healthcare Privacy and Security Classification System. types of contract provisions. (Strength=Example) Contract Term Type ?? » The type of decision made by a grantor with respect to an offer made by a grantee decision : CodeableConcept [0..1] « The type of decision made by a grantor with respect to an offer made by a grantee. (Strength=Extensible) All Security Labels ActConsentDirective + » Human readable form of this Contract Provision Offer text : string [0..1] The id of the clause or question text of the offer in the referenced questionnaire/response linkId : string [0..1] TermAgent ContractAsset The agent assigned a role in this Contract Provision Categorization of the type of asset actor class : Reference [1..1] Contract | Device | Group Coding | Location [0..1] « The class (type) of information a consent rule covers (Strength=Extensible) Consent Content Class | + » Organization Code in the content code | Patient : Coding | Practitioner [0..1] « If this code is found in an instance, then the exception applies (Strength=Example) Consent Content | RelatedPerson ?? » Time period of the asset period | Substance : Period [0..1] Role played by Time period of the agent assigned this role in data for the execution asset dataPeriod : Period [0..1] A set of security labels that define which terms are controlled by this Contract Provision condition role securityLabel : CodeableConcept Coding [0..*] « Detailed codes for Security Labels from the Healthcare Privacy and Security Classification System. (Strength=Extensible) All Security Labels + » AssetData instance | related | dependents | authoredby meaning : code [0..1] « How a resource reference is interpreted when evaluating contract actor role. (Strength=Example) offers (Strength=Required) Contract Actor Role ContractDataMeaning ! » The actual data reference reference ?? : Reference [0..1] « Any » TermValuedItem ValuedItem 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 Valued 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] 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..*] 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 The matter of concern in an activity for which it can be assigned some degree the context of this provision of responsibility for the activity taking place agrement agent offer [0..*] [1..1] Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound Data defined by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness this Asset signer data [0..*] Contract Valued Item List valuedItem [0..*] Contract Term Asset List asset [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..*] 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..*] The "patient "patient friendly language" language" versionof the Contract in whole or in parts. "Patient "Patient friendly language" 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..*] [0..1]

XML Template

<

<Contract xmlns="http://hl7.org/fhir"> doco

 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <</identifier>
 <
 <

 <identifier><!-- 0..* Identifier Contract number --></identifier>
 <status value="[code]"/><!-- 0..1 amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated -->
 <contentDerivative><!-- 0..1 CodeableConcept Content derived from the basal information --></contentDerivative>
 <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>

 <authority><!-- 0..* Reference(Organization) Authority under which this Contract has standing --></authority>
 <</domain>

 <domain><!-- 0..* Reference(Location) A sphere of control governed by an authoritative jurisdiction, organization, or person --></domain>

 <type><!-- 0..1 CodeableConcept Type or form --></type>
 <subType><!-- 0..* CodeableConcept Subtype within the context of type --></subType>
 <</action>
 <</actionReason>
 <</decisionType>
 <</contentDerivative>
 <</securityLabel>
 <
  <|
    </actor>
  <</role>
 </agent>
 <
  <</type>
  <</party>
  <</signature>
 </signer>
 <
  <</entity[x]>
  <</identifier>
  <
  <</quantity>
  <</unitPrice>
  <
  <
  <</net>
 </valuedItem>

 <term>  <!-- 0..* Contract Term List -->
  <identifier><!-- 0..1 Identifier Contract Term Number --></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 or Form --></type>
  <subType><!-- 0..1 CodeableConcept Contract Term Type specific classification --></subType>
  <</topic>

  <offer>  <!-- 1..1 Context of the Contract term -->
   <topic><!-- 0..1 Reference(Any) Negotiable offer asset --></topic>
   <type><!-- 0..1 CodeableConcept Contract Offer Type or Form --></type>
   <decision><!-- 0..1 CodeableConcept Decision by Grantor --></decision>
   <text value="[string]"/><!-- 0..1 Human readable offer text -->
   <linkId value="[string]"/><!-- 0..1 Pointer to text -->
  </offer>
  <asset>  <!-- 0..* Contract Term Asset List -->
   <class><!-- 0..1 Coding Resource Type, Profile, or CDA etc. --></class>
   <code><!-- 0..1 Coding Code in the content --></code>
   <period><!-- 0..1 Period Time period of the asset --></period>
   <dataPeriod><!-- 0..1 Period Time period of the data for the asset --></dataPeriod>
   <data>  <!-- 0..* Data defined by this Asset -->
    <meaning value="[code]"/><!-- 0..1 instance | related | dependents | authoredby -->
    <reference><!-- 0..1 Reference(Any) The actual data reference --></reference>
   </data>
   <valuedItem>  <!-- 0..* Contract Valued Item List -->
    <entity[x]><!-- 0..1 CodeableConcept|Reference(Any) Contract Valued Item Type --></entity[x]>
    <identifier><!-- 0..1 Identifier Contract Valued Item Number --></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>
   <securityLabel><!-- 0..* Coding Security Labels that define affected terms --></securityLabel>
  </asset>
  <agent>  <!-- 0..* Entity being ascribed responsibility -->
   <actor><!-- 1..1 Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) Contract Agent Type --></actor>

   <role><!-- 0..* CodeableConcept Role type of the agent --></role>
  </agent>

  <action><!-- 0..* CodeableConcept Contract Term Activity --></action>
  <actionReason><!-- 0..* CodeableConcept Purpose for the Contract Term Action --></actionReason>
  <</securityLabel>
  <
   <|
     </actor>
   <</role>
  </agent>
  <
  <
   <</entity[x]>
   <</identifier>
   <
   <</quantity>
   <</unitPrice>
   <
   <
   <</net>
  </valuedItem>

  <group><!-- 0..* Content as for Contract.term Nested Contract Term Group --></group>
 </term>
 <|
   </binding[x]>

 <signer>  <!-- 0..* Contract Signatory -->
  <type><!-- 1..1 Coding Contract Signatory Role --></type>
  <party><!-- 1..1 Reference(Organization|Patient|Practitioner|RelatedPerson) Contract Signatory Party --></party>
  <signature><!-- 1..* Signature Contract Documentation Signature --></signature>
 </signer>

 <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..1 Computable Contract Language -->

  <content[x]><!-- 1..1 Attachment|Reference(DocumentReference) Computable Contract Rules --></content[x]>
 </rule>
 <legallyBinding[x]><!-- 0..1 Attachment|Reference(Composition|DocumentReference|
   QuestionnaireResponse|Contract) Binding Contract --></legallyBinding[x]>
</Contract>

JSON Template

{doco
  "resourceType" : "",

  "resourceType" : "Contract",

  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
    "|
    
    "
  }],
  "
    "
    "
    "
  }],
  "
    
    " },
    " },
    "
    "
    "
    "
    "
    "
    "
  }],
  "
    "
    "
    "
    "
    "
    "
    "
    "
    "
    "
      "|
     
      "

  "identifier" : [{ Identifier }], // Contract number
  "status" : "<code>", // amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated
  "contentDerivative" : { CodeableConcept }, // Content derived from the basal information
  "issued" : "<dateTime>", // When this Contract was issued
  "applies" : { Period }, // Effective time
  "subject" : [{ Reference(Any) }], // Contract Target Entity
  "authority" : [{ Reference(Organization) }], // Authority under which this Contract has standing
  "domain" : [{ Reference(Location) }], // A sphere of control governed by an authoritative jurisdiction, organization, or person
  "type" : { CodeableConcept }, // Type or form
  "subType" : [{ CodeableConcept }], // Subtype within the context of type
  "term" : [{ // Contract Term List
    "identifier" : { Identifier }, // Contract Term Number
    "issued" : "<dateTime>", // Contract Term Issue Date Time
    "applies" : { Period }, // Contract Term Effective Time
    "type" : { CodeableConcept }, // Contract Term Type or Form
    "subType" : { CodeableConcept }, // Contract Term Type specific classification
    "offer" : { // R!  Context of the Contract term
      "topic" : { Reference(Any) }, // Negotiable offer asset
      "type" : { CodeableConcept }, // Contract Offer Type or Form
      "decision" : { CodeableConcept }, // Decision by Grantor
      "text" : "<string>", // Human readable offer text
      "linkId" : "<string>" // Pointer to text
    },
    "asset" : [{ // Contract Term Asset List
      "class" : { Coding }, // Resource Type, Profile, or CDA etc.
      "code" : { Coding }, // Code in the content
      "period" : { Period }, // Time period of the asset
      "dataPeriod" : { Period }, // Time period of the data for the asset
      "data" : [{ // Data defined by this Asset
        "meaning" : "<code>", // instance | related | dependents | authoredby
        "reference" : { Reference(Any) } // The actual data reference
      }],
      "valuedItem" : [{ // Contract Valued Item List
        // entity[x]: Contract Valued Item Type. One of these 2:

        "entityCodeableConcept" : { CodeableConcept },
        "entityReference" : { Reference(Any) },
        "identifier" : { Identifier }, // Contract Valued Item Number
        "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
      }],
      "securityLabel" : [{ Coding }] // Security Labels that define affected terms

    }],
    "
    "
      
      " },
      " },
      "
      "
      "
      "
      "
      "
      "

    "agent" : [{ // Entity being ascribed responsibility
      "actor" : { Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) }, // R!  Contract Agent Type

      "role" : [{ CodeableConcept }] // Role type of the agent

    }],
    "

    "action" : [{ CodeableConcept }], // Contract Term Activity
    "actionReason" : [{ CodeableConcept }], // Purpose for the Contract Term Action
    "group" : [{ Content as for Contract.term }] // Nested Contract Term Group

  }],
  
  " },
  "|
    },
  "

  "signer" : [{ // Contract Signatory
    "type" : { Coding }, // R!  Contract Signatory Role
    "party" : { Reference(Organization|Patient|Practitioner|RelatedPerson) }, // R!  Contract Signatory Party
    "signature" : [{ Signature }] // R!  Contract Documentation Signature
  }],
  "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) }
  },
  // legallyBinding[x]: Binding Contract. One of these 2:

  "legallyBindingAttachment" : { Attachment }
  "legallyBindingReference" : { Reference(Composition|DocumentReference|
   QuestionnaireResponse|Contract) }
}

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:

  fhir:Contract.identifier [ Identifier ], ... ; # 0..* Contract number

  fhir:Contract.status [ code ]; # 0..1 amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated
  fhir:Contract.contentDerivative [ CodeableConcept ]; # 0..1 Content derived from the basal information

  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:

  fhir:Contract.authority [ Reference(Organization) ], ... ; # 0..* Authority under which this Contract has standing
  fhir:

  fhir:Contract.domain [ Reference(Location) ], ... ; # 0..* A sphere of control governed by an authoritative jurisdiction, organization, or person

  fhir:Contract.type [ CodeableConcept ]; # 0..1 Type or form
  fhir:Contract.subType [ CodeableConcept ], ... ; # 0..* Subtype within the context of type
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
    fhir:|
  
    fhir:
  ], ...;
  fhir:
    fhir:
    fhir:
    fhir:
  ], ...;
  fhir:
    # . One of these 2
      fhir: ]
      fhir:) ]
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
  ], ...;

  fhir:Contract.term [ # 0..* Contract Term List
    fhir:Contract.term.identifier [ Identifier ]; # 0..1 Contract Term Number
    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 or Form
    fhir:Contract.term.subType [ CodeableConcept ]; # 0..1 Contract Term Type specific classification
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
      fhir:|
  
      fhir:

    fhir:Contract.term.offer [ # 1..1 Context of the Contract term
      fhir:Contract.term.offer.topic [ Reference(Any) ]; # 0..1 Negotiable offer asset
      fhir:Contract.term.offer.type [ CodeableConcept ]; # 0..1 Contract Offer Type or Form
      fhir:Contract.term.offer.decision [ CodeableConcept ]; # 0..1 Decision by Grantor
      fhir:Contract.term.offer.text [ string ]; # 0..1 Human readable offer text
      fhir:Contract.term.offer.linkId [ string ]; # 0..1 Pointer to text
    ];
    fhir:Contract.term.asset [ # 0..* Contract Term Asset List
      fhir:Contract.term.asset.class [ Coding ]; # 0..1 Resource Type, Profile, or CDA etc.
      fhir:Contract.term.asset.code [ Coding ]; # 0..1 Code in the content
      fhir:Contract.term.asset.period [ Period ]; # 0..1 Time period of the asset
      fhir:Contract.term.asset.dataPeriod [ Period ]; # 0..1 Time period of the data for the asset
      fhir:Contract.term.asset.data [ # 0..* Data defined by this Asset
        fhir:Contract.term.asset.data.meaning [ code ]; # 0..1 instance | related | dependents | authoredby
        fhir:Contract.term.asset.data.reference [ Reference(Any) ]; # 0..1 The actual data reference
      ], ...;
      fhir:Contract.term.asset.valuedItem [ # 0..* Contract Valued Item List
        # Contract.term.asset.valuedItem.entity[x] : 0..1 Contract Valued Item Type. One of these 2
          fhir:Contract.term.asset.valuedItem.entityCodeableConcept [ CodeableConcept ]
          fhir:Contract.term.asset.valuedItem.entityReference [ Reference(Any) ]
        fhir:Contract.term.asset.valuedItem.identifier [ Identifier ]; # 0..1 Contract Valued Item Number
        fhir:Contract.term.asset.valuedItem.effectiveTime [ dateTime ]; # 0..1 Contract Valued Item Effective Tiem
        fhir:Contract.term.asset.valuedItem.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Count of Contract Valued Items
        fhir:Contract.term.asset.valuedItem.unitPrice [ Money ]; # 0..1 Contract Valued Item fee, charge, or cost
        fhir:Contract.term.asset.valuedItem.factor [ decimal ]; # 0..1 Contract Valued Item Price Scaling Factor
        fhir:Contract.term.asset.valuedItem.points [ decimal ]; # 0..1 Contract Valued Item Difficulty Scaling Factor
        fhir:Contract.term.asset.valuedItem.net [ Money ]; # 0..1 Total Contract Valued Item Value
      ], ...;
      fhir:Contract.term.asset.securityLabel [ Coding ], ... ; # 0..* Security Labels that define affected terms

    ], ...;
    fhir:
    fhir:
      # . One of these 2
        fhir: ]
        fhir:) ]
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:

    fhir:Contract.term.agent [ # 0..* Entity being ascribed responsibility
      fhir:Contract.term.agent.actor [ Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|
  Substance) ]; # 1..1 Contract Agent Type

      fhir:Contract.term.agent.role [ CodeableConcept ], ... ; # 0..* Role type of the agent

    ], ...;
    fhir:Contract.term.action [ CodeableConcept ], ... ; # 0..* Contract Term Activity
    fhir:Contract.term.actionReason [ CodeableConcept ], ... ; # 0..* Purpose for the Contract Term Action

    fhir:Contract.term.group [ See Contract.term ], ... ; # 0..* Nested Contract Term Group
  ], ...;
  # . One of these 2
    fhir: ]
    fhir:) ]

  fhir:Contract.signer [ # 0..* Contract Signatory
    fhir:Contract.signer.type [ Coding ]; # 1..1 Contract Signatory Role
    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.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:

  fhir:Contract.rule [ # 0..1 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) ]
  ], ...;

  ];
  # Contract.legallyBinding[x] : 0..1 Binding Contract. One of these 2
    fhir:Contract.legallyBindingAttachment [ Attachment ]
    fhir:Contract.legallyBindingReference [ Reference(Composition|DocumentReference|QuestionnaireResponse|Contract) ]

]

Changes since DSTU2 R3

Contract
Contract.identifier
  • Max Cardinality changed from 1 to *
Contract.status Contract.term.offer
  • Added Element
Contract.topic Contract.term.offer.topic
  • Added Element
Contract.decisionType Contract.term.offer.type
  • Added Element
Contract.contentDerivative Contract.term.offer.decision
  • Added Element
Contract.securityLabel Contract.term.offer.text
  • Added Element
Contract.agent Contract.term.offer.linkId
  • Added Element
Contract.agent.actor Contract.term.asset
  • Added Element
Contract.agent.role Contract.term.asset.class
  • Added Element
Contract.signer.signature Contract.term.asset.code
  • Max Cardinality changed from 1 to * Added Element
Contract.term.asset.period
  • Type changed from string to Signature Added Element
Contract.valuedItem.unitPrice Contract.term.asset.dataPeriod
  • Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money Added Element
Contract.valuedItem.net Contract.term.asset.data
  • Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money Added Element
Contract.term.topic Contract.term.asset.data.meaning
  • Renamed from subject to topic Added Element
Contract.term.asset.data.reference
  • Max Cardinality changed from 1 to * Added Element
Contract.term.securityLabel Contract.term.asset.valuedItem
  • Added Element
Contract.term.agent Contract.term.asset.valuedItem.entity[x]
  • Added Element
Contract.term.agent.actor Contract.term.asset.valuedItem.identifier
  • Added Element
Contract.term.agent.role Contract.term.asset.valuedItem.effectiveTime
  • Added Element
Contract.term.asset.valuedItem.quantity
  • Added Element
Contract.term.asset.valuedItem.unitPrice
  • Added Element
Contract.term.asset.valuedItem.factor
  • Added Element
Contract.term.asset.valuedItem.points
  • Added Element
Contract.term.asset.valuedItem.net
  • Added Element
Contract.term.asset.securityLabel
  • Added Element
Contract.term.valuedItem.unitPrice Contract.friendly.content[x]
  • Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.term.valuedItem.net Contract.legal.content[x]
  • Type Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.rule
  • Max Cardinality changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} * to Money 1
Contract.rule.content[x]
  • Remove Reference(DocumentReference), Add Reference(DocumentReference)
Contract.legallyBinding[x]
  • Added Element
Contract.actor Contract.topic
  • deleted
Contract.term.actor Contract.action
  • deleted
Contract.actionReason
  • deleted
Contract.decisionType
  • deleted
Contract.securityLabel
  • deleted
Contract.agent
  • deleted
Contract.valuedItem
  • deleted
Contract.term.topic
  • deleted
Contract.term.securityLabel
  • deleted
Contract.term.text
  • deleted
Contract.term.valuedItem
  • deleted
Contract.binding[x]
  • deleted

See the Full Difference for further information

This analysis is available as XML or JSON .

See R2 <--> R3 Conversion Maps (status = 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid.). Note: these have note yet been updated to be R3 to R4

Structure

PurposeOfUse entityCodeableConcept entityReference Identifier Money binding[x] 0..*
Name Flags Card. Type Description & Constraints doco
. . Contract TU DomainResource Legal Agreement
Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension
. . . identifier Σ 0..1 0..* Identifier Contract number
. . . status ?! Σ 0..1 code amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated
Contract Resource Status Codes ( Required )
. . issued . contentDerivative Σ 0..1 dateTime CodeableConcept When this Content derived from the basal information
Contract was issued Content Derivation Codes ( Example )
. . applies . issued Σ 0..1 Period dateTime Effective time When this Contract was issued
. . subject . applies Σ 0..* 0..1 Reference ( Any Period ) Contract Target Entity Effective time
. . . topic subject Σ 0..* Reference ( Any ) Context of the Contract Target Entity
. . . authority 0..* Reference ( Organization ) Authority under which this Contract has standing
. . . domain 0..* Reference ( Location ) Domain in which this Contract applies A sphere of control governed by an authoritative jurisdiction, organization, or person
. . . type Σ 0..1 CodeableConcept Type or form
Contract Type Codes ( Example )
. . . subType Σ 0..* CodeableConcept Subtype within the context of type
Contract Subtype Codes ( Example )
. . action . term 0..* CodeableConcept BackboneElement Action stipulated by this Contract Contract Action Codes ( Example ) Term List
. . . . actionReason identifier Σ 0..* 0..1 CodeableConcept Identifier Rationale for the stiplulated action Contract Term Number
. . . . issued ( Example ) Σ 0..1 dateTime Contract Term Issue Date Time
. . . . decisionType applies Σ 0..1 CodeableConcept Period Decision by Grantor ActConsentDirective ( Extensible ) Contract Term Effective Time
. . . . contentDerivative type 0..1 CodeableConcept Content derived from the basal information Contract Term Type or Form
Contract Content Derivation Term Type Codes ( Example )
. . . . securityLabel subType Σ 0..* 0..1 Coding CodeableConcept Security Labels that define affected resources Contract Term Type specific classification
All Security Labels Contract Term Subtype Codes ( Extensible Example )
. . . . agent offer 0..* 1..1 BackboneElement Entity being ascribed responsibility Context of the Contract term
. . . . . actor topic Σ 1..1 0..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance Any ) Contract Agent Type Negotiable offer asset
. . . . . role type 0..* 0..1 CodeableConcept Role type of the agent Contract Offer Type or Form
Contract Actor Role Term Type Codes ( Example )
. signer 0..* BackboneElement Contract Signatory . . . . type decision 1..1 0..1 Coding CodeableConcept Contract Signatory Role Decision by Grantor
Contract Signer Type Codes ActConsentDirective ( Preferred Extensible )
. . . . party . text 1..1 0..1 Reference ( Organization | Patient | Practitioner | RelatedPerson string ) Contract Signatory Party Human readable offer text
. . . . signature . linkId 1..* 0..1 Signature string Contract Documentation Signature Pointer to text
. . . . valuedItem asset 0..* BackboneElement Contract Valued Item Term Asset List
. . . . entity[x] . class 0..1 Coding Contract Valued Item Type Resource Type, Profile, or CDA etc.
Consent Content Class ( Extensible )
. . . . . entityCodeableConcept code CodeableConcept 0..1 Coding entityReference Code in the content
Reference Consent Content Codes ( Any Example )
. . . . . identifier period 0..1 Identifier Period Contract Valued Item Number Time period of the asset
. . . . effectiveTime . dataPeriod 0..1 dateTime Period Contract Valued Item Effective Tiem Time period of the data for the asset
. . . . quantity . data 0..1 0..* SimpleQuantity BackboneElement Count of Contract Valued Items Data defined by this Asset
. . . . . unitPrice . meaning 0..1 Money code Contract Valued Item fee, charge, or cost instance | related | dependents | authoredby
ContractDataMeaning ( Required )
. . . factor . . . reference 0..1 decimal Reference ( Any ) Contract Valued Item Price Scaling Factor The actual data reference
. . . . points . valuedItem 0..1 0..* decimal BackboneElement Contract Valued Item Difficulty Scaling Factor List
. . . net . . . entity[x] 0..1 Money Total Contract Valued Item Value Type
. . term . . . . . entityCodeableConcept 0..* BackboneElement CodeableConcept Contract Term List
. . . identifier . . . . entityReference Σ 0..1 Identifier Reference ( Any ) Contract Term Number
. . . . . issued . identifier Σ 0..1 dateTime Identifier Contract Term Issue Date Time Valued Item Number
. . . . . applies . effectiveTime Σ 0..1 Period dateTime Contract Term Valued Item Effective Time Tiem
. . . . . . type quantity 0..1 CodeableConcept SimpleQuantity Count of Contract Term Type or Form Contract Term Type Codes ( Example ) Valued Items
. . . . . . subType unitPrice 0..1 CodeableConcept Money Contract Term Type specific classification Contract Term Subtype Codes ( Example ) Valued Item fee, charge, or cost
. . . . . topic . factor Σ 0..* 0..1 Reference ( Any decimal ) Context of the Contract term Valued Item Price Scaling Factor
. . . . . action . points 0..* 0..1 CodeableConcept decimal Contract Term Activity Contract Action Codes ( Example ) Valued Item Difficulty Scaling Factor
. . . . . . actionReason net 0..* 0..1 CodeableConcept Money Purpose for the Total Contract Term Action PurposeOfUse ( Example ) Valued Item Value
. . . . . securityLabel Σ 0..* Coding Security Labels that define affected terms
All Security Labels ( Extensible )
. . . . agent 0..* BackboneElement Contract Term Agent List Entity being ascribed responsibility
. . . . . actor 1..1 Reference ( Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance ) Contract Term Agent Subject Type
. . . . . role 0..* CodeableConcept Type Role type of the Contract Term Agent agent
Contract Actor Role Codes ( Example )
. . . text . action 0..1 string Human readable Contract term text valuedItem 0..* BackboneElement CodeableConcept Contract Term Valued Item List Activity
Contract Action Codes ( Example )
. . . entity[x] . actionReason 0..1 Contract Term Valued Item Type 0..* CodeableConcept Purpose for the Contract Term Action
Reference PurposeOfUse ( Any Example )
. . . identifier . group 0..1 0..* see term Nested Contract Term Valued Item Number Group
. . effectiveTime . signer 0..1 0..* dateTime BackboneElement Contract Term Valued Item Effective Tiem Signatory
. . . . quantity type 0..1 1..1 SimpleQuantity Coding Contract Term Valued Item Count Signatory Role
Contract Signer Type Codes ( Preferred )
. . . unitPrice . party 0..1 1..1 Money Reference ( Organization | Patient | Practitioner | RelatedPerson ) Contract Term Valued Item fee, charge, or cost Signatory Party
. . . factor . signature 0..1 1..* decimal Signature Contract Term Valued Item Price Scaling Factor Documentation Signature
. . points . friendly 0..1 0..* decimal BackboneElement Contract Term Valued Item Difficulty Scaling Factor Friendly Language
. . . net . content[x] 0..1 1..1 Total Easily comprehended representation of this Contract Term Valued Item Value
. . group . . . contentAttachment 0..* see term Nested Contract Term Group Attachment 0..1 Binding Contract
. . . bindingAttachment . . contentReference Attachment bindingReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . friendly legal 0..* BackboneElement Contract Friendly Legal Language
. . . . content[x] 1..1 Easily comprehended representation of this Contract Legal Text
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . legal rule 0..* 0..1 BackboneElement Computable Contract Legal Language
. . . . content[x] 1..1 Computable Contract Legal Text Rules
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . rule . legallyBinding[x] BackboneElement Computable Contract Language content[x] 0..1 1..1 Computable Binding Contract Rules
. . . . contentAttachment legallyBindingAttachment Attachment
. . . . contentReference legallyBindingReference Reference ( Composition | DocumentReference | QuestionnaireResponse | Contract )

doco Documentation for this format

UML Diagram ( Legend )

Contract ( DomainResource ) Unique identifier for this Contract or a derivative that references a Source Contract identifier : Identifier [0..1] [0..*] 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) Contract Resource Status ! » The minimal content derived from the basal information source at a specific stage in its lifecycle contentDerivative : CodeableConcept [0..1] « This is an example set of Content Derivative type codes, which represent the minimal content derived from the basal information source. (Strength=Example) Contract Content Derivation ?? » 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 ?? The type of decision made by a grantor with respect to an offer made by a grantee decisionType : CodeableConcept [0..1] The type of decision made by a grantor with respect to an offer made by a grantee. (Strength=Extensible) ActConsentDirective + The minimal content derived from the basal information source at a specific stage in its lifecycle contentDerivative : CodeableConcept [0..1] This is an example set of Content Derivative type codes, which represent the minimal content derived from the basal information source. (Strength=Example) Contract Content Derivation ?? A set of security labels that define which resources are controlled by this consent. If more than one label is specified, all resources must have all the specified labels securityLabel : Coding [0..*] Security Labels from the Healthcare Privacy and Security Classification System. (Strength=Extensible) All Security Labels + Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source "source of truth" truth" and which would be the basis for legal action related to enforcement of this Contract binding[x] legallyBinding[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 Subtype ?? » 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 ?? » ContractOffer A set The owner of security labels that define which terms are controlled by this condition an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30) securityLabel topic : Coding Reference [0..*] [0..1] « Any » Security Labels from 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 Healthcare Privacy and Security Classification System. types of contract provisions. (Strength=Example) Contract Term Type ?? » The type of decision made by a grantor with respect to an offer made by a grantee decision : CodeableConcept [0..1] « The type of decision made by a grantor with respect to an offer made by a grantee. (Strength=Extensible) All Security Labels ActConsentDirective + » Human readable form of this Contract Provision Offer text : string [0..1] The id of the clause or question text of the offer in the referenced questionnaire/response linkId : string [0..1] TermAgent ContractAsset The agent assigned a role in this Contract Provision Categorization of the type of asset actor class : Reference [1..1] Contract | Device | Group Coding | Location [0..1] « The class (type) of information a consent rule covers (Strength=Extensible) Consent Content Class | + » Organization Code in the content code | Patient : Coding | Practitioner [0..1] « If this code is found in an instance, then the exception applies (Strength=Example) Consent Content | RelatedPerson ?? » Time period of the asset period | Substance : Period [0..1] Role played by Time period of the agent assigned this role in data for the execution asset dataPeriod : Period [0..1] A set of security labels that define which terms are controlled by this Contract Provision condition role securityLabel : CodeableConcept Coding [0..*] « Detailed codes for Security Labels from the Healthcare Privacy and Security Classification System. (Strength=Extensible) All Security Labels + » AssetData instance | related | dependents | authoredby meaning : code [0..1] « How a resource reference is interpreted when evaluating contract actor role. (Strength=Example) offers (Strength=Required) Contract Actor Role ContractDataMeaning ! » The actual data reference reference ?? : Reference [0..1] « Any » TermValuedItem ValuedItem 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 Valued 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] 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..*] 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 The matter of concern in an activity for which it can be assigned some degree the context of this provision of responsibility for the activity taking place agrement agent offer [0..*] [1..1] Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound Data defined by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness this Asset signer data [0..*] Contract Valued Item List valuedItem [0..*] Contract Term Asset List asset [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..*] 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..*] The "patient "patient friendly language" language" versionof the Contract in whole or in parts. "Patient "Patient friendly language" 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..*] [0..1]

XML Template

<

<Contract xmlns="http://hl7.org/fhir"> doco

 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <</identifier>
 <
 <

 <identifier><!-- 0..* Identifier Contract number --></identifier>
 <status value="[code]"/><!-- 0..1 amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated -->
 <contentDerivative><!-- 0..1 CodeableConcept Content derived from the basal information --></contentDerivative>
 <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>

 <authority><!-- 0..* Reference(Organization) Authority under which this Contract has standing --></authority>
 <</domain>

 <domain><!-- 0..* Reference(Location) A sphere of control governed by an authoritative jurisdiction, organization, or person --></domain>

 <type><!-- 0..1 CodeableConcept Type or form --></type>
 <subType><!-- 0..* CodeableConcept Subtype within the context of type --></subType>
 <</action>
 <</actionReason>
 <</decisionType>
 <</contentDerivative>
 <</securityLabel>
 <
  <|
    </actor>
  <</role>
 </agent>
 <
  <</type>
  <</party>
  <</signature>
 </signer>
 <
  <</entity[x]>
  <</identifier>
  <
  <</quantity>
  <</unitPrice>
  <
  <
  <</net>
 </valuedItem>

 <term>  <!-- 0..* Contract Term List -->
  <identifier><!-- 0..1 Identifier Contract Term Number --></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 or Form --></type>
  <subType><!-- 0..1 CodeableConcept Contract Term Type specific classification --></subType>
  <</topic>

  <offer>  <!-- 1..1 Context of the Contract term -->
   <topic><!-- 0..1 Reference(Any) Negotiable offer asset --></topic>
   <type><!-- 0..1 CodeableConcept Contract Offer Type or Form --></type>
   <decision><!-- 0..1 CodeableConcept Decision by Grantor --></decision>
   <text value="[string]"/><!-- 0..1 Human readable offer text -->
   <linkId value="[string]"/><!-- 0..1 Pointer to text -->
  </offer>
  <asset>  <!-- 0..* Contract Term Asset List -->
   <class><!-- 0..1 Coding Resource Type, Profile, or CDA etc. --></class>
   <code><!-- 0..1 Coding Code in the content --></code>
   <period><!-- 0..1 Period Time period of the asset --></period>
   <dataPeriod><!-- 0..1 Period Time period of the data for the asset --></dataPeriod>
   <data>  <!-- 0..* Data defined by this Asset -->
    <meaning value="[code]"/><!-- 0..1 instance | related | dependents | authoredby -->
    <reference><!-- 0..1 Reference(Any) The actual data reference --></reference>
   </data>
   <valuedItem>  <!-- 0..* Contract Valued Item List -->
    <entity[x]><!-- 0..1 CodeableConcept|Reference(Any) Contract Valued Item Type --></entity[x]>
    <identifier><!-- 0..1 Identifier Contract Valued Item Number --></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>
   <securityLabel><!-- 0..* Coding Security Labels that define affected terms --></securityLabel>
  </asset>
  <agent>  <!-- 0..* Entity being ascribed responsibility -->
   <actor><!-- 1..1 Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) Contract Agent Type --></actor>

   <role><!-- 0..* CodeableConcept Role type of the agent --></role>
  </agent>

  <action><!-- 0..* CodeableConcept Contract Term Activity --></action>
  <actionReason><!-- 0..* CodeableConcept Purpose for the Contract Term Action --></actionReason>
  <</securityLabel>
  <
   <|
     </actor>
   <</role>
  </agent>
  <
  <
   <</entity[x]>
   <</identifier>
   <
   <</quantity>
   <</unitPrice>
   <
   <
   <</net>
  </valuedItem>

  <group><!-- 0..* Content as for Contract.term Nested Contract Term Group --></group>
 </term>
 <|
   </binding[x]>

 <signer>  <!-- 0..* Contract Signatory -->
  <type><!-- 1..1 Coding Contract Signatory Role --></type>
  <party><!-- 1..1 Reference(Organization|Patient|Practitioner|RelatedPerson) Contract Signatory Party --></party>
  <signature><!-- 1..* Signature Contract Documentation Signature --></signature>
 </signer>

 <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..1 Computable Contract Language -->

  <content[x]><!-- 1..1 Attachment|Reference(DocumentReference) Computable Contract Rules --></content[x]>
 </rule>
 <legallyBinding[x]><!-- 0..1 Attachment|Reference(Composition|DocumentReference|
   QuestionnaireResponse|Contract) Binding Contract --></legallyBinding[x]>
</Contract>

JSON Template

{doco
  "resourceType" : "",

  "resourceType" : "Contract",

  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
  "
    "|
    
    "
  }],
  "
    "
    "
    "
  }],
  "
    
    " },
    " },
    "
    "
    "
    "
    "
    "
    "
  }],
  "
    "
    "
    "
    "
    "
    "
    "
    "
    "
    "
      "|
     
      "

  "identifier" : [{ Identifier }], // Contract number
  "status" : "<code>", // amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated
  "contentDerivative" : { CodeableConcept }, // Content derived from the basal information
  "issued" : "<dateTime>", // When this Contract was issued
  "applies" : { Period }, // Effective time
  "subject" : [{ Reference(Any) }], // Contract Target Entity
  "authority" : [{ Reference(Organization) }], // Authority under which this Contract has standing
  "domain" : [{ Reference(Location) }], // A sphere of control governed by an authoritative jurisdiction, organization, or person
  "type" : { CodeableConcept }, // Type or form
  "subType" : [{ CodeableConcept }], // Subtype within the context of type
  "term" : [{ // Contract Term List
    "identifier" : { Identifier }, // Contract Term Number
    "issued" : "<dateTime>", // Contract Term Issue Date Time
    "applies" : { Period }, // Contract Term Effective Time
    "type" : { CodeableConcept }, // Contract Term Type or Form
    "subType" : { CodeableConcept }, // Contract Term Type specific classification
    "offer" : { // R!  Context of the Contract term
      "topic" : { Reference(Any) }, // Negotiable offer asset
      "type" : { CodeableConcept }, // Contract Offer Type or Form
      "decision" : { CodeableConcept }, // Decision by Grantor
      "text" : "<string>", // Human readable offer text
      "linkId" : "<string>" // Pointer to text
    },
    "asset" : [{ // Contract Term Asset List
      "class" : { Coding }, // Resource Type, Profile, or CDA etc.
      "code" : { Coding }, // Code in the content
      "period" : { Period }, // Time period of the asset
      "dataPeriod" : { Period }, // Time period of the data for the asset
      "data" : [{ // Data defined by this Asset
        "meaning" : "<code>", // instance | related | dependents | authoredby
        "reference" : { Reference(Any) } // The actual data reference
      }],
      "valuedItem" : [{ // Contract Valued Item List
        // entity[x]: Contract Valued Item Type. One of these 2:

        "entityCodeableConcept" : { CodeableConcept },
        "entityReference" : { Reference(Any) },
        "identifier" : { Identifier }, // Contract Valued Item Number
        "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
      }],
      "securityLabel" : [{ Coding }] // Security Labels that define affected terms

    }],
    "
    "
      
      " },
      " },
      "
      "
      "
      "
      "
      "
      "

    "agent" : [{ // Entity being ascribed responsibility
      "actor" : { Reference(Contract|Device|Group|Location|Organization|Patient|
     Practitioner|RelatedPerson|Substance) }, // R!  Contract Agent Type

      "role" : [{ CodeableConcept }] // Role type of the agent

    }],
    "

    "action" : [{ CodeableConcept }], // Contract Term Activity
    "actionReason" : [{ CodeableConcept }], // Purpose for the Contract Term Action
    "group" : [{ Content as for Contract.term }] // Nested Contract Term Group

  }],
  
  " },
  "|
    },
  "

  "signer" : [{ // Contract Signatory
    "type" : { Coding }, // R!  Contract Signatory Role
    "party" : { Reference(Organization|Patient|Practitioner|RelatedPerson) }, // R!  Contract Signatory Party
    "signature" : [{ Signature }] // R!  Contract Documentation Signature
  }],
  "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) }
  },
  // legallyBinding[x]: Binding Contract. One of these 2:

  "legallyBindingAttachment" : { Attachment }
  "legallyBindingReference" : { Reference(Composition|DocumentReference|
   QuestionnaireResponse|Contract) }
}

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:

  fhir:Contract.identifier [ Identifier ], ... ; # 0..* Contract number

  fhir:Contract.status [ code ]; # 0..1 amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated
  fhir:Contract.contentDerivative [ CodeableConcept ]; # 0..1 Content derived from the basal information

  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:

  fhir:Contract.authority [ Reference(Organization) ], ... ; # 0..* Authority under which this Contract has standing
  fhir:

  fhir:Contract.domain [ Reference(Location) ], ... ; # 0..* A sphere of control governed by an authoritative jurisdiction, organization, or person

  fhir:Contract.type [ CodeableConcept ]; # 0..1 Type or form
  fhir:Contract.subType [ CodeableConcept ], ... ; # 0..* Subtype within the context of type
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
    fhir:|
  
    fhir:
  ], ...;
  fhir:
    fhir:
    fhir:
    fhir:
  ], ...;
  fhir:
    # . One of these 2
      fhir: ]
      fhir:) ]
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
  ], ...;

  fhir:Contract.term [ # 0..* Contract Term List
    fhir:Contract.term.identifier [ Identifier ]; # 0..1 Contract Term Number
    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 or Form
    fhir:Contract.term.subType [ CodeableConcept ]; # 0..1 Contract Term Type specific classification
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
      fhir:|
  
      fhir:

    fhir:Contract.term.offer [ # 1..1 Context of the Contract term
      fhir:Contract.term.offer.topic [ Reference(Any) ]; # 0..1 Negotiable offer asset
      fhir:Contract.term.offer.type [ CodeableConcept ]; # 0..1 Contract Offer Type or Form
      fhir:Contract.term.offer.decision [ CodeableConcept ]; # 0..1 Decision by Grantor
      fhir:Contract.term.offer.text [ string ]; # 0..1 Human readable offer text
      fhir:Contract.term.offer.linkId [ string ]; # 0..1 Pointer to text
    ];
    fhir:Contract.term.asset [ # 0..* Contract Term Asset List
      fhir:Contract.term.asset.class [ Coding ]; # 0..1 Resource Type, Profile, or CDA etc.
      fhir:Contract.term.asset.code [ Coding ]; # 0..1 Code in the content
      fhir:Contract.term.asset.period [ Period ]; # 0..1 Time period of the asset
      fhir:Contract.term.asset.dataPeriod [ Period ]; # 0..1 Time period of the data for the asset
      fhir:Contract.term.asset.data [ # 0..* Data defined by this Asset
        fhir:Contract.term.asset.data.meaning [ code ]; # 0..1 instance | related | dependents | authoredby
        fhir:Contract.term.asset.data.reference [ Reference(Any) ]; # 0..1 The actual data reference
      ], ...;
      fhir:Contract.term.asset.valuedItem [ # 0..* Contract Valued Item List
        # Contract.term.asset.valuedItem.entity[x] : 0..1 Contract Valued Item Type. One of these 2
          fhir:Contract.term.asset.valuedItem.entityCodeableConcept [ CodeableConcept ]
          fhir:Contract.term.asset.valuedItem.entityReference [ Reference(Any) ]
        fhir:Contract.term.asset.valuedItem.identifier [ Identifier ]; # 0..1 Contract Valued Item Number
        fhir:Contract.term.asset.valuedItem.effectiveTime [ dateTime ]; # 0..1 Contract Valued Item Effective Tiem
        fhir:Contract.term.asset.valuedItem.quantity [ Quantity(SimpleQuantity) ]; # 0..1 Count of Contract Valued Items
        fhir:Contract.term.asset.valuedItem.unitPrice [ Money ]; # 0..1 Contract Valued Item fee, charge, or cost
        fhir:Contract.term.asset.valuedItem.factor [ decimal ]; # 0..1 Contract Valued Item Price Scaling Factor
        fhir:Contract.term.asset.valuedItem.points [ decimal ]; # 0..1 Contract Valued Item Difficulty Scaling Factor
        fhir:Contract.term.asset.valuedItem.net [ Money ]; # 0..1 Total Contract Valued Item Value
      ], ...;
      fhir:Contract.term.asset.securityLabel [ Coding ], ... ; # 0..* Security Labels that define affected terms

    ], ...;
    fhir:
    fhir:
      # . One of these 2
        fhir: ]
        fhir:) ]
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:

    fhir:Contract.term.agent [ # 0..* Entity being ascribed responsibility
      fhir:Contract.term.agent.actor [ Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|
  Substance) ]; # 1..1 Contract Agent Type

      fhir:Contract.term.agent.role [ CodeableConcept ], ... ; # 0..* Role type of the agent

    ], ...;
    fhir:Contract.term.action [ CodeableConcept ], ... ; # 0..* Contract Term Activity
    fhir:Contract.term.actionReason [ CodeableConcept ], ... ; # 0..* Purpose for the Contract Term Action

    fhir:Contract.term.group [ See Contract.term ], ... ; # 0..* Nested Contract Term Group
  ], ...;
  # . One of these 2
    fhir: ]
    fhir:) ]

  fhir:Contract.signer [ # 0..* Contract Signatory
    fhir:Contract.signer.type [ Coding ]; # 1..1 Contract Signatory Role
    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.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:

  fhir:Contract.rule [ # 0..1 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) ]
  ], ...;

  ];
  # Contract.legallyBinding[x] : 0..1 Binding Contract. One of these 2
    fhir:Contract.legallyBindingAttachment [ Attachment ]
    fhir:Contract.legallyBindingReference [ Reference(Composition|DocumentReference|QuestionnaireResponse|Contract) ]

]

Changes since DSTU2

Contract
Contract.identifier
  • Max Cardinality changed from 1 to *
Contract.status Contract.term.offer
  • Added Element
Contract.topic Contract.term.offer.topic
  • Added Element
Contract.decisionType Contract.term.offer.type
  • Added Element
Contract.contentDerivative Contract.term.offer.decision
  • Added Element
Contract.securityLabel Contract.term.offer.text
  • Added Element
Contract.agent Contract.term.offer.linkId
  • Added Element
Contract.agent.actor Contract.term.asset
  • Added Element
Contract.agent.role Contract.term.asset.class
  • Added Element
Contract.signer.signature Contract.term.asset.code
  • Max Cardinality changed from 1 to * Added Element
Contract.term.asset.period
  • Type changed from string to Signature Added Element
Contract.valuedItem.unitPrice Contract.term.asset.dataPeriod
  • Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money Added Element
Contract.valuedItem.net Contract.term.asset.data
  • Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money Added Element
Contract.term.topic Contract.term.asset.data.meaning
  • Renamed from subject to topic Added Element
Contract.term.asset.data.reference
  • Max Cardinality changed from 1 to * Added Element
Contract.term.securityLabel Contract.term.asset.valuedItem
  • Added Element
Contract.term.agent Contract.term.asset.valuedItem.entity[x]
  • Added Element
Contract.term.agent.actor Contract.term.asset.valuedItem.identifier
  • Added Element
Contract.term.agent.role Contract.term.asset.valuedItem.effectiveTime
  • Added Element
Contract.term.asset.valuedItem.quantity
  • Added Element
Contract.term.asset.valuedItem.unitPrice
  • Added Element
Contract.term.asset.valuedItem.factor
  • Added Element
Contract.term.asset.valuedItem.points
  • Added Element
Contract.term.asset.valuedItem.net
  • Added Element
Contract.term.asset.securityLabel
  • Added Element
Contract.term.valuedItem.unitPrice Contract.friendly.content[x]
  • Type changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} to Money Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.term.valuedItem.net Contract.legal.content[x]
  • Type Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.rule
  • Max Cardinality changed from Quantity{http://hl7.org/fhir/StructureDefinition/Money} * to Money 1
Contract.rule.content[x]
  • Remove Reference(DocumentReference), Add Reference(DocumentReference)
Contract.legallyBinding[x]
  • Added Element
Contract.actor Contract.topic
  • deleted
Contract.term.actor Contract.action
  • deleted
Contract.actionReason
  • deleted
Contract.decisionType
  • deleted
Contract.securityLabel
  • deleted
Contract.agent
  • deleted
Contract.valuedItem
  • deleted
Contract.term.topic
  • deleted
Contract.term.securityLabel
  • deleted
Contract.term.text
  • deleted
Contract.term.valuedItem
  • deleted
Contract.binding[x]
  • deleted

See the Full Difference for further information

This analysis is available as XML or JSON .

See R2 <--> R3 Conversion Maps (status = 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid.). Note: these have note yet been updated to be R3 to R4

 

Alternate definitions: Master Definition ( XML , + JSON ), , XML Schema / Schematron (for ) + JSON Schema , ShEx (for Turtle ) + see the extensions & the dependency analysis

Contract.action Contract.actionReason Contract.term.actionReason Contract.contentDerivative Contract.signer.type Contract.term.type Contract.term.subType
Path Definition Type Reference
Contract.status A code specifying the state of the resource instance. Required Contract Resource Status Codes
Contract.contentDerivative This is an example set of Content Derivative type codes, which represent the minimal content derived from the basal information source. Example Contract Content Derivation Codes
Contract.type List of overall contract codes. Example Contract Type Codes
Contract.subType Detailed codes within the above. Example Contract Subtype Codes
Contract.term.type
Contract.term.action Contract.term.offer.type
Detailed codes for the types of contract action. provisions. Example Contract Action Term Type Codes
Contract.term.subType Detailed codes for the subtypes of contract action reason. provisions. Example PurposeOfUse Contract Term Subtype Codes
Contract.decisionType Contract.term.offer.decision The type of decision made by a grantor with respect to an offer made by a grantee. Extensible ActConsentDirective
Contract.term.asset.class This is an example set The class (type) of information a consent rule covers Extensible Consent Content Derivative type codes, which represent the minimal content derived from Class
Contract.term.asset.code If this code is found in an instance, then the basal information source. exception applies Example Contract Consent Content Derivation Codes
Contract.term.asset.data.meaning How a resource reference is interpreted when evaluating contract offers Required ContractDataMeaning
Contract.securityLabel Contract.term.securityLabel Contract.term.asset.securityLabel Security Labels from the Healthcare Privacy and Security Classification System. Extensible All Security Labels
Contract.agent.role Contract.term.agent.role Detailed codes for the contract actor role. Example Contract Actor Role Codes
Contract.term.action List of parties who may be signing. Detailed codes for the contract action. Preferred Example Contract Signer Type Action Codes
Contract.term.actionReason Detailed codes for the types of contract provisions. action reason. Example Contract Term Type Codes PurposeOfUse
Contract.signer.type Detailed codes for the subtypes List of contract provisions. parties who may be signing. Example Preferred Contract Term Subtype Signer 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 Expression 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 status reference token The identity of the subject status of the contract Contract.subject (Any) Contract.status
term-topic subject reference The identity of the topic subject of the contract terms Contract.term.topic Contract.subject
(Any)