This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
This resource maintained by the Financial Management Work Group
A formal agreement between parties regarding the conduct of business, exchange of information or other matters.
The Contract resource is the basal resource to convey information of all manner of contracts for financial (eg. Insurance policies), business arrangements (eg. supply contracts) and privacy and security (eg. consent directives). Todo
This resource is referenced by [Coverage]
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Contract | DomainResource | |||
identifier | Σ | 0..* | Identifier | Contract identifier |
subject | Σ | 0..* | Any | Subject |
authority | 0..* | Organization | Authority | |
domain | 0..* | Location | Domain | |
type | Σ | 0..1 | CodeableConcept | Type of contract ContractType (Example) |
subtype | Σ | 0..* | CodeableConcept | Subtype of contract ContractSubtype (Example) |
issued | Σ | 0..1 | dateTime | When this was issued |
applies | Σ | 0..1 | Period | Effective time |
quantity | 0..1 | Quantity | Count of Products or Services | |
unitPrice | 0..1 | Money | Fee, charge or cost per point | |
factor | 0..1 | decimal | Price scaling factor | |
points | 0..1 | decimal | Difficulty scaling factor | |
net | 0..1 | Money | Total item cost | |
author | Σ | 0..* | Practitioner | RelatedPerson | Organization | Contract author or responsible party |
grantor | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | First Party or delegator |
grantee | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | Second Party or delegatee |
witness | 0..* | Practitioner | RelatedPerson | Patient | Witness to the contract | |
executor | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | Trustee |
notary | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | Notary Public |
signer | 0..* | Element | Signer | |
type | 1..* | Coding | Signer Type ContractSignerType (Example) | |
signature | 1..1 | string | Documentation Signature | |
term | 0..* | Element | The terms of the Contract | |
identifier | Σ | 0..1 | Identifier | Term identifier |
type | 0..1 | CodeableConcept | Term type ContractTermType (Example) | |
subtype | 0..1 | CodeableConcept | Term subtype ContractTermSubType (Example) | |
subject | 0..1 | Any | Subject for the Term | |
text | 0..1 | string | Human readable Term text | |
issued | Σ | 0..1 | dateTime | When issued |
applies | Σ | 0..1 | Period | When effective |
quantity | 0..1 | Quantity | Count of Products or Services | |
unitPrice | 0..1 | Money | Fee, charge or cost per point | |
factor | 0..1 | decimal | Price scaling factor | |
points | 0..1 | decimal | Difficulty scaling factor | |
net | 0..1 | Money | Total item cost | |
binding | 0..1 | Attachment | Binding Contract | |
bindingDateTime | 0..1 | dateTime | Binding Contract effective time | |
friendly | 0..* | Attachment | Human readable contract text | |
friendlyDateTime | 0..1 | dateTime | Human readable contract text effective time | |
legal | 0..* | Attachment | Legal contract text | |
legalDateTime | 0..1 | dateTime | Legal contract text date time | |
rule | 0..* | Attachment | Computable contract text | |
ruleDateTime | 0..1 | dateTime | Computable contract text effect time |
UML Diagram
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 identifier --></identifier> <subject><!-- 0..* Reference(Any) Subject --></subject> <authority><!-- 0..* Reference(Organization) Authority --></authority> <domain><!-- 0..* Reference(Location) Domain --></domain> <type><!-- 0..1 CodeableConcept Type of contract --></type> <subtype><!-- 0..* CodeableConcept Subtype of contract --></subtype> <issued value="[dateTime]"/><!-- 0..1 When this was issued --> <applies><!-- 0..1 Period Effective time --></applies> <quantity><!-- 0..1 Quantity Count of Products or Services --></quantity> <unitPrice><!-- 0..1 Money Fee, charge or cost per point --></unitPrice> <factor value="[decimal]"/><!-- 0..1 Price scaling factor --> <points value="[decimal]"/><!-- 0..1 Difficulty scaling factor --> <net><!-- 0..1 Money Total item cost --></net> <author><!-- 0..* Reference(Practitioner|RelatedPerson|Organization) Contract author or responsible party --></author> <grantor><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) First Party or delegator --></grantor> <grantee><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) Second Party or delegatee --></grantee> <witness><!-- 0..* Reference(Practitioner|RelatedPerson|Patient) Witness to the contract --></witness> <executor><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) Trustee --></executor> <notary><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) Notary Public --></notary> <signer> <!-- 0..* Signer --> <type><!-- 1..* Coding Signer Type --></type> <signature value="[string]"/><!-- 1..1 Documentation Signature --> </signer> <term> <!-- 0..* The terms of the Contract --> <identifier><!-- 0..1 Identifier Term identifier --></identifier> <type><!-- 0..1 CodeableConcept Term type --></type> <subtype><!-- 0..1 CodeableConcept Term subtype --></subtype> <subject><!-- 0..1 Reference(Any) Subject for the Term --></subject> <text value="[string]"/><!-- 0..1 Human readable Term text --> <issued value="[dateTime]"/><!-- 0..1 When issued --> <applies><!-- 0..1 Period When effective --></applies> <quantity><!-- 0..1 Quantity Count of Products or Services --></quantity> <unitPrice><!-- 0..1 Money Fee, charge or cost per point --></unitPrice> <factor value="[decimal]"/><!-- 0..1 Price scaling factor --> <points value="[decimal]"/><!-- 0..1 Difficulty scaling factor --> <net><!-- 0..1 Money Total item cost --></net> </term> <binding><!-- 0..1 Attachment Binding Contract --></binding> <bindingDateTime value="[dateTime]"/><!-- 0..1 Binding Contract effective time --> <friendly><!-- 0..* Attachment Human readable contract text --></friendly> <friendlyDateTime value="[dateTime]"/><!-- 0..1 Human readable contract text effective time --> <legal><!-- 0..* Attachment Legal contract text --></legal> <legalDateTime value="[dateTime]"/><!-- 0..1 Legal contract text date time --> <rule><!-- 0..* Attachment Computable contract text --></rule> <ruleDateTime value="[dateTime]"/><!-- 0..1 Computable contract text effect time --> </Contract>
JSON Template
{ "resourceType" : "Contract", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Contract identifier "subject" : [{ Reference(Any) }], // Subject "authority" : [{ Reference(Organization) }], // Authority "domain" : [{ Reference(Location) }], // Domain "type" : { CodeableConcept }, // Type of contract "subtype" : [{ CodeableConcept }], // Subtype of contract "issued" : "<dateTime>", // When this was issued "applies" : { Period }, // Effective time "quantity" : { Quantity }, // Count of Products or Services "unitPrice" : { Money }, // Fee, charge or cost per point "factor" : <decimal>, // Price scaling factor "points" : <decimal>, // Difficulty scaling factor "net" : { Money }, // Total item cost "author" : [{ Reference(Practitioner|RelatedPerson|Organization) }], // Contract author or responsible party "grantor" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // First Party or delegator "grantee" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // Second Party or delegatee "witness" : [{ Reference(Practitioner|RelatedPerson|Patient) }], // Witness to the contract "executor" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // Trustee "notary" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // Notary Public "signer" : [{ // Signer "type" : [{ Coding }], // R! Signer Type "signature" : "<string>" // R! Documentation Signature }], "term" : [{ // The terms of the Contract "identifier" : { Identifier }, // Term identifier "type" : { CodeableConcept }, // Term type "subtype" : { CodeableConcept }, // Term subtype "subject" : { Reference(Any) }, // Subject for the Term "text" : "<string>", // Human readable Term text "issued" : "<dateTime>", // When issued "applies" : { Period }, // When effective "quantity" : { Quantity }, // Count of Products or Services "unitPrice" : { Money }, // Fee, charge or cost per point "factor" : <decimal>, // Price scaling factor "points" : <decimal>, // Difficulty scaling factor "net" : { Money } // Total item cost }], "binding" : { Attachment }, // Binding Contract "bindingDateTime" : "<dateTime>", // Binding Contract effective time "friendly" : [{ Attachment }], // Human readable contract text "friendlyDateTime" : "<dateTime>", // Human readable contract text effective time "legal" : [{ Attachment }], // Legal contract text "legalDateTime" : "<dateTime>", // Legal contract text date time "rule" : [{ Attachment }], // Computable contract text "ruleDateTime" : "<dateTime>" // Computable contract text effect time }
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Contract | DomainResource | |||
identifier | Σ | 0..* | Identifier | Contract identifier |
subject | Σ | 0..* | Any | Subject |
authority | 0..* | Organization | Authority | |
domain | 0..* | Location | Domain | |
type | Σ | 0..1 | CodeableConcept | Type of contract ContractType (Example) |
subtype | Σ | 0..* | CodeableConcept | Subtype of contract ContractSubtype (Example) |
issued | Σ | 0..1 | dateTime | When this was issued |
applies | Σ | 0..1 | Period | Effective time |
quantity | 0..1 | Quantity | Count of Products or Services | |
unitPrice | 0..1 | Money | Fee, charge or cost per point | |
factor | 0..1 | decimal | Price scaling factor | |
points | 0..1 | decimal | Difficulty scaling factor | |
net | 0..1 | Money | Total item cost | |
author | Σ | 0..* | Practitioner | RelatedPerson | Organization | Contract author or responsible party |
grantor | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | First Party or delegator |
grantee | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | Second Party or delegatee |
witness | 0..* | Practitioner | RelatedPerson | Patient | Witness to the contract | |
executor | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | Trustee |
notary | Σ | 0..* | Practitioner | RelatedPerson | Organization | Patient | Notary Public |
signer | 0..* | Element | Signer | |
type | 1..* | Coding | Signer Type ContractSignerType (Example) | |
signature | 1..1 | string | Documentation Signature | |
term | 0..* | Element | The terms of the Contract | |
identifier | Σ | 0..1 | Identifier | Term identifier |
type | 0..1 | CodeableConcept | Term type ContractTermType (Example) | |
subtype | 0..1 | CodeableConcept | Term subtype ContractTermSubType (Example) | |
subject | 0..1 | Any | Subject for the Term | |
text | 0..1 | string | Human readable Term text | |
issued | Σ | 0..1 | dateTime | When issued |
applies | Σ | 0..1 | Period | When effective |
quantity | 0..1 | Quantity | Count of Products or Services | |
unitPrice | 0..1 | Money | Fee, charge or cost per point | |
factor | 0..1 | decimal | Price scaling factor | |
points | 0..1 | decimal | Difficulty scaling factor | |
net | 0..1 | Money | Total item cost | |
binding | 0..1 | Attachment | Binding Contract | |
bindingDateTime | 0..1 | dateTime | Binding Contract effective time | |
friendly | 0..* | Attachment | Human readable contract text | |
friendlyDateTime | 0..1 | dateTime | Human readable contract text effective time | |
legal | 0..* | Attachment | Legal contract text | |
legalDateTime | 0..1 | dateTime | Legal contract text date time | |
rule | 0..* | Attachment | Computable contract text | |
ruleDateTime | 0..1 | dateTime | Computable contract text effect time |
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 identifier --></identifier> <subject><!-- 0..* Reference(Any) Subject --></subject> <authority><!-- 0..* Reference(Organization) Authority --></authority> <domain><!-- 0..* Reference(Location) Domain --></domain> <type><!-- 0..1 CodeableConcept Type of contract --></type> <subtype><!-- 0..* CodeableConcept Subtype of contract --></subtype> <issued value="[dateTime]"/><!-- 0..1 When this was issued --> <applies><!-- 0..1 Period Effective time --></applies> <quantity><!-- 0..1 Quantity Count of Products or Services --></quantity> <unitPrice><!-- 0..1 Money Fee, charge or cost per point --></unitPrice> <factor value="[decimal]"/><!-- 0..1 Price scaling factor --> <points value="[decimal]"/><!-- 0..1 Difficulty scaling factor --> <net><!-- 0..1 Money Total item cost --></net> <author><!-- 0..* Reference(Practitioner|RelatedPerson|Organization) Contract author or responsible party --></author> <grantor><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) First Party or delegator --></grantor> <grantee><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) Second Party or delegatee --></grantee> <witness><!-- 0..* Reference(Practitioner|RelatedPerson|Patient) Witness to the contract --></witness> <executor><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) Trustee --></executor> <notary><!-- 0..* Reference(Practitioner|RelatedPerson|Organization|Patient) Notary Public --></notary> <signer> <!-- 0..* Signer --> <type><!-- 1..* Coding Signer Type --></type> <signature value="[string]"/><!-- 1..1 Documentation Signature --> </signer> <term> <!-- 0..* The terms of the Contract --> <identifier><!-- 0..1 Identifier Term identifier --></identifier> <type><!-- 0..1 CodeableConcept Term type --></type> <subtype><!-- 0..1 CodeableConcept Term subtype --></subtype> <subject><!-- 0..1 Reference(Any) Subject for the Term --></subject> <text value="[string]"/><!-- 0..1 Human readable Term text --> <issued value="[dateTime]"/><!-- 0..1 When issued --> <applies><!-- 0..1 Period When effective --></applies> <quantity><!-- 0..1 Quantity Count of Products or Services --></quantity> <unitPrice><!-- 0..1 Money Fee, charge or cost per point --></unitPrice> <factor value="[decimal]"/><!-- 0..1 Price scaling factor --> <points value="[decimal]"/><!-- 0..1 Difficulty scaling factor --> <net><!-- 0..1 Money Total item cost --></net> </term> <binding><!-- 0..1 Attachment Binding Contract --></binding> <bindingDateTime value="[dateTime]"/><!-- 0..1 Binding Contract effective time --> <friendly><!-- 0..* Attachment Human readable contract text --></friendly> <friendlyDateTime value="[dateTime]"/><!-- 0..1 Human readable contract text effective time --> <legal><!-- 0..* Attachment Legal contract text --></legal> <legalDateTime value="[dateTime]"/><!-- 0..1 Legal contract text date time --> <rule><!-- 0..* Attachment Computable contract text --></rule> <ruleDateTime value="[dateTime]"/><!-- 0..1 Computable contract text effect time --> </Contract>
JSON Template
{ "resourceType" : "Contract", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Contract identifier "subject" : [{ Reference(Any) }], // Subject "authority" : [{ Reference(Organization) }], // Authority "domain" : [{ Reference(Location) }], // Domain "type" : { CodeableConcept }, // Type of contract "subtype" : [{ CodeableConcept }], // Subtype of contract "issued" : "<dateTime>", // When this was issued "applies" : { Period }, // Effective time "quantity" : { Quantity }, // Count of Products or Services "unitPrice" : { Money }, // Fee, charge or cost per point "factor" : <decimal>, // Price scaling factor "points" : <decimal>, // Difficulty scaling factor "net" : { Money }, // Total item cost "author" : [{ Reference(Practitioner|RelatedPerson|Organization) }], // Contract author or responsible party "grantor" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // First Party or delegator "grantee" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // Second Party or delegatee "witness" : [{ Reference(Practitioner|RelatedPerson|Patient) }], // Witness to the contract "executor" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // Trustee "notary" : [{ Reference(Practitioner|RelatedPerson|Organization|Patient) }], // Notary Public "signer" : [{ // Signer "type" : [{ Coding }], // R! Signer Type "signature" : "<string>" // R! Documentation Signature }], "term" : [{ // The terms of the Contract "identifier" : { Identifier }, // Term identifier "type" : { CodeableConcept }, // Term type "subtype" : { CodeableConcept }, // Term subtype "subject" : { Reference(Any) }, // Subject for the Term "text" : "<string>", // Human readable Term text "issued" : "<dateTime>", // When issued "applies" : { Period }, // When effective "quantity" : { Quantity }, // Count of Products or Services "unitPrice" : { Money }, // Fee, charge or cost per point "factor" : <decimal>, // Price scaling factor "points" : <decimal>, // Difficulty scaling factor "net" : { Money } // Total item cost }], "binding" : { Attachment }, // Binding Contract "bindingDateTime" : "<dateTime>", // Binding Contract effective time "friendly" : [{ Attachment }], // Human readable contract text "friendlyDateTime" : "<dateTime>", // Human readable contract text effective time "legal" : [{ Attachment }], // Legal contract text "legalDateTime" : "<dateTime>", // Legal contract text date time "rule" : [{ Attachment }], // Computable contract text "ruleDateTime" : "<dateTime>" // Computable contract text effect time }
Alternate definitions: Schema/Schematron, Resource Profile (XML, JSON), Questionnaire
Path | Definition | Type | Reference |
---|---|---|---|
Contract.type | List of overall contract codes | Example | http://hl7.org/fhir/vs/contract-type |
Contract.subtype | Detailed codes within the above | Example | http://hl7.org/fhir/vs/contract-subtype |
Contract.signer.type | An indication of the reason that an entity signed a document | Example | http://hl7.org/fhir/vs/contract-signer-type |
Contract.term.type | Detailed codes for the types of contract provisions | Example | http://hl7.org/fhir/vs/contract-term-type |
Contract.term.subtype | Detailed codes for the subtypes of contract provisions | Example | http://hl7.org/fhir/vs/contract-term-subtype |
Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.
Name | Type | Description | Paths |
patient | reference | The identity of the target of the contract (if a patient) | Contract.subject (Patient) |
subject | reference | The identity of the target of the contract | Contract.subject (Any) |