PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.2.0
    https://mednet.swiss/fhir/StructureDefinition/mni-obs-riskFactor
description: MedNet Interface (MNI) - Risk Factor
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIRiskFactor
type: Observation
elements:
  id: {short: 'The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters ''A''..''Z'', and ''a''..''z'', numerals (''0''..''9''), ''-'' and ''.'' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)', mustSupport: true, index: 0}
  status:
    short: final
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 1
  category:
    mustSupport: true
    index: 2
    elements:
      coding:
        mustSupport: true
        index: 3
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            mustSupport: true
            index: 4
          code:
            pattern: {type: Code, value: social-history}
            mustSupport: true
            index: 5
          display:
            pattern: {type: String, value: Social History}
            mustSupport: true
            index: 6
        required: [system, code]
  code:
    short: Risk factor
    mustSupport: true
    index: 7
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 8
          code:
            pattern: {type: Code, value: '80943009'}
            mustSupport: true
            index: 9
          display:
            pattern: {type: String, value: Risk Factor}
            mustSupport: true
            index: 10
        required: [system, code]
  subject:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 11
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 13
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 14}
  value[x]:
    elements:
      coding:
        mustSupport: true
        index: 15
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 16
          code: {mustSupport: true, index: 17}
          display: {mustSupport: true, index: 18}
        required: [system, code]
      text: {short: Should contain the full name or label of the risk assessment, mustSupport: true, index: 19}
    required: [text]
package_version: 0.2.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-obs-riskFactor
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.2.0
required: [value, valueCodeableConcept, category, code]