mn-core-risk-assessment
type: StructureDefinition
node role: treeRoot
id:
  v: mn-core-risk-assessment
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition mn-core-risk-assessment Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> RiskAssessment 0..* RiskAssessment Potential outcomes for a subject with likelihood #xD; status S 1..1 code Статус (registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown) #xD; code S 0..1 CodeableConcept Ямар эрсдэлийн үнэлгээ (SNOMED/LOINC код) #xD; subject S 1..1 Reference(Монгол улсын үндсэн Patient профайл) Өвчтөн #xD; encounter S 0..1 Reference(Монгол улсын үндсэн Encounter профайл) Холбоотой үзлэг (ANC visit эсвэл хяналтын Encounter) #xD; Slices for occurrence[x] 0..1 dateTime, Period When was assessment made? Slice: Unordered, Open by type:$this #xD; occurrence[x]:occurrenceDateTime S 0..1 dateTime Үнэлгээ хийсэн огноо #xD; performer S 0..1 Reference(Монгол улсын үндсэн Practitioner профайл | Монгол улсын үндсэн PractitionerRole профайл) Үнэлгээ хийсэн эмч #xD; reasonReference S 0..* Reference(Монгол улсын үндсэн Condition профайл | Монгол улсын үндсэн Observation профайл) Эрсдэлийн үндэслэл болсон Condition/Observation #xD; basis S 0..* Reference(Resource) Үнэлгээний үндэс болсон мэдээлэл (Observation, QuestionnaireResponse гэх мэт) #xD; prediction S 0..* BackboneElement Эрсдэлийн таамаглал #xD; outcome S 0..1 CodeableConcept Таамагласан үр дагавар #xD; Slices for probability[x] 0..1 decimal, Range Likelihood of specified outcome Slice: Unordered, Open by type:$this #xD; probability[x]:probabilityDecimal S 0..1 decimal Магадлал (0.0–1.0) #xD; qualitativeRisk S 0..1 CodeableConcept Чанарын эрсдэл (өндөр / дунд / бага) Binding: RiskProbability (required) #xD; mitigation S 0..1 string Эрсдэлийг бууруулах арга хэмжээ #xD; note S 0..* Annotation Нэмэлт тэмдэглэл #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://fhir.mn/fhir/StructureDefinition/mn-core-risk-assessment
  l: mn-core-risk-assessment
version:
  v: 0.1.0
name:
  v: MNCoreRiskAssessment
title:
  v: Монгол улсын үндсэн RiskAssessment профайл
status:
  v: draft
date:
  v: 2026-09-08T10:09:36+08:00
publisher:
  v: Эрүүл мэндийн хөгжлийн төв (Health Development Center, Mongolia)
contact:
  name:
    v: Эрүүл мэндийн хөгжлийн төв (Health Development Center, Mongolia)
  telecom:
    system:
      v: url
    value:
      v: https://hdc.gov.mn
contact:
  name:
    v: Эрүүл мэндийн хөгжлийн төв (Health Development Center)
  telecom:
    system:
      v: url
    value:
      v: https://hdc.gov.mn
description:
  v: Жирэмслэлтийн болон архаг өвчний эрсдэлийн үнэлгээний профайл. EpisodeOfCare дотор давтагдах Encounter бүрт бөглөнө (WHO SMART ANC загвар).
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: MN
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
    l: workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
    l: v2
  name:
    v: HL7 v2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: openehr
  uri:
    v: http://openehr.org
    l: openehr.org
  name:
    v: Open EHR Archetype Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: RiskAssessment
  l: RiskAssessment
base definition:
  v: http://hl7.org/fhir/StructureDefinition/RiskAssessment
  l: RiskAssessment
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: RiskAssessment
    path:
      v: RiskAssessment
    short:
      v: Potential outcomes for a subject with likelihood
    definition:
      v: An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.
    alias:
      v: Prognosis
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: RiskAssessment
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: 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
      expression:
        v: 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()
      xpath:
        v: 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:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:security))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      extension:
        value: Boolean
      extension:
        value: Markdown
      key:
        v: dom-6
      severity:
        v: warning
      human:
        v: A resource should have narrative for robust management
      expression:
        v: text.`div`.exists()
      xpath:
        v: exists(f:text/h:div)

