This page is part of the electronic Long-Term Services and Supports Implementation Guide (v2.0.0: STU2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/us/eltss/StructureDefinition/RiskAssessment-eltss | Version: 2.0.0 | |||
Standards status: Trial-use | Maturity Level: 2 | Computable Name: RiskAssessment_eltss |
RiskAssessment resource mapping for eLTSS
The following aids in finding the location of eLTSS data elements. See R4 FHIR Mapping page for complete guidance, here we are providing a subset of fields for convenience.
eLTSS Grouping | eLTSS Data Element Name | Data Element Definition (includes examples, expected list of values and usage note where applicable) | FHIR R4 Resource Element(s) | FHIR R4 Resource Element Cardinality (with US Core Constraints) | Additional Mapping Details |
---|---|---|---|---|---|
Risks | Identified Risk | An aspect of a person's life, behavior, environmental exposure, personal characteristic, Social determinants of health (SDOH), or other barrier that increases the likelihood of disease, condition, injury to self or others, or interaction with the criminal justice system. | CarePlan → supportingInfo(RiskAssessment) RiskAssessment → prediction → outcome → coding → code RiskAssessment → prediction → outcome → coding → system RiskAssessment → prediction → outcome → text |
CarePlan ...supportingInfo(RiskAssessment) 0..* ......prediction 0..* .........outcome 0..1 ............coding 0..* ...............code 0..1 ...............system 0..1 ............text 0..1 |
1) Will use CarePlan → supportingInfo to reference the RiskAssessment containing the Identified Risk. 2) outcome is a Codeable Concept that includes a text element that can be used for the identified risk itself if no appropriate coding is available. (outcome was mandatory prior to R4 version 3.3.0.) 3) prediction describes the expected outcome for the subject, and is the "prediction" of the risk. |
Risks | Risk Management Plan | 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. |
CarePlan → supportingInfo(RiskAssessment) RiskAssessment → mitigation RiskAssessment → extension(RiskAssessment Mitigation Plan) |
CarePlan ...supportingInfo(RiskAssessment) 0..* ......mitigation 0..1 ...RiskAssessment ...extension(RiskAssessment MitigationPlan) |
1) Will use CarePlan → supportingInfo to reference the RiskAssessment containing the Risk Management Plan. 2) mitigation is a string and would contain the free text Risk Management Plan. 3) The new RiskAssessment -> extension -> RiskAssessment Mitigation Plan which is a DocumentReference resource would be used if the Risk Management Plan is being provided as an attachment rather than as text. |
Data Requirements Not Specific to eLTSS Dataset Data Elements This section documents data elements that are mandatory per FHIR XML schemas or US Core requirements, but that do not align with individual eLTSS Dataset data elements. |
||||
---|---|---|---|---|
FHIR Data Element Name Requirement Source |
Data Element Definition | FHIR R4 Resource Element(s) | FHIR R4 Resource Element Cardinality (with US Core Constraints) | Additional Mapping Details |
RiskAssessment Status FHIR |
The status of the RiskAssessment, using the same statuses as an Observation. | RiskAssessment → status | RiskAssessment ...status 1 |
1) status is required by FHIR, and must use the ObservationStatus value set. Possible values are: registered, preliminary, final, amended, corrected, cancelled, entered-in-error and unknown. |
RiskAssessment Subject FHIR |
Identifies the patient, group or organization for whom the goal is being established. | RiskAssessment → subject(Patient) | RiskAssessment ...subject 1 |
1) subject is required by FHIR, and is a reference to a Patient. (Optional prior to R4 version 3.4.0.) |
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from RiskAssessment
Path | Conformance | ValueSet | URI |
RiskAssessment.prediction.outcome | example | Hl7VSPatientOutcomehttp://terminology.hl7.org/ValueSet/v2-0241 |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
RiskAssessment | 0..* | RiskAssessment | Potential outcomes for a subject with likelihood | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
riskPlan | S | 0..* | Reference(US Core DocumentReference Profile) | Extension URL: http://hl7.org/fhir/us/eltss/StructureDefinition/eltss-RiskPlan |
resource-pertainsToGoal | S | 0..* | Reference(Goal) | 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. URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | Σ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): The status of the risk assessment; e.g. preliminary, final, amended, etc. |
subject | Σ | 1..1 | Reference(Patient_eltss) | Who/what does assessment apply to? |
encounter | Σ | 0..1 | Reference(US Core Encounter Profile) | Where was assessment performed? |
condition | Σ | 0..1 | Reference(Condition_eltss) | Condition assessed |
performer | Σ | 0..1 | Reference(Practitioner_eltss | eLTSS PractitionerRole Profile | US Core Implantable Device Profile | Device) | Who did assessment? |
reasonReference | 0..* | Reference(Condition_eltss | Observation_eltss | US Core DiagnosticReport Profile for Report and Note Exchange | US Core DocumentReference Profile) | Why the assessment was necessary? | |
prediction | C | 0..* | BackboneElement | Identified Risk ras-2: Must be <= 100 |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
outcome | 0..1 | CodeableConcept | Possible outcome for the subject Binding: hl7VS-patientOutcome (example): The condition or other outcome; e.g. death, remission, amputation, infection, etc. | |
mitigation | S | 0..1 | string | Risk Management Plan |
Documentation for this format |
Path | Conformance | ValueSet | URI |
RiskAssessment.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | |
RiskAssessment.prediction.outcome | example | Hl7VSPatientOutcomehttp://terminology.hl7.org/ValueSet/v2-0241 |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | RiskAssessment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | RiskAssessment | 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 : 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() | |
dom-4 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | RiskAssessment | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ras-2 | error | RiskAssessment.prediction | Must be <= 100 : probability is decimal implies (probability as decimal) <= 100 |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
RiskAssessment | 0..* | RiskAssessment | Potential outcomes for a subject with likelihood | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
riskPlan | S | 0..* | Reference(US Core DocumentReference Profile) | Extension URL: http://hl7.org/fhir/us/eltss/StructureDefinition/eltss-RiskPlan | ||||
resource-pertainsToGoal | S | 0..* | Reference(Goal) | 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. URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | Unique identifier for the assessment | ||||
basedOn | 0..1 | Reference(Resource) | Request fulfilled by this assessment | |||||
parent | 0..1 | Reference(Resource) | Part of this occurrence | |||||
status | Σ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): The status of the risk assessment; e.g. preliminary, final, amended, etc. | ||||
method | Σ | 0..1 | CodeableConcept | Evaluation mechanism Binding: (unbound) (example): The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc. | ||||
code | Σ | 0..1 | CodeableConcept | Type of assessment | ||||
subject | Σ | 1..1 | Reference(Patient_eltss) | Who/what does assessment apply to? | ||||
encounter | Σ | 0..1 | Reference(US Core Encounter Profile) | Where was assessment performed? | ||||
occurrence[x] | Σ | 0..1 | When was assessment made? | |||||
occurrenceDateTime | dateTime | |||||||
occurrencePeriod | Period | |||||||
condition | Σ | 0..1 | Reference(Condition_eltss) | Condition assessed | ||||
performer | Σ | 0..1 | Reference(Practitioner_eltss | eLTSS PractitionerRole Profile | US Core Implantable Device Profile | Device) | Who did assessment? | ||||
reasonCode | 0..* | CodeableConcept | Why the assessment was necessary? | |||||
reasonReference | 0..* | Reference(Condition_eltss | Observation_eltss | US Core DiagnosticReport Profile for Report and Note Exchange | US Core DocumentReference Profile) | Why the assessment was necessary? | |||||
basis | 0..* | Reference(Resource) | Information used in assessment | |||||
prediction | C | 0..* | BackboneElement | Identified Risk ras-2: Must be <= 100 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
outcome | 0..1 | CodeableConcept | Possible outcome for the subject Binding: hl7VS-patientOutcome (example): The condition or other outcome; e.g. death, remission, amputation, infection, etc. | |||||
probability[x] | C | 0..1 | Likelihood of specified outcome ras-1: low and high must be percentages, if present | |||||
probabilityDecimal | decimal | |||||||
probabilityRange | Range | |||||||
qualitativeRisk | 0..1 | CodeableConcept | Likelihood of specified outcome as a qualitative value Binding: RiskProbability (example): The likelihood of the occurrence of a specified outcome. | |||||
relativeRisk | 0..1 | decimal | Relative likelihood | |||||
when[x] | 0..1 | Timeframe or age range | ||||||
whenPeriod | Period | |||||||
whenRange | Range | |||||||
rationale | 0..1 | string | Explanation of prediction | |||||
mitigation | S | 0..1 | string | Risk Management Plan | ||||
note | 0..* | Annotation | Comments on the risk assessment | |||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
RiskAssessment.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
RiskAssessment.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | ||||
RiskAssessment.method | example | |||||
RiskAssessment.prediction.outcome | example | Hl7VSPatientOutcomehttp://terminology.hl7.org/ValueSet/v2-0241 | ||||
RiskAssessment.prediction.qualitativeRisk | example | RiskProbabilityhttp://hl7.org/fhir/ValueSet/risk-probability from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | RiskAssessment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | RiskAssessment | 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 : 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() | |
dom-4 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | RiskAssessment | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ras-1 | error | RiskAssessment.prediction.probability[x] | low and high must be percentages, if present : (low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum))) | |
ras-2 | error | RiskAssessment.prediction | Must be <= 100 : probability is decimal implies (probability as decimal) <= 100 |
This structure is derived from RiskAssessment
Summary
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Maturity: 2
Differential View
This structure is derived from RiskAssessment
Path | Conformance | ValueSet | URI |
RiskAssessment.prediction.outcome | example | Hl7VSPatientOutcomehttp://terminology.hl7.org/ValueSet/v2-0241 |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
RiskAssessment | 0..* | RiskAssessment | Potential outcomes for a subject with likelihood | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
riskPlan | S | 0..* | Reference(US Core DocumentReference Profile) | Extension URL: http://hl7.org/fhir/us/eltss/StructureDefinition/eltss-RiskPlan |
resource-pertainsToGoal | S | 0..* | Reference(Goal) | 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. URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | Σ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): The status of the risk assessment; e.g. preliminary, final, amended, etc. |
subject | Σ | 1..1 | Reference(Patient_eltss) | Who/what does assessment apply to? |
encounter | Σ | 0..1 | Reference(US Core Encounter Profile) | Where was assessment performed? |
condition | Σ | 0..1 | Reference(Condition_eltss) | Condition assessed |
performer | Σ | 0..1 | Reference(Practitioner_eltss | eLTSS PractitionerRole Profile | US Core Implantable Device Profile | Device) | Who did assessment? |
reasonReference | 0..* | Reference(Condition_eltss | Observation_eltss | US Core DiagnosticReport Profile for Report and Note Exchange | US Core DocumentReference Profile) | Why the assessment was necessary? | |
prediction | C | 0..* | BackboneElement | Identified Risk ras-2: Must be <= 100 |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
outcome | 0..1 | CodeableConcept | Possible outcome for the subject Binding: hl7VS-patientOutcome (example): The condition or other outcome; e.g. death, remission, amputation, infection, etc. | |
mitigation | S | 0..1 | string | Risk Management Plan |
Documentation for this format |
Path | Conformance | ValueSet | URI |
RiskAssessment.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | |
RiskAssessment.prediction.outcome | example | Hl7VSPatientOutcomehttp://terminology.hl7.org/ValueSet/v2-0241 |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | RiskAssessment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | RiskAssessment | 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 : 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() | |
dom-4 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | RiskAssessment | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ras-2 | error | RiskAssessment.prediction | Must be <= 100 : probability is decimal implies (probability as decimal) <= 100 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
RiskAssessment | 0..* | RiskAssessment | Potential outcomes for a subject with likelihood | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
riskPlan | S | 0..* | Reference(US Core DocumentReference Profile) | Extension URL: http://hl7.org/fhir/us/eltss/StructureDefinition/eltss-RiskPlan | ||||
resource-pertainsToGoal | S | 0..* | Reference(Goal) | 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. URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | Unique identifier for the assessment | ||||
basedOn | 0..1 | Reference(Resource) | Request fulfilled by this assessment | |||||
parent | 0..1 | Reference(Resource) | Part of this occurrence | |||||
status | Σ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): The status of the risk assessment; e.g. preliminary, final, amended, etc. | ||||
method | Σ | 0..1 | CodeableConcept | Evaluation mechanism Binding: (unbound) (example): The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc. | ||||
code | Σ | 0..1 | CodeableConcept | Type of assessment | ||||
subject | Σ | 1..1 | Reference(Patient_eltss) | Who/what does assessment apply to? | ||||
encounter | Σ | 0..1 | Reference(US Core Encounter Profile) | Where was assessment performed? | ||||
occurrence[x] | Σ | 0..1 | When was assessment made? | |||||
occurrenceDateTime | dateTime | |||||||
occurrencePeriod | Period | |||||||
condition | Σ | 0..1 | Reference(Condition_eltss) | Condition assessed | ||||
performer | Σ | 0..1 | Reference(Practitioner_eltss | eLTSS PractitionerRole Profile | US Core Implantable Device Profile | Device) | Who did assessment? | ||||
reasonCode | 0..* | CodeableConcept | Why the assessment was necessary? | |||||
reasonReference | 0..* | Reference(Condition_eltss | Observation_eltss | US Core DiagnosticReport Profile for Report and Note Exchange | US Core DocumentReference Profile) | Why the assessment was necessary? | |||||
basis | 0..* | Reference(Resource) | Information used in assessment | |||||
prediction | C | 0..* | BackboneElement | Identified Risk ras-2: Must be <= 100 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
outcome | 0..1 | CodeableConcept | Possible outcome for the subject Binding: hl7VS-patientOutcome (example): The condition or other outcome; e.g. death, remission, amputation, infection, etc. | |||||
probability[x] | C | 0..1 | Likelihood of specified outcome ras-1: low and high must be percentages, if present | |||||
probabilityDecimal | decimal | |||||||
probabilityRange | Range | |||||||
qualitativeRisk | 0..1 | CodeableConcept | Likelihood of specified outcome as a qualitative value Binding: RiskProbability (example): The likelihood of the occurrence of a specified outcome. | |||||
relativeRisk | 0..1 | decimal | Relative likelihood | |||||
when[x] | 0..1 | Timeframe or age range | ||||||
whenPeriod | Period | |||||||
whenRange | Range | |||||||
rationale | 0..1 | string | Explanation of prediction | |||||
mitigation | S | 0..1 | string | Risk Management Plan | ||||
note | 0..* | Annotation | Comments on the risk assessment | |||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
RiskAssessment.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
RiskAssessment.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | ||||
RiskAssessment.method | example | |||||
RiskAssessment.prediction.outcome | example | Hl7VSPatientOutcomehttp://terminology.hl7.org/ValueSet/v2-0241 | ||||
RiskAssessment.prediction.qualitativeRisk | example | RiskProbabilityhttp://hl7.org/fhir/ValueSet/risk-probability from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | RiskAssessment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | RiskAssessment | 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 : 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() | |
dom-4 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | RiskAssessment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | RiskAssessment | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ras-1 | error | RiskAssessment.prediction.probability[x] | low and high must be percentages, if present : (low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum))) | |
ras-2 | error | RiskAssessment.prediction | Must be <= 100 : probability is decimal implies (probability as decimal) <= 100 |
This structure is derived from RiskAssessment
Summary
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Maturity: 2
Other representations of profile: CSV, Excel, Schematron