PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.eltss@2.0.0
    http://hl7.org/fhir/us/eltss/StructureDefinition/RiskAssessment-eltss
{
  "description": "RiskAssessment resource mapping for eLTSS",
  "_filename": "StructureDefinition-RiskAssessment-eltss.json",
  "package_name": "hl7.fhir.us.eltss",
  "date": "2019-02-17T00:00:00-05:00",
  "derivation": "constraint",
  "publisher": "HL7 International / Human and Social Services",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "RiskAssessment_eltss",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://openehr.org",
    "name": "Open EHR Archetype Mapping",
    "identity": "openehr"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "RiskAssessment",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "2.0.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "hsswg"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 2,
    "_valueInteger": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org/fhir/us/eltss/ImplementationGuide/hl7.fhir.us.eltss"
      } ]
    }
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use",
    "_valueCode": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org/fhir/us/eltss/ImplementationGuide/hl7.fhir.us.eltss"
      } ]
    }
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "xpath": "not(exists(f:contained/*/f:meta/f:security))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "xpath": "exists(f:text/h:div)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "warning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean": true
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        } ],
        "expression": "text.`div`.exists()"
      } ],
      "path": "RiskAssessment",
      "min": 0,
      "definition": "An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.",
      "isModifier": false,
      "short": "Potential outcomes for a subject with likelihood",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Event",
        "identity": "workflow"
      }, {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "Observation[classCode=OBS, moodCode=EVN, code=\"Risk Assessment\"]",
        "identity": "rim"
      }, {
        "map": "OpenEHR-EHR-EVALUATION.risk.v1",
        "identity": "openehr"
      } ],
      "alias": [ "Prognosis" ],
      "max": "*",
      "id": "RiskAssessment",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RiskAssessment"
      },
      "isSummary": false
    }, {
      "path": "RiskAssessment.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "max": "1",
      "id": "RiskAssessment.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "RiskAssessment.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "RiskAssessment.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        } ],
        "description": "A human language."
      },
      "max": "1",
      "id": "RiskAssessment.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "RiskAssessment.text",
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "RiskAssessment.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "isModifier": false,
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "RiskAssessment.contained",
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "RiskAssessment.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "RiskAssessment.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "RiskAssessment.extension",
      "min": 0,
      "definition": "Risk Management Plan eLTSS data set element",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/eltss-RiskPlan" ]
      } ],
      "mustSupport": true,
      "sliceName": "riskPlan",
      "max": "*",
      "id": "RiskAssessment.extension:riskPlan",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "RiskAssessment.extension",
      "min": 0,
      "definition": "Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal.  For example, a Procedure to exercise pertainsToGoal of losing weight.",
      "isModifier": false,
      "short": "The resource-pertainsToGoal relates the resource to the goal(s) that pertain to it. Whenever there is a goal associated with a health concern or problem, this extension should be present and populated in activity (event or intent) resources.",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal" ]
      } ],
      "mustSupport": true,
      "sliceName": "resource-pertainsToGoal",
      "max": "*",
      "id": "RiskAssessment.extension:resource-pertainsToGoal",
      "comment": "This extension is  limited to subject-specific activity-related resources (events & intents).  I.e. This can't be put on Goal or Patient.  This association isn't for the purpose of goal management, but for things such as noting that a particular observation result, prescription or other activity is pertinent to the achievement (or possibly non-achievement) of the referenced goal.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "RiskAssessment.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "RiskAssessment.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.identifier",
      "min": 0,
      "definition": "Business identifier assigned to the risk assessment.",
      "isModifier": false,
      "short": "Unique identifier for the assessment",
      "mapping": [ {
        "map": "Event.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "Workflow Identifier",
        "identity": "openehr"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "RiskAssessment.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RiskAssessment.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.basedOn",
      "min": 0,
      "definition": "A reference to the request that is fulfilled by this risk assessment.",
      "isModifier": false,
      "short": "Request fulfilled by this assessment",
      "mapping": [ {
        "map": "Event.basedOn",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "max": "1",
      "id": "RiskAssessment.basedOn",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.basedOn"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.parent",
      "min": 0,
      "definition": "A reference to a resource that this risk assessment is part of, such as a Procedure.",
      "isModifier": false,
      "short": "Part of this occurrence",
      "mapping": [ {
        "map": "Event.partOf",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "max": "1",
      "id": "RiskAssessment.parent",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.parent"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.status",
      "min": 1,
      "definition": "The status of the RiskAssessment, using the same statuses as an Observation.",
      "isModifier": false,
      "short": "registered | preliminary | final | amended +",
      "mapping": [ {
        "map": "Event.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RiskAssessmentStatus"
        } ],
        "description": "The status of the risk assessment; e.g. preliminary, final, amended, etc."
      },
      "max": "1",
      "id": "RiskAssessment.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "RiskAssessment.status"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.method",
      "requirements": "The method can influence the results of the assessment.",
      "min": 0,
      "definition": "The algorithm, process or mechanism used to evaluate the risk.",
      "isModifier": false,
      "short": "Evaluation mechanism",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".methodCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RiskAssessmentMethod"
        } ],
        "description": "The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc."
      },
      "max": "1",
      "id": "RiskAssessment.method",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.method"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.code",
      "min": 0,
      "definition": "The type of the risk assessment performed.",
      "isModifier": false,
      "short": "Type of assessment",
      "mapping": [ {
        "map": "Event.code",
        "identity": "workflow"
      }, {
        "map": "FiveWs.what[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "RiskAssessment.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.subject",
      "min": 1,
      "definition": "The patient or group the risk assessment applies to.",
      "isModifier": false,
      "short": "Who/what does assessment apply to?",
      "mapping": [ {
        "map": "Event.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=SBJ].role",
        "identity": "rim"
      }, {
        "map": "Subject of Care",
        "identity": "openehr"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Patient-eltss" ]
      } ],
      "max": "1",
      "id": "RiskAssessment.subject",
      "base": {
        "max": "1",
        "min": 1,
        "path": "RiskAssessment.subject"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.encounter",
      "min": 0,
      "definition": "The encounter where the assessment was performed.",
      "isModifier": false,
      "short": "Where was assessment performed?",
      "mapping": [ {
        "map": "Event.encounter",
        "identity": "workflow"
      }, {
        "map": "FiveWs.context",
        "identity": "w5"
      }, {
        "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" ]
      } ],
      "max": "1",
      "id": "RiskAssessment.encounter",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.encounter"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.occurrence[x]",
      "requirements": "The assessment results lose validity the more time elapses from when they are first made.",
      "min": 0,
      "definition": "The date (and possibly time) the risk assessment was performed.",
      "isModifier": false,
      "short": "When was assessment made?",
      "mapping": [ {
        "map": "Event.occurrence[x]",
        "identity": "workflow"
      }, {
        "map": "FiveWs.done[x]",
        "identity": "w5"
      }, {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      } ],
      "max": "1",
      "id": "RiskAssessment.occurrence[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.occurrence[x]"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.condition",
      "min": 0,
      "definition": "For assessments or prognosis specific to a particular condition, indicates the condition being assessed.",
      "isModifier": false,
      "short": "Condition assessed",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Condition-eltss" ]
      } ],
      "max": "1",
      "id": "RiskAssessment.condition",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.condition"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.performer",
      "min": 0,
      "definition": "The provider or software application that performed the assessment.",
      "isModifier": false,
      "short": "Who did assessment?",
      "mapping": [ {
        "map": "Event.performer.actor",
        "identity": "workflow"
      }, {
        "map": "FiveWs.actor",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=PFM].role[classCode=ASSIGNED]",
        "identity": "rim"
      }, {
        "map": "Information Provider",
        "identity": "openehr"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Practitioner-eltss", "http://hl7.org/fhir/us/eltss/StructureDefinition/PractitionerRole-eltss", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "max": "1",
      "id": "RiskAssessment.performer",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.performer"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.reasonCode",
      "min": 0,
      "definition": "The reason the risk assessment was performed.",
      "isModifier": false,
      "short": "Why the assessment was necessary?",
      "mapping": [ {
        "map": "Event.reasonCode",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "RiskAssessment.reasonCode",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RiskAssessment.reasonCode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.reasonReference",
      "min": 0,
      "definition": "Resources supporting the reason the risk assessment was performed.",
      "isModifier": false,
      "short": "Why the assessment was necessary?",
      "mapping": [ {
        "map": "Event.reasonReference",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Condition-eltss", "http://hl7.org/fhir/us/eltss/StructureDefinition/Observation-eltss", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" ]
      } ],
      "max": "*",
      "id": "RiskAssessment.reasonReference",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RiskAssessment.reasonReference"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.basis",
      "min": 0,
      "definition": "Indicates the source data considered as part of the assessment (for example, FamilyHistory, Observations, Procedures, Conditions, etc.).",
      "isModifier": false,
      "short": "Information used in assessment",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=DRIV].target",
        "identity": "rim"
      }, {
        "map": "Risk Factor; Link to Evidence",
        "identity": "openehr"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "max": "*",
      "id": "RiskAssessment.basis",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RiskAssessment.basis"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ras-2",
        "human": "Must be <= 100",
        "xpath": "not(f:probabilityDecimal) or f:probabilityDecimal/@value <= 100",
        "source": "http://hl7.org/fhir/StructureDefinition/RiskAssessment",
        "severity": "error",
        "expression": "probability is decimal implies (probability as decimal) <= 100"
      } ],
      "path": "RiskAssessment.prediction",
      "min": 0,
      "definition": "An aspect of a person’s life, behavior, environmental exposure, personal characteristic, or barrier that increases the likelihood of  disease, condition,  injury to self or others, or interaction with the criminal justice system.",
      "isModifier": false,
      "short": "Identified Risk",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=VALUE].target[classCod=OBS, moodCode=RISK]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "RiskAssessment.prediction",
      "comment": "Multiple repetitions can be used to identify the same type of outcome in different timeframes as well as different types of outcomes.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RiskAssessment.prediction"
      },
      "isSummary": false
    }, {
      "path": "RiskAssessment.prediction.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "RiskAssessment.prediction.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "RiskAssessment.prediction.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "RiskAssessment.prediction.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "RiskAssessment.prediction.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "RiskAssessment.prediction.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.prediction.outcome",
      "min": 0,
      "definition": "One of the potential outcomes for the patient (e.g. remission, death,  a particular condition).",
      "isModifier": false,
      "short": "Possible outcome for the subject",
      "mapping": [ {
        "map": ".value",
        "identity": "rim"
      }, {
        "map": "Risk",
        "identity": "openehr"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v2-0241",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RiskPredictionOutcome"
        } ],
        "description": "The condition or other outcome; e.g. death, remission, amputation, infection, etc."
      },
      "max": "1",
      "id": "RiskAssessment.prediction.outcome",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.prediction.outcome"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ras-1",
        "human": "low and high must be percentages, if present",
        "xpath": "(not(f:low) or f:low[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org']) and (not(f:high) or f:high[f:code/@value='%' and f:system/@value='http://unitsofmeasure.org'])",
        "source": "http://hl7.org/fhir/StructureDefinition/RiskAssessment",
        "severity": "error",
        "expression": "(low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))"
      } ],
      "path": "RiskAssessment.prediction.probability[x]",
      "min": 0,
      "definition": "Indicates how likely the outcome is (in the specified timeframe).",
      "isModifier": false,
      "short": "Likelihood of specified outcome",
      "mapping": [ {
        "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"probability\"].value",
        "identity": "rim"
      }, {
        "map": "Category",
        "identity": "openehr"
      } ],
      "type": [ {
        "code": "decimal"
      }, {
        "code": "Range"
      } ],
      "max": "1",
      "id": "RiskAssessment.prediction.probability[x]",
      "comment": "If range is used, it represents the lower and upper bounds of certainty; e.g. 40-60%  Decimal values are expressed as percentages as well (max = 100).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.prediction.probability[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.prediction.qualitativeRisk",
      "min": 0,
      "definition": "Indicates how likely the outcome is (in the specified timeframe), expressed as a qualitative value (e.g. low, medium, or high).",
      "isModifier": false,
      "short": "Likelihood of specified outcome as a qualitative value",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/risk-probability",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RiskAssessmentProbability"
        } ],
        "description": "The likelihood of the occurrence of a specified outcome."
      },
      "max": "1",
      "id": "RiskAssessment.prediction.qualitativeRisk",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.prediction.qualitativeRisk"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.prediction.relativeRisk",
      "requirements": "Absolute risk is less meaningful than relative risk.",
      "min": 0,
      "definition": "Indicates the risk for this particular subject (with their specific characteristics) divided by the risk of the population in general.  (Numbers greater than 1 = higher risk than the population, numbers less than 1 = lower risk.).",
      "isModifier": false,
      "short": "Relative likelihood",
      "mapping": [ {
        "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"relative risk\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "RiskAssessment.prediction.relativeRisk",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.prediction.relativeRisk"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.prediction.when[x]",
      "min": 0,
      "definition": "Indicates the period of time or age range of the subject to which the specified probability applies.",
      "isModifier": false,
      "short": "Timeframe or age range",
      "mapping": [ {
        "map": ".effectiveTime or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Period"
      }, {
        "code": "Range"
      } ],
      "max": "1",
      "id": "RiskAssessment.prediction.when[x]",
      "comment": "If not specified, the risk applies \"over the subject's lifespan\".",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.prediction.when[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.prediction.rationale",
      "min": 0,
      "definition": "Additional information explaining the basis for the prediction.",
      "isModifier": false,
      "short": "Explanation of prediction",
      "mapping": [ {
        "map": ".reasonCode.text",
        "identity": "rim"
      }, {
        "map": "Rationale",
        "identity": "openehr"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "RiskAssessment.prediction.rationale",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.prediction.rationale"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.mitigation",
      "requirements": "One of the main reasons for assessing risks is to identify whether interventional steps are needed to reduce risk.",
      "min": 0,
      "definition": "Description of planned activities to minimize identified risks that endanger the person's health and safety. This can be included as free text or attachment.",
      "isModifier": false,
      "short": "Risk Management Plan",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=MTGT].target[classCode=ACT, moodCode=EVN].text",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "RiskAssessment.mitigation",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RiskAssessment.mitigation"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "RiskAssessment.note",
      "min": 0,
      "definition": "Additional comments about the risk assessment.",
      "isModifier": false,
      "short": "Comments on the risk assessment",
      "mapping": [ {
        "map": "Event.note",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "max": "*",
      "id": "RiskAssessment.note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RiskAssessment.note"
      },
      "isSummary": false
    } ]
  },
  "status": "active",
  "id": "69c33a5b-1a53-4175-bb68-5b1c193531e4",
  "kind": "resource",
  "url": "http://hl7.org/fhir/us/eltss/StructureDefinition/RiskAssessment-eltss",
  "version": "2.0.0",
  "differential": {
    "element": [ {
      "id": "RiskAssessment.extension",
      "path": "RiskAssessment.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "RiskAssessment.extension:riskPlan",
      "max": "*",
      "min": 0,
      "path": "RiskAssessment.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/eltss-RiskPlan" ]
      } ],
      "sliceName": "riskPlan",
      "mustSupport": true
    }, {
      "id": "RiskAssessment.extension:resource-pertainsToGoal",
      "max": "*",
      "min": 0,
      "path": "RiskAssessment.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal" ]
      } ],
      "short": "The resource-pertainsToGoal relates the resource to the goal(s) that pertain to it. Whenever there is a goal associated with a health concern or problem, this extension should be present and populated in activity (event or intent) resources.",
      "sliceName": "resource-pertainsToGoal",
      "mustSupport": true
    }, {
      "id": "RiskAssessment.subject",
      "path": "RiskAssessment.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Patient-eltss" ]
      } ]
    }, {
      "id": "RiskAssessment.encounter",
      "path": "RiskAssessment.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" ]
      } ]
    }, {
      "id": "RiskAssessment.condition",
      "path": "RiskAssessment.condition",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Condition-eltss" ]
      } ]
    }, {
      "id": "RiskAssessment.performer",
      "path": "RiskAssessment.performer",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Practitioner-eltss", "http://hl7.org/fhir/us/eltss/StructureDefinition/PractitionerRole-eltss", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ]
    }, {
      "id": "RiskAssessment.reasonReference",
      "path": "RiskAssessment.reasonReference",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/eltss/StructureDefinition/Condition-eltss", "http://hl7.org/fhir/us/eltss/StructureDefinition/Observation-eltss", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" ]
      } ]
    }, {
      "id": "RiskAssessment.prediction",
      "path": "RiskAssessment.prediction",
      "short": "Identified Risk",
      "definition": "An aspect of a person’s life, behavior, environmental exposure, personal characteristic, or barrier that increases the likelihood of  disease, condition,  injury to self or others, or interaction with the criminal justice system."
    }, {
      "id": "RiskAssessment.prediction.outcome",
      "path": "RiskAssessment.prediction.outcome",
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v2-0241",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RiskPredictionOutcome"
        } ],
        "description": "The condition or other outcome; e.g. death, remission, amputation, infection, etc."
      }
    }, {
      "id": "RiskAssessment.mitigation",
      "path": "RiskAssessment.mitigation",
      "short": "Risk Management Plan",
      "definition": "Description of planned activities to minimize identified risks that endanger the person's health and safety. This can be included as free text or attachment.",
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "name": "HL7 International / Human and Social Services",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/hsswg",
      "system": "url"
    }, {
      "value": "hhswg@lists.HL7.org",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RiskAssessment"
}