{
  "resourceType": "StructureDefinition",
  "id": "HdBe-FunctionalOrMentalStatus",
  "language": "en-US",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod",
      "valuePeriod": {
        "start": "2020-08-31T22:00:00+00:00"
      }
    }
  ],
  "url": "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-FunctionalOrMentalStatus",
  "name": "HdBeFunctionalOrMentalStatus",
  "_name": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBeFunctioneleOfMentaleStatus"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBeStatutFonctionnelOuMental"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "title": "HdBe FunctionalOrMentalStatus",
  "_title": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBe FunctioneleOfMentaleStatus"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBe StatutFonctionnelOuMental"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "status": "draft",
  "date": "2022-07-07T15:04:03.259205+00:00",
  "publisher": "Healthdata.be (Sciensano)",
  "contact": [
    {
      "name": "Service portal – healthdata.be",
      "telecom": [
        {
          "system": "url",
          "value": "https://sciensano.service-now.com/sp",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The functional or mental status provides insight into the patient’s functional and mental limitations.\r\n\r\n#### Purpose\r\nThe patient’s functional and mental status can be recorded to provide insight into the patient’s limitations which need to be taken into account for further treatment and care and in order to evaluate the effects of a treatment. \r\n\r\nDiagnoses with (the potential for) functional limitations are not to be recorded here. To record these, please use the Problem information model.",
  "_description": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "De functionele of mentale status geeft inzicht in de functionele en mentale beperkingen van de patiënt.&#13;\n#### Purpose&#13;\nDe functionele en mentale status van de patiënt kunnen worden vastgelegd om inzicht te geven in de beperkingen van de patiënt waar rekening mee gehouden moet worden bij de verdere behandeling en verpleging en om het resultaat van een behandeling te kunnen evalueren.&#13;\n&#13;\nHet is niet de bedoeling om diagnoses, die functioneel beperkend (kunnen) zijn hier vast te leggen. Hiervoor dient gebruik gemaakt van de bouwsteen Probleem. &#13;"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "Le statut fonctionnel ou mental fournit des informations sur les limitations fonctionnelles et mentales du patient.\n\n#### Purpose\nLe statut fonctionnel ou mental du patient peut être enregistré pour fournir des informations sur les limitations du patient qui doivent être prises en compte pour la suite du traitement et des soins et pour évaluer les effets d'un traitement. \n\nLe but n'est pas d'enregistrer ici des diagnostics posés concernant des (risques de) limitations fonctionnelles. Pour enregistrer ceux-ci, utilisez le modèle d'information Problème."
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": true,
  "type": "https://fhir.healthdata.be/StructureDefinition/LogicalModel/FunctionalOrMentalStatus",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "FunctionalOrMentalStatus",
        "path": "FunctionalOrMentalStatus",
        "short": "FunctionalOrMentalStatus",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "FunctioneleOfMentaleStatus"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatutFonctionnelOuMental"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of FunctionalOrMentalStatus. This concept contains all data elements of the FunctionalOrMentalStatus information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van FunctioneleOfMentaleStatus. Dit concept bevat alle gegevenselementen van de bouwsteen FunctioneleOfMentaleStatus."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Concept root de StatutFonctionnelOuMental. Ce concept contient tous les éléments de données du modèle d'information StatutFonctionnelOuMental."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "base": {
          "path": "FunctionalOrMentalStatus",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.id",
        "path": "FunctionalOrMentalStatus.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.extension",
        "path": "FunctionalOrMentalStatus.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.StatusName",
        "path": "FunctionalOrMentalStatus.StatusName",
        "short": "StatusName",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatusNaam"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "NomStatut"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Coded description of the functional or mental status or limitation.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Gecodeerde omschrijving van de functionele of mentale status of beperking.&#13;\nGebruikt codesysteem is SNOMED CT"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Description codée du statut fonctionnel ou mental ou de la limitation."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "FunctionalOrMentalStatus.StatusName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Description of the StatusName",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Description du NomStatut"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/StatusName"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CE/CNE/CWE"
          },
          {
            "identity": "rim",
            "map": "CD"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.StatusValue",
        "path": "FunctionalOrMentalStatus.StatusValue",
        "short": "StatusValue",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatusWaarde"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ValeurStatut"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The extent to which the patient is limited by the functional or mental condition. \r\nIf both the status name and the status value are recorded in code, then both values must come from the same code system. \r\nIf the patient uses a medical device, the evaluation of the extent of the limitation will take place without this aid.\r\nThe answer codes must be selected from the subselection of the code system corresponding with the request in accordance with the rules applicable to that system.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De mate waarin de functionele of mentale conditie beperkend is.&#13;\nIndien zowel statusnaam als statuswaarde gecodeerd vastgelegd worden, dienen beide waarden uit hetzelfde codesysteem te komen. &#13;\nIndien de patiënt een hulpmiddel gebruikt, vindt de beoordeling van de mate van beperking plaats zonder gebruik van dit hulpmiddel.&#13;\nDe antwoord codes dienen geselecteerd te worden uit de bij de vraag horende subselectie van het codesysteem conform de voor dat systeem geldende regels."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La mesure selon laquelle le patient est limité par son état fonctionnel ou mental. \nSi le nom du statut et la valeur du statut sont tous deux enregistrés dans le code, les deux valeurs doivent provenir du même système de code. \nSi le patient utilise un dispositif médical, l'évaluation de l'étendue de la limitation aura lieu sans cette aide.Les codes de réponse doivent être sélectionnés à partir de la sous-sélection du système de codes correspondant à la demande, conformément aux règles applicables à ce système."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "FunctionalOrMentalStatus.StatusValue",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Description of the StatusValue",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Description de la ValeurStatut"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/StatusValue"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CE/CNE/CWE"
          },
          {
            "identity": "rim",
            "map": "CD"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.StatusDate",
        "path": "FunctionalOrMentalStatus.StatusDate",
        "short": "StatusDate",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatusDatum"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DateStatut"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Date on which the status was determined. A ‘vague’ date, such as only the year, is permitted.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Datum waarop de status is vastgesteld. Een vage datum, b.v. alleen een jaartal is toegestaan."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Date à laquelle le statut a été déterminé. Une date ‘vague’, telle que l'année uniquement, est autorisée."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "base": {
          "path": "FunctionalOrMentalStatus.StatusDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.Comment",
        "path": "FunctionalOrMentalStatus.Comment",
        "short": "Comment",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Toelichting"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Commentaire"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Explanatory comments as a description of the functional or mental status.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Toelichtende opmerking als omschrijving van de functionele of mentale status."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Commentaires explicatifs décrivant le statut fonctionnel ou mental."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "FunctionalOrMentalStatus.Comment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.MedicalDevice",
        "path": "FunctionalOrMentalStatus.MedicalDevice",
        "short": "MedicalDevice",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Hulpmiddel"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DispositifMédical"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Medical aid the patient has to reduce the impact of the disability or disorder.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Hulpmiddel dat de patiënt ter beschikking heeft om de impact van de beperking of stoornis te verminderen."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Aide médicale dont dispose le patient pour atténuer l'impact de l'incapacité ou du trouble."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "FunctionalOrMentalStatus.MedicalDevice",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-MedicalDevice"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "FunctionalOrMentalStatus",
        "path": "FunctionalOrMentalStatus",
        "short": "FunctionalOrMentalStatus",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "FunctioneleOfMentaleStatus"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatutFonctionnelOuMental"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of FunctionalOrMentalStatus. This concept contains all data elements of the FunctionalOrMentalStatus information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van FunctioneleOfMentaleStatus. Dit concept bevat alle gegevenselementen van de bouwsteen FunctioneleOfMentaleStatus."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Concept root de StatutFonctionnelOuMental. Ce concept contient tous les éléments de données du modèle d'information StatutFonctionnelOuMental."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "FunctionalOrMentalStatus.StatusName",
        "path": "FunctionalOrMentalStatus.StatusName",
        "short": "StatusName",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatusNaam"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "NomStatut"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Coded description of the functional or mental status or limitation.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Gecodeerde omschrijving van de functionele of mentale status of beperking.&#13;\nGebruikt codesysteem is SNOMED CT"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Description codée du statut fonctionnel ou mental ou de la limitation."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Description of the StatusName",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Description du NomStatut"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/StatusName"
        }
      },
      {
        "id": "FunctionalOrMentalStatus.StatusValue",
        "path": "FunctionalOrMentalStatus.StatusValue",
        "short": "StatusValue",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatusWaarde"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ValeurStatut"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The extent to which the patient is limited by the functional or mental condition. \r\nIf both the status name and the status value are recorded in code, then both values must come from the same code system. \r\nIf the patient uses a medical device, the evaluation of the extent of the limitation will take place without this aid.\r\nThe answer codes must be selected from the subselection of the code system corresponding with the request in accordance with the rules applicable to that system.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De mate waarin de functionele of mentale conditie beperkend is.&#13;\nIndien zowel statusnaam als statuswaarde gecodeerd vastgelegd worden, dienen beide waarden uit hetzelfde codesysteem te komen. &#13;\nIndien de patiënt een hulpmiddel gebruikt, vindt de beoordeling van de mate van beperking plaats zonder gebruik van dit hulpmiddel.&#13;\nDe antwoord codes dienen geselecteerd te worden uit de bij de vraag horende subselectie van het codesysteem conform de voor dat systeem geldende regels."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La mesure selon laquelle le patient est limité par son état fonctionnel ou mental. \nSi le nom du statut et la valeur du statut sont tous deux enregistrés dans le code, les deux valeurs doivent provenir du même système de code. \nSi le patient utilise un dispositif médical, l'évaluation de l'étendue de la limitation aura lieu sans cette aide.Les codes de réponse doivent être sélectionnés à partir de la sous-sélection du système de codes correspondant à la demande, conformément aux règles applicables à ce système."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Description of the StatusValue",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Description de la ValeurStatut"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/StatusValue"
        }
      },
      {
        "id": "FunctionalOrMentalStatus.StatusDate",
        "path": "FunctionalOrMentalStatus.StatusDate",
        "short": "StatusDate",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "StatusDatum"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DateStatut"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Date on which the status was determined. A ‘vague’ date, such as only the year, is permitted.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Datum waarop de status is vastgesteld. Een vage datum, b.v. alleen een jaartal is toegestaan."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Date à laquelle le statut a été déterminé. Une date ‘vague’, telle que l'année uniquement, est autorisée."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.Comment",
        "path": "FunctionalOrMentalStatus.Comment",
        "short": "Comment",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Toelichting"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Commentaire"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Explanatory comments as a description of the functional or mental status.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Toelichtende opmerking als omschrijving van de functionele of mentale status."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Commentaires explicatifs décrivant le statut fonctionnel ou mental."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "FunctionalOrMentalStatus.MedicalDevice",
        "path": "FunctionalOrMentalStatus.MedicalDevice",
        "short": "MedicalDevice",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Hulpmiddel"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DispositifMédical"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Medical aid the patient has to reduce the impact of the disability or disorder.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Hulpmiddel dat de patiënt ter beschikking heeft om de impact van de beperking of stoornis te verminderen."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Aide médicale dont dispose le patient pour atténuer l'impact de l'incapacité ou du trouble."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-MedicalDevice"
            ]
          }
        ]
      }
    ]
  }
}