Boolean
v: true

Markdown
v: 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.

v: false

v: false

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: workflow
map:
  v: Event

identity:
  v: v2
map:
  v: N/A

identity:
  v: rim
map:
  v: Observation[classCode=OBS, moodCode=EVN, code="Risk Assessment"]

identity:
  v: openehr
map:
  v: OpenEHR-EHR-EVALUATION.risk.v1

id:
  v: RiskAssessment.id
path:
  v: RiskAssessment.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: RiskAssessment.meta
path:
  v: RiskAssessment.meta
short:
  v: Metadata about the resource
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: RiskAssessment.implicitRules
path:
  v: RiskAssessment.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: 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.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: 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
is summary:
  v: true

id:
  v: RiskAssessment.language
path:
  v: RiskAssessment.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Canonical
      v: http://hl7.org/fhir/ValueSet/all-languages
      l: all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages|4.0.1
    l: http://hl7.org/fhir/ValueSet/languages

id:
  v: RiskAssessment.text
path:
  v: RiskAssessment.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: RiskAssessment.contained
path:
  v: RiskAssessment.contained
short:
  v: Contained, inline Resources
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: RiskAssessment.extension
path:
  v: RiskAssessment.extension
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource. 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: RiskAssessment.modifierExtension
path:
  v: RiskAssessment.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: RiskAssessment.identifier
path:
  v: RiskAssessment.identifier
short:
  v: Unique identifier for the assessment
definition:
  v: Business identifier assigned to the risk assessment.
min:
  v: 0
max:
  v: *
base:
  path:
    v: RiskAssessment.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: openehr
  map:
    v: Workflow Identifier

id:
  v: RiskAssessment.basedOn
path:
  v: RiskAssessment.basedOn
short:
  v: Request fulfilled by this assessment
definition:
  v: A reference to the request that is fulfilled by this risk assessment.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.basedOn
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.basedOn

id:
  v: RiskAssessment.parent
path:
  v: RiskAssessment.parent
short:
  v: Part of this occurrence
definition:
  v: A reference to a resource that this risk assessment is part of, such as a Procedure.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.parent
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.partOf

id:
  v: RiskAssessment.status
path:
  v: RiskAssessment.status
short:
  v: Статус (registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown)
definition:
  v: The status of the RiskAssessment, using the same statuses as an Observation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RiskAssessment.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: RiskAssessmentStatus
  strength:
    v: required
  description:
    v: The status of the risk assessment; e.g. preliminary, final, amended, etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-status|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-status
mapping:
  identity:
    v: workflow
  map:
    v: Event.status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status

id:
  v: RiskAssessment.method
path:
  v: RiskAssessment.method
short:
  v: Evaluation mechanism
definition:
  v: The algorithm, process or mechanism used to evaluate the risk.
requirements:
  v: The method can influence the results of the assessment.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.method
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: RiskAssessmentMethod
  strength:
    v: example
  description:
    v: The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc.
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: rim
  map:
    v: .methodCode

id:
  v: RiskAssessment.code
path:
  v: RiskAssessment.code
short:
  v: Ямар эрсдэлийн үнэлгээ (SNOMED/LOINC код)
definition:
  v: The type of the risk assessment performed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]

id:
  v: RiskAssessment.subject
path:
  v: RiskAssessment.subject
short:
  v: Өвчтөн
definition:
  v: The patient or group the risk assessment applies to.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RiskAssessment.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.mn/fhir/StructureDefinition/mn-core-patient
    l: mn-core-patient
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].role
mapping:
  identity:
    v: openehr
  map:
    v: Subject of Care
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: RiskAssessment.encounter
path:
  v: RiskAssessment.encounter
short:
  v: Холбоотой үзлэг (ANC visit эсвэл хяналтын Encounter)
definition:
  v: The encounter where the assessment was performed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.mn/fhir/StructureDefinition/mn-core-encounter
    l: mn-core-encounter
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.encounter
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]

id:
  v: RiskAssessment.occurrence[x]
