This page is part of the FHIR Specification (v5.0.0-snapshot3: R5 Snapshot #3, to support Connectathon 32). 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
Financial Management Work Group | Maturity Level: 1 | Trial Use | Security Category: Patient | Compartments: Not linked to any defined compartments |
Legally enforceable, formally recorded unilateral or bilateral directive i.e., a policy or agreement.
This resource 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 encode broad range of legal artifacts such as:
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 offerer 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 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.
Where the Consent resource applies, the Consent resource should be used. Where a Contract exists for a consent directive then if a Consent for this also exists the Consent shall reference the Contract.
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.
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | appended | cancelled | disputed | entered-in-error | executable + 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(Patient | Practitioner | PractitionerRole | 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 | 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(Practitioner | PractitionerRole | Organization) | Publisher Entity | |
publicationDate | 0..1 | dateTime | When published | |
publicationStatus | 1..1 | code | amended | appended | cancelled | disputed | entered-in-error | executable + 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 | RelatedPerson | Practitioner | PractitionerRole | 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 | Accepting party choice ActConsentDirective (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..* | string | Pointer to text | |
securityLabelNumber | 0..* | unsignedInt | Offer restriction numbers | |
asset | 0..* | BackboneElement | Contract Term Asset List | |
scope | 0..1 | CodeableConcept | Range of asset Contract Resource Asset Scope codes (Example) | |
type | 0..* | CodeableConcept | Asset category Contract Resource Asset Type codes (Example) | |
typeReference | 0..* | Reference(Any) | Associated entities | |
subtype | 0..* | CodeableConcept | Asset sub-category Contract Resource Asset Sub-Type codes (Example) | |
relationship | 0..1 | Coding | Kinship of the asset Consent Content Class (Extensible) | |
context | 0..* | BackboneElement | Circumstance of the asset | |
reference | 0..1 | Reference(Any) | Creator,custodian or owner | |
code | 0..* | CodeableConcept | Codeable asset context Contract Resource Asset Context codes (Example) | |
text | 0..1 | string | Context description | |
condition | 0..1 | string | Quality desctiption of asset | |
periodType | 0..* | CodeableConcept | Asset availability types Contract Resource Asset Availiability codes (Example) | |
period | 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 | |
payment | 0..1 | string | Terms of valuation | |
paymentDate | 0..1 | dateTime | When payment is due | |
responsible | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who will make payment | |
recipient | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who will receive payment | |
linkId | 0..* | string | Pointer to specific item | |
securityLabelNumber | 0..* | unsignedInt | Security Labels that define affected terms | |
action | 0..* | BackboneElement | Entity being ascribed responsibility | |
doNotPerform | ?! | 0..1 | boolean | True if the term prohibits the action |
type | 1..1 | CodeableConcept | Type or form of the action Contract Action Codes (Example) | |
subject | 0..* | BackboneElement | Entity of the action | |
reference | 1..* | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization) | Entity of the action | |
role | 0..1 | CodeableConcept | Role type of the agent Contract Actor Role Codes (Example) | |
intent | 1..1 | CodeableConcept | Purpose for the Contract Term Action PurposeOfUse (Example) | |
linkId | 0..* | string | Pointer to specific item | |
status | 1..1 | CodeableConcept | State of the action Contract Resource Action 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 | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
requester | 0..* | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization) | Who asked for action | |
requesterLinkId | 0..* | string | Pointer to specific item | |
performerType | 0..* | CodeableConcept | Kind of service performer ParticipationRoleType (Example) | |
performerRole | 0..1 | CodeableConcept | Competency of the performer SecurityRoleType (Example) | |
performer | 0..1 | Reference(RelatedPerson | Patient | Practitioner | PractitionerRole | CareTeam | Device | Substance | Organization | Location) | Actor that wil execute (or not) the action | |
performerLinkId | 0..* | string | Pointer to specific item | |
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | Questionnaire | QuestionnaireResponse) | Why is action (not) needed? PurposeOfUse (Example) | |
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 | PractitionerRole | 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..* | 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) | |||
Documentation for this format |
See the Extensions for this resource
UML Diagram (Legend)
XML Template
<Contract xmlns="http://hl7.org/fhir"> <!-- 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 amended | appended | cancelled | disputed | entered-in-error | executable + --> <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> <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(Organization|Patient|Practitioner|PractitionerRole) 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(Organization|Practitioner|PractitionerRole) Publisher Entity --></publisher> <publicationDate value="[dateTime]"/><!-- 0..1 When published --> <publicationStatus value="[code]"/><!-- 1..1 amended | appended | cancelled | disputed | entered-in-error | executable + --> <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> <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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) 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><!-- 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 --> <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| PractitionerRole|RelatedPerson) Who will make payment --></responsible> <recipient><!-- 0..1 Reference(Organization|Patient|Practitioner| PractitionerRole|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> </asset> <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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) 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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) 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(CareTeam|Device|Location|Organization|Patient| Practitioner|PractitionerRole|RelatedPerson|Substance) Actor that wil execute (or not) the action --></performer> <performerLinkId value="[string]"/><!-- 0..* Pointer to specific item --> <reason><!-- 0..* CodeableReference(Condition|DiagnosticReport| DocumentReference|Observation|Questionnaire|QuestionnaireResponse) Why is action (not) needed? --></reason> <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|PractitionerRole| 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|Contract| DocumentReference|QuestionnaireResponse) Binding Contract --></legallyBinding[x]> </Contract>
JSON Template
{ "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>", // amended | appended | cancelled | disputed | entered-in-error | executable + "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(Organization|Patient|Practitioner|PractitionerRole) }, // 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(Organization|Practitioner|PractitionerRole) }, // Publisher Entity "publicationDate" : "<dateTime>", // When published "publicationStatus" : "<code>", // R! amended | appended | cancelled | disputed | entered-in-error | executable + "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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) }], // 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| PractitionerRole|RelatedPerson) }, // Who will make payment "recipient" : { Reference(Organization|Patient|Practitioner| PractitionerRole|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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) }], // 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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) }], // Who asked for action "requesterLinkId" : ["<string>"], // Pointer to specific item "performerType" : [{ CodeableConcept }], // Kind of service performer "performerRole" : { CodeableConcept }, // Competency of the performer "performer" : { Reference(CareTeam|Device|Location|Organization|Patient| Practitioner|PractitionerRole|RelatedPerson|Substance) }, // Actor that wil execute (or not) the action "performerLinkId" : ["<string>"], // Pointer to specific item "reason" : [{ CodeableReference(Condition|DiagnosticReport| DocumentReference|Observation|Questionnaire|QuestionnaireResponse) }], // Why is action (not) needed? "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|PractitionerRole| 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|Contract|DocumentReference| QuestionnaireResponse) } }
Turtle Template
@prefix fhir: <http://hl7.org/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:Contract.url [ uri ]; # 0..1 Basal definition fhir:Contract.version [ string ]; # 0..1 Business edition fhir:Contract.status [ code ]; # 0..1 amended | appended | cancelled | disputed | entered-in-error | executable + 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: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(Organization|Patient|Practitioner|PractitionerRole) ]; # 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(Organization|Practitioner|PractitionerRole) ]; # 0..1 Publisher Entity fhir:Contract.contentDefinition.publicationDate [ dateTime ]; # 0..1 When published fhir:Contract.contentDefinition.publicationStatus [ code ]; # 1..1 amended | appended | cancelled | disputed | entered-in-error | executable + 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 # 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(Device|Group|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson) ], ... ; # 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: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: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: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|PractitionerRole|RelatedPerson) ]; # 0..1 Who will make payment fhir:Contract.term.asset.valuedItem.recipient [ Reference(Organization|Patient|Practitioner|PractitionerRole|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: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(Device|Group|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson) ], ... ; # 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(Device|Group|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson) ], ... ; # 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(CareTeam|Device|Location|Organization|Patient|Practitioner|PractitionerRole| RelatedPerson|Substance) ]; # 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.reason [ CodeableReference(Condition|DiagnosticReport|DocumentReference|Observation|Questionnaire| QuestionnaireResponse) ], ... ; # 0..* Why is action (not) needed? 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: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|PractitionerRole|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: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|Contract|DocumentReference|QuestionnaireResponse) ] ]
Changes since R4
Contract | |
Contract.term.action.reason |
|
Contract.term.action.reasonCode |
|
Contract.term.action.reasonReference |
|
See the Full Difference for further information
This analysis is available as XML or JSON.
See R3 <--> R4 Conversion Maps (status = 7 tests of which 5 fail to execute. 1 fail round-trip testing and 5 r3 resources are invalid (0 errors).)
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | appended | cancelled | disputed | entered-in-error | executable + 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(Patient | Practitioner | PractitionerRole | 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 | 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(Practitioner | PractitionerRole | Organization) | Publisher Entity | |
publicationDate | 0..1 | dateTime | When published | |
publicationStatus | 1..1 | code | amended | appended | cancelled | disputed | entered-in-error | executable + 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 | RelatedPerson | Practitioner | PractitionerRole | 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 | Accepting party choice ActConsentDirective (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..* | string | Pointer to text | |
securityLabelNumber | 0..* | unsignedInt | Offer restriction numbers | |
asset | 0..* | BackboneElement | Contract Term Asset List | |
scope | 0..1 | CodeableConcept | Range of asset Contract Resource Asset Scope codes (Example) | |
type | 0..* | CodeableConcept | Asset category Contract Resource Asset Type codes (Example) | |
typeReference | 0..* | Reference(Any) | Associated entities | |
subtype | 0..* | CodeableConcept | Asset sub-category Contract Resource Asset Sub-Type codes (Example) | |
relationship | 0..1 | Coding | Kinship of the asset Consent Content Class (Extensible) | |
context | 0..* | BackboneElement | Circumstance of the asset | |
reference | 0..1 | Reference(Any) | Creator,custodian or owner | |
code | 0..* | CodeableConcept | Codeable asset context Contract Resource Asset Context codes (Example) | |
text | 0..1 | string | Context description | |
condition | 0..1 | string | Quality desctiption of asset | |
periodType | 0..* | CodeableConcept | Asset availability types Contract Resource Asset Availiability codes (Example) | |
period | 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 | |
payment | 0..1 | string | Terms of valuation | |
paymentDate | 0..1 | dateTime | When payment is due | |
responsible | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who will make payment | |
recipient | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who will receive payment | |
linkId | 0..* | string | Pointer to specific item | |
securityLabelNumber | 0..* | unsignedInt | Security Labels that define affected terms | |
action | 0..* | BackboneElement | Entity being ascribed responsibility | |
doNotPerform | ?! | 0..1 | boolean | True if the term prohibits the action |
type | 1..1 | CodeableConcept | Type or form of the action Contract Action Codes (Example) | |
subject | 0..* | BackboneElement | Entity of the action | |
reference | 1..* | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization) | Entity of the action | |
role | 0..1 | CodeableConcept | Role type of the agent Contract Actor Role Codes (Example) | |
intent | 1..1 | CodeableConcept | Purpose for the Contract Term Action PurposeOfUse (Example) | |
linkId | 0..* | string | Pointer to specific item | |
status | 1..1 | CodeableConcept | State of the action Contract Resource Action 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 | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
requester | 0..* | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization) | Who asked for action | |
requesterLinkId | 0..* | string | Pointer to specific item | |
performerType | 0..* | CodeableConcept | Kind of service performer ParticipationRoleType (Example) | |
performerRole | 0..1 | CodeableConcept | Competency of the performer SecurityRoleType (Example) | |
performer | 0..1 | Reference(RelatedPerson | Patient | Practitioner | PractitionerRole | CareTeam | Device | Substance | Organization | Location) | Actor that wil execute (or not) the action | |
performerLinkId | 0..* | string | Pointer to specific item | |
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | Questionnaire | QuestionnaireResponse) | Why is action (not) needed? PurposeOfUse (Example) | |
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 | PractitionerRole | 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..* | 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) | |||
Documentation for this format |
See the Extensions for this resource
XML Template
<Contract xmlns="http://hl7.org/fhir"> <!-- 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 amended | appended | cancelled | disputed | entered-in-error | executable + --> <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> <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(Organization|Patient|Practitioner|PractitionerRole) 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(Organization|Practitioner|PractitionerRole) Publisher Entity --></publisher> <publicationDate value="[dateTime]"/><!-- 0..1 When published --> <publicationStatus value="[code]"/><!-- 1..1 amended | appended | cancelled | disputed | entered-in-error | executable + --> <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> <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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) 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><!-- 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 --> <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| PractitionerRole|RelatedPerson) Who will make payment --></responsible> <recipient><!-- 0..1 Reference(Organization|Patient|Practitioner| PractitionerRole|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> </asset> <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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) 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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) 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(CareTeam|Device|Location|Organization|Patient| Practitioner|PractitionerRole|RelatedPerson|Substance) Actor that wil execute (or not) the action --></performer> <performerLinkId value="[string]"/><!-- 0..* Pointer to specific item --> <reason><!-- 0..* CodeableReference(Condition|DiagnosticReport| DocumentReference|Observation|Questionnaire|QuestionnaireResponse) Why is action (not) needed? --></reason> <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|PractitionerRole| 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|Contract| DocumentReference|QuestionnaireResponse) Binding Contract --></legallyBinding[x]> </Contract>
JSON Template
{ "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>", // amended | appended | cancelled | disputed | entered-in-error | executable + "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(Organization|Patient|Practitioner|PractitionerRole) }, // 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(Organization|Practitioner|PractitionerRole) }, // Publisher Entity "publicationDate" : "<dateTime>", // When published "publicationStatus" : "<code>", // R! amended | appended | cancelled | disputed | entered-in-error | executable + "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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) }], // 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| PractitionerRole|RelatedPerson) }, // Who will make payment "recipient" : { Reference(Organization|Patient|Practitioner| PractitionerRole|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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) }], // 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(Device|Group|Organization|Patient|Practitioner| PractitionerRole|RelatedPerson) }], // Who asked for action "requesterLinkId" : ["<string>"], // Pointer to specific item "performerType" : [{ CodeableConcept }], // Kind of service performer "performerRole" : { CodeableConcept }, // Competency of the performer "performer" : { Reference(CareTeam|Device|Location|Organization|Patient| Practitioner|PractitionerRole|RelatedPerson|Substance) }, // Actor that wil execute (or not) the action "performerLinkId" : ["<string>"], // Pointer to specific item "reason" : [{ CodeableReference(Condition|DiagnosticReport| DocumentReference|Observation|Questionnaire|QuestionnaireResponse) }], // Why is action (not) needed? "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|PractitionerRole| 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|Contract|DocumentReference| QuestionnaireResponse) } }
Turtle Template
@prefix fhir: <http://hl7.org/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:Contract.url [ uri ]; # 0..1 Basal definition fhir:Contract.version [ string ]; # 0..1 Business edition fhir:Contract.status [ code ]; # 0..1 amended | appended | cancelled | disputed | entered-in-error | executable + 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: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(Organization|Patient|Practitioner|PractitionerRole) ]; # 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(Organization|Practitioner|PractitionerRole) ]; # 0..1 Publisher Entity fhir:Contract.contentDefinition.publicationDate [ dateTime ]; # 0..1 When published fhir:Contract.contentDefinition.publicationStatus [ code ]; # 1..1 amended | appended | cancelled | disputed | entered-in-error | executable + 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 # 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(Device|Group|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson) ], ... ; # 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: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: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: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|PractitionerRole|RelatedPerson) ]; # 0..1 Who will make payment fhir:Contract.term.asset.valuedItem.recipient [ Reference(Organization|Patient|Practitioner|PractitionerRole|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: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(Device|Group|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson) ], ... ; # 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(Device|Group|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson) ], ... ; # 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(CareTeam|Device|Location|Organization|Patient|Practitioner|PractitionerRole| RelatedPerson|Substance) ]; # 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.reason [ CodeableReference(Condition|DiagnosticReport|DocumentReference|Observation|Questionnaire| QuestionnaireResponse) ], ... ; # 0..* Why is action (not) needed? 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: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|PractitionerRole|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: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|Contract|DocumentReference|QuestionnaireResponse) ] ]
Changes since Release 4
Contract | |
Contract.term.action.reason |
|
Contract.term.action.reasonCode |
|
Contract.term.action.reasonReference |
|
See the Full Difference for further information
This analysis is available as XML or JSON.
See R3 <--> R4 Conversion Maps (status = 7 tests of which 5 fail to execute. 1 fail round-trip testing and 5 r3 resources are invalid (0 errors).)
Additional definitions: Master Definition XML + JSON, XML Schema/Schematron + JSON Schema, ShEx (for Turtle) + see the extensions, the spreadsheet version & the dependency analysis
Path | Definition | Type | Reference |
---|---|---|---|
Contract.status | This value set contract specific codes for status. | Required | ContractResourceStatusCodes (a valid code from ContractStatus) |
Contract.legalState | This value set contract specific codes for status. | Extensible | ContractResourceLegalStateCodes (a valid code from ContractLegalState) |
Contract.contentDerivative | This is an example set of Content Derivative type codes, which represent the minimal content derived from the basal information source at a specific stage in its lifecycle, which is sufficient to manage that source information, for example, in a repository, registry, processes and workflows, for making access control decisions, and providing query responses. | Example | ContractContentDerivationCodes |
Contract.expirationType | This value set contract specific codes for status. | Example | ContractResourceExpirationTypeCodes (a valid code from ContractExpirationType) |
Contract.scope | This value set contract specific codes for scope. | Example | ContractResourceScopeCodes (a valid code from ContractScope) |
Contract.type | This value set includes sample Contract Type codes. | Example | ContractTypeCodes |
Contract.subType | This value set includes sample Contract Subtype codes. | Example | ContractSubtypeCodes |
Contract.contentDefinition.type | This value set contract specific codes for status. | Example | ContractResourceDefinitionTypeCodes (a valid code from ContractDefinitionType) |
Contract.contentDefinition.subType | This value set contract specific codes for status. | Example | ContractResourceDefinitionSubtypeCodes (a valid code from ContractDefinitionSubtype) |
Contract.contentDefinition.publicationStatus | This value set contract specific codes for status. | Required | ContractResourcePublicationStatusCodes (a valid code from ContractPublicationStatus) |
Contract.term.type | This value set includes sample Contract Term Type codes. | Example | ContractTermTypeCodes |
Contract.term.subType | This value set includes sample Contract Term SubType codes. | Example | ContractTermSubtypeCodes |
Contract.term.securityLabel.classification | This value set contract specific codes for security classification. | Example | ContractResourceScopeCodes (a valid code from ContractSecurityClassification) |
Contract.term.securityLabel.category | This value set contract specific codes for security category. | Example | ContractResourceScopeCodes (a valid code from ContractSecurityCategory) |
Contract.term.securityLabel.control | This value set contract specific codes for security control. | Example | ContractResourceSecurityControlCodes (a valid code from ContractSecurityControl) |
Contract.term.offer.party.role | This value set contract specific codes for offer party participation. | Example | ContractResourcePartyRoleCodes (a valid code from ContractPartyRole) |
Contract.term.offer.type | This value set includes sample Contract Term Type codes. | Example | ContractTermTypeCodes |
Contract.term.offer.decision | ActConsentDirective codes are used to specify the type of Consent Directive to which a Consent Directive Act conforms. | Extensible | ActConsentDirective |
Contract.term.offer.decisionMode | This value set contract specific codes for decision modes. | Example | ContractResourceDecisionModeCodes (a valid code from ContractDecisionMode) |
Contract.term.asset.scope | This value set contract specific codes for asset scope. | Example | ContractResourceAssetScopeCodes (a valid code from ContractAssetScope) |
Contract.term.asset.type | This value set contract specific codes for asset type. | Example | ContractResourceAssetTypeCodes (a valid code from ContractAssetType) |
Contract.term.asset.subtype | This value set contract specific codes for asset subtype. | Example | ContractResourceAssetSubTypeCodes (a valid code from ContractAssetSubtype) |
Contract.term.asset.relationship | This value set includes the FHIR resource types, along with some other important content class codes | Extensible | ConsentContentClass |
Contract.term.asset.context.code | This value set contract specific codes for asset context. | Example | ContractResourceAssetContextCodes (a valid code from ContractAssetContext) |
Contract.term.asset.periodType | This value set has asset availability codes. | Example | ContractResourceAssetAvailiabilityCodes (a valid code from ContractAssetAvailability) |
Contract.term.action.type | This value set includes sample Contract Action codes. | Example | ContractActionCodes |
Contract.term.action.subject.role | This value set includes sample Contract Actor Role codes. | Example | ContractActorRoleCodes |
Contract.term.action.intent | Supports communication of purpose of use at a general level. | Example | PurposeOfUse |
Contract.term.action.status | This value set contract specific codes for action status. | Example | ContractResourceActionStatusCodes (a valid code from ContractActionStatus) |
Contract.term.action.performerType | This FHIR value set is comprised of Actor participation Type codes, which can be used to value FHIR agents, actors, and other role elements. The codes are intended to express how the agent participated in some activity. Sometimes refered to the agent functional-role relative to the activity. | Example | ParticipationRoleType |
Contract.term.action.performerRole | This value set contains example structural roles. In general, two types of roles can be distinguished: structural roles and functional roles. Structural Roles reflect human or organizational categories (hierarchies), and describe prerequisites, feasibilities, or competences for actions. Functional roles are bound to the realization or performance of actions. | Example | SecurityRoleType (a valid code from Sample Codes for Security Structural Role) |
Contract.term.action.reason | Supports communication of purpose of use at a general level. | Example | PurposeOfUse |
Contract.signer.type | This value set includes sample Contract Signer Type codes. | Preferred | 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.where(resolve() is Patient) (Patient) | |
signer | reference | Contract Signatory Party | Contract.signer.party (Practitioner, Organization, Patient, PractitionerRole, 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 |