R4 Ballot #1 #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: (v3.5.0: R4 Ballot 2). #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 Legally enforceable, formally recorded unilateral or other matters. bilateral directive i.e., a policy or agreement.

The Contract This resource is allows for the instantiation of various types of legally enforceable agreements or policies as shareable, consumable, and executable artifacts as well as precursory content upon which instances may be based or derivative artifacts supporting management of their basal instance. The resource is general enough to convey information encode broad range of all manner legal artifacts such as:

  • A Contract instance, which may undergo legal state transitions during its formation.
  • Templates for or agreed upon instances of contracts rules, obligations, and prohibitions.
  • An organizational or jurisdictional policy, for financial (e.g. Insurance policies), business arrangements (eg. supply contracts) example, for establishing rules of conduct or obligations necessary to achieve societal goods. Or it may encode a contract instance, which may be accepted by one party in exchange of considerations offered by another party.
  • A derivative of a contract instance for purposes of workflow management of the agreement, e.g., for retrieval or indication of agreed upon terms, such as entities allowed to exchange governed assets.

Contracts are promises or understandings that are enforceable by law in case of any violation or breech by any involved party or organization. A Contract instance may be a unilateral mandate such as a policy, or a unilateral, bilateral, or multilateral agreement, which impacts the influence of the parties over the terms of the agreement, and the burdens and risks incurred.

Contract Resource may be typed to support multiple types of domain policies and contractual agreements, and specializations of those types.

A Contract instance must include at least one term with an offer, which obligates the offeror to or not to do, perform, or effectuate some action in exchange for some consideration in return from the offeree, e.g., another obligatory action or non-action, or an asset.

The Contract action element follows the Request Pattern to describe the proposal, plan, or order to effectuate the obligatory service or activity specified in a term’s offer. The Contract action may reference and specify the roles for one or more target entities, the requesters, and performers. By following the Request Pattern, the Contract provides the criteria needed to assess whether the contract obligations have been enforced, for example, in the case of a privacy policy, by an access control system.

The Contract asset element supports detailed description of the consideration being exchanged in a Contract instance or the satisfaction of a policy imperative such as the obligation to render aid as required by local law.

The Contract valuedItem element supports detailed description of the monetary worth of a Contract asset being marketed, the price of products being sold, or the property taxes required under a jurisdictional tax law.

A Contract may be used as a content derivative, which contains the minimal content derived from the basal information source at a specific stage in its lifecycle, which is needed for management and security (e.g. consent directives). Todo communications about the basal information source. For example, the metadata used to register a Contract’s characteristics and retrieval address in a federated registry/repository exchange ecosystem.

In addition to other uses of derivatives, the Contract Resource may function simply as the computable representation of the executed contract, which may be the attached to the Contract Resource as the 'legally binding' scanned paper contract attachment or referenced location, or as the 'friendly' electronic form such as an html page or a QuestionnaireResponse.

By using the Contract linkID elements, which are associated with key Contract elements, a Contract Resource may be automatically populated with the values expressed in a related QuestionnaireResponse.

Note that the Contract Resource may be considered the legally binding contract only if it is intended to be the sole 'executed' encoding of this contract, and includes the legally binding signatures. I.e., even if the Contract Resource is populated based on content in a hard-copy contract or an electronic contract form intended to collect both the content and the signature of relevant parties to the contract, if contracting parties have agreed or acknowledged that the Contract Resource conveys the binding and enforceable legal contract and that it is fully traceable to the forms used to collect its content, meeting the legal concept of being within the 'four corners of a contract', i.e., that the meaning of the contract, will, or deed is represented solely by this instance of the Contract Resource. This usage could be implemented with digital ledger technology to form a 'smart contract' to the extent that an instance supports elements critical to computable algorithms intended to achieve some output.

  • Contracts are used to record in machine processible form a legal agreement between parties

Implementers should be familiar with legal concepts, Ricardian Contracts and have a general knowledge of recording agreements.

This Resource supports tracking of the progress of a Contract instance during its lifecycle as a 'legal instrument' from inception as a draft, possibly based on a definitional contract template to negotiations and the various permutation on term elements that may occur, on to execution. Then it follows the Contract as enforceable obligations, which may be breached, disputed, or modified, until the Contract reaches renewal, termination, or revocation. This is flow is orthogonal to the Contract.status, which tracks the progress of the documentation of the Contract whether it is definitional, a derivative, or an instance. The legal state value set specifies the characteristics of these states based on legal definitions.

Legal State Machine

This resource is referenced by Consent , itself, Coverage , EligibilityResponse CoverageEligibilityResponse and SupplyDelivery