path:
  v: RiskAssessment.occurrence[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: When was assessment made?
definition:
  v: The date (and possibly time) the risk assessment was performed.
requirements:
  v: The assessment results lose validity the more time elapses from when they are first made.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.occurrence[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: RiskAssessment.occurrence[x]:occurrenceDateTime
path:
  v: RiskAssessment.occurrence[x]
slice name:
  v: occurrenceDateTime
short:
  v: Үнэлгээ хийсэн огноо
definition:
  v: The date (and possibly time) the risk assessment was performed.
requirements:
  v: The assessment results lose validity the more time elapses from when they are first made.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.occurrence[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: RiskAssessment.condition
path:
  v: RiskAssessment.condition
short:
  v: Condition assessed
definition:
  v: For assessments or prognosis specific to a particular condition, indicates the condition being assessed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.condition
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Condition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]

id:
  v: RiskAssessment.performer
path:
  v: RiskAssessment.performer
short:
  v: Үнэлгээ хийсэн эмч
definition:
  v: The provider or software application that performed the assessment.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.performer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.mn/fhir/StructureDefinition/mn-core-practitioner
    l: mn-core-practitioner
  target profile:
    v: http://fhir.mn/fhir/StructureDefinition/mn-core-practitioner-role
    l: mn-core-practitioner-role
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.performer.actor
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM].role[classCode=ASSIGNED]
mapping:
  identity:
    v: openehr
  map:
    v: Information Provider

id:
  v: RiskAssessment.reasonCode
path:
  v: RiskAssessment.reasonCode
short:
  v: Why the assessment was necessary?
definition:
  v: The reason the risk assessment was performed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: RiskAssessment.reasonCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.reasonCode
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]

id:
  v: RiskAssessment.reasonReference
path:
  v: RiskAssessment.reasonReference
short:
  v: Эрсдэлийн үндэслэл болсон Condition/Observation
definition:
  v: Resources supporting the reason the risk assessment was performed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: RiskAssessment.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.mn/fhir/StructureDefinition/mn-core-condition
    l: mn-core-condition
  target profile:
    v: http://fhir.mn/fhir/StructureDefinition/mn-core-observation
    l: mn-core-observation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.reasonReference
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]

id:
  v: RiskAssessment.basis
path:
  v: RiskAssessment.basis
short:
  v: Үнэлгээний үндэс болсон мэдээлэл (Observation, QuestionnaireResponse гэх мэт)
definition:
  v: Indicates the source data considered as part of the assessment (for example, FamilyHistory, Observations, Procedures, Conditions, etc.).
min:
  v: 0
max:
  v: *
base:
  path:
    v: RiskAssessment.basis
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DRIV].target
mapping:
  identity:
    v: openehr
  map:
    v: Risk Factor; Link to Evidence

id:
  v: RiskAssessment.prediction
path:
  v: RiskAssessment.prediction
short:
  v: Эрсдэлийн таамаглал
definition:
  v: Describes the expected outcome for the subject.
comment:
  v: Multiple repetitions can be used to identify the same type of outcome in different timeframes as well as different types of outcomes.
min:
  v: 0
max:
  v: *
base:
  path:
    v: RiskAssessment.prediction
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ras-2
  severity:
    v: error
  human:
    v: Must be <= 100
  expression:
    v: probability is decimal implies (probability as decimal) <= 100
  xpath:
    v: not(f:probabilityDecimal) or f:probabilityDecimal/@value <= 100
  source:
    v: http://hl7.org/fhir/StructureDefinition/RiskAssessment
    l: RiskAssessment
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=VALUE].target[classCod=OBS, moodCode=RISK]

id:
  v: RiskAssessment.prediction.id
path:
  v: RiskAssessment.prediction.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: RiskAssessment.prediction.extension
path:
  v: RiskAssessment.prediction.extension
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: RiskAssessment.prediction.modifierExtension
path:
  v: RiskAssessment.prediction.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: RiskAssessment.prediction.outcome
path:
  v: RiskAssessment.prediction.outcome
short:
  v: Таамагласан үр дагавар
