PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # Legal Agreement CLOSED { a [fhir:Contract]; fhir:nodeRole [fhir:treeRoot]?; fhir:Resource.id id?; # Logical id of this artifact fhir:Resource.meta @?; # Metadata about the resource fhir:Resource.implicitRules @?; # A set of rules under which this # content was created fhir:Resource.language @?; # Language of the resource content fhir:DomainResource.text @?; # Text summary of the resource, for # human interpretation fhir:DomainResource.contained @*; # Contained, inline Resources fhir:DomainResource.extension @*; # Additional content defined by # implementations fhir:DomainResource.modifierExtension @*; # Extensions that cannot be ignored fhir:Contract.identifier @*; # Contract number fhir:Contract.url @?; # Basal definition fhir:Contract.version @?; # Business edition fhir:Contract.status @ AND {fhir:value @fhirvs:contract-status}?; # amended | appended | cancelled | # disputed | entered-in-error | # executable | executed | negotiable # | offered | policy | rejected | # renewed | revoked | resolved | # terminated fhir:Contract.legalState @?; # Negotiation status fhir:Contract.instantiatesCanonical @?; # Source Contract Definition fhir:Contract.instantiatesUri @?; # External Contract Definition fhir:Contract.contentDerivative @?; # Content derived from the basal # information fhir:Contract.issued @?; # When this Contract was issued fhir:Contract.applies @?; # Effective time fhir:Contract.expirationType @?; # Contract cessation cause fhir:Contract.subject @*; # Contract Target Entity fhir:Contract.authority @*; # Authority under which this # Contract has standing fhir:Contract.domain @*; # A sphere of control governed by an # authoritative jurisdiction, # organization, or person fhir:Contract.site @*; # Specific Location fhir:Contract.name @?; # Computer friendly designation fhir:Contract.title @?; # Human Friendly name fhir:Contract.subtitle @?; # Subordinate Friendly name fhir:Contract.alias @*; # Acronym or short name fhir:Contract.author @?; # Source of Contract fhir:Contract.scope @?; # Range of Legal Concerns ( # Focus of contract interest fhir:Contract.topicCodeableConcept @ | fhir:Contract.topicReference @ )?; fhir:Contract.type @?; # Legal instrument category fhir:Contract.subType @*; # Subtype within the context of type fhir:Contract.contentDefinition @?; # Contract precursor content fhir:Contract.term @*; # Contract Term List fhir:Contract.supportingInfo @*; # Extra Information fhir:Contract.relevantHistory @*; # Key event in Contract History fhir:Contract.signer @*; # Contract Signatory fhir:Contract.friendly @*; # Contract Friendly Language fhir:Contract.legal @*; # Contract Legal Language fhir:Contract.rule @*; # Computable Contract Language ( # Binding Contract fhir:Contract.legallyBindingAttachment @ | fhir:Contract.legallyBindingReference @ )?; fhir:index xsd:integer? # Relative position in a list } # Contract precursor content CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:Contract.contentDefinition.type @; # Content structure and use fhir:Contract.contentDefinition.subType @?; # Detailed Content Type Definition fhir:Contract.contentDefinition.publisher @?; # Publisher Entity fhir:Contract.contentDefinition.publicationDate @?; # When published fhir:Contract.contentDefinition.publicationStatus @ AND {fhir:value @fhirvs:contract-publicationstatus}; # amended | appended | cancelled | # disputed | entered-in-error | # executable | executed | negotiable # | offered | policy | rejected | # renewed | revoked | resolved | # terminated fhir:Contract.contentDefinition.copyright @?; # Publication Ownership fhir:index xsd:integer? # Relative position in a list } # Computable Contract Language CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized ( # Computable Contract Rules fhir:Contract.rule.contentAttachment @ | fhir:Contract.rule.contentReference @ ); fhir:index xsd:integer? # Relative position in a list } # Contract Legal Language CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized ( # Contract Legal Text fhir:Contract.legal.contentAttachment @ | fhir:Contract.legal.contentReference @ ); fhir:index xsd:integer? # Relative position in a list } # Contract Term List CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:Contract.term.identifier @?; # Contract Term Number fhir:Contract.term.issued @?; # Contract Term Issue Date Time fhir:Contract.term.applies @?; # Contract Term Effective Time ( # Term Concern fhir:Contract.term.topicCodeableConcept @ | fhir:Contract.term.topicReference @ )?; fhir:Contract.term.type @?; # Contract Term Type or Form fhir:Contract.term.subType @?; # Contract Term Type specific # classification fhir:Contract.term.text @?; # Term Statement fhir:Contract.term.securityLabel @*; # Protection for the Term fhir:Contract.term.offer @; # Context of the Contract term fhir:Contract.term.asset @*; # Contract Term Asset List fhir:Contract.term.action @*; # Entity being ascribed # responsibility fhir:Contract.term.group @*; # Nested Contract Term Group fhir:index xsd:integer? # Relative position in a list } # Contract Signatory CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:Contract.signer.type @; # Contract Signatory Role fhir:Contract.signer.party @; # Contract Signatory Party fhir:Contract.signer.signature @+; # Contract Documentation Signature fhir:index xsd:integer? # Relative position in a list } # Contract Friendly Language CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized ( # Easily comprehended representation # of this Contract fhir:Contract.friendly.contentAttachment @ | fhir:Contract.friendly.contentReference @ ); fhir:index xsd:integer? # Relative position in a list } # Entity being ascribed responsibility CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:Contract.term.action.doNotPerform @?; # True if the term prohibits the # action fhir:Contract.term.action.type @; # Type or form of the action fhir:Contract.term.action.subject @*; # Entity of the action fhir:Contract.term.action.intent @; # Purpose for the Contract Term # Action fhir:Contract.term.action.linkId @*; # Pointer to specific item fhir:Contract.term.action.status @; # State of the action fhir:Contract.term.action.context @?; # Episode associated with action fhir:Contract.term.action.contextLinkId @*; # Pointer to specific item ( # When action happens fhir:Contract.term.action.occurrenceDateTime @ | fhir:Contract.term.action.occurrencePeriod @ | fhir:Contract.term.action.occurrenceTiming @ )?; fhir:Contract.term.action.requester @*; # Who asked for action fhir:Contract.term.action.requesterLinkId @*; # Pointer to specific item fhir:Contract.term.action.performerType @*; # Kind of service performer fhir:Contract.term.action.performerRole @?; # Competency of the performer fhir:Contract.term.action.performer @?; # Actor that wil execute (or not) # the action fhir:Contract.term.action.performerLinkId @*; # Pointer to specific item fhir:Contract.term.action.reasonCode @*; # Why is action (not) needed? fhir:Contract.term.action.reasonReference @*; # Why is action (not) needed? fhir:Contract.term.action.reason @*; # Why action is to be performed fhir:Contract.term.action.reasonLinkId @*; # Pointer to specific item fhir:Contract.term.action.note @*; # Comments about the action fhir:Contract.term.action.securityLabelNumber @*; # Action restriction numbers fhir:index xsd:integer? # Relative position in a list } # Nested Contract Term Group CLOSED { fhir:index xsd:integer? # Relative position in a list } # Protection for the Term CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:Contract.term.securityLabel.number @*; # Link to Security Labels fhir:Contract.term.securityLabel.classification @; # Confidentiality Protection fhir:Contract.term.securityLabel.category @*; # Applicable Policy fhir:Contract.term.securityLabel.control @*; # Handling Instructions fhir:index xsd:integer? # Relative position in a list } # Context of the Contract term CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:Contract.term.offer.identifier @*; # Offer business ID fhir:Contract.term.offer.party @*; # Offer Recipient fhir:Contract.term.offer.topic @?; # Negotiable offer asset fhir:Contract.term.offer.type @?; # Contract Offer Type or Form fhir:Contract.term.offer.decision @?; # Accepting party choice fhir:Contract.term.offer.decisionMode @*; # How decision is conveyed fhir:Contract.term.offer.answer @*; # Response to offer text fhir:Contract.term.offer.text @?; # Human readable offer text fhir:Contract.term.offer.linkId @*; # Pointer to text fhir:Contract.term.offer.securityLabelNumber @*; # Offer restriction numbers fhir:index xsd:integer? # Relative position in a list } # Contract Term Asset List CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:Contract.term.asset.scope @?; # Range of asset fhir:Contract.term.asset.type @*; # Asset category fhir:Contract.term.asset.typeReference @*; # Associated entities fhir:Contract.term.asset.subtype @*; # Asset sub-category fhir:Contract.term.asset.relationship @?; # Kinship of the asset fhir:Contract.term.asset.context @*; # Circumstance of the asset fhir:Contract.term.asset.condition @?; # Quality desctiption of asset fhir:Contract.term.asset.periodType @*; # Asset availability types fhir:Contract.term.asset.period @*; # Time period of the asset fhir:Contract.term.asset.usePeriod @*; # Time period fhir:Contract.term.asset.text @?; # Asset clause or question text fhir:Contract.term.asset.linkId @*; # Pointer to asset text fhir:Contract.term.asset.answer @*; # Response to assets fhir:Contract.term.asset.securityLabelNumber @*; # Asset restriction numbers fhir:Contract.term.asset.valuedItem @*; # Contract Valued Item List fhir:index xsd:integer? # Relative position in a list } # Response to offer text CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized ( # The actual answer response fhir:Contract.term.offer.answer.valueBoolean @ | fhir:Contract.term.offer.answer.valueDecimal @ | fhir:Contract.term.offer.answer.valueInteger @ | fhir:Contract.term.offer.answer.valueDate @ | fhir:Contract.term.offer.answer.valueDateTime @ | fhir:Contract.term.offer.answer.valueTime @