### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/Contract.json
### ----------------------------------------------------
### -- Chunk 40 of 40
.doNotPerform",
      "short" : "True if the term prohibits the  action",
      "definition" : "True if the term prohibits the  action.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : true,
      "isModifierReason" : "If true this element negates the specified action. For Example, instead of a dictate to perform an action, it is a dictate not to perform the action."
    },
    {
      "id" : "Contract.term.action.type",
      "path" : "Contract.term.action.type",
      "short" : "Type or form of the action",
      "definition" : "Activity or service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractAction"
        }],
        "strength" : "example",
        "description" : "Detailed codes for the contract action.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/contract-action"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performer"
      },
      {
        "identity" : "rim",
        "map" : "RIM Role, Participation Type classes"
      }]
    },
    {
      "id" : "Contract.term.action.subject",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "ActionSubject"
      }],
      "path" : "Contract.term.action.subject",
      "short" : "Entity of the action",
      "definition" : "Entity of the action.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "Contract.term.action.subject.reference",
      "path" : "Contract.term.action.subject.reference",
      "short" : "Entity of the action",
      "definition" : "The entity the action is performed or not performed on or for.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }]
    },
    {
      "id" : "Contract.term.action.subject.role",
      "path" : "Contract.term.action.subject.role",
      "short" : "Role type of the agent",
      "definition" : "Role type of agent assigned roles in this Contract.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractActorRole"
        }],
        "strength" : "example",
        "description" : "Detailed codes for the contract actor role.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/contract-actorrole"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "RoleClass, RoleCode, ParticipationType, ParticipationFunction codes"
      }]
    },
    {
      "id" : "Contract.term.action.intent",
      "path" : "Contract.term.action.intent",
      "short" : "Purpose for the Contract Term Action",
      "definition" : "Reason or purpose for the action stipulated by this Contract Provision.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractActionReason"
        }],
        "strength" : "example",
        "description" : "Detailed codes for the contract action reason.",
        "valueSet" : "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.reasonCode"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "rim",
        "map" : "Examples from ActReason Concept Domains: ActCoverageReason Description:Codes used to specify reasons or criteria relating to coverage provided under a policy or program. May be used to convey reasons pertaining to coverage contractual provisions, including criteria for eligibility, coverage limitations, coverage maximums, or financial participation required of covered parties. ActInformationPrivacyReason Description: The rationale or purpose for an act relating to the management of personal information, such as disclosing personal tax information for the purpose of complying with a court order. ClinicalResearchObservationReason Definition: Specifies the reason that a test was performed or observation collected in a clinical research study. SafetyInvestigationReportReasonType Description: Possible reasons generating a report providing information developed during the investigation of an adverse event or a product problem. ControlActReason Description: Indicates the motivation, cause or rationale of an Act which results in a trigger event.  NonPerformanceReasonCode Description: The reason the action was not performed, e.g. why the medication was not taken. If an action was not performed, it is often clinically important to know why the action was not taken. RefusalReasonCode Description: Identifies why a request to add (or activate) a record is being refused. Examples include the receiving system not able to match the identifier and find that record in the receiving system, having no permission, or a detected issue exists which precludes the requested action.\r\r\r\r\r\r\r\rExamples from HL7 ActReason Code System: QUALIMP (quality improvement) Description:Operational activities conducted for the purposes of improving the quality of an activity, product, or service. _PatientProfileQueryReasonCode Description: A collection of concepts identifying why the patient's profile is being queried. _ActInformationManagementReason Description:The rationale or purpose for an act relating to information management, such as archiving information for the purpose of complying with an enterprise data retention policy. _ActInvalidReason (ActInvalidReason) Description: Types of reasons why a substance is invalid for use. _NonPerformanceReasonCode Description: The reason the action wasn't performed, e.g. why the medication was not taken. If an action wasn\"t performed, it is often clinically important to know why the action wasn\"t taken."
      }]
    },
    {
      "id" : "Contract.term.action.linkId",
      "path" : "Contract.term.action.linkId",
      "short" : "Pointer to specific item",
      "definition" : "Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "Contract.term.action.status",
      "path" : "Contract.term.action.status",
      "short" : "State of the action",
      "definition" : "Current state of the term action.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractActionStatus"
        }],
        "strength" : "example",
        "description" : "Codes for the status of an term action.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/contract-actionstatus"
      }
    },
    {
      "id" : "Contract.term.action.context",
      "path" : "Contract.term.action.context",
      "short" : "Episode associated with action",
      "definition" : "Encounter or Episode with primary association to specified term activity.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter",
        "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"]
      }]
    },
    {
      "id" : "Contract.term.action.contextLinkId",
      "path" : "Contract.term.action.contextLinkId",
      "short" : "Pointer to specific item",
      "definition" : "Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "Contract.term.action.occurrence[x]",
      "path" : "Contract.term.action.occurrence[x]",
      "short" : "When action happens",
      "definition" : "When action happens.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      },
      {
        "code" : "Period"
      },
      {
        "code" : "Timing"
      }]
    },
    {
      "id" : "Contract.term.action.requester",
      "path" : "Contract.term.action.requester",
      "short" : "Who asked for action",
      "definition" : "Who or what initiated the action and has responsibility for its activation.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }]
    },
    {
      "id" : "Contract.term.action.requesterLinkId",
      "path" : "Contract.term.action.requesterLinkId",
      "short" : "Pointer to specific item",
      "definition" : "Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "Contract.term.action.performerType",
      "path" : "Contract.term.action.performerType",
      "short" : "Kind of service performer",
      "definition" : "The type of individual that is desired or required to perform or not perform the action.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractActionPerformerType"
        }],
        "strength" : "example",
        "description" : "Codes for the types of action perfomer.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/provenance-agent-type"
      }
    },
    {
      "id" : "Contract.term.action.performerRole",
      "path" : "Contract.term.action.performerRole",
      "short" : "Competency of the performer",
      "definition" : "The type of role or competency of an individual desired or required to perform or not perform the action.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractActionPerformerRole"
        }],
        "strength" : "example",
        "description" : "Codes for the role of the action performer.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/provenance-agent-role"
      }
    },
    {
      "id" : "Contract.term.action.performer",
      "path" : "Contract.term.action.performer",
      "short" : "Actor that wil execute (or not) the action",
      "definition" : "Indicates who or what is being asked to perform (or not perform) the ction.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/RelatedPerson",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/CareTeam",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/Substance",
        "http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/Location"]
      }]
    },
    {
      "id" : "Contract.term.action.performerLinkId",
      "path" : "Contract.term.action.performerLinkId",
      "short" : "Pointer to specific item",
      "definition" : "Id [identifier??] of the clause or question text related to the reason type or reference of this  action in the referenced form or QuestionnaireResponse.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "Contract.term.action.reasonCode",
      "path" : "Contract.term.action.reasonCode",
      "short" : "Why is action (not) needed?",
      "definition" : "Rationale for the action to be performed or not performed. Describes why the action is permitted or prohibited.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractActionReason"
        }],
        "strength" : "example",
        "description" : "Detailed codes for the contract action reason.",
        "valueSet" : "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"
      }
    },
    {
      "id" : "Contract.term.action.reasonReference",
      "path" : "Contract.term.action.reasonReference",
      "short" : "Why is action (not) needed?",
      "definition" : "Indicates another resource whose existence justifies permitting or not permitting this action.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/Questionnaire",
        "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"]
      }]
    },
    {
      "id" : "Contract.term.action.reason",
      "path" : "Contract.term.action.reason",
      "short" : "Why action is to be performed",
      "definition" : "Describes why the action is to be performed or not performed in textual form.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "Contract.term.action.reasonLinkId",
      "path" : "Contract.term.action.reasonLinkId",
      "short" : "Pointer to specific item",
      "definition" : "Id [identifier??] of the clause or question text related to the reason type or reference of this  action in the referenced form or QuestionnaireResponse.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "Contract.term.action.note",
      "path" : "Contract.term.action.note",
      "short" : "Comments about the action",
      "definition" : "Comments made about the term action made by the requester, performer, subject or other participants.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Annotation"
      }]
    },
    {
      "id" : "Contract.term.action.securityLabelNumber",
      "path" : "Contract.term.action.securityLabelNumber",
      "short" : "Action restriction numbers",
      "definition" : "Security labels that protects the action.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "unsignedInt"
      }]
    },
    {
      "id" : "Contract.term.group",
      "path" : "Contract.term.group",
      "short" : "Nested Contract Term Group",
      "definition" : "Nested group of Contract Provisions.",
      "min" : 0,
      "max" : "*",
      "contentReference" : "#Contract.term",
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "RIM Grouping or Nesting mechanisms"
      }]
    },
    {
      "id" : "Contract.supportingInfo",
      "path" : "Contract.supportingInfo",
      "short" : "Extra Information",
      "definition" : "Information that may be needed by/relevant to the performer in their execution of this term action.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }]
    },
    {
      "id" : "Contract.relevantHistory",
      "path" : "Contract.relevantHistory",
      "short" : "Key event in Contract History",
      "definition" : "Links to Provenance records for past versions of this Contract definition, derivative, or instance, which identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the Contract.  The Provence.entity indicates the target that was changed in the update. http://build.fhir.org/provenance-definitions.html#Provenance.entity.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Provenance"]
      }]
    },
    {
      "id" : "Contract.signer",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Signatory"
      }],
      "path" : "Contract.signer",
      "short" : "Contract Signatory",
      "definition" : "Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness.",
      "comment" : "Signers who are principal parties to the contract are bound by the Contract.activity related to the Contract.topic, and the Contract.term(s), which either extend or restrict the overall action on the topic by, for example, stipulating specific policies or obligations constraining actions, action reason, or agents with respect to some or all of the topic.\rFor example, specifying how policies or obligations shall constrain actions and action reasons permitted or denied on all or a subset of the Contract.topic (e.g., all or a portion of property being transferred by the contract), agents (e.g., who can resell, assign interests, or alter the property being transferred by the contract), actions, and action reasons; or with respect to Contract.terms, stipulating, extending, or limiting the Contract.period of applicability or valuation of items under consideration.",
      "requirements" : "The Contract.signer applies a signature to the Contract.binding referenced resource, which is the documentation that is the legal \"source of truth\". The Contract.signer may delegate, such as a legally recognized personal representative, or have a delegate assigned e.g., by a court of law, to actually sign the Contract, such as a trustee in the case of incompetence.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "Participation"
      }]
    },
    {
      "id" : "Contract.signer.type",
      "path" : "Contract.signer.type",
      "short" : "Contract Signatory Role",
      "definition" : "Role of this Contract signer, e.g. notary, grantee.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Coding"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ContractSignerType"
        }],
        "strength" : "preferred",
        "description" : "List of parties who may be signing.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/contract-signer-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "rim",
        "map" : "RoleClass, RoleCode, ParticipationType, ParticipationFunction class codes."
      }]
    },
    {
      "id" : "Contract.signer.party",
      "path" : "Contract.signer.party",
      "short" : "Contract Signatory Party",
      "definition" : "Party which is a signator to this Contract.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.requester"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.author"
      },
      {
        "identity" : "rim",
        "map" : "Role Class"
      }]
    },
    {
      "id" : "Contract.signer.signature",
      "path" : "Contract.signer.signature",
      "short" : "Contract Documentation Signature",
      "definition" : "Legally binding Contract DSIG signature contents in Base64.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "Signature"
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.author"
      },
      {
        "identity" : "rim",
        "map" : "Participation.signatureCode :: CD (0..1) Definition: Whether the participant has attested participation through a signature, or whether such a signature is needed. Examples: A surgical Procedure act object (representing a procedure report) requires a signature of the performing and responsible surgeon, and possibly other participants; The participant intends to provide a signature.  Participation.signatureText :: ED (0..1) Definition: A textual or multimedia depiction of the signature by which the participant endorses and accepts responsibility for his or her participation in the Act as specified in the Participation.typeCode. UsageNotes: The signature can be represented either inline or by reference according to the ED data type. Typical cases are \r1) Paper-based signatures: the ED data type may refer to a document or other resource that can be retrieved through an electronic interface to a hardcopy archive. 2) Electronic signature: this attribute can represent virtually any electronic signature scheme. 3) Digital signature: this attribute can represent digital signatures by reference to a signature data block that is constructed in accordance to a digital signature standard, such as XML-DSIG, PKCS#7, PGP, etc. Examples: 1) An \"author\" participant assumes accountability for the truth of the Act statement to the best of his knowledge. 2) An information recipient only attests to the fact that he or she has received the information."
      }]
    },
    {
      "id" : "Contract.friendly",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "FriendlyLanguage"
      }],
      "path" : "Contract.friendly",
      "short" : "Contract Friendly Language",
      "definition" : "The \"patient friendly language\" versionof the Contract in whole or in parts. \"Patient friendly language\" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "LanguageCommunication"
      }]
    },
    {
      "id" : "Contract.friendly.content[x]",
      "path" : "Contract.friendly.content[x]",
      "short" : "Easily comprehended representation of this Contract",
      "definition" : "Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Attachment"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Composition",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"]
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "Act.text Definition: A renderable textual or multimedia description (or reference to a description) of the complete information which would reasonably be expected to be displayed to a human reader conveyed by the Act."
      }]
    },
    {
      "id" : "Contract.legal",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "LegalLanguage"
      }],
      "path" : "Contract.legal",
      "short" : "Contract Legal Language",
      "definition" : "List of Legal expressions or representations of this Contract.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "LanguageCommunication"
      }]
    },
    {
      "id" : "Contract.legal.content[x]",
      "path" : "Contract.legal.content[x]",
      "short" : "Contract Legal Text",
      "definition" : "Contract legal text in human renderable form.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Attachment"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Composition",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"]
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "Example: Act.text of an Act coded as with ActPrivacyLaw, ActPolicy code"
      }]
    },
    {
      "id" : "Contract.rule",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "ComputableLanguage"
      }],
      "path" : "Contract.rule",
      "short" : "Computable Contract Language",
      "definition" : "List of Computable Policy Rule Language Representations of this Contract.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "LanguageCommunication"
      }]
    },
    {
      "id" : "Contract.rule.content[x]",
      "path" : "Contract.rule.content[x]",
      "short" : "Computable Contract Rules",
      "definition" : "Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Attachment"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "Computable Policy Consent [Observation: templateId 2.16.840.1.113883.3.445.16] This template is used to represent an alternative representation of the Privacy Consent Directive (e.g.,ODRL, XrML, XACML) as a computer-readable set of rules. An implementation may use any appropriate representations of the privacy consent in addition to the \"ConsentDirectiveStructuredDefinition\" which uses the Clinical Template structure to express the elements of a consent directive in an interoperable way.\r1. SHALL contain exactly one [1..1] templateId ( CONF-CD-16 ) such that it\ra. SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.3.445.16\"\r2. SHALL contain exactly one [1..1] @moodCode=\"DEF\" (CodeSystem: 2.16.840.1.113883.5.1001 HL7ActMood) (CONF:14912)\r3. SHALL contain exactly one [1..1] code (CONF:9139)/@code=\"57016-8\" Privacy Policy Acknowledgement Document (CodeSystem: 2.16.840.1.113883.6.1 LOINC) (CONF:9138)\rIt specifies the LOINC code corresponding to \"Privacy Policy Acknowledgement Document\", it is fixed at this value.\r4. SHOULD contain zero or more [0..*] value with @xsi:type=\"ANY\" (CONF:9140) The value contains the computable representation of the policy. This may be a standard-based access control or attribute control based policy (See\r\"References\"). Computable Policy Consent example\r<!-- Sample computable policy language representation -->\r<entryRelationship typeCode=\"COMP\">\r<templateId root=\"2.16.840.1.113883.3.445.16\" />\r<observationMedia classCode=\"OBS\" moodCode=\"EVN\">\r<value mediaType=\"text/xml\" representation=\"TXT\"> ... </value>\r</observationMedia>\r</entryRelationship>"
      }]
    },
    {
      "id" : "Contract.legallyBinding[x]",
      "path" : "Contract.legallyBinding[x]",
      "short" : "Binding Contract",
      "definition" : "Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the \"source of truth\" and which would be the basis for legal action related to enforcement of this Contract.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Attachment"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Composition",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
        "http://hl7.org/fhir/StructureDefinition/Contract"]
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "DocumentCompletion code system AU (authenticated) Description: A completion status in which a document has been signed manually or electronically by one or more individuals who attest to its accuracy. No explicit determination is made that the assigned individual has performed the authentication. While the standard allows multiple instances of authentication, it would be typical to have a single instance of authentication, usually by the assigned individual."
      }]
    }]
  }
}