Structure

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..* Identifier Contract number
. . . url 0..1 uri Basal definition
... version Σ 0..1 string Business edition
... status ?! Σ 0..1 code amended draft | appended active | suspended | cancelled | disputed completed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated unknown
Contract Resource Status Codes ( Required )
. . . legalState 0..1 CodeableConcept Negotiation status
Contract Resource Legal State codes ( Extensible )
... instantiatesCanonical 0..1 Reference ( Contract ) Source Contract Definition
... instantiatesUri 0..1 uri External Contract Definition
... contentDerivative 0..1 CodeableConcept Content derived from the basal information
Contract Content Derivation Codes ( Example )
. . . issued Σ 0..1 dateTime When this Contract was issued
. . . applies Σ 0..1 Period Effective time
. . . expirationType 0..1 CodeableConcept Contract cessation cause
Contract Resource Expiration Type codes ( Example )
.. . subject Σ 0..* Reference ( Any ) Contract Target Entity
. . . authority 0..* Reference ( Organization ) Authority under which this Contract has standing
. . . domain 0..* Reference ( Location ) A sphere of control governed by an authoritative jurisdiction, organization, or person
. . . site 0..* Reference ( Location ) Specific Location
... name Σ 0..1 string Computer friendly designation
... title Σ 0..1 string Human Friendly name
... subtitle 0..1 string Subordinate Friendly name
... alias 0..* string Acronym or short name
... author 0..1 Reference ( Person | Patient | Practitioner | Organization ) Source of Contract
.. . scope 0..1 CodeableConcept Range of Legal Concerns
Contract Resource Scope codes ( Example )
... topic[x] 0..1 Focus of contract interest
.... topicCodeableConcept CodeableConcept
.... topicReference Reference ( Any )
... type Σ 0..1 CodeableConcept Type or form Legal instrument category
Contract Type Codes ( Example )
. . . subType Σ 0..* CodeableConcept Subtype within the context of type
Contract Subtype Codes ( Example )
. . . contentDefinition 0..1 BackboneElement Contract precursor content
.... type 1..1 CodeableConcept Content structure and use
Contract Resource Definition Type codes ( Example )
.... subType 0..1 CodeableConcept Detailed Content Type Definition
Contract Resource Definition Subtype codes ( Example )
.... publisher 0..1 Reference ( Person | Practitioner | Organization ) Publisher Entity
.... publicationDate 0..1 dateTime When published
.... publicationStatus 1..1 code draft | active | retired | unknown
Contract Resource Publication Status codes ( Required )
.... copyright 0..1 markdown Publication Ownership
... term 0..* BackboneElement Contract Term List
. . . . identifier Σ 0..1 Identifier Contract Term Number
. . . . issued Σ 0..1 dateTime Contract Term Issue Date Time
. . . . applies Σ 0..1 Period Contract Term Effective Time
. . . . topic[x] 0..1 Term Concern
..... topicCodeableConcept CodeableConcept
..... topicReference Reference ( Any )
. . . . type 0..1 CodeableConcept Contract Term Type or Form
Contract Term Type Codes ( Example )
. . . . subType 0..1 CodeableConcept Contract Term Type specific classification
Contract Term Subtype Codes ( Example )
. . . . text Σ 0..1 string Term Statement
.... securityLabel 0..* BackboneElement Protection for the Term
..... number 0..* unsignedInt Link to Security Labels
..... classification 1..1 Coding Confidentiality Protection
Contract Resource Scope codes ( Example )
..... category 0..* Coding Applicable Policy
Contract Resource Scope codes ( Example )
..... control 0..* Coding Handling Instructions
Contract Resource Security Control codes ( Example )
. . . . offer 1..1 BackboneElement Context of the Contract term
. . . . . identifier 0..* Identifier Offer business ID
..... party 0..* BackboneElement Offer Recipient
...... reference 1..* Reference ( Patient | Person | RelatedPerson | Practitioner | Device | Group | Organization ) Referenced entity
...... role 1..1 CodeableConcept Participant engagement type
Contract Resource Party Role codes ( Example )
.... . topic Σ 0..1 Reference ( Any ) Negotiable offer asset
. . . . . type 0..1 CodeableConcept Contract Offer Type or Form
Contract Term Type Codes ( Example )
. . . . . decision 0..1 CodeableConcept Decision by Grantor Accepting party choice
ActConsentDirective V3 Value SetActConsentDirective ( Extensible )
. . . . . decisionMode 0..* CodeableConcept How decision is conveyed
Contract Resource Decision Mode codes ( Example )
..... answer 0..* BackboneElement Response to offer text
...... value[x] 1..1 The actual answer response
....... valueBoolean boolean
....... valueDecimal decimal
....... valueInteger integer
....... valueDate date
....... valueDateTime dateTime
....... valueTime time
....... valueString string
....... valueUri uri
....... valueAttachment Attachment
....... valueCoding Coding
....... valueQuantity Quantity
....... valueReference Reference ( Any )
.... . text 0..1 string Human readable offer text
. . . . . linkId 0..1 0..* string Pointer to text
. . . . . securityLabelNumber 0..* unsignedInt Offer restriction numbers
. . . . asset 0..* BackboneElement Contract Term Asset List
. . . . . class scope 0..1 Coding CodeableConcept Resource Type, Profile, or CDA etc. Range of asset
Consent Content Class Contract Resource Asset Scope codes ( Extensible Example )
. . . . . code type 0..1 0..* Coding CodeableConcept Code in the content Asset category
Consent Content Codes Contract Resource Asset Type codes ( Example )
. . . . . typeReference 0..* Reference ( Any ) Associated entities
. . . . . period subtype 0..1 0..* Period CodeableConcept Time period of the asset Asset sub-category
Contract Resource Asset Sub-Type codes ( Example )
. . . . . dataPeriod relationship 0..1 Period Coding Time period Kinship of the data for the asset
Consent Content Class ( Extensible )
. . . . . data context 0..* BackboneElement Data defined by this Asset Circumstance of the asset
. . . . . meaning . reference 0..1 Reference ( Any ) Creator,custodian or owner
...... code instance | related | dependents | authoredby 0..* CodeableConcept Codeable asset context
ContractDataMeaning Contract Resource Asset Context codes ( Required Example )
. . . . . reference . text 0..1 Reference string Context description
..... condition 0..1 string Quality desctiption of asset
..... periodType 0..* CodeableConcept Asset availability types
Contract Resource Asset Availiability codes ( Any Example )
. . . . . period The actual data reference 0..* Period Time period of the asset
. . . . . usePeriod 0..* Period Time period
. . . . . text 0..1 string Asset clause or question text
..... linkId 0..* string Pointer to asset text
..... answer 0..* see answer Response to assets
..... securityLabelNumber 0..* unsignedInt Asset restriction numbers
.... . valuedItem 0..* BackboneElement Contract Valued Item List
. . . . . . entity[x] 0..1 Contract Valued Item Type
. . . . . . . entityCodeableConcept CodeableConcept
. . . . . . . entityReference Reference ( Any )
. . . . . . identifier 0..1 Identifier Contract Valued Item Number
. . . . . . effectiveTime 0..1 dateTime Contract Valued Item Effective Tiem
. . . . . . quantity 0..1 SimpleQuantity Count of Contract Valued Items
. . . . . . unitPrice 0..1 Money Contract Valued Item fee, charge, or cost
. . . . . . factor 0..1 decimal Contract Valued Item Price Scaling Factor
. . . . . . points 0..1 decimal Contract Valued Item Difficulty Scaling Factor
. . . . . . net 0..1 Money Total Contract Valued Item Value
. . . . securityLabel . . payment Σ 0..1 string Terms of valuation
...... paymentDate 0..1 dateTime When payment is due
...... responsible 0..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Who will make payment
...... recipient 0..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Who will receive payment
...... linkId 0..* Coding string Pointer to specific item
...... securityLabelNumber 0..* unsignedInt Security Labels that define affected terms
All Security Labels ( Extensible )
. . . . agent action 0..* BackboneElement Entity being ascribed responsibility
. . . . actor . doNotPerform ?! 0..1 boolean True if the term prohibits the action
..... type 1..1 Reference CodeableConcept ( Type or form of the action
Contract Action Codes | Device ( Example | Group )
..... subject | Location | Organization 0..* BackboneElement | Entity of the action
...... reference 1..* Reference ( Patient | Practitioner Person | RelatedPerson | Substance Practitioner | Device | Group | Organization ) Contract Agent Type Entity of the action
. . . . . . role 0..* 0..1 CodeableConcept Role type of the agent
Contract Actor Role Codes ( Example )
. . . . . action intent 0..* 1..1 CodeableConcept Purpose for the Contract Term Activity Action
V3 Value SetPurposeOfUse ( Example )
..... linkId 0..* string Pointer to specific item
..... status 1..1 CodeableConcept State of the action
Contract Resource Action Codes Status codes ( Example )
. . . . . context 0..1 Reference ( Encounter | EpisodeOfCare ) Episode associated with action
..... contextLinkId 0..* string Pointer to specific item
. . . . . occurrence[x] 0..1 When action happens
...... occurrenceDateTime dateTime
.... . . actionReason occurrencePeriod Period
. . . . . . occurrenceTiming Timing
..... requester 0..* Reference ( Patient | Person | RelatedPerson | Practitioner | Device | Group | Organization ) Who asked for action
..... requesterLinkId 0..* string Pointer to specific item
..... performerType 0..* CodeableConcept Purpose for Kind of service performer
Provenance participant type ( Example )
..... performerRole 0..1 CodeableConcept Competency of the Contract Term Action performer
Provenance participant role ( Example )
..... performer 0..1 Reference ( Person | RelatedPerson | Patient | Practitioner | PractitionerRole | CareTeam | Device | Substance | Organization | Location ) Actor that wil execute (or not) the action
..... performerLinkId 0..* string Pointer to specific item
..... reasonCode 0..* CodeableConcept Why is action (not) needed?
PurposeOfUse V3 Value SetPurposeOfUse ( Example )
. . . . . reasonReference 0..* Reference ( Condition | Observation | DiagnosticReport | DocumentReference | Questionnaire | QuestionnaireResponse ) Why is action (not) needed?
..... reason 0..* string Why action is to be performed
..... reasonLinkId 0..* string Pointer to specific item
..... note 0..* Annotation Comments about the action
..... securityLabelNumber 0..* unsignedInt Action restriction numbers
. . . . group 0..* see term Nested Contract Term Group
. . . supportingInfo 0..* Reference ( Any ) Extra Information
... relevantHistory 0..* Reference ( Provenance ) Key event in Contract History
. . . signer 0..* BackboneElement Contract Signatory
. . . . type 1..1 Coding Contract Signatory Role
Contract Signer Type Codes ( Preferred )
. . . . party 1..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Contract Signatory Party
. . . . signature 1..* Signature Contract Documentation Signature
. . . friendly 0..* BackboneElement Contract Friendly Language
. . . . content[x] 1..1 Easily comprehended representation of this Contract
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . legal 0..* BackboneElement Contract Legal Language
. . . . content[x] 1..1 Contract Legal Text
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . rule 0..1 0..* BackboneElement Computable Contract Language
. . . . content[x] 1..1 Computable Contract Rules
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( DocumentReference )
. . . legallyBinding[x] 0..1 Binding Contract
. . . . legallyBindingAttachment Attachment
. . . . 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..*] Canonical identifier for this contract, represented as a URI (globally unique) url : uri [0..1] An edition identifier used for business purposes to label business significant variants version : string [0..1] The status of the resource instance (this element modifies the meaning of other elements) status : code [0..1] « A code specifying the state of the resource instance. (Strength=Required) Contract Resource Status ContractResourceStatusCodes ! » Legal states of the formation of a legal instrument, which is a formally executed written document that can be formally attributed to its author, records and formally expresses a legally enforceable act, process, or contractual duty, obligation, or right, and therefore evidences that act, process, or agreement legalState : CodeableConcept [0..1] « Detailed codes for the legal state of a contract. (Strength=Extensible) ContractResourceLegalStateCod... + » The URL pointing to a FHIR-defined Contract Definition that is adhered to in whole or part by this Contract instantiatesCanonical : Reference [0..1] « Contract » The URL pointing to an externally maintained definition that is adhered to in whole or in part by this Contract instantiatesUri : uri [0..1] 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 ContractContentDerivationCodes ?? » When this Contract was issued issued : dateTime [0..1] Relevant time or time-period when this Contract is applicable applies : Period [0..1] Event resulting in discontinuation or termination of this Contract instance by one or more parties to the contract expirationType : CodeableConcept [0..1] « Codes for the Cessation of Contracts. (Strength=Example) ContractResourceExpirationTyp... ?? » The target entity impacted by or of interest to parties to the agreement subject : 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 Sites in which the contract is complied with, exercised, or in force site : Reference [0..*] « Location » A natural language name identifying this Contract such definition, derivative, or instance in any legal state. Provides additional information about its content. This name should be usable as an insurance policy, real estate contract, identifier for the module by machine processing applications such as code generation name : string [0..1] A short, descriptive, user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content title : string [0..1] An explanatory or alternate user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content subtitle : string [0..1] Alternative representation of the title for this Contract definition, derivative, or instance in any legal state., e.g., a will, power domain specific contract number related to legislation alias : string [0..*] The individual or organization that authored the Contract definition, derivative, or instance in any legal state author : Reference [0..1] « Person | Patient | Practitioner | Organization » A selector of attorny, Privacy legal concerns for this Contract definition, derivative, or Security policy , trust framework agreement, etc instance in any legal state type scope : CodeableConcept [0..1] « Codes for the range of legal concerns. (Strength=Example) ContractResourceScopeCodes ?? » Narrows the range of legal concerns to focus on the achievement of specific contractual objectives topic[x] : Type [0..1] « CodeableConcept | Reference ( Any ) » A high-level category for the legal instrument, whether constructed as a Contract definition, derivative, or instance in any legal state. Provides additional information about its content within the context of the Contract's scope to distinguish the kinds of systems that would be interested in the contract type : CodeableConcept [0..1] « List of overall contract codes. (Strength=Example) Contract Type ContractTypeCodes ?? » More specific type or specialization Sub-category for the Contract that distinguishes the kinds of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent systems that would be interested in the Contract within the context of the Contract's scope subType : CodeableConcept [0..*] « Detailed codes within the above. (Strength=Example) Contract Subtype ContractSubtypeCodes ?? » Information that may be needed by/relevant to the performer in their execution of this term action supportingInfo : Reference [0..*] « Any » Links to Provenance records for past versions of this Contract definition, derivative, or instance, which identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the Contract. The Provence.entity indicates the target that was changed in the update. http://build.fhir.org/provenance-definitions.html#Provenance.entity relevantHistory : Reference [0..*] « Provenance » Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract legallyBinding[x] : Type [0..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse | Contract ) » ContentDefinition Precusory content structure and use, i.e., a boilerplate, template, application for a contract such as an insurance policy or benefits under a program, e.g., workers compensation type : CodeableConcept [1..1] « Detailed codes for the definition of contracts. (Strength=Example) ContractResourceDefinitionTyp... ?? » Detailed Precusory content type subType : CodeableConcept [0..1] « Detailed codes for the additional definition of contracts. (Strength=Example) ContractResourceDefinitionSub... ?? » The individual or organization that published the Contract precursor content publisher : Reference [0..1] « Person | Practitioner | Organization » The date (and optionally time) when the contract was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the contract changes publicationDate : dateTime [0..1] draft | active | retired | unknown publicationStatus : code [1..1] « Status of the publication of contract content. (Strength=Required) ContractResourcePublicationSt... ! » A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content copyright : markdown [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] The entity that the term applies to topic[x] : Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life [0..1] « CodeableConcept | Reference ( Any ) » A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time maximum benefit type : CodeableConcept [0..1] « Detailed codes for the types of contract provisions. (Strength=Example) Contract Term Type ContractTermTypeCodes ?? » Subtype of this Contract Provision, e.g. life time maximum payment for a A specialized legal clause or condition based on overarching contract term for specific valued item, e.g. disability payment type subType : CodeableConcept [0..1] « Detailed codes for the subtypes of contract provisions. (Strength=Example) Contract Term Subtype ContractTermSubtypeCodes ?? » Action stipulated by Statement of a provision in a policy or a contract text : string [0..1] SecurityLabel Number used to link this Contract Provision term or term element to the applicable Security Label action number : CodeableConcept unsignedInt [0..*] « Detailed codes for Security label privacy tag that species the contract action. level of confidentiality protection required for this term and/or term elements classification : Coding [1..1] « Codes for confidentiality protection. (Strength=Example) Contract Action ContractResourceScopeCodes ?? » Reason or purpose for Security label privacy tag that species the action stipulated by applicable privacy and security policies governing this Contract Provision term and/or term elements actionReason category : CodeableConcept Coding [0..*] « Detailed codes Codes for policy category. (Strength=Example) ContractResourceScopeCodes ?? » Security label privacy tag that species the contract action reason. manner in which term and/or term elements are to be protected control : Coding [0..*] « Codes for handling instructions. (Strength=Example) PurposeOfUse ContractResourceSecurityContr... ?? » ContractOffer Unique identifier for this particular Contract Provision identifier : Identifier [0..*] The owner of 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) topic : Reference [0..1] « Any » 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 ContractTermTypeCodes ?? » The type Type of decision choice made by a grantor accepting party with respect to an offer made by a an offeror/ grantee decision : CodeableConcept [0..1] « The type of decision made by a grantor with respect to an offer made by a grantee. (Strength=Extensible) ActConsentDirective v3.ActConsentDirective + » How the decision about a Contract was conveyed decisionMode : CodeableConcept [0..*] « Codes for conveying a decision. (Strength=Example) ContractResourceDecisionModeC... ?? » Human readable form of this Contract 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] [0..*] Security labels that protects the offer securityLabelNumber : unsignedInt [0..*] ContractParty Participant in the offer reference : Reference [1..*] « Patient | Person | RelatedPerson | Practitioner | Device | Group | Organization » How the party participates in the offer role : CodeableConcept [1..1] « Codes for offer participant roles. (Strength=Example) ContractResourcePartyRoleCodes ?? » Answer Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research value[x] : Type [1..1] « boolean | decimal | integer | date | dateTime | time | string | uri | Attachment | Coding | Quantity | Reference ( Any ) » ContractAsset Categorization Differentiates the kind of the asset scope : CodeableConcept [0..1] « Codes for scoping an asset. (Strength=Example) ContractResourceAssetScopeCod... ?? » Target entity type about which the term may be concerned type : CodeableConcept [0..*] « Condes for the type of an asset. (Strength=Example) ContractResourceAssetTypeCodes ?? » Associated entities typeReference : Reference [0..*] « Any » May be a subtype or part of an offered asset class subtype : CodeableConcept [0..*] « Condes for the sub-type of an asset. (Strength=Example) ContractResourceAssetSub-Type... ?? » Specifies the applicability of the term to an asset resource instance, and instances it refers to orinstances that refer to it, and/or are owned by the offeree relationship : Coding [0..1] « The class (type) of information a consent rule covers covers. (Strength=Extensible) Consent Content Class ConsentContentClass + » Code in Description of the content quality and completeness of the asset that imay be a factor in its valuation code condition : Coding string [0..1] « If this code is found in an instance, then the exception applies Type of Asset availability for use or ownership periodType : CodeableConcept [0..*] « Codes for asset availability. (Strength=Example) Consent Content ContractResourceAssetAvailiab... ?? » Time Asset relevant contractual time period of the asset period : Period [0..1] [0..*] Time period of the data for the asset use dataPeriod usePeriod : Period [0..*] Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract text : string [0..1] A set Id [identifier??] of security labels that define which terms are controlled by this condition the clause or question text about the asset in the referenced form or QuestionnaireResponse securityLabel linkId : Coding string [0..*] « Security Labels from labels that protects the Healthcare Privacy and Security Classification System. (Strength=Extensible) asset All Security Labels securityLabelNumber + » : unsignedInt [0..*] AssetData AssetContext instance | related | dependents | authoredby Asset context reference may include the creator, custodian, or owning Person or Organization (e.g., bank, repository), location held, e.g., building, jurisdiction meaning reference : code Reference [0..1] « Any » How a resource reference is interpreted when evaluating contract offers (Strength=Required) Coded representation of the context generally or of the Referenced entity, such as the asset holder type or location ContractDataMeaning ! code : CodeableConcept [0..*] « Codes for the context of the asset. (Strength=Example) ContractResourceAssetContextC... ?? » The actual data reference Context description reference text : Reference string [0..1] « Any » 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] Terms of valuation payment : string [0..1] When payment is due paymentDate : dateTime [0..1] Who will make payment responsible : Reference [0..1] « Organization | Patient | Practitioner | RelatedPerson » Who will receive payment recipient : Reference [0..1] « Organization | Patient | Practitioner | RelatedPerson » Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse linkId : string [0..*] A set of security labels that define which terms are controlled by this condition securityLabelNumber : unsignedInt [0..*] Agent Action Who True if the term prohibits the action (this element modifies the meaning of other elements) doNotPerform : boolean [0..1] Activity or what parties are assigned roles in service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term actor type : Reference CodeableConcept [1..1] « Detailed codes for the contract action. (Strength=Example) ContractActionCodes ?? » Reason or purpose for the action stipulated by this Contract Provision intent : CodeableConcept [1..1] « Detailed codes for the contract action reason. (Strength=Example) v3.PurposeOfUse ?? » Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse linkId : string [0..*] Current state of the term action status : CodeableConcept [1..1] « Codes for the status of an term action. (Strength=Example) ContractResourceActionStatusC... ?? » Encounter or Episode with primary association to specified term activity context : Reference [0..1] « Encounter | EpisodeOfCare » Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse contextLinkId : string [0..*] When action happens occurrence[x] : Type [0..1] « dateTime | Period | Timing » Who or what initiated the action and has responsibility for its activation requester : Reference [0..*] « Patient | Person | RelatedPerson | Practitioner | Device | Group | Location Organization » Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse requesterLinkId : string [0..*] The type of individual that is desired or required to perform or not perform the action performerType : CodeableConcept [0..*] « Codes for the types of action perfomer. (Strength=Example) ProvenanceParticipantType ?? » The type of role or competency of an individual desired or required to perform or not perform the action performerRole : CodeableConcept [0..1] « Codes for the role of the action performer. (Strength=Example) ProvenanceParticipantRole ?? » Indicates who or what is being asked to perform (or not perform) the ction performer : Reference [0..1] « Person | RelatedPerson | Patient | Practitioner | PractitionerRole | CareTeam | Device | Substance | Organization | Location » Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse performerLinkId : string [0..*] Rationale for the action to be performed or not performed. Describes why the action is permitted or prohibited reasonCode : CodeableConcept [0..*] « Detailed codes for the contract action reason. (Strength=Example) v3.PurposeOfUse ?? » Indicates another resource whose existence justifies permitting or not permitting this action reasonReference : Reference [0..*] « Condition | Observation | DiagnosticReport | DocumentReference | Questionnaire | QuestionnaireResponse » Describes why the action is to be performed or not performed in textual form reason : string [0..*] Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse reasonLinkId : string [0..*] Comments made about the term action made by the requester, performer, subject or other participants note : Annotation [0..*] Security labels that protects the action securityLabelNumber : unsignedInt [0..*] ActionSubject The entity the action is performed or not performed on or for reference : Reference [1..*] « Patient | Practitioner Person | RelatedPerson | Substance Practitioner | Device | Group | Organization » Role type of agent assigned roles in this Contract role : CodeableConcept [0..*] [0..1] « Detailed codes for the contract actor role. (Strength=Example) Contract Actor Role ContractActorRoleCodes ?? » 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 ContractSignerTypeCodes ? » 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 ) » Precusory content developed with a focus and intent of supporting the formation a Contract instance, which may be associated with and transformable into a Contract contentDefinition [0..1] Security labels that protect the handling of information about the term and its elements, which may be specifically identified. securityLabel [0..*] Offer Recipient party [0..*] Response to offer text answer [0..*] The matter of concern in the context of this provision of the agrement offer [1..1] Data defined by this Asset Circumstance of the asset data context [0..*] Response to assets answer [0..*] Contract Valued Item List valuedItem [0..*] Contract Term Asset List asset [0..*] Entity of the action subject [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 action [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 friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement friendly [0..*] List of Legal expressions or representations of this Contract legal [0..*] List of Computable Policy Rule Language Representations of this Contract rule [0..1] [0..*]

XML Template

<

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

 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <identifier><!-- 0..* Identifier Contract number --></identifier>
 <

 <url value="[uri]"/><!-- 0..1 Basal definition -->
 <version value="[string]"/><!-- 0..1 Business edition -->
 <status value="[code]"/><!-- 0..1 draft | active | suspended | cancelled | completed | entered-in-error | unknown -->
 <legalState><!-- 0..1 CodeableConcept Negotiation status --></legalState>
 <instantiatesCanonical><!-- 0..1 Reference(Contract) Source Contract Definition --></instantiatesCanonical>
 <instantiatesUri value="[uri]"/><!-- 0..1 External Contract Definition -->

 <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>
 <expirationType><!-- 0..1 CodeableConcept Contract cessation cause --></expirationType>

 <subject><!-- 0..* Reference(Any) Contract Target Entity --></subject>
 <authority><!-- 0..* Reference(Organization) Authority under which this Contract has standing --></authority>
 <domain><!-- 0..* Reference(Location) A sphere of control governed by an authoritative jurisdiction, organization, or person --></domain>
 <</type>
 <</subType>

 <site><!-- 0..* Reference(Location) Specific Location --></site>
 <name value="[string]"/><!-- 0..1 Computer friendly designation -->
 <title value="[string]"/><!-- 0..1 Human Friendly name -->
 <subtitle value="[string]"/><!-- 0..1 Subordinate Friendly name -->
 <alias value="[string]"/><!-- 0..* Acronym or short name -->
 <author><!-- 0..1 Reference(Person|Patient|Practitioner|Organization) Source of Contract --></author>
 <scope><!-- 0..1 CodeableConcept Range of Legal Concerns --></scope>
 <topic[x]><!-- 0..1 CodeableConcept|Reference(Any) Focus of contract interest --></topic[x]>
 <type><!-- 0..1 CodeableConcept Legal instrument category --></type>
 <subType><!-- 0..* CodeableConcept Subtype within the context of type --></subType>
 <contentDefinition>  <!-- 0..1 Contract precursor content -->
  <type><!-- 1..1 CodeableConcept Content structure and use --></type>
  <subType><!-- 0..1 CodeableConcept Detailed Content Type Definition --></subType>
  <publisher><!-- 0..1 Reference(Person|Practitioner|Organization) Publisher Entity --></publisher>
  <publicationDate value="[dateTime]"/><!-- 0..1 When published -->
  <publicationStatus value="[code]"/><!-- 1..1 draft | active | retired | unknown -->
  <copyright value="[markdown]"/><!-- 0..1 Publication Ownership -->
 </contentDefinition>

 <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>
  <</subType>

  <topic[x]><!-- 0..1 CodeableConcept|Reference(Any) Term Concern --></topic[x]>
  <type><!-- 0..1 CodeableConcept Contract Term Type or Form --></type>
  <subType><!-- 0..1 CodeableConcept Contract Term Type specific classification --></subType>
  <text value="[string]"/><!-- 0..1 Term Statement -->
  <securityLabel>  <!-- 0..* Protection for the Term -->
   <number value="[unsignedInt]"/><!-- 0..* Link to Security Labels -->
   <classification><!-- 1..1 Coding Confidentiality Protection --></classification>
   <category><!-- 0..* Coding Applicable Policy --></category>
   <control><!-- 0..* Coding Handling Instructions --></control>
  </securityLabel>

  <offer>  <!-- 1..1 Context of the Contract term -->
   <identifier><!-- 0..* Identifier Offer business ID --></identifier>
   <party>  <!-- 0..* Offer Recipient -->
    <reference><!-- 1..* Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) Referenced entity --></reference>

    <role><!-- 1..1 CodeableConcept Participant engagement type --></role>
   </party>

   <topic><!-- 0..1 Reference(Any) Negotiable offer asset --></topic>
   <type><!-- 0..1 CodeableConcept Contract Offer Type or Form --></type>
   <</decision>

   <decision><!-- 0..1 CodeableConcept Accepting party choice --></decision>
   <decisionMode><!-- 0..* CodeableConcept How decision is conveyed --></decisionMode>
   <answer>  <!-- 0..* Response to offer text -->
    <value[x]><!-- 1..1 boolean|decimal|integer|date|dateTime|time|string|uri|
      Attachment|Coding|Quantity|Reference(Any) The actual answer response --></value[x]>

   </answer>

   <text value="[string]"/><!-- 0..1 Human readable offer text -->
   <

   <linkId value="[string]"/><!-- 0..* Pointer to text -->
   <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Offer restriction numbers -->

  </offer>
  <asset>  <!-- 0..* Contract Term Asset List -->
   <</class>
   <</code>
   <</period>
   <</dataPeriod>
   <
    <
    <</reference>
   </data>

   <scope><!-- 0..1 CodeableConcept Range of asset --></scope>
   <type><!-- 0..* CodeableConcept Asset category --></type>
   <typeReference><!-- 0..* Reference(Any) Associated entities --></typeReference>
   <subtype><!-- 0..* CodeableConcept Asset sub-category --></subtype>
   <relationship><!-- 0..1 Coding Kinship of the asset --></relationship>
   <context>  <!-- 0..* Circumstance of the asset -->
    <reference><!-- 0..1 Reference(Any) Creator,custodian or owner --></reference>
    <code><!-- 0..* CodeableConcept Codeable asset context --></code>
    <text value="[string]"/><!-- 0..1 Context description -->
   </context>
   <condition value="[string]"/><!-- 0..1 Quality desctiption of asset -->
   <periodType><!-- 0..* CodeableConcept Asset availability types --></periodType>
   <period><!-- 0..* Period Time period of the asset --></period>
   <usePeriod><!-- 0..* Period Time period --></usePeriod>
   <text value="[string]"/><!-- 0..1 Asset clause or question text -->
   <linkId value="[string]"/><!-- 0..* Pointer to asset text -->
   <answer><!-- 0..* Content as for Contract.term.offer.answer Response to assets --></answer>
   <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Asset restriction numbers -->

   <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>
    <payment value="[string]"/><!-- 0..1 Terms of valuation -->
    <paymentDate value="[dateTime]"/><!-- 0..1 When payment is due -->
    <responsible><!-- 0..1 Reference(Organization|Patient|Practitioner|
      RelatedPerson) Who will make payment --></responsible>

    <recipient><!-- 0..1 Reference(Organization|Patient|Practitioner|
      RelatedPerson) Who will receive payment --></recipient>

    <linkId value="[string]"/><!-- 0..* Pointer to specific item -->
    <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Security Labels that define affected terms -->

   </valuedItem>
   <</securityLabel>

  </asset>
  <
   <|
     </actor>
   <</role>
  </agent>
  <</action>
  <</actionReason>

  <action>  <!-- 0..* Entity being ascribed responsibility -->
   <doNotPerform value="[boolean]"/><!-- 0..1 True if the term prohibits the  action -->
   <type><!-- 1..1 CodeableConcept Type or form of the action --></type>
   <subject>  <!-- 0..* Entity of the action -->
    <reference><!-- 1..* Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) Entity of the action --></reference>

    <role><!-- 0..1 CodeableConcept Role type of the agent --></role>
   </subject>
   <intent><!-- 1..1 CodeableConcept Purpose for the Contract Term Action --></intent>
   <linkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <status><!-- 1..1 CodeableConcept State of the action --></status>
   <context><!-- 0..1 Reference(Encounter|EpisodeOfCare) Episode associated with action --></context>
   <contextLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <occurrence[x]><!-- 0..1 dateTime|Period|Timing When action happens --></occurrence[x]>
   <requester><!-- 0..* Reference(Patient|Person|RelatedPerson|Practitioner|
     Device|Group|Organization) Who asked for action --></requester>

   <requesterLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <performerType><!-- 0..* CodeableConcept Kind of service performer --></performerType>
   <performerRole><!-- 0..1 CodeableConcept Competency of the performer --></performerRole>
   <performer><!-- 0..1 Reference(Person|RelatedPerson|Patient|Practitioner|
     PractitionerRole|CareTeam|Device|Substance|Organization|Location) Actor that wil execute (or not) the action --></performer>

   <performerLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <reasonCode><!-- 0..* CodeableConcept Why is action (not) needed? --></reasonCode>
   <reasonReference><!-- 0..* Reference(Condition|Observation|DiagnosticReport|
     DocumentReference|Questionnaire|QuestionnaireResponse) Why is action (not) needed? --></reasonReference>

   <reason value="[string]"/><!-- 0..* Why action is to be performed -->
   <reasonLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <note><!-- 0..* Annotation Comments about the action --></note>
   <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Action restriction numbers -->
  </action>

  <group><!-- 0..* Content as for Contract.term Nested Contract Term Group --></group>
 </term>
 <supportingInfo><!-- 0..* Reference(Any) Extra Information --></supportingInfo>
 <relevantHistory><!-- 0..* Reference(Provenance) Key event in Contract History --></relevantHistory>

 <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..* 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
  "

  "url" : "<uri>", // Basal definition
  "version" : "<string>", // Business edition
  "status" : "<code>", // draft | active | suspended | cancelled | completed | entered-in-error | unknown
  "legalState" : { CodeableConcept }, // Negotiation status
  "instantiatesCanonical" : { Reference(Contract) }, // Source Contract Definition
  "instantiatesUri" : "<uri>", // External Contract Definition

  "contentDerivative" : { CodeableConcept }, // Content derived from the basal information
  "issued" : "<dateTime>", // When this Contract was issued
  "applies" : { Period }, // Effective time
  "expirationType" : { CodeableConcept }, // Contract cessation cause

  "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
  "
  "

  "site" : [{ Reference(Location) }], // Specific Location
  "name" : "<string>", // Computer friendly designation
  "title" : "<string>", // Human Friendly name
  "subtitle" : "<string>", // Subordinate Friendly name
  "alias" : ["<string>"], // Acronym or short name
  "author" : { Reference(Person|Patient|Practitioner|Organization) }, // Source of Contract
  "scope" : { CodeableConcept }, // Range of Legal Concerns
  // topic[x]: Focus of contract interest. One of these 2:

  "topicCodeableConcept" : { CodeableConcept },
  "topicReference" : { Reference(Any) },
  "type" : { CodeableConcept }, // Legal instrument category
  "subType" : [{ CodeableConcept }], // Subtype within the context of type
  "contentDefinition" : { // Contract precursor content
    "type" : { CodeableConcept }, // R!  Content structure and use
    "subType" : { CodeableConcept }, // Detailed Content Type Definition
    "publisher" : { Reference(Person|Practitioner|Organization) }, // Publisher Entity
    "publicationDate" : "<dateTime>", // When published
    "publicationStatus" : "<code>", // R!  draft | active | retired | unknown
    "copyright" : "<markdown>" // Publication Ownership
  },

  "term" : [{ // Contract Term List
    "identifier" : { Identifier }, // Contract Term Number
    "issued" : "<dateTime>", // Contract Term Issue Date Time
    "applies" : { Period }, // Contract Term Effective Time
    "
    "

    // topic[x]: Term Concern. One of these 2:
    "topicCodeableConcept" : { CodeableConcept },
    "topicReference" : { Reference(Any) },
    "type" : { CodeableConcept }, // Contract Term Type or Form
    "subType" : { CodeableConcept }, // Contract Term Type specific classification
    "text" : "<string>", // Term Statement
    "securityLabel" : [{ // Protection for the Term
      "number" : ["<unsignedInt>"], // Link to Security Labels
      "classification" : { Coding }, // R!  Confidentiality Protection
      "category" : [{ Coding }], // Applicable Policy
      "control" : [{ Coding }] // Handling Instructions
    }],

    "offer" : { // R!  Context of the Contract term
      "identifier" : [{ Identifier }], // Offer business ID
      "party" : [{ // Offer Recipient
        "reference" : [{ Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) }], // R!  Referenced entity

        "role" : { CodeableConcept } // R!  Participant engagement type
      }],

      "topic" : { Reference(Any) }, // Negotiable offer asset
      "type" : { CodeableConcept }, // Contract Offer Type or Form
      "

      "decision" : { CodeableConcept }, // Accepting party choice
      "decisionMode" : [{ CodeableConcept }], // How decision is conveyed
      "answer" : [{ // Response to offer text
        // value[x]: The actual answer response. One of these 12:

        "valueBoolean" : <boolean>
        "valueDecimal" : <decimal>
        "valueInteger" : <integer>
        "valueDate" : "<date>"
        "valueDateTime" : "<dateTime>"
        "valueTime" : "<time>"
        "valueString" : "<string>"
        "valueUri" : "<uri>"
        "valueAttachment" : { Attachment }
        "valueCoding" : { Coding }
        "valueQuantity" : { Quantity }
        "valueReference" : { Reference(Any) }
      }],

      "text" : "<string>", // Human readable offer text
      "

      "linkId" : ["<string>"], // Pointer to text
      "securityLabelNumber" : ["<unsignedInt>"] // Offer restriction numbers

    },
    "asset" : [{ // Contract Term Asset List
      "
      "
      "
      "
      "
        "
        "

      "scope" : { CodeableConcept }, // Range of asset
      "type" : [{ CodeableConcept }], // Asset category
      "typeReference" : [{ Reference(Any) }], // Associated entities
      "subtype" : [{ CodeableConcept }], // Asset sub-category
      "relationship" : { Coding }, // Kinship of the asset
      "context" : [{ // Circumstance of the asset
        "reference" : { Reference(Any) }, // Creator,custodian or owner
        "code" : [{ CodeableConcept }], // Codeable asset context
        "text" : "<string>" // Context description

      }],
      "condition" : "<string>", // Quality desctiption of asset
      "periodType" : [{ CodeableConcept }], // Asset availability types
      "period" : [{ Period }], // Time period of the asset
      "usePeriod" : [{ Period }], // Time period
      "text" : "<string>", // Asset clause or question text
      "linkId" : ["<string>"], // Pointer to asset text
      "answer" : [{ Content as for Contract.term.offer.answer }], // Response to assets
      "securityLabelNumber" : ["<unsignedInt>"], // Asset restriction numbers

      "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
        "payment" : "<string>", // Terms of valuation
        "paymentDate" : "<dateTime>", // When payment is due
        "responsible" : { Reference(Organization|Patient|Practitioner|
      RelatedPerson) }, // Who will make payment

        "recipient" : { Reference(Organization|Patient|Practitioner|
      RelatedPerson) }, // Who will receive payment

        "linkId" : ["<string>"], // Pointer to specific item
        "securityLabelNumber" : ["<unsignedInt>"] // Security Labels that define affected terms
      }]

    }],
    "
      "|
     
      "

    "action" : [{ // Entity being ascribed responsibility
      "doNotPerform" : <boolean>, // True if the term prohibits the  action
      "type" : { CodeableConcept }, // R!  Type or form of the action
      "subject" : [{ // Entity of the action
        "reference" : [{ Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) }], // R!  Entity of the action

        "role" : { CodeableConcept } // Role type of the agent
      }],
      "intent" : { CodeableConcept }, // R!  Purpose for the Contract Term Action
      "linkId" : ["<string>"], // Pointer to specific item
      "status" : { CodeableConcept }, // R!  State of the action
      "context" : { Reference(Encounter|EpisodeOfCare) }, // Episode associated with action
      "contextLinkId" : ["<string>"], // Pointer to specific item
      // occurrence[x]: When action happens. One of these 3:

      "occurrenceDateTime" : "<dateTime>",
      "occurrencePeriod" : { Period },
      "occurrenceTiming" : { Timing },
      "requester" : [{ Reference(Patient|Person|RelatedPerson|Practitioner|
     Device|Group|Organization) }], // Who asked for action

      "requesterLinkId" : ["<string>"], // Pointer to specific item
      "performerType" : [{ CodeableConcept }], // Kind of service performer
      "performerRole" : { CodeableConcept }, // Competency of the performer
      "performer" : { Reference(Person|RelatedPerson|Patient|Practitioner|
     PractitionerRole|CareTeam|Device|Substance|Organization|Location) }, // Actor that wil execute (or not) the action

      "performerLinkId" : ["<string>"], // Pointer to specific item
      "reasonCode" : [{ CodeableConcept }], // Why is action (not) needed?
      "reasonReference" : [{ Reference(Condition|Observation|DiagnosticReport|
     DocumentReference|Questionnaire|QuestionnaireResponse) }], // Why is action (not) needed?

      "reason" : ["<string>"], // Why action is to be performed
      "reasonLinkId" : ["<string>"], // Pointer to specific item
      "note" : [{ Annotation }], // Comments about the action
      "securityLabelNumber" : ["<unsignedInt>"] // Action restriction numbers

    }],
    "
    "

    "group" : [{ Content as for Contract.term }] // Nested Contract Term Group
  }],
  "supportingInfo" : [{ Reference(Any) }], // Extra Information
  "relevantHistory" : [{ Reference(Provenance) }], // Key event in Contract History

  "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:;

[ a fhir:Contract;

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

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:Contract.identifier [ Identifier ], ... ; # 0..* Contract number
  fhir:

  fhir:Contract.url [ uri ]; # 0..1 Basal definition
  fhir:Contract.version [ string ]; # 0..1 Business edition
  fhir:Contract.status [ code ]; # 0..1 draft | active | suspended | cancelled | completed | entered-in-error | unknown
  fhir:Contract.legalState [ CodeableConcept ]; # 0..1 Negotiation status
  fhir:Contract.instantiatesCanonical [ Reference(Contract) ]; # 0..1 Source Contract Definition
  fhir:Contract.instantiatesUri [ uri ]; # 0..1 External Contract Definition

  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.expirationType [ CodeableConcept ]; # 0..1 Contract cessation cause

  fhir:Contract.subject [ Reference(Any) ], ... ; # 0..* Contract Target Entity
  fhir:Contract.authority [ Reference(Organization) ], ... ; # 0..* Authority under which this Contract has standing
  fhir:Contract.domain [ Reference(Location) ], ... ; # 0..* A sphere of control governed by an authoritative jurisdiction, organization, or person
  fhir:
  fhir:

  fhir:Contract.site [ Reference(Location) ], ... ; # 0..* Specific Location
  fhir:Contract.name [ string ]; # 0..1 Computer friendly designation
  fhir:Contract.title [ string ]; # 0..1 Human Friendly name
  fhir:Contract.subtitle [ string ]; # 0..1 Subordinate Friendly name
  fhir:Contract.alias [ string ], ... ; # 0..* Acronym or short name
  fhir:Contract.author [ Reference(Person|Patient|Practitioner|Organization) ]; # 0..1 Source of Contract
  fhir:Contract.scope [ CodeableConcept ]; # 0..1 Range of Legal Concerns
  # Contract.topic[x] : 0..1 Focus of contract interest. One of these 2
    fhir:Contract.topicCodeableConcept [ CodeableConcept ]
    fhir:Contract.topicReference [ Reference(Any) ]
  fhir:Contract.type [ CodeableConcept ]; # 0..1 Legal instrument category
  fhir:Contract.subType [ CodeableConcept ], ... ; # 0..* Subtype within the context of type
  fhir:Contract.contentDefinition [ # 0..1 Contract precursor content
    fhir:Contract.contentDefinition.type [ CodeableConcept ]; # 1..1 Content structure and use
    fhir:Contract.contentDefinition.subType [ CodeableConcept ]; # 0..1 Detailed Content Type Definition
    fhir:Contract.contentDefinition.publisher [ Reference(Person|Practitioner|Organization) ]; # 0..1 Publisher Entity
    fhir:Contract.contentDefinition.publicationDate [ dateTime ]; # 0..1 When published
    fhir:Contract.contentDefinition.publicationStatus [ code ]; # 1..1 draft | active | retired | unknown
    fhir:Contract.contentDefinition.copyright [ markdown ]; # 0..1 Publication Ownership
  ];

  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:
    fhir:

    # Contract.term.topic[x] : 0..1 Term Concern. One of these 2
      fhir:Contract.term.topicCodeableConcept [ CodeableConcept ]
      fhir:Contract.term.topicReference [ Reference(Any) ]
    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:Contract.term.text [ string ]; # 0..1 Term Statement
    fhir:Contract.term.securityLabel [ # 0..* Protection for the Term
      fhir:Contract.term.securityLabel.number [ unsignedInt ], ... ; # 0..* Link to Security Labels
      fhir:Contract.term.securityLabel.classification [ Coding ]; # 1..1 Confidentiality Protection
      fhir:Contract.term.securityLabel.category [ Coding ], ... ; # 0..* Applicable Policy
      fhir:Contract.term.securityLabel.control [ Coding ], ... ; # 0..* Handling Instructions
    ], ...;

    fhir:Contract.term.offer [ # 1..1 Context of the Contract term
      fhir:Contract.term.offer.identifier [ Identifier ], ... ; # 0..* Offer business ID
      fhir:Contract.term.offer.party [ # 0..* Offer Recipient
        fhir:Contract.term.offer.party.reference [ Reference(Patient|Person|RelatedPerson|Practitioner|Device|Group|Organization) ], ... ; # 1..* Referenced entity
        fhir:Contract.term.offer.party.role [ CodeableConcept ]; # 1..1 Participant engagement type
      ], ...;

      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:

      fhir:Contract.term.offer.decision [ CodeableConcept ]; # 0..1 Accepting party choice
      fhir:Contract.term.offer.decisionMode [ CodeableConcept ], ... ; # 0..* How decision is conveyed
      fhir:Contract.term.offer.answer [ # 0..* Response to offer text
        # Contract.term.offer.answer.value[x] : 1..1 The actual answer response. One of these 12
          fhir:Contract.term.offer.answer.valueBoolean [ boolean ]
          fhir:Contract.term.offer.answer.valueDecimal [ decimal ]
          fhir:Contract.term.offer.answer.valueInteger [ integer ]
          fhir:Contract.term.offer.answer.valueDate [ date ]
          fhir:Contract.term.offer.answer.valueDateTime [ dateTime ]
          fhir:Contract.term.offer.answer.valueTime [ time ]
          fhir:Contract.term.offer.answer.valueString [ string ]
          fhir:Contract.term.offer.answer.valueUri [ uri ]
          fhir:Contract.term.offer.answer.valueAttachment [ Attachment ]
          fhir:Contract.term.offer.answer.valueCoding [ Coding ]
          fhir:Contract.term.offer.answer.valueQuantity [ Quantity ]
          fhir:Contract.term.offer.answer.valueReference [ Reference(Any) ]
      ], ...;

      fhir:Contract.term.offer.text [ string ]; # 0..1 Human readable offer text
      fhir:

      fhir:Contract.term.offer.linkId [ string ], ... ; # 0..* Pointer to text
      fhir:Contract.term.offer.securityLabelNumber [ unsignedInt ], ... ; # 0..* Offer restriction numbers

    ];
    fhir:Contract.term.asset [ # 0..* Contract Term Asset List
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:
        fhir:
        fhir:

      fhir:Contract.term.asset.scope [ CodeableConcept ]; # 0..1 Range of asset
      fhir:Contract.term.asset.type [ CodeableConcept ], ... ; # 0..* Asset category
      fhir:Contract.term.asset.typeReference [ Reference(Any) ], ... ; # 0..* Associated entities
      fhir:Contract.term.asset.subtype [ CodeableConcept ], ... ; # 0..* Asset sub-category
      fhir:Contract.term.asset.relationship [ Coding ]; # 0..1 Kinship of the asset
      fhir:Contract.term.asset.context [ # 0..* Circumstance of the asset
        fhir:Contract.term.asset.context.reference [ Reference(Any) ]; # 0..1 Creator,custodian or owner
        fhir:Contract.term.asset.context.code [ CodeableConcept ], ... ; # 0..* Codeable asset context
        fhir:Contract.term.asset.context.text [ string ]; # 0..1 Context description

      ], ...;
      fhir:Contract.term.asset.condition [ string ]; # 0..1 Quality desctiption of asset
      fhir:Contract.term.asset.periodType [ CodeableConcept ], ... ; # 0..* Asset availability types
      fhir:Contract.term.asset.period [ Period ], ... ; # 0..* Time period of the asset
      fhir:Contract.term.asset.usePeriod [ Period ], ... ; # 0..* Time period
      fhir:Contract.term.asset.text [ string ]; # 0..1 Asset clause or question text
      fhir:Contract.term.asset.linkId [ string ], ... ; # 0..* Pointer to asset text
      fhir:Contract.term.asset.answer [ See Contract.term.offer.answer ], ... ; # 0..* Response to assets
      fhir:Contract.term.asset.securityLabelNumber [ unsignedInt ], ... ; # 0..* Asset restriction numbers

      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.valuedItem.payment [ string ]; # 0..1 Terms of valuation
        fhir:Contract.term.asset.valuedItem.paymentDate [ dateTime ]; # 0..1 When payment is due
        fhir:Contract.term.asset.valuedItem.responsible [ Reference(Organization|Patient|Practitioner|RelatedPerson) ]; # 0..1 Who will make payment
        fhir:Contract.term.asset.valuedItem.recipient [ Reference(Organization|Patient|Practitioner|RelatedPerson) ]; # 0..1 Who will receive payment
        fhir:Contract.term.asset.valuedItem.linkId [ string ], ... ; # 0..* Pointer to specific item
        fhir:Contract.term.asset.valuedItem.securityLabelNumber [ unsignedInt ], ... ; # 0..* Security Labels that define affected terms

      ], ...;
      fhir:

    ], ...;
    fhir:
      fhir:|
  
      fhir:

    fhir:Contract.term.action [ # 0..* Entity being ascribed responsibility
      fhir:Contract.term.action.doNotPerform [ boolean ]; # 0..1 True if the term prohibits the  action
      fhir:Contract.term.action.type [ CodeableConcept ]; # 1..1 Type or form of the action
      fhir:Contract.term.action.subject [ # 0..* Entity of the action
        fhir:Contract.term.action.subject.reference [ Reference(Patient|Person|RelatedPerson|Practitioner|Device|Group|Organization) ], ... ; # 1..* Entity of the action
        fhir:Contract.term.action.subject.role [ CodeableConcept ]; # 0..1 Role type of the agent
      ], ...;
      fhir:Contract.term.action.intent [ CodeableConcept ]; # 1..1 Purpose for the Contract Term Action
      fhir:Contract.term.action.linkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.status [ CodeableConcept ]; # 1..1 State of the action
      fhir:Contract.term.action.context [ Reference(Encounter|EpisodeOfCare) ]; # 0..1 Episode associated with action
      fhir:Contract.term.action.contextLinkId [ string ], ... ; # 0..* Pointer to specific item
      # Contract.term.action.occurrence[x] : 0..1 When action happens. One of these 3
        fhir:Contract.term.action.occurrenceDateTime [ dateTime ]
        fhir:Contract.term.action.occurrencePeriod [ Period ]
        fhir:Contract.term.action.occurrenceTiming [ Timing ]
      fhir:Contract.term.action.requester [ Reference(Patient|Person|RelatedPerson|Practitioner|Device|Group|Organization) ], ... ; # 0..* Who asked for action
      fhir:Contract.term.action.requesterLinkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.performerType [ CodeableConcept ], ... ; # 0..* Kind of service performer
      fhir:Contract.term.action.performerRole [ CodeableConcept ]; # 0..1 Competency of the performer
      fhir:Contract.term.action.performer [ Reference(Person|RelatedPerson|Patient|Practitioner|PractitionerRole|CareTeam|Device|
  Substance|Organization|Location) ]; # 0..1 Actor that wil execute (or not) the action

      fhir:Contract.term.action.performerLinkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.reasonCode [ CodeableConcept ], ... ; # 0..* Why is action (not) needed?
      fhir:Contract.term.action.reasonReference [ Reference(Condition|Observation|DiagnosticReport|DocumentReference|Questionnaire|
  QuestionnaireResponse) ], ... ; # 0..* Why is action (not) needed?

      fhir:Contract.term.action.reason [ string ], ... ; # 0..* Why action is to be performed
      fhir:Contract.term.action.reasonLinkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.note [ Annotation ], ... ; # 0..* Comments about the action
      fhir:Contract.term.action.securityLabelNumber [ unsignedInt ], ... ; # 0..* Action restriction numbers

    ], ...;
    fhir:
    fhir:

    fhir:Contract.term.group [ See Contract.term ], ... ; # 0..* Nested Contract Term Group
  ], ...;
  fhir:Contract.supportingInfo [ Reference(Any) ], ... ; # 0..* Extra Information
  fhir:Contract.relevantHistory [ Reference(Provenance) ], ... ; # 0..* Key event in Contract History

  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..* 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 R3

Contract
Contract.identifier
  • Max Cardinality changed from 1 to *
Contract.url
  • Added Element
Contract.version
  • Added Element
Contract.legalState
  • Added Element
Contract.instantiatesCanonical
  • Added Element
Contract.instantiatesUri
  • Added Element
Contract.expirationType
  • Added Element
Contract.site
  • Added Element
Contract.name
  • Added Element
Contract.title
  • Added Element
Contract.subtitle
  • Added Element
Contract.alias
  • Added Element
Contract.author
  • Added Element
Contract.scope
  • Added Element
Contract.topic[x]
  • Renamed from topic to topic[x]
  • Max Cardinality changed from * to 1
  • Remove Reference(Resource), Add CodeableConcept, Add Reference(Resource)
Contract.contentDefinition
  • Added Element
Contract.contentDefinition.type
  • Added Element
Contract.contentDefinition.subType
  • Added Element
Contract.contentDefinition.publisher
  • Added Element
Contract.contentDefinition.publicationDate
  • Added Element
Contract.contentDefinition.publicationStatus
  • Added Element
Contract.contentDefinition.copyright
  • Added Element
Contract.term.topic[x]
  • Renamed from topic to topic[x]
  • Max Cardinality changed from * to 1
  • Remove Reference(Resource), Add CodeableConcept, Add Reference(Resource)
Contract.term.securityLabel
  • Type changed from Coding to BackboneElement
  • Remove Binding http://hl7.org/fhir/ValueSet/security-labels (extensible)
Contract.term.securityLabel.number
  • Added Element
Contract.term.securityLabel.classification
  • Added Element
Contract.term.securityLabel.category
  • Added Element
Contract.term.securityLabel.control
  • Added Element
Contract.term.offer
  • Added Element
Contract.term.offer.identifier
  • Added Element
Contract.term.offer.party
  • Added Element
Contract.term.offer.party.reference
  • Added Element
Contract.term.offer.party.role
  • Added Element
Contract.term.offer.topic
  • Added Element
Contract.term.offer.type
  • Added Element
Contract.term.offer.decision
  • Added Element
Contract.term.offer.decisionMode
  • Added Element
Contract.term.offer.answer
  • Added Element
Contract.term.offer.answer.value[x]
  • Added Element
Contract.term.offer.text
  • Added Element
Contract.term.offer.linkId
  • Added Element
Contract.term.offer.securityLabelNumber
  • Added Element
Contract.term.asset
  • Added Element
Contract.term.asset.class Contract.term.asset.scope
  • Added Element
Contract.term.asset.code Contract.term.asset.type
  • Added Element
Contract.term.asset.typeReference
  • Added Element
Contract.term.asset.subtype
  • Added Element
Contract.term.asset.relationship
  • Added Element
Contract.term.asset.context
  • Added Element
Contract.term.asset.context.reference
  • Added Element
Contract.term.asset.context.code
  • Added Element
Contract.term.asset.context.text
  • Added Element
Contract.term.asset.condition
  • Added Element
Contract.term.asset.periodType
  • Added Element
Contract.term.asset.period
  • Added Element
Contract.term.asset.dataPeriod Contract.term.asset.usePeriod
  • Added Element
Contract.term.asset.data Contract.term.asset.text
  • Added Element
Contract.term.asset.data.meaning Contract.term.asset.linkId
  • Added Element
Contract.term.asset.data.reference Contract.term.asset.answer
  • Added Element
Contract.term.asset.securityLabelNumber
  • Added Element
Contract.term.asset.valuedItem
  • Added Element
Contract.term.asset.valuedItem.entity[x]
  • Added Element
Contract.term.asset.valuedItem.identifier
  • Added Element
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 Contract.term.asset.valuedItem.payment
  • Added Element
Contract.friendly.content[x] Contract.term.asset.valuedItem.paymentDate
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse) Added Element
Contract.legal.content[x] Contract.term.asset.valuedItem.responsible
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse) Added Element
Contract.term.asset.valuedItem.recipient
  • Added Element
Contract.term.asset.valuedItem.linkId
  • Added Element
Contract.term.asset.valuedItem.securityLabelNumber
  • Added Element
Contract.rule Contract.term.action
  • Max Cardinality Type changed from * CodeableConcept to 1 BackboneElement
Contract.rule.content[x] Contract.term.action.doNotPerform
  • Remove Reference(DocumentReference), Add Reference(DocumentReference) Added Element
Contract.legallyBinding[x] Contract.term.action.type
  • Added Element
Contract.topic Contract.term.action.subject
  • deleted Added Element
Contract.action Contract.term.action.subject.reference
  • deleted Added Element
Contract.term.action.subject.role
  • Added Element
Contract.term.action.intent
  • Added Element
Contract.term.action.linkId
  • Added Element
Contract.term.action.status
  • Added Element
Contract.term.action.context
  • Added Element
Contract.term.action.contextLinkId
  • Added Element
Contract.term.action.occurrence[x]
  • Added Element
Contract.term.action.requester
  • Added Element
Contract.term.action.requesterLinkId
  • Added Element
Contract.term.action.performerType
  • Added Element
Contract.term.action.performerRole
  • Added Element
Contract.term.action.performer
  • Added Element
Contract.term.action.performerLinkId
  • Added Element
Contract.term.action.reasonCode
  • Added Element
Contract.term.action.reasonReference
  • Added Element
Contract.term.action.reason
  • Added Element
Contract.term.action.reasonLinkId
  • Added Element
Contract.term.action.note
  • Added Element
Contract.term.action.securityLabelNumber
  • Added Element
Contract.supportingInfo
  • Added Element
Contract.relevantHistory
  • Added Element
Contract.friendly.content[x]
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.legal.content[x]
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.rule.content[x]
  • Remove Reference(DocumentReference), Add Reference(DocumentReference)
Contract.legallyBinding[x]
  • Added Element
Contract.actionReason Contract.action
  • deleted
Contract.decisionType Contract.actionReason
  • deleted
Contract.securityLabel Contract.decisionType
  • deleted
Contract.agent Contract.securityLabel
  • deleted
Contract.valuedItem Contract.agent
  • deleted
Contract.term.topic Contract.valuedItem
  • deleted
Contract.term.securityLabel Contract.term.actionReason
  • deleted
Contract.term.text Contract.term.agent
  • 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 <--> R4 Conversion Maps (status = 1 test that all execute ok. All 7 tests pass round-trip testing and all r3 resources are valid.). Note: these have note yet been updated to be R3 of which 7 fail to R4 execute .)

Structure

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..* Identifier Contract number
. . . url 0..1 uri Basal definition
... version Σ 0..1 string Business edition
... status ?! Σ 0..1 code amended draft | appended active | suspended | cancelled | disputed completed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated unknown
Contract Resource Status Codes ( Required )
. . . legalState 0..1 CodeableConcept Negotiation status
Contract Resource Legal State codes ( Extensible )
... instantiatesCanonical 0..1 Reference ( Contract ) Source Contract Definition
... instantiatesUri 0..1 uri External Contract Definition
... contentDerivative 0..1 CodeableConcept Content derived from the basal information
Contract Content Derivation Codes ( Example )
. . . issued Σ 0..1 dateTime When this Contract was issued
. . . applies Σ 0..1 Period Effective time
. . . expirationType 0..1 CodeableConcept Contract cessation cause
Contract Resource Expiration Type codes ( Example )
.. . subject Σ 0..* Reference ( Any ) Contract Target Entity
. . . authority 0..* Reference ( Organization ) Authority under which this Contract has standing
. . . domain 0..* Reference ( Location ) A sphere of control governed by an authoritative jurisdiction, organization, or person
. . . site 0..* Reference ( Location ) Specific Location
... name Σ 0..1 string Computer friendly designation
... title Σ 0..1 string Human Friendly name
... subtitle 0..1 string Subordinate Friendly name
... alias 0..* string Acronym or short name
... author 0..1 Reference ( Person | Patient | Practitioner | Organization ) Source of Contract
... scope 0..1 CodeableConcept Range of Legal Concerns
Contract Resource Scope codes ( Example )
... topic[x] 0..1 Focus of contract interest
.... topicCodeableConcept CodeableConcept
.... topicReference Reference ( Any )
.. . type Σ 0..1 CodeableConcept Type or form Legal instrument category
Contract Type Codes ( Example )
. . . subType Σ 0..* CodeableConcept Subtype within the context of type
Contract Subtype Codes ( Example )
. . . contentDefinition 0..1 BackboneElement Contract precursor content
.... type 1..1 CodeableConcept Content structure and use
Contract Resource Definition Type codes ( Example )
.... subType 0..1 CodeableConcept Detailed Content Type Definition
Contract Resource Definition Subtype codes ( Example )
.... publisher 0..1 Reference ( Person | Practitioner | Organization ) Publisher Entity
.... publicationDate 0..1 dateTime When published
.... publicationStatus 1..1 code draft | active | retired | unknown
Contract Resource Publication Status codes ( Required )
.... copyright 0..1 markdown Publication Ownership
... term 0..* BackboneElement Contract Term List
. . . . identifier Σ 0..1 Identifier Contract Term Number
. . . . issued Σ 0..1 dateTime Contract Term Issue Date Time
. . . . applies Σ 0..1 Period Contract Term Effective Time
. . . . topic[x] 0..1 Term Concern
..... topicCodeableConcept CodeableConcept
..... topicReference Reference ( Any )
. . . . type 0..1 CodeableConcept Contract Term Type or Form
Contract Term Type Codes ( Example )
. . . . subType 0..1 CodeableConcept Contract Term Type specific classification
Contract Term Subtype Codes ( Example )
. . . . text Σ 0..1 string Term Statement
.... securityLabel 0..* BackboneElement Protection for the Term
..... number 0..* unsignedInt Link to Security Labels
..... classification 1..1 Coding Confidentiality Protection
Contract Resource Scope codes ( Example )
..... category 0..* Coding Applicable Policy
Contract Resource Scope codes ( Example )
..... control 0..* Coding Handling Instructions
Contract Resource Security Control codes ( Example )
. . . . offer 1..1 BackboneElement Context of the Contract term
. . . . . identifier 0..* Identifier Offer business ID
..... party 0..* BackboneElement Offer Recipient
...... reference 1..* Reference ( Patient | Person | RelatedPerson | Practitioner | Device | Group | Organization ) Referenced entity
...... role 1..1 CodeableConcept Participant engagement type
Contract Resource Party Role codes ( Example )
.... . topic Σ 0..1 Reference ( Any ) Negotiable offer asset
. . . . . type 0..1 CodeableConcept Contract Offer Type or Form
Contract Term Type Codes ( Example )
. . . . . decision 0..1 CodeableConcept Decision by Grantor Accepting party choice
ActConsentDirective V3 Value SetActConsentDirective ( Extensible )
. . . . . decisionMode 0..* CodeableConcept How decision is conveyed
Contract Resource Decision Mode codes ( Example )
..... answer 0..* BackboneElement Response to offer text
...... value[x] 1..1 The actual answer response
....... valueBoolean boolean
....... valueDecimal decimal
....... valueInteger integer
....... valueDate date
....... valueDateTime dateTime
....... valueTime time
....... valueString string
....... valueUri uri
....... valueAttachment Attachment
....... valueCoding Coding
....... valueQuantity Quantity
....... valueReference Reference ( Any )
.... . text 0..1 string Human readable offer text
. . . . . linkId 0..1 0..* string Pointer to text
. . . . . securityLabelNumber 0..* unsignedInt Offer restriction numbers
. . . . asset 0..* BackboneElement Contract Term Asset List
. . . . . class scope 0..1 Coding CodeableConcept Resource Type, Profile, or CDA etc. Range of asset
Consent Content Class Contract Resource Asset Scope codes ( Extensible Example )
. . . . . code type 0..1 0..* Coding CodeableConcept Code in the content Asset category
Consent Content Codes Contract Resource Asset Type codes ( Example )
. . . . . typeReference 0..* Reference ( Any ) Associated entities
. . . . . period subtype 0..1 0..* Period CodeableConcept Time period of the asset Asset sub-category
Contract Resource Asset Sub-Type codes ( Example )
. . . . . dataPeriod relationship 0..1 Period Coding Time period Kinship of the data for the asset
Consent Content Class ( Extensible )
. . . . . data context 0..* BackboneElement Data defined by this Asset Circumstance of the asset
. . . . . meaning . reference 0..1 Reference ( Any ) Creator,custodian or owner
...... code instance | related | dependents | authoredby 0..* CodeableConcept Codeable asset context
ContractDataMeaning Contract Resource Asset Context codes ( Required Example )
. . . . . reference . text 0..1 Reference string Context description
..... condition 0..1 string Quality desctiption of asset
..... periodType 0..* CodeableConcept Asset availability types
Contract Resource Asset Availiability codes ( Any Example )
. . . . . period The actual data reference 0..* Period Time period of the asset
. . . . . usePeriod 0..* Period Time period
..... text 0..1 string Asset clause or question text
..... linkId 0..* string Pointer to asset text
..... answer 0..* see answer Response to assets
. . . . . securityLabelNumber 0..* unsignedInt Asset restriction numbers
.... . valuedItem 0..* BackboneElement Contract Valued Item List
. . . . . . entity[x] 0..1 Contract Valued Item Type
. . . . . . . entityCodeableConcept CodeableConcept
. . . . . . . entityReference Reference ( Any )
. . . . . . identifier 0..1 Identifier Contract Valued Item Number
. . . . . . effectiveTime 0..1 dateTime Contract Valued Item Effective Tiem
. . . . . . quantity 0..1 SimpleQuantity Count of Contract Valued Items
. . . . . . unitPrice 0..1 Money Contract Valued Item fee, charge, or cost
. . . . . . factor 0..1 decimal Contract Valued Item Price Scaling Factor
. . . . . . points 0..1 decimal Contract Valued Item Difficulty Scaling Factor
. . . . . . net 0..1 Money Total Contract Valued Item Value
. . . . securityLabel . . payment Σ 0..1 string Terms of valuation
...... paymentDate 0..1 dateTime When payment is due
...... responsible 0..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Who will make payment
...... recipient 0..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Who will receive payment
...... linkId 0..* Coding string Pointer to specific item
...... securityLabelNumber 0..* unsignedInt Security Labels that define affected terms
All Security Labels ( Extensible )
. . . . agent action 0..* BackboneElement Entity being ascribed responsibility
. . . . actor . doNotPerform ?! 0..1 boolean True if the term prohibits the action
..... type 1..1 Reference CodeableConcept ( Type or form of the action
Contract Action Codes | Device ( Example | Group )
..... subject | Location | Organization 0..* BackboneElement | Entity of the action
...... reference 1..* Reference ( Patient | Practitioner Person | RelatedPerson | Substance Practitioner | Device | Group | Organization ) Contract Agent Type Entity of the action
. . . . . . role 0..* 0..1 CodeableConcept Role type of the agent
Contract Actor Role Codes ( Example )
. . . . . action intent 0..* 1..1 CodeableConcept Purpose for the Contract Term Activity Action
V3 Value SetPurposeOfUse ( Example )
..... linkId 0..* string Pointer to specific item
..... status 1..1 CodeableConcept State of the action
Contract Resource Action Codes Status codes ( Example )
. . . . . context 0..1 Reference ( Encounter | EpisodeOfCare ) Episode associated with action
..... contextLinkId 0..* string Pointer to specific item
. . . . . occurrence[x] 0..1 When action happens
...... occurrenceDateTime dateTime
.... . . actionReason occurrencePeriod Period
. . . . . . occurrenceTiming Timing
..... requester 0..* Reference ( Patient | Person | RelatedPerson | Practitioner | Device | Group | Organization ) Who asked for action
..... requesterLinkId 0..* string Pointer to specific item
..... performerType 0..* CodeableConcept Purpose for Kind of service performer
Provenance participant type ( Example )
..... performerRole 0..1 CodeableConcept Competency of the Contract Term Action performer
Provenance participant role ( Example )
..... performer 0..1 Reference ( Person | RelatedPerson | Patient | Practitioner | PractitionerRole | CareTeam | Device | Substance | Organization | Location ) Actor that wil execute (or not) the action
..... performerLinkId 0..* string Pointer to specific item
..... reasonCode 0..* CodeableConcept Why is action (not) needed?
PurposeOfUse V3 Value SetPurposeOfUse ( Example )
. . . . . reasonReference 0..* Reference ( Condition | Observation | DiagnosticReport | DocumentReference | Questionnaire | QuestionnaireResponse ) Why is action (not) needed?
..... reason 0..* string Why action is to be performed
..... reasonLinkId 0..* string Pointer to specific item
..... note 0..* Annotation Comments about the action
..... securityLabelNumber 0..* unsignedInt Action restriction numbers
. . . . group 0..* see term Nested Contract Term Group
. . . supportingInfo 0..* Reference ( Any ) Extra Information
... relevantHistory 0..* Reference ( Provenance ) Key event in Contract History
. . . signer 0..* BackboneElement Contract Signatory
. . . . type 1..1 Coding Contract Signatory Role
Contract Signer Type Codes ( Preferred )
. . . . party 1..1 Reference ( Organization | Patient | Practitioner | RelatedPerson ) Contract Signatory Party
. . . . signature 1..* Signature Contract Documentation Signature
. . . friendly 0..* BackboneElement Contract Friendly Language
. . . . content[x] 1..1 Easily comprehended representation of this Contract
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . legal 0..* BackboneElement Contract Legal Language
. . . . content[x] 1..1 Contract Legal Text
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( Composition | DocumentReference | QuestionnaireResponse )
. . . rule 0..1 0..* BackboneElement Computable Contract Language
. . . . content[x] 1..1 Computable Contract Rules
. . . . . contentAttachment Attachment
. . . . . contentReference Reference ( DocumentReference )
. . . legallyBinding[x] 0..1 Binding Contract
. . . . legallyBindingAttachment Attachment
. . . . 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..*] Canonical identifier for this contract, represented as a URI (globally unique) url : uri [0..1] An edition identifier used for business purposes to label business significant variants version : string [0..1] The status of the resource instance (this element modifies the meaning of other elements) status : code [0..1] « A code specifying the state of the resource instance. (Strength=Required) Contract Resource Status ContractResourceStatusCodes ! » Legal states of the formation of a legal instrument, which is a formally executed written document that can be formally attributed to its author, records and formally expresses a legally enforceable act, process, or contractual duty, obligation, or right, and therefore evidences that act, process, or agreement legalState : CodeableConcept [0..1] « Detailed codes for the legal state of a contract. (Strength=Extensible) ContractResourceLegalStateCod... + » The URL pointing to a FHIR-defined Contract Definition that is adhered to in whole or part by this Contract instantiatesCanonical : Reference [0..1] « Contract » The URL pointing to an externally maintained definition that is adhered to in whole or in part by this Contract instantiatesUri : uri [0..1] 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 ContractContentDerivationCodes ?? » When this Contract was issued issued : dateTime [0..1] Relevant time or time-period when this Contract is applicable applies : Period [0..1] Event resulting in discontinuation or termination of this Contract instance by one or more parties to the contract expirationType : CodeableConcept [0..1] « Codes for the Cessation of Contracts. (Strength=Example) ContractResourceExpirationTyp... ?? » The target entity impacted by or of interest to parties to the agreement subject : 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 Sites in which the contract is complied with, exercised, or in force site : Reference [0..*] « Location » A natural language name identifying this Contract such definition, derivative, or instance in any legal state. Provides additional information about its content. This name should be usable as an insurance policy, real estate contract, identifier for the module by machine processing applications such as code generation name : string [0..1] A short, descriptive, user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content title : string [0..1] An explanatory or alternate user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content subtitle : string [0..1] Alternative representation of the title for this Contract definition, derivative, or instance in any legal state., e.g., a will, power domain specific contract number related to legislation alias : string [0..*] The individual or organization that authored the Contract definition, derivative, or instance in any legal state author : Reference [0..1] « Person | Patient | Practitioner | Organization » A selector of attorny, Privacy legal concerns for this Contract definition, derivative, or Security policy , trust framework agreement, etc instance in any legal state type scope : CodeableConcept [0..1] « Codes for the range of legal concerns. (Strength=Example) ContractResourceScopeCodes ?? » Narrows the range of legal concerns to focus on the achievement of specific contractual objectives topic[x] : Type [0..1] « CodeableConcept | Reference ( Any ) » A high-level category for the legal instrument, whether constructed as a Contract definition, derivative, or instance in any legal state. Provides additional information about its content within the context of the Contract's scope to distinguish the kinds of systems that would be interested in the contract type : CodeableConcept [0..1] « List of overall contract codes. (Strength=Example) Contract Type ContractTypeCodes ?? » More specific type or specialization Sub-category for the Contract that distinguishes the kinds of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent systems that would be interested in the Contract within the context of the Contract's scope subType : CodeableConcept [0..*] « Detailed codes within the above. (Strength=Example) Contract Subtype ContractSubtypeCodes ?? » Information that may be needed by/relevant to the performer in their execution of this term action supportingInfo : Reference [0..*] « Any » Links to Provenance records for past versions of this Contract definition, derivative, or instance, which identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the Contract. The Provence.entity indicates the target that was changed in the update. http://build.fhir.org/provenance-definitions.html#Provenance.entity relevantHistory : Reference [0..*] « Provenance » Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract legallyBinding[x] : Type [0..1] « Attachment | Reference ( Composition | DocumentReference | QuestionnaireResponse | Contract ) » ContentDefinition Precusory content structure and use, i.e., a boilerplate, template, application for a contract such as an insurance policy or benefits under a program, e.g., workers compensation type : CodeableConcept [1..1] « Detailed codes for the definition of contracts. (Strength=Example) ContractResourceDefinitionTyp... ?? » Detailed Precusory content type subType : CodeableConcept [0..1] « Detailed codes for the additional definition of contracts. (Strength=Example) ContractResourceDefinitionSub... ?? » The individual or organization that published the Contract precursor content publisher : Reference [0..1] « Person | Practitioner | Organization » The date (and optionally time) when the contract was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the contract changes publicationDate : dateTime [0..1] draft | active | retired | unknown publicationStatus : code [1..1] « Status of the publication of contract content. (Strength=Required) ContractResourcePublicationSt... ! » A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content copyright : markdown [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] The entity that the term applies to topic[x] : Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life [0..1] « CodeableConcept | Reference ( Any ) » A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time maximum benefit type : CodeableConcept [0..1] « Detailed codes for the types of contract provisions. (Strength=Example) Contract Term Type ContractTermTypeCodes ?? » Subtype of this Contract Provision, e.g. life time maximum payment for a A specialized legal clause or condition based on overarching contract term for specific valued item, e.g. disability payment type subType : CodeableConcept [0..1] « Detailed codes for the subtypes of contract provisions. (Strength=Example) Contract Term Subtype ContractTermSubtypeCodes ?? » Action stipulated by Statement of a provision in a policy or a contract text : string [0..1] SecurityLabel Number used to link this Contract Provision term or term element to the applicable Security Label action number : CodeableConcept unsignedInt [0..*] « Detailed codes for Security label privacy tag that species the contract action. level of confidentiality protection required for this term and/or term elements classification : Coding [1..1] « Codes for confidentiality protection. (Strength=Example) Contract Action ContractResourceScopeCodes ?? » Reason or purpose for Security label privacy tag that species the action stipulated by applicable privacy and security policies governing this Contract Provision term and/or term elements actionReason category : CodeableConcept Coding [0..*] « Detailed codes Codes for policy category. (Strength=Example) ContractResourceScopeCodes ?? » Security label privacy tag that species the contract action reason. manner in which term and/or term elements are to be protected control : Coding [0..*] « Codes for handling instructions. (Strength=Example) PurposeOfUse ContractResourceSecurityContr... ?? » ContractOffer Unique identifier for this particular Contract Provision identifier : Identifier [0..*] The owner of 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) topic : Reference [0..1] « Any » 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 ContractTermTypeCodes ?? » The type Type of decision choice made by a grantor accepting party with respect to an offer made by a an offeror/ grantee decision : CodeableConcept [0..1] « The type of decision made by a grantor with respect to an offer made by a grantee. (Strength=Extensible) ActConsentDirective v3.ActConsentDirective + » How the decision about a Contract was conveyed decisionMode : CodeableConcept [0..*] « Codes for conveying a decision. (Strength=Example) ContractResourceDecisionModeC... ?? » Human readable form of this Contract 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] [0..*] Security labels that protects the offer securityLabelNumber : unsignedInt [0..*] ContractParty Participant in the offer reference : Reference [1..*] « Patient | Person | RelatedPerson | Practitioner | Device | Group | Organization » How the party participates in the offer role : CodeableConcept [1..1] « Codes for offer participant roles. (Strength=Example) ContractResourcePartyRoleCodes ?? » Answer Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research value[x] : Type [1..1] « boolean | decimal | integer | date | dateTime | time | string | uri | Attachment | Coding | Quantity | Reference ( Any ) » ContractAsset Categorization Differentiates the kind of the asset scope : CodeableConcept [0..1] « Codes for scoping an asset. (Strength=Example) ContractResourceAssetScopeCod... ?? » Target entity type about which the term may be concerned type : CodeableConcept [0..*] « Condes for the type of an asset. (Strength=Example) ContractResourceAssetTypeCodes ?? » Associated entities typeReference : Reference [0..*] « Any » May be a subtype or part of an offered asset class subtype : CodeableConcept [0..*] « Condes for the sub-type of an asset. (Strength=Example) ContractResourceAssetSub-Type... ?? » Specifies the applicability of the term to an asset resource instance, and instances it refers to orinstances that refer to it, and/or are owned by the offeree relationship : Coding [0..1] « The class (type) of information a consent rule covers covers. (Strength=Extensible) Consent Content Class ConsentContentClass + » Code in Description of the content quality and completeness of the asset that imay be a factor in its valuation code condition : Coding string [0..1] « If this code is found in an instance, then the exception applies Type of Asset availability for use or ownership periodType : CodeableConcept [0..*] « Codes for asset availability. (Strength=Example) Consent Content ContractResourceAssetAvailiab... ?? » Time Asset relevant contractual time period of the asset period : Period [0..1] [0..*] Time period of the data for the asset use dataPeriod usePeriod : Period [0..*] Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract text : string [0..1] A set Id [identifier??] of security labels that define which terms are controlled by this condition the clause or question text about the asset in the referenced form or QuestionnaireResponse securityLabel linkId : Coding string [0..*] « Security Labels from labels that protects the Healthcare Privacy and Security Classification System. (Strength=Extensible) asset All Security Labels securityLabelNumber + » : unsignedInt [0..*] AssetData AssetContext instance | related | dependents | authoredby Asset context reference may include the creator, custodian, or owning Person or Organization (e.g., bank, repository), location held, e.g., building, jurisdiction meaning reference : code Reference [0..1] « Any » How a resource reference is interpreted when evaluating contract offers (Strength=Required) Coded representation of the context generally or of the Referenced entity, such as the asset holder type or location ContractDataMeaning ! code : CodeableConcept [0..*] « Codes for the context of the asset. (Strength=Example) ContractResourceAssetContextC... ?? » The actual data reference Context description reference text : Reference string [0..1] « Any » 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] Terms of valuation payment : string [0..1] When payment is due paymentDate : dateTime [0..1] Who will make payment responsible : Reference [0..1] « Organization | Patient | Practitioner | RelatedPerson » Who will receive payment recipient : Reference [0..1] « Organization | Patient | Practitioner | RelatedPerson » Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse linkId : string [0..*] A set of security labels that define which terms are controlled by this condition securityLabelNumber : unsignedInt [0..*] Agent Action Who True if the term prohibits the action (this element modifies the meaning of other elements) doNotPerform : boolean [0..1] Activity or what parties are assigned roles in service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term actor type : Reference CodeableConcept [1..1] « Detailed codes for the contract action. (Strength=Example) ContractActionCodes ?? » Reason or purpose for the action stipulated by this Contract Provision intent : CodeableConcept [1..1] « Detailed codes for the contract action reason. (Strength=Example) v3.PurposeOfUse ?? » Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse linkId : string [0..*] Current state of the term action status : CodeableConcept [1..1] « Codes for the status of an term action. (Strength=Example) ContractResourceActionStatusC... ?? » Encounter or Episode with primary association to specified term activity context : Reference [0..1] « Encounter | EpisodeOfCare » Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse contextLinkId : string [0..*] When action happens occurrence[x] : Type [0..1] « dateTime | Period | Timing » Who or what initiated the action and has responsibility for its activation requester : Reference [0..*] « Patient | Person | RelatedPerson | Practitioner | Device | Group | Location Organization » Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse requesterLinkId : string [0..*] The type of individual that is desired or required to perform or not perform the action performerType : CodeableConcept [0..*] « Codes for the types of action perfomer. (Strength=Example) ProvenanceParticipantType ?? » The type of role or competency of an individual desired or required to perform or not perform the action performerRole : CodeableConcept [0..1] « Codes for the role of the action performer. (Strength=Example) ProvenanceParticipantRole ?? » Indicates who or what is being asked to perform (or not perform) the ction performer : Reference [0..1] « Person | RelatedPerson | Patient | Practitioner | PractitionerRole | CareTeam | Device | Substance | Organization | Location » Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse performerLinkId : string [0..*] Rationale for the action to be performed or not performed. Describes why the action is permitted or prohibited reasonCode : CodeableConcept [0..*] « Detailed codes for the contract action reason. (Strength=Example) v3.PurposeOfUse ?? » Indicates another resource whose existence justifies permitting or not permitting this action reasonReference : Reference [0..*] « Condition | Observation | DiagnosticReport | DocumentReference | Questionnaire | QuestionnaireResponse » Describes why the action is to be performed or not performed in textual form reason : string [0..*] Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse reasonLinkId : string [0..*] Comments made about the term action made by the requester, performer, subject or other participants note : Annotation [0..*] Security labels that protects the action securityLabelNumber : unsignedInt [0..*] ActionSubject The entity the action is performed or not performed on or for reference : Reference [1..*] « Patient | Practitioner Person | RelatedPerson | Substance Practitioner | Device | Group | Organization » Role type of agent assigned roles in this Contract role : CodeableConcept [0..*] [0..1] « Detailed codes for the contract actor role. (Strength=Example) Contract Actor Role ContractActorRoleCodes ?? » 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 ContractSignerTypeCodes ? » 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 ) » Precusory content developed with a focus and intent of supporting the formation a Contract instance, which may be associated with and transformable into a Contract contentDefinition [0..1] Security labels that protect the handling of information about the term and its elements, which may be specifically identified. securityLabel [0..*] Offer Recipient party [0..*] Response to offer text answer [0..*] The matter of concern in the context of this provision of the agrement offer [1..1] Data defined by this Asset Circumstance of the asset data context [0..*] Response to assets answer [0..*] Contract Valued Item List valuedItem [0..*] Contract Term Asset List asset [0..*] Entity of the action subject [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 action [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 friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement friendly [0..*] List of Legal expressions or representations of this Contract legal [0..*] List of Computable Policy Rule Language Representations of this Contract rule [0..1] [0..*]

XML Template

<

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

 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <identifier><!-- 0..* Identifier Contract number --></identifier>
 <

 <url value="[uri]"/><!-- 0..1 Basal definition -->
 <version value="[string]"/><!-- 0..1 Business edition -->
 <status value="[code]"/><!-- 0..1 draft | active | suspended | cancelled | completed | entered-in-error | unknown -->
 <legalState><!-- 0..1 CodeableConcept Negotiation status --></legalState>
 <instantiatesCanonical><!-- 0..1 Reference(Contract) Source Contract Definition --></instantiatesCanonical>
 <instantiatesUri value="[uri]"/><!-- 0..1 External Contract Definition -->

 <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>
 <expirationType><!-- 0..1 CodeableConcept Contract cessation cause --></expirationType>

 <subject><!-- 0..* Reference(Any) Contract Target Entity --></subject>
 <authority><!-- 0..* Reference(Organization) Authority under which this Contract has standing --></authority>
 <domain><!-- 0..* Reference(Location) A sphere of control governed by an authoritative jurisdiction, organization, or person --></domain>
 <</type>
 <</subType>

 <site><!-- 0..* Reference(Location) Specific Location --></site>
 <name value="[string]"/><!-- 0..1 Computer friendly designation -->
 <title value="[string]"/><!-- 0..1 Human Friendly name -->
 <subtitle value="[string]"/><!-- 0..1 Subordinate Friendly name -->
 <alias value="[string]"/><!-- 0..* Acronym or short name -->
 <author><!-- 0..1 Reference(Person|Patient|Practitioner|Organization) Source of Contract --></author>
 <scope><!-- 0..1 CodeableConcept Range of Legal Concerns --></scope>
 <topic[x]><!-- 0..1 CodeableConcept|Reference(Any) Focus of contract interest --></topic[x]>
 <type><!-- 0..1 CodeableConcept Legal instrument category --></type>
 <subType><!-- 0..* CodeableConcept Subtype within the context of type --></subType>
 <contentDefinition>  <!-- 0..1 Contract precursor content -->
  <type><!-- 1..1 CodeableConcept Content structure and use --></type>
  <subType><!-- 0..1 CodeableConcept Detailed Content Type Definition --></subType>
  <publisher><!-- 0..1 Reference(Person|Practitioner|Organization) Publisher Entity --></publisher>
  <publicationDate value="[dateTime]"/><!-- 0..1 When published -->
  <publicationStatus value="[code]"/><!-- 1..1 draft | active | retired | unknown -->
  <copyright value="[markdown]"/><!-- 0..1 Publication Ownership -->
 </contentDefinition>

 <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>
  <</subType>

  <topic[x]><!-- 0..1 CodeableConcept|Reference(Any) Term Concern --></topic[x]>
  <type><!-- 0..1 CodeableConcept Contract Term Type or Form --></type>
  <subType><!-- 0..1 CodeableConcept Contract Term Type specific classification --></subType>
  <text value="[string]"/><!-- 0..1 Term Statement -->
  <securityLabel>  <!-- 0..* Protection for the Term -->
   <number value="[unsignedInt]"/><!-- 0..* Link to Security Labels -->
   <classification><!-- 1..1 Coding Confidentiality Protection --></classification>
   <category><!-- 0..* Coding Applicable Policy --></category>
   <control><!-- 0..* Coding Handling Instructions --></control>
  </securityLabel>

  <offer>  <!-- 1..1 Context of the Contract term -->
   <identifier><!-- 0..* Identifier Offer business ID --></identifier>
   <party>  <!-- 0..* Offer Recipient -->
    <reference><!-- 1..* Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) Referenced entity --></reference>

    <role><!-- 1..1 CodeableConcept Participant engagement type --></role>
   </party>

   <topic><!-- 0..1 Reference(Any) Negotiable offer asset --></topic>
   <type><!-- 0..1 CodeableConcept Contract Offer Type or Form --></type>
   <</decision>

   <decision><!-- 0..1 CodeableConcept Accepting party choice --></decision>
   <decisionMode><!-- 0..* CodeableConcept How decision is conveyed --></decisionMode>
   <answer>  <!-- 0..* Response to offer text -->
    <value[x]><!-- 1..1 boolean|decimal|integer|date|dateTime|time|string|uri|
      Attachment|Coding|Quantity|Reference(Any) The actual answer response --></value[x]>

   </answer>

   <text value="[string]"/><!-- 0..1 Human readable offer text -->
   <

   <linkId value="[string]"/><!-- 0..* Pointer to text -->
   <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Offer restriction numbers -->

  </offer>
  <asset>  <!-- 0..* Contract Term Asset List -->
   <</class>
   <</code>
   <</period>
   <</dataPeriod>
   <
    <
    <</reference>
   </data>

   <scope><!-- 0..1 CodeableConcept Range of asset --></scope>
   <type><!-- 0..* CodeableConcept Asset category --></type>
   <typeReference><!-- 0..* Reference(Any) Associated entities --></typeReference>
   <subtype><!-- 0..* CodeableConcept Asset sub-category --></subtype>
   <relationship><!-- 0..1 Coding Kinship of the asset --></relationship>
   <context>  <!-- 0..* Circumstance of the asset -->
    <reference><!-- 0..1 Reference(Any) Creator,custodian or owner --></reference>
    <code><!-- 0..* CodeableConcept Codeable asset context --></code>
    <text value="[string]"/><!-- 0..1 Context description -->
   </context>
   <condition value="[string]"/><!-- 0..1 Quality desctiption of asset -->
   <periodType><!-- 0..* CodeableConcept Asset availability types --></periodType>
   <period><!-- 0..* Period Time period of the asset --></period>
   <usePeriod><!-- 0..* Period Time period --></usePeriod>
   <text value="[string]"/><!-- 0..1 Asset clause or question text -->
   <linkId value="[string]"/><!-- 0..* Pointer to asset text -->
   <answer><!-- 0..* Content as for Contract.term.offer.answer Response to assets --></answer>
   <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Asset restriction numbers -->

   <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>
    <payment value="[string]"/><!-- 0..1 Terms of valuation -->
    <paymentDate value="[dateTime]"/><!-- 0..1 When payment is due -->
    <responsible><!-- 0..1 Reference(Organization|Patient|Practitioner|
      RelatedPerson) Who will make payment --></responsible>

    <recipient><!-- 0..1 Reference(Organization|Patient|Practitioner|
      RelatedPerson) Who will receive payment --></recipient>

    <linkId value="[string]"/><!-- 0..* Pointer to specific item -->
    <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Security Labels that define affected terms -->

   </valuedItem>
   <</securityLabel>

  </asset>
  <
   <|
     </actor>
   <</role>
  </agent>
  <</action>
  <</actionReason>

  <action>  <!-- 0..* Entity being ascribed responsibility -->
   <doNotPerform value="[boolean]"/><!-- 0..1 True if the term prohibits the  action -->
   <type><!-- 1..1 CodeableConcept Type or form of the action --></type>
   <subject>  <!-- 0..* Entity of the action -->
    <reference><!-- 1..* Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) Entity of the action --></reference>

    <role><!-- 0..1 CodeableConcept Role type of the agent --></role>
   </subject>
   <intent><!-- 1..1 CodeableConcept Purpose for the Contract Term Action --></intent>
   <linkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <status><!-- 1..1 CodeableConcept State of the action --></status>
   <context><!-- 0..1 Reference(Encounter|EpisodeOfCare) Episode associated with action --></context>
   <contextLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <occurrence[x]><!-- 0..1 dateTime|Period|Timing When action happens --></occurrence[x]>
   <requester><!-- 0..* Reference(Patient|Person|RelatedPerson|Practitioner|
     Device|Group|Organization) Who asked for action --></requester>

   <requesterLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <performerType><!-- 0..* CodeableConcept Kind of service performer --></performerType>
   <performerRole><!-- 0..1 CodeableConcept Competency of the performer --></performerRole>
   <performer><!-- 0..1 Reference(Person|RelatedPerson|Patient|Practitioner|
     PractitionerRole|CareTeam|Device|Substance|Organization|Location) Actor that wil execute (or not) the action --></performer>

   <performerLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <reasonCode><!-- 0..* CodeableConcept Why is action (not) needed? --></reasonCode>
   <reasonReference><!-- 0..* Reference(Condition|Observation|DiagnosticReport|
     DocumentReference|Questionnaire|QuestionnaireResponse) Why is action (not) needed? --></reasonReference>

   <reason value="[string]"/><!-- 0..* Why action is to be performed -->
   <reasonLinkId value="[string]"/><!-- 0..* Pointer to specific item -->
   <note><!-- 0..* Annotation Comments about the action --></note>
   <securityLabelNumber value="[unsignedInt]"/><!-- 0..* Action restriction numbers -->
  </action>

  <group><!-- 0..* Content as for Contract.term Nested Contract Term Group --></group>
 </term>
 <supportingInfo><!-- 0..* Reference(Any) Extra Information --></supportingInfo>
 <relevantHistory><!-- 0..* Reference(Provenance) Key event in Contract History --></relevantHistory>

 <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..* 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
  "

  "url" : "<uri>", // Basal definition
  "version" : "<string>", // Business edition
  "status" : "<code>", // draft | active | suspended | cancelled | completed | entered-in-error | unknown
  "legalState" : { CodeableConcept }, // Negotiation status
  "instantiatesCanonical" : { Reference(Contract) }, // Source Contract Definition
  "instantiatesUri" : "<uri>", // External Contract Definition

  "contentDerivative" : { CodeableConcept }, // Content derived from the basal information
  "issued" : "<dateTime>", // When this Contract was issued
  "applies" : { Period }, // Effective time
  "expirationType" : { CodeableConcept }, // Contract cessation cause

  "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
  "
  "

  "site" : [{ Reference(Location) }], // Specific Location
  "name" : "<string>", // Computer friendly designation
  "title" : "<string>", // Human Friendly name
  "subtitle" : "<string>", // Subordinate Friendly name
  "alias" : ["<string>"], // Acronym or short name
  "author" : { Reference(Person|Patient|Practitioner|Organization) }, // Source of Contract
  "scope" : { CodeableConcept }, // Range of Legal Concerns
  // topic[x]: Focus of contract interest. One of these 2:

  "topicCodeableConcept" : { CodeableConcept },
  "topicReference" : { Reference(Any) },
  "type" : { CodeableConcept }, // Legal instrument category
  "subType" : [{ CodeableConcept }], // Subtype within the context of type
  "contentDefinition" : { // Contract precursor content
    "type" : { CodeableConcept }, // R!  Content structure and use
    "subType" : { CodeableConcept }, // Detailed Content Type Definition
    "publisher" : { Reference(Person|Practitioner|Organization) }, // Publisher Entity
    "publicationDate" : "<dateTime>", // When published
    "publicationStatus" : "<code>", // R!  draft | active | retired | unknown
    "copyright" : "<markdown>" // Publication Ownership
  },

  "term" : [{ // Contract Term List
    "identifier" : { Identifier }, // Contract Term Number
    "issued" : "<dateTime>", // Contract Term Issue Date Time
    "applies" : { Period }, // Contract Term Effective Time
    "
    "

    // topic[x]: Term Concern. One of these 2:
    "topicCodeableConcept" : { CodeableConcept },
    "topicReference" : { Reference(Any) },
    "type" : { CodeableConcept }, // Contract Term Type or Form
    "subType" : { CodeableConcept }, // Contract Term Type specific classification
    "text" : "<string>", // Term Statement
    "securityLabel" : [{ // Protection for the Term
      "number" : ["<unsignedInt>"], // Link to Security Labels
      "classification" : { Coding }, // R!  Confidentiality Protection
      "category" : [{ Coding }], // Applicable Policy
      "control" : [{ Coding }] // Handling Instructions
    }],

    "offer" : { // R!  Context of the Contract term
      "identifier" : [{ Identifier }], // Offer business ID
      "party" : [{ // Offer Recipient
        "reference" : [{ Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) }], // R!  Referenced entity

        "role" : { CodeableConcept } // R!  Participant engagement type
      }],

      "topic" : { Reference(Any) }, // Negotiable offer asset
      "type" : { CodeableConcept }, // Contract Offer Type or Form
      "

      "decision" : { CodeableConcept }, // Accepting party choice
      "decisionMode" : [{ CodeableConcept }], // How decision is conveyed
      "answer" : [{ // Response to offer text
        // value[x]: The actual answer response. One of these 12:

        "valueBoolean" : <boolean>
        "valueDecimal" : <decimal>
        "valueInteger" : <integer>
        "valueDate" : "<date>"
        "valueDateTime" : "<dateTime>"
        "valueTime" : "<time>"
        "valueString" : "<string>"
        "valueUri" : "<uri>"
        "valueAttachment" : { Attachment }
        "valueCoding" : { Coding }
        "valueQuantity" : { Quantity }
        "valueReference" : { Reference(Any) }
      }],

      "text" : "<string>", // Human readable offer text
      "

      "linkId" : ["<string>"], // Pointer to text
      "securityLabelNumber" : ["<unsignedInt>"] // Offer restriction numbers

    },
    "asset" : [{ // Contract Term Asset List
      "
      "
      "
      "
      "
        "
        "

      "scope" : { CodeableConcept }, // Range of asset
      "type" : [{ CodeableConcept }], // Asset category
      "typeReference" : [{ Reference(Any) }], // Associated entities
      "subtype" : [{ CodeableConcept }], // Asset sub-category
      "relationship" : { Coding }, // Kinship of the asset
      "context" : [{ // Circumstance of the asset
        "reference" : { Reference(Any) }, // Creator,custodian or owner
        "code" : [{ CodeableConcept }], // Codeable asset context
        "text" : "<string>" // Context description

      }],
      "condition" : "<string>", // Quality desctiption of asset
      "periodType" : [{ CodeableConcept }], // Asset availability types
      "period" : [{ Period }], // Time period of the asset
      "usePeriod" : [{ Period }], // Time period
      "text" : "<string>", // Asset clause or question text
      "linkId" : ["<string>"], // Pointer to asset text
      "answer" : [{ Content as for Contract.term.offer.answer }], // Response to assets
      "securityLabelNumber" : ["<unsignedInt>"], // Asset restriction numbers

      "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
        "payment" : "<string>", // Terms of valuation
        "paymentDate" : "<dateTime>", // When payment is due
        "responsible" : { Reference(Organization|Patient|Practitioner|
      RelatedPerson) }, // Who will make payment

        "recipient" : { Reference(Organization|Patient|Practitioner|
      RelatedPerson) }, // Who will receive payment

        "linkId" : ["<string>"], // Pointer to specific item
        "securityLabelNumber" : ["<unsignedInt>"] // Security Labels that define affected terms
      }]

    }],
    "
      "|
     
      "

    "action" : [{ // Entity being ascribed responsibility
      "doNotPerform" : <boolean>, // True if the term prohibits the  action
      "type" : { CodeableConcept }, // R!  Type or form of the action
      "subject" : [{ // Entity of the action
        "reference" : [{ Reference(Patient|Person|RelatedPerson|Practitioner|
      Device|Group|Organization) }], // R!  Entity of the action

        "role" : { CodeableConcept } // Role type of the agent
      }],
      "intent" : { CodeableConcept }, // R!  Purpose for the Contract Term Action
      "linkId" : ["<string>"], // Pointer to specific item
      "status" : { CodeableConcept }, // R!  State of the action
      "context" : { Reference(Encounter|EpisodeOfCare) }, // Episode associated with action
      "contextLinkId" : ["<string>"], // Pointer to specific item
      // occurrence[x]: When action happens. One of these 3:

      "occurrenceDateTime" : "<dateTime>",
      "occurrencePeriod" : { Period },
      "occurrenceTiming" : { Timing },
      "requester" : [{ Reference(Patient|Person|RelatedPerson|Practitioner|
     Device|Group|Organization) }], // Who asked for action

      "requesterLinkId" : ["<string>"], // Pointer to specific item
      "performerType" : [{ CodeableConcept }], // Kind of service performer
      "performerRole" : { CodeableConcept }, // Competency of the performer
      "performer" : { Reference(Person|RelatedPerson|Patient|Practitioner|
     PractitionerRole|CareTeam|Device|Substance|Organization|Location) }, // Actor that wil execute (or not) the action

      "performerLinkId" : ["<string>"], // Pointer to specific item
      "reasonCode" : [{ CodeableConcept }], // Why is action (not) needed?
      "reasonReference" : [{ Reference(Condition|Observation|DiagnosticReport|
     DocumentReference|Questionnaire|QuestionnaireResponse) }], // Why is action (not) needed?

      "reason" : ["<string>"], // Why action is to be performed
      "reasonLinkId" : ["<string>"], // Pointer to specific item
      "note" : [{ Annotation }], // Comments about the action
      "securityLabelNumber" : ["<unsignedInt>"] // Action restriction numbers

    }],
    "
    "

    "group" : [{ Content as for Contract.term }] // Nested Contract Term Group
  }],
  "supportingInfo" : [{ Reference(Any) }], // Extra Information
  "relevantHistory" : [{ Reference(Provenance) }], // Key event in Contract History

  "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:;

[ a fhir:Contract;

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

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:Contract.identifier [ Identifier ], ... ; # 0..* Contract number
  fhir:

  fhir:Contract.url [ uri ]; # 0..1 Basal definition
  fhir:Contract.version [ string ]; # 0..1 Business edition
  fhir:Contract.status [ code ]; # 0..1 draft | active | suspended | cancelled | completed | entered-in-error | unknown
  fhir:Contract.legalState [ CodeableConcept ]; # 0..1 Negotiation status
  fhir:Contract.instantiatesCanonical [ Reference(Contract) ]; # 0..1 Source Contract Definition
  fhir:Contract.instantiatesUri [ uri ]; # 0..1 External Contract Definition

  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.expirationType [ CodeableConcept ]; # 0..1 Contract cessation cause

  fhir:Contract.subject [ Reference(Any) ], ... ; # 0..* Contract Target Entity
  fhir:Contract.authority [ Reference(Organization) ], ... ; # 0..* Authority under which this Contract has standing
  fhir:Contract.domain [ Reference(Location) ], ... ; # 0..* A sphere of control governed by an authoritative jurisdiction, organization, or person
  fhir:
  fhir:

  fhir:Contract.site [ Reference(Location) ], ... ; # 0..* Specific Location
  fhir:Contract.name [ string ]; # 0..1 Computer friendly designation
  fhir:Contract.title [ string ]; # 0..1 Human Friendly name
  fhir:Contract.subtitle [ string ]; # 0..1 Subordinate Friendly name
  fhir:Contract.alias [ string ], ... ; # 0..* Acronym or short name
  fhir:Contract.author [ Reference(Person|Patient|Practitioner|Organization) ]; # 0..1 Source of Contract
  fhir:Contract.scope [ CodeableConcept ]; # 0..1 Range of Legal Concerns
  # Contract.topic[x] : 0..1 Focus of contract interest. One of these 2
    fhir:Contract.topicCodeableConcept [ CodeableConcept ]
    fhir:Contract.topicReference [ Reference(Any) ]
  fhir:Contract.type [ CodeableConcept ]; # 0..1 Legal instrument category
  fhir:Contract.subType [ CodeableConcept ], ... ; # 0..* Subtype within the context of type
  fhir:Contract.contentDefinition [ # 0..1 Contract precursor content
    fhir:Contract.contentDefinition.type [ CodeableConcept ]; # 1..1 Content structure and use
    fhir:Contract.contentDefinition.subType [ CodeableConcept ]; # 0..1 Detailed Content Type Definition
    fhir:Contract.contentDefinition.publisher [ Reference(Person|Practitioner|Organization) ]; # 0..1 Publisher Entity
    fhir:Contract.contentDefinition.publicationDate [ dateTime ]; # 0..1 When published
    fhir:Contract.contentDefinition.publicationStatus [ code ]; # 1..1 draft | active | retired | unknown
    fhir:Contract.contentDefinition.copyright [ markdown ]; # 0..1 Publication Ownership
  ];

  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:
    fhir:

    # Contract.term.topic[x] : 0..1 Term Concern. One of these 2
      fhir:Contract.term.topicCodeableConcept [ CodeableConcept ]
      fhir:Contract.term.topicReference [ Reference(Any) ]
    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:Contract.term.text [ string ]; # 0..1 Term Statement
    fhir:Contract.term.securityLabel [ # 0..* Protection for the Term
      fhir:Contract.term.securityLabel.number [ unsignedInt ], ... ; # 0..* Link to Security Labels
      fhir:Contract.term.securityLabel.classification [ Coding ]; # 1..1 Confidentiality Protection
      fhir:Contract.term.securityLabel.category [ Coding ], ... ; # 0..* Applicable Policy
      fhir:Contract.term.securityLabel.control [ Coding ], ... ; # 0..* Handling Instructions
    ], ...;

    fhir:Contract.term.offer [ # 1..1 Context of the Contract term
      fhir:Contract.term.offer.identifier [ Identifier ], ... ; # 0..* Offer business ID
      fhir:Contract.term.offer.party [ # 0..* Offer Recipient
        fhir:Contract.term.offer.party.reference [ Reference(Patient|Person|RelatedPerson|Practitioner|Device|Group|Organization) ], ... ; # 1..* Referenced entity
        fhir:Contract.term.offer.party.role [ CodeableConcept ]; # 1..1 Participant engagement type
      ], ...;

      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:

      fhir:Contract.term.offer.decision [ CodeableConcept ]; # 0..1 Accepting party choice
      fhir:Contract.term.offer.decisionMode [ CodeableConcept ], ... ; # 0..* How decision is conveyed
      fhir:Contract.term.offer.answer [ # 0..* Response to offer text
        # Contract.term.offer.answer.value[x] : 1..1 The actual answer response. One of these 12
          fhir:Contract.term.offer.answer.valueBoolean [ boolean ]
          fhir:Contract.term.offer.answer.valueDecimal [ decimal ]
          fhir:Contract.term.offer.answer.valueInteger [ integer ]
          fhir:Contract.term.offer.answer.valueDate [ date ]
          fhir:Contract.term.offer.answer.valueDateTime [ dateTime ]
          fhir:Contract.term.offer.answer.valueTime [ time ]
          fhir:Contract.term.offer.answer.valueString [ string ]
          fhir:Contract.term.offer.answer.valueUri [ uri ]
          fhir:Contract.term.offer.answer.valueAttachment [ Attachment ]
          fhir:Contract.term.offer.answer.valueCoding [ Coding ]
          fhir:Contract.term.offer.answer.valueQuantity [ Quantity ]
          fhir:Contract.term.offer.answer.valueReference [ Reference(Any) ]
      ], ...;

      fhir:Contract.term.offer.text [ string ]; # 0..1 Human readable offer text
      fhir:

      fhir:Contract.term.offer.linkId [ string ], ... ; # 0..* Pointer to text
      fhir:Contract.term.offer.securityLabelNumber [ unsignedInt ], ... ; # 0..* Offer restriction numbers

    ];
    fhir:Contract.term.asset [ # 0..* Contract Term Asset List
      fhir:
      fhir:
      fhir:
      fhir:
      fhir:
        fhir:
        fhir:

      fhir:Contract.term.asset.scope [ CodeableConcept ]; # 0..1 Range of asset
      fhir:Contract.term.asset.type [ CodeableConcept ], ... ; # 0..* Asset category
      fhir:Contract.term.asset.typeReference [ Reference(Any) ], ... ; # 0..* Associated entities
      fhir:Contract.term.asset.subtype [ CodeableConcept ], ... ; # 0..* Asset sub-category
      fhir:Contract.term.asset.relationship [ Coding ]; # 0..1 Kinship of the asset
      fhir:Contract.term.asset.context [ # 0..* Circumstance of the asset
        fhir:Contract.term.asset.context.reference [ Reference(Any) ]; # 0..1 Creator,custodian or owner
        fhir:Contract.term.asset.context.code [ CodeableConcept ], ... ; # 0..* Codeable asset context
        fhir:Contract.term.asset.context.text [ string ]; # 0..1 Context description

      ], ...;
      fhir:Contract.term.asset.condition [ string ]; # 0..1 Quality desctiption of asset
      fhir:Contract.term.asset.periodType [ CodeableConcept ], ... ; # 0..* Asset availability types
      fhir:Contract.term.asset.period [ Period ], ... ; # 0..* Time period of the asset
      fhir:Contract.term.asset.usePeriod [ Period ], ... ; # 0..* Time period
      fhir:Contract.term.asset.text [ string ]; # 0..1 Asset clause or question text
      fhir:Contract.term.asset.linkId [ string ], ... ; # 0..* Pointer to asset text
      fhir:Contract.term.asset.answer [ See Contract.term.offer.answer ], ... ; # 0..* Response to assets
      fhir:Contract.term.asset.securityLabelNumber [ unsignedInt ], ... ; # 0..* Asset restriction numbers

      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.valuedItem.payment [ string ]; # 0..1 Terms of valuation
        fhir:Contract.term.asset.valuedItem.paymentDate [ dateTime ]; # 0..1 When payment is due
        fhir:Contract.term.asset.valuedItem.responsible [ Reference(Organization|Patient|Practitioner|RelatedPerson) ]; # 0..1 Who will make payment
        fhir:Contract.term.asset.valuedItem.recipient [ Reference(Organization|Patient|Practitioner|RelatedPerson) ]; # 0..1 Who will receive payment
        fhir:Contract.term.asset.valuedItem.linkId [ string ], ... ; # 0..* Pointer to specific item
        fhir:Contract.term.asset.valuedItem.securityLabelNumber [ unsignedInt ], ... ; # 0..* Security Labels that define affected terms

      ], ...;
      fhir:

    ], ...;
    fhir:
      fhir:|
  
      fhir:

    fhir:Contract.term.action [ # 0..* Entity being ascribed responsibility
      fhir:Contract.term.action.doNotPerform [ boolean ]; # 0..1 True if the term prohibits the  action
      fhir:Contract.term.action.type [ CodeableConcept ]; # 1..1 Type or form of the action
      fhir:Contract.term.action.subject [ # 0..* Entity of the action
        fhir:Contract.term.action.subject.reference [ Reference(Patient|Person|RelatedPerson|Practitioner|Device|Group|Organization) ], ... ; # 1..* Entity of the action
        fhir:Contract.term.action.subject.role [ CodeableConcept ]; # 0..1 Role type of the agent
      ], ...;
      fhir:Contract.term.action.intent [ CodeableConcept ]; # 1..1 Purpose for the Contract Term Action
      fhir:Contract.term.action.linkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.status [ CodeableConcept ]; # 1..1 State of the action
      fhir:Contract.term.action.context [ Reference(Encounter|EpisodeOfCare) ]; # 0..1 Episode associated with action
      fhir:Contract.term.action.contextLinkId [ string ], ... ; # 0..* Pointer to specific item
      # Contract.term.action.occurrence[x] : 0..1 When action happens. One of these 3
        fhir:Contract.term.action.occurrenceDateTime [ dateTime ]
        fhir:Contract.term.action.occurrencePeriod [ Period ]
        fhir:Contract.term.action.occurrenceTiming [ Timing ]
      fhir:Contract.term.action.requester [ Reference(Patient|Person|RelatedPerson|Practitioner|Device|Group|Organization) ], ... ; # 0..* Who asked for action
      fhir:Contract.term.action.requesterLinkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.performerType [ CodeableConcept ], ... ; # 0..* Kind of service performer
      fhir:Contract.term.action.performerRole [ CodeableConcept ]; # 0..1 Competency of the performer
      fhir:Contract.term.action.performer [ Reference(Person|RelatedPerson|Patient|Practitioner|PractitionerRole|CareTeam|Device|
  Substance|Organization|Location) ]; # 0..1 Actor that wil execute (or not) the action

      fhir:Contract.term.action.performerLinkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.reasonCode [ CodeableConcept ], ... ; # 0..* Why is action (not) needed?
      fhir:Contract.term.action.reasonReference [ Reference(Condition|Observation|DiagnosticReport|DocumentReference|Questionnaire|
  QuestionnaireResponse) ], ... ; # 0..* Why is action (not) needed?

      fhir:Contract.term.action.reason [ string ], ... ; # 0..* Why action is to be performed
      fhir:Contract.term.action.reasonLinkId [ string ], ... ; # 0..* Pointer to specific item
      fhir:Contract.term.action.note [ Annotation ], ... ; # 0..* Comments about the action
      fhir:Contract.term.action.securityLabelNumber [ unsignedInt ], ... ; # 0..* Action restriction numbers

    ], ...;
    fhir:
    fhir:

    fhir:Contract.term.group [ See Contract.term ], ... ; # 0..* Nested Contract Term Group
  ], ...;
  fhir:Contract.supportingInfo [ Reference(Any) ], ... ; # 0..* Extra Information
  fhir:Contract.relevantHistory [ Reference(Provenance) ], ... ; # 0..* Key event in Contract History

  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..* 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 Release 3

Contract
Contract.identifier
  • Max Cardinality changed from 1 to *
Contract.url
  • Added Element
Contract.version
  • Added Element
Contract.legalState
  • Added Element
Contract.instantiatesCanonical
  • Added Element
Contract.instantiatesUri
  • Added Element
Contract.expirationType
  • Added Element
Contract.site
  • Added Element
Contract.name
  • Added Element
Contract.title
  • Added Element
Contract.subtitle
  • Added Element
Contract.alias
  • Added Element
Contract.author
  • Added Element
Contract.scope
  • Added Element
Contract.topic[x]
  • Renamed from topic to topic[x]
  • Max Cardinality changed from * to 1
  • Remove Reference(Resource), Add CodeableConcept, Add Reference(Resource)
Contract.contentDefinition
  • Added Element
Contract.contentDefinition.type
  • Added Element
Contract.contentDefinition.subType
  • Added Element
Contract.contentDefinition.publisher
  • Added Element
Contract.contentDefinition.publicationDate
  • Added Element
Contract.contentDefinition.publicationStatus
  • Added Element
Contract.contentDefinition.copyright
  • Added Element
Contract.term.topic[x]
  • Renamed from topic to topic[x]
  • Max Cardinality changed from * to 1
  • Remove Reference(Resource), Add CodeableConcept, Add Reference(Resource)
Contract.term.securityLabel
  • Type changed from Coding to BackboneElement
  • Remove Binding http://hl7.org/fhir/ValueSet/security-labels (extensible)
Contract.term.securityLabel.number
  • Added Element
Contract.term.securityLabel.classification
  • Added Element
Contract.term.securityLabel.category
  • Added Element
Contract.term.securityLabel.control
  • Added Element
Contract.term.offer
  • Added Element
Contract.term.offer.identifier
  • Added Element
Contract.term.offer.party
  • Added Element
Contract.term.offer.party.reference
  • Added Element
Contract.term.offer.party.role
  • Added Element
Contract.term.offer.topic
  • Added Element
Contract.term.offer.type
  • Added Element
Contract.term.offer.decision
  • Added Element
Contract.term.offer.decisionMode
  • Added Element
Contract.term.offer.answer
  • Added Element
Contract.term.offer.answer.value[x]
  • Added Element
Contract.term.offer.text
  • Added Element
Contract.term.offer.linkId
  • Added Element
Contract.term.offer.securityLabelNumber
  • Added Element
Contract.term.asset
  • Added Element
Contract.term.asset.class Contract.term.asset.scope
  • Added Element
Contract.term.asset.code Contract.term.asset.type
  • Added Element
Contract.term.asset.typeReference
  • Added Element
Contract.term.asset.subtype
  • Added Element
Contract.term.asset.relationship
  • Added Element
Contract.term.asset.context
  • Added Element
Contract.term.asset.context.reference
  • Added Element
Contract.term.asset.context.code
  • Added Element
Contract.term.asset.context.text
  • Added Element
Contract.term.asset.condition
  • Added Element
Contract.term.asset.periodType
  • Added Element
Contract.term.asset.period
  • Added Element
Contract.term.asset.dataPeriod Contract.term.asset.usePeriod
  • Added Element
Contract.term.asset.data Contract.term.asset.text
  • Added Element
Contract.term.asset.data.meaning Contract.term.asset.linkId
  • Added Element
Contract.term.asset.data.reference Contract.term.asset.answer
  • Added Element
Contract.term.asset.securityLabelNumber
  • Added Element
Contract.term.asset.valuedItem
  • Added Element
Contract.term.asset.valuedItem.entity[x]
  • Added Element
Contract.term.asset.valuedItem.identifier
  • Added Element
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 Contract.term.asset.valuedItem.payment
  • Added Element
Contract.friendly.content[x] Contract.term.asset.valuedItem.paymentDate
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse) Added Element
Contract.legal.content[x] Contract.term.asset.valuedItem.responsible
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse) Added Element
Contract.term.asset.valuedItem.recipient
  • Added Element
Contract.term.asset.valuedItem.linkId
  • Added Element
Contract.term.asset.valuedItem.securityLabelNumber
  • Added Element
Contract.rule Contract.term.action
  • Max Cardinality Type changed from * CodeableConcept to 1 BackboneElement
Contract.rule.content[x] Contract.term.action.doNotPerform
  • Remove Reference(DocumentReference), Add Reference(DocumentReference) Added Element
Contract.legallyBinding[x] Contract.term.action.type
  • Added Element
Contract.topic Contract.term.action.subject
  • deleted Added Element
Contract.action Contract.term.action.subject.reference
  • deleted Added Element
Contract.term.action.subject.role
  • Added Element
Contract.term.action.intent
  • Added Element
Contract.term.action.linkId
  • Added Element
Contract.term.action.status
  • Added Element
Contract.term.action.context
  • Added Element
Contract.term.action.contextLinkId
  • Added Element
Contract.term.action.occurrence[x]
  • Added Element
Contract.term.action.requester
  • Added Element
Contract.term.action.requesterLinkId
  • Added Element
Contract.term.action.performerType
  • Added Element
Contract.term.action.performerRole
  • Added Element
Contract.term.action.performer
  • Added Element
Contract.term.action.performerLinkId
  • Added Element
Contract.term.action.reasonCode
  • Added Element
Contract.term.action.reasonReference
  • Added Element
Contract.term.action.reason
  • Added Element
Contract.term.action.reasonLinkId
  • Added Element
Contract.term.action.note
  • Added Element
Contract.term.action.securityLabelNumber
  • Added Element
Contract.supportingInfo
  • Added Element
Contract.relevantHistory
  • Added Element
Contract.friendly.content[x]
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.legal.content[x]
  • Remove Reference(Composition|DocumentReference|QuestionnaireResponse), Add Reference(Composition|DocumentReference|QuestionnaireResponse)
Contract.rule.content[x]
  • Remove Reference(DocumentReference), Add Reference(DocumentReference)
Contract.legallyBinding[x]
  • Added Element
Contract.actionReason Contract.action
  • deleted
Contract.decisionType Contract.actionReason
  • deleted
Contract.securityLabel Contract.decisionType
  • deleted
Contract.agent Contract.securityLabel
  • deleted
Contract.valuedItem Contract.agent
  • deleted
Contract.term.topic Contract.valuedItem
  • deleted
Contract.term.securityLabel Contract.term.actionReason
  • deleted
Contract.term.text Contract.term.agent
  • 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 <--> R4 Conversion Maps (status = 1 test that all execute ok. All 7 tests pass round-trip testing and all r3 resources are valid.). Note: these have note yet been updated to be R3 of which 7 fail to R4 execute .)

 

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

Contract.term.asset.code Contract.term.asset.data.meaning Contract.term.asset.securityLabel Contract.term.action Contract.term.actionReason
Path Definition Type Reference
Contract.status A code specifying the state of the resource instance. Required Contract Resource Status Codes ContractResourceStatusCodes
Contract.legalState Detailed codes for the legal state of a contract. Extensible ContractResourceLegalStateCodes
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 ContractContentDerivationCodes
Contract.expirationType Codes for the Cessation of Contracts. Example ContractResourceExpirationTypeCodes
Contract.scope Codes for the range of legal concerns. Example ContractResourceScopeCodes
Contract.type List of overall contract codes. Example Contract Type Codes ContractTypeCodes
Contract.subType Detailed codes within the above. Example Contract Subtype Codes ContractSubtypeCodes
Contract.contentDefinition.type Detailed codes for the definition of contracts. Example ContractResourceDefinitionTypeCodes
Contract.contentDefinition.subType Detailed codes for the additional definition of contracts. Example ContractResourceDefinitionSubtypeCodes
Contract.contentDefinition.publicationStatus Status of the publication of contract content. Required ContractResourcePublicationStatusCodes
Contract.term.type
Contract.term.offer.type
Detailed codes for the types of contract provisions. Example Contract Term Type Codes ContractTermTypeCodes
Contract.term.subType Detailed codes for the subtypes of contract provisions. Example Contract Term Subtype ContractTermSubtypeCodes
Contract.term.securityLabel.classification Codes for confidentiality protection. Example ContractResourceScopeCodes
Contract.term.securityLabel.category Codes for policy category. Example ContractResourceScopeCodes
Contract.term.securityLabel.control Codes for handling instructions. Example ContractResourceSecurityControlCodes
Contract.term.offer.party.role Codes for offer participant roles. Example ContractResourcePartyRoleCodes
Contract.term.offer.decision The type of decision made by a grantor with respect to an offer made by a grantee. Extensible ActConsentDirective v3.ActConsentDirective
Contract.term.offer.decisionMode Codes for conveying a decision. Example ContractResourceDecisionModeCodes
Contract.term.asset.scope Codes for scoping an asset. Example ContractResourceAssetScopeCodes
Contract.term.asset.type Condes for the type of an asset. Example ContractResourceAssetTypeCodes
Contract.term.asset.subtype Condes for the sub-type of an asset. Example ContractResourceAssetSub-TypeCodes
Contract.term.asset.class Contract.term.asset.relationship The class (type) of information a consent rule covers covers. Extensible Consent Content Class ConsentContentClass
Contract.term.asset.context.code If this code is found in an instance, then Codes for the exception applies context of the asset. Example Consent Content Codes ContractResourceAssetContextCodes
Contract.term.asset.periodType How a resource reference is interpreted when evaluating contract offers Codes for asset availability. Required Example ContractDataMeaning ContractResourceAssetAvailiabilityCodes
Contract.term.action.type Security Labels from Detailed codes for the Healthcare Privacy and Security Classification System. contract action. Extensible Example All Security Labels ContractActionCodes
Contract.term.agent.role Contract.term.action.subject.role Detailed codes for the contract actor role. Example Contract Actor Role Codes ContractActorRoleCodes
Contract.term.action.intent
Contract.term.action.reasonCode
Detailed codes for the contract action reason. Example v3.PurposeOfUse
Contract.term.action.status Codes for the status of an term action. Example Contract Action ContractResourceActionStatusCodes
Contract.term.action.performerType Codes for the types of action perfomer. Example ProvenanceParticipantType
Contract.term.action.performerRole Detailed codes Codes for the contract role of the action reason. performer. Example PurposeOfUse ProvenanceParticipantRole
Contract.signer.type List of parties who may be signing. Preferred Contract Signer Type Codes ContractSignerTypeCodes

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
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
instantiates uri A source definition of the contract Contract.instantiatesUri
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 Contract.subject.where(resolve() is Patient)
( Patient )
signer reference Contract Signatory Party Contract.signer.party
( Practitioner , Organization , Patient , RelatedPerson )
status token The status of the contract Contract.status
subject reference The identity of the subject of the contract Contract.subject
(Any)
url uri The basal contract definition Contract.url