definition:
  v: One of the potential outcomes for the patient (e.g. remission, death, a particular condition).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.prediction.outcome
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: RiskAssessmentOutcome
  strength:
    v: example
  description:
    v: The condition or other outcome; e.g. death, remission, amputation, infection, etc.
mapping:
  identity:
    v: rim
  map:
    v: .value
mapping:
  identity:
    v: openehr
  map:
    v: Risk

id:
  v: RiskAssessment.prediction.probability[x]
path:
  v: RiskAssessment.prediction.probability[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: Likelihood of specified outcome
definition:
  v: Indicates how likely the outcome is (in the specified timeframe).
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.prediction.probability[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: Range
    l: Range
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ras-1
  severity:
    v: error
  human:
    v: low and high must be percentages, if present
  expression:
    v: (low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))
  xpath:
    v: (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:
    v: http://hl7.org/fhir/StructureDefinition/RiskAssessment
    l: RiskAssessment
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="probability"].value
mapping:
  identity:
    v: openehr
  map:
    v: Category

id:
  v: RiskAssessment.prediction.probability[x]:probabilityDecimal
path:
  v: RiskAssessment.prediction.probability[x]
slice name:
  v: probabilityDecimal
short:
  v: Магадлал (0.0–1.0)
definition:
  v: Indicates how likely the outcome is (in the specified timeframe).
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.prediction.probability[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ras-1
  severity:
    v: error
  human:
    v: low and high must be percentages, if present
  expression:
    v: (low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))
  xpath:
    v: (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:
    v: http://hl7.org/fhir/StructureDefinition/RiskAssessment
    l: RiskAssessment
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="probability"].value
mapping:
  identity:
    v: openehr
  map:
    v: Category

id:
  v: RiskAssessment.prediction.qualitativeRisk
path:
  v: RiskAssessment.prediction.qualitativeRisk
short:
  v: Чанарын эрсдэл (өндөр / дунд / бага)
definition:
  v: Indicates how likely the outcome is (in the specified timeframe), expressed as a qualitative value (e.g. low, medium, or high).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.prediction.qualitativeRisk
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/risk-probability
    l: risk-probability

id:
  v: RiskAssessment.prediction.relativeRisk
path:
  v: RiskAssessment.prediction.relativeRisk
short:
  v: Relative likelihood
definition:
  v: 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.).
requirements:
  v: Absolute risk is less meaningful than relative risk.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.prediction.relativeRisk
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="relative risk"].value

id:
  v: RiskAssessment.prediction.when[x]
path:
  v: RiskAssessment.prediction.when[x]
short:
  v: Timeframe or age range
definition:
  v: Indicates the period of time or age range of the subject to which the specified probability applies.
comment:
  v: If not specified, the risk applies "over the subject's lifespan".
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.prediction.when[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Range
    l: Range
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age"].value

id:
  v: RiskAssessment.prediction.rationale
path:
  v: RiskAssessment.prediction.rationale
short:
  v: Explanation of prediction
definition:
  v: Additional information explaining the basis for the prediction.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.prediction.rationale
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode.text
mapping:
  identity:
    v: openehr
  map:
    v: Rationale

id:
  v: RiskAssessment.mitigation
path:
  v: RiskAssessment.mitigation
short:
  v: Эрсдэлийг бууруулах арга хэмжээ
definition:
  v: A description of the steps that might be taken to reduce the identified risk(s).
requirements:
  v: One of the main reasons for assessing risks is to identify whether interventional steps are needed to reduce risk.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RiskAssessment.mitigation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=MTGT].target[classCode=ACT, moodCode=EVN].text

id:
  v: RiskAssessment.note
path:
  v: RiskAssessment.note
short:
  v: Нэмэлт тэмдэглэл
definition:
  v: Additional comments about the risk assessment.
min:
  v: 0
max:
  v: *
base:
  path:
    v: RiskAssessment.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
    l: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.note

element:
  id:
    v: RiskAssessment
  path:
    v: RiskAssessment
element:
  id:
    v: RiskAssessment.status
  path:
    v: RiskAssessment.status
  short:
    v: Статус (registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown)
  must support:
    v: true
element:
  id:
    v: RiskAssessment.code
  path:
    v: RiskAssessment.code
  short:
    v: Ямар эрсдэлийн үнэлгээ (SNOMED/LOINC код)
  must support:
    v: true
element:
  id:
    v: RiskAssessment.subject
  path:
    v: RiskAssessment.subject
  short:
    v: Өвчтөн
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://fhir.mn/fhir/StructureDefinition/mn-core-patient
      l: mn-core-patient
  must support:
    v: true
element:
  id:
    v: RiskAssessment.encounter
  path:
    v: RiskAssessment.encounter
  short:
    v: Холбоотой үзлэг (ANC visit эсвэл хяналтын Encounter)
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://fhir.mn/fhir/StructureDefinition/mn-core-encounter
      l: mn-core-encounter
  must support:
    v: true
element:
  id:
    v: RiskAssessment.occurrence[x]
  path:
    v: RiskAssessment.occurrence[x]
  slicing:
    discriminator:
      type:
        v: type
      path:
        v: $this
    ordered:
      v: false
    rules:
      v: open
element:
  id:
    v: RiskAssessment.occurrence[x]:occurrenceDateTime
  path:
    v: RiskAssessment.occurrence[x]
  slice name:
    v: occurrenceDateTime
  short:
    v: Үнэлгээ хийсэн огноо
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
  must support:
    v: true
element:
  id:
    v: RiskAssessment.performer
  path:
    v: RiskAssessment.performer
  short:
    v: Үнэлгээ хийсэн эмч
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://fhir.mn/fhir/StructureDefinition/mn-core-practitioner
      l: mn-core-practitioner
    target profile:
      v: http://fhir.mn/fhir/StructureDefinition/mn-core-practitioner-role
      l: mn-core-practitioner-role
  must support:
    v: true
element:
  id:
    v: RiskAssessment.reasonReference
  path:
    v: RiskAssessment.reasonReference
  short:
    v: Эрсдэлийн үндэслэл болсон Condition/Observation
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://fhir.mn/fhir/StructureDefinition/mn-core-condition
      l: mn-core-condition
    target profile:
      v: http://fhir.mn/fhir/StructureDefinition/mn-core-observation
      l: mn-core-observation
  must support:
    v: true
element:
  id:
    v: RiskAssessment.basis
  path:
    v: RiskAssessment.basis
  short:
    v: Үнэлгээний үндэс болсон мэдээлэл (Observation, QuestionnaireResponse гэх мэт)
  must support:
    v: true
element:
  id:
    v: RiskAssessment.prediction
  path:
    v: RiskAssessment.prediction
  short:
    v: Эрсдэлийн таамаглал
  must support:
    v: true
element:
  id:
    v: RiskAssessment.prediction.outcome
  path:
    v: RiskAssessment.prediction.outcome
  short:
    v: Таамагласан үр дагавар
  must support:
    v: true
element:
  id:
    v: RiskAssessment.prediction.probability[x]
  path:
    v: RiskAssessment.prediction.probability[x]
  slicing:
    discriminator:
      type:
        v: type
      path:
        v: $this
    ordered:
      v: false
    rules:
      v: open
element:
  id:
    v: RiskAssessment.prediction.probability[x]:probabilityDecimal
  path:
    v: RiskAssessment.prediction.probability[x]
  slice name:
    v: probabilityDecimal
  short:
    v: Магадлал (0.0–1.0)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: decimal
      l: decimal
  must support:
    v: true
element:
  id:
    v: RiskAssessment.prediction.qualitativeRisk
  path:
    v: RiskAssessment.prediction.qualitativeRisk
  short:
    v: Чанарын эрсдэл (өндөр / дунд / бага)
  must support:
    v: true
  binding:
    strength:
      v: required
    value set:
      v: http://hl7.org/fhir/ValueSet/risk-probability
      l: risk-probability

id:
  v: RiskAssessment.mitigation
path:
  v: RiskAssessment.mitigation
short:
  v: Эрсдэлийг бууруулах арга хэмжээ
must support:
  v: true

id:
  v: RiskAssessment.note
path:
  v: RiskAssessment.note
short:
  v: Нэмэлт тэмдэглэл
must support:
  v: true