{
  "resourceType": "StructureDefinition",
  "id": "HdBe-TreatmentDirective2",
  "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-TreatmentDirective2",
  "name": "HdBeTreatmentDirective2",
  "_name": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBeBehandelAanwijzing2"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBeDirectiveTraitement2"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "title": "HdBe TreatmentDirective2",
  "_title": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBe BehandelAanwijzing2"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBe DirectiveTraitement2"
          }
        ],
        "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": "A treatment directive contains a joint decision between a health professional (for example a general practitioner) and a patient or his representative(s) about the desirability of performing a certain treatment, such as resuscitation, before this treatment becomes (acute) necessary. \r\nWhen the need arises and the treatment cannot be discussed with the patient or representative(s), that decision is an important indication for the treating health professional (for example an ER doctor). \r\nThe term treatment limit is a synonym of the term treatment directive.\r\n#### Purpose\r\nA good overview of treatment instructions based on the wishes of the patient or their authorized representative on (un)desired treatments is important in a patient’s care. A concise, orderly list is of particular importance in acute care situations. Due to the large variety of symptoms, the situation concerns not only a CPR setting, but also cases in which the patient’s condition rapidly worsens as a result of existing symptoms. \r\nA healthcare professional consulting this information can discuss these existing treatment instructions with the patient, the patient’s family or the patient’s authorized representative and possibly include the instructions in their policy.\r\n#### Evidence Base\r\nExplanation for TreatmentCodeList: \r\nIn discussions on constraints in the therapeutic treatment of patients with a chronic neurological or respiratory condition, respiration is sometimes included as a separate restriction. The ‘Respiration’ item is to be seen separately from the decisions on CPR.",
  "_description": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "Een behandelaanwijzing bevat een gezamenlijk besluit tussen een zorgverlener (bijvoorbeeld een huisarts) en een patiënt of diens vertegenwoordiger(s) over de wenselijkheid van het uitvoeren van een bepaalde behandeling, zoals een reanimatie, voordat deze behandeling (acuut) noodzakelijk wordt.&#13;\nWanneer de noodzaak zich aandient en de behandeling niet kan worden besproken met de patiënt of vertegenwoordiger(s), is dat besluit een zwaarwegende aanwijzing voor de behandelend zorgverlener (bijvoorbeeld een SEH arts).&#13;\nDe term Behandelgrens is een synoniem van de term BehandelAanwijzing.&#13;\n#### Purpose&#13;\nEen goed overzicht behandelaanwijzingen gebaseerd op de wensen van de patiënt of diens gevolmachtigde over (on)gewenste behandelingen is belangrijk bij de zorg voor de patiënt. Vooral in de acute situatie is een beknopte en overzichtelijke lijst van belang. Door de grote verscheidenheid van ziektebeelden gaat het niet alleen om een reanimatie setting maar ook om situaties waar ten gevolge van een bestaand ziektebeeld de conditie van de patiënt zeer snel achteruit gaat.&#13;\nEen zorgverlener die deze gegevens raadpleegt kan deze bestaande behandelaanwijzingen met de patiënt, zijn familie of gevolmachtigde bespreken en eventueel in het beleid opnemen.&#13;\n#### Evidence Base&#13;\nToelichting bij BehandelingCodelijst: &#13;\nBij het overleg over beperkingen in het therapeutisch beleid voor patiënten met chronische neurologische of longaandoeningen, wordt beademing soms als aparte restrictie opgenomen. Het item ‘Beademen’ dient los gezien te worden van de beslissingen rond reanimeren. &#13;\n&#13;\n&#13;"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "Une directive de traitement contient une décision conjointe entre un professionnel de la santé (par exemple un médecin généraliste) et un patient ou son (ses) représentant(s) sur l'opportunité de procéder à un certain traitement, comme une réanimation, avant que ce traitement ne devienne nécessaire (de manière pressante). \nLorsque la nécessité survient et que le traitement ne peut être discuté avec le patient ou le(s) représentant(s), cette décision est une indication importante pour le professionnel de la santé traitant (par exemple, un médecin urgentiste). \nLe terme de limite de traitement est un synonyme du terme de directive de traitement.\n##### Purpose\nUne bonne vue d'ensemble des instructions de traitement basées sur les souhaits du patient ou de son (ses) représentant(s) autorisé(s) quant aux traitements (non) désirés est importante pour les soins du patient. Une liste concise et ordonnée est particulièrement importante dans les situations de soins aigus. En raison de la grande variété de symptômes, la situation ne concerne pas seulement un contexte de réanimation, mais également des cas où l'état du patient s'aggrave rapidement en raison de symptômes existants. \nUn professionnel de la santé qui consulte ces informations peut discuter de ces instructions de traitement existantes avec le patient, la famille du patient ou le représentant autorisé du patient et peut inclure ces instructions dans sa politique.\n##### Evidence Base\nExplication pour ListeCodesTraitement : \nDans les discussions sur les restrictions dans le traitement thérapeutique des patients atteints d'une affection neurologique ou respiratoire chronique, la respiration est parfois incluse comme une restriction distincte. L'élément ‘respiration’ doit être considéré séparément des décisions relatives à la réanimation."
          }
        ],
        "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/TreatmentDirective2",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "TreatmentDirective2",
        "path": "TreatmentDirective2",
        "short": "TreatmentDirective2",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BehandelAanwijzing"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DirectiveTraitement2"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of the TreatmentDirective2 information model. This concept contains all data elements of the TreatmentDirective2 information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van de bouwsteen BehandelAanwijzing2. Dit concept bevat alle gegevenselementen van de bouwsteen BehandelAanwijzing2."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Concept root du modèle d'information DirectiveTraitement2. Ce concept contient tous les éléments de données du modèle d'information DirectiveTraitement2."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "base": {
          "path": "TreatmentDirective2",
          "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": "TreatmentDirective2.id",
        "path": "TreatmentDirective2.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": "TreatmentDirective2.extension",
        "path": "TreatmentDirective2.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": "TreatmentDirective2.TreatmentDecision",
        "path": "TreatmentDirective2.TreatmentDecision",
        "short": "TreatmentDecision",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BehandelBesluit"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DécisionTraitement"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The joint decision taken with regard to the desirability of performing the indicated treatment.\r\nIf the agreement is 'Other', 'Specification Other' shall contain the instructions for whether or not to carry out the treatment.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Het gezamenlijk genomen besluit ten aanzien van de wenselijkheid van het uitvoeren van de aangegeven behandeling.&#13;\nBij een besluit 'Anders' moet 'SpecificatieAnders' de aanwijzingen bevatten voor het al of niet uitvoeren van de behandeling."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La décision conjointe prise en ce qui concerne l'opportunité d'effectuer le traitement indiqué.Si la décision est ‘Autre’, ‘SpécificationAutre’ doit contenir les instructions concernant le fait d'effectuer ou non le traitement."
                }
              ],
              "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": "TreatmentDirective2.TreatmentDecision",
          "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": "required",
          "description": "TreatmentDecision codes",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Codes DécisionTraitement"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/TreatmentDecision"
        },
        "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": "TreatmentDirective2.Treatment",
        "path": "TreatmentDirective2.Treatment",
        "short": "Treatment",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Behandeling"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Traitement"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The medical treatment to which the treatment instruction applies.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De medische behandeling waarop de behandelaanwijzing betrekking heeft."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Le traitement médical auquel s'applique l'instruction de traitement."
                }
              ],
              "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": "TreatmentDirective2.Treatment",
          "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": "Treatment codes",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Codes Traitement"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/Treatment"
        },
        "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": "TreatmentDirective2.SpecificationOther",
        "path": "TreatmentDirective2.SpecificationOther",
        "short": "SpecificationOther",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "SpecificatieAnders"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "SpécificationAutre"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Specification of the treatment decision when the decision is 'Other'.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Specificatie van het behandelbesluit indien het behandelbesluit 'Anders' is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Spécification de la décision de traitement lorsque la décision est ‘Autre’."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentDirective2.SpecificationOther",
          "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": "TreatmentDirective2.MostRecentReviewDate",
        "path": "TreatmentDirective2.MostRecentReviewDate",
        "short": "MostRecentReviewDate",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "MeestRecenteBespreekdatum"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DateRévisionPlusRécente"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The date on which the treatment directive has been agreed is with the patient and / or his representative(s). This can be the first time that the treatment directive has been discussed, but an existing treatment directive may also have been discussed again. The content of the treatment directive may have changed or remained the same.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De datum waarop de behandelaanwijzing is afgesproken is met de patiënt en/of zijn vertegenwoordiger(s). Dit kan de eerste keer zijn dat de behandelaanwijzing is besproken, maar ook kan de reeds bestaande behandelaanwijzing opnieuw besproken zijn. De inhoud van de behandelaanwijzing kan hierbij gewijzigd zijn of hetzelfde gebleven."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La date à laquelle la directive de traitement a été approuvée avec le patient et/ou son (ses) représentant(s). Ce peut être la première fois que la directive de traitement a été discutée, mais une directive de traitement existante peut également avoir été discutée à nouveau. Le contenu de la directive de traitement peut avoir changé ou être resté le même."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "max": "1",
        "base": {
          "path": "TreatmentDirective2.MostRecentReviewDate",
          "min": 1,
          "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": "TreatmentDirective2.DateExpired",
        "path": "TreatmentDirective2.DateExpired",
        "short": "DateExpired",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DatumBeeindigd"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DateExpiration"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The date on which the treatment directive has been withdrawn and therefore no longer applies. An explicit decision must be taken about the 'date expired', in consultation between the responsible care professional and the patient or his representative(s).\r\nAny future termination can only be entered as a condition. Often this will be linked to 1 or more events.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De datum waarop de de behandelaanwijzing ingetrokken en dus niet meer van kracht is. Over de 'datum beëindigd' moet een expliciet besluit genomen worden in een overleg tussen verantwoordelijk zorgverlener en patiënt of diens vertegenwoordiger(s).&#13;\nEen eventuele beëindiging in de toekomst kan alleen worden ingevoerd als een voorwaarde. Vaak zal dit gekoppeld zijn aan 1 of meer gebeurtenissen."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La date à laquelle la directive de traitement a été retirée et ne s'applique donc plus. Une décision explicite doit être prise au sujet de la ‘date d'expiration’, en concertation entre le professionnel de la santé responsable et le patient ou son (ses) représentant(s).Toute résiliation future éventuelle ne peut être introduite que comme une condition. Souvent, cela sera associé à 1 ou plusieurs événements."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentDirective2.DateExpired",
          "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": "TreatmentDirective2.ReasonForEnding",
        "path": "TreatmentDirective2.ReasonForEnding",
        "short": "ReasonForEnding",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "RedenBeeindigd"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "RaisonExpiration"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Reason why the agreement on a treatment directive no longer applies.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Reden waarom de afspraak over een behandel aanwijzing niet meer van toepassing is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Raison pour laquelle l'accord sur une directive de traitement ne s'applique plus."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentDirective2.ReasonForEnding",
          "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": "TreatmentDirective2.AdvanceDirective",
        "path": "TreatmentDirective2.AdvanceDirective",
        "short": "AdvanceDirective",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Wilsverklaring"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DéclarationVolonté"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "A (written) statement in which a person indicates wishes concerning future medical action, in the event that this person is at that point no longer (deemed) capable of taking decisions on the matter.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Een (schriftelijke) verklaring waarin een persoon wensen aangeeft met betrekking tot toekomstig medisch handelen, voor het geval deze persoon op dat moment niet meer in staat is (of wordt geacht) hierover beslissingen te nemen."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Une déclaration (écrite) dans laquelle une personne émet des souhaits concernant une action médicale future, dans le cas où cette personne n'est plus (réputée) capable de prendre des décisions sur la question à ce moment."
                }
              ],
              "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": "TreatmentDirective2.AdvanceDirective",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-AdvanceDirective"
            ]
          }
        ],
        "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)"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty",
        "path": "TreatmentDirective2.AgreementParty",
        "short": "AgreementParty",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "AfspraakPartij"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "PartieConvention"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Container of the Agreement concept. This container contains all data elements of the Agreement concept.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Container van het concept AfspraakPartij. Deze container bevat alle gegevenselementen van het concept AfspraakPartij."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Conteneur du concept Convention Ce conteneur contient tous les éléments de données du concept Convention."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 2,
        "max": "*",
        "base": {
          "path": "TreatmentDirective2.AgreementParty",
          "min": 2,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "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": "HdBe-TreatmentDirective2-1",
            "severity": "error",
            "human": "Exactly one of Patient, Representative, or HealthProfessional must be selected.",
            "_human": {
              "extension": [
                {
                  "extension": [
                    {
                      "url": "lang",
                      "valueCode": "fr-BE"
                    },
                    {
                      "url": "content",
                      "valueMarkdown": "Un Patient, ou un Représentant, ou un ProfessionnelSanté exactement doit être sélectionné."
                    }
                  ],
                  "url": "http://hl7.org/fhir/StructureDefinition/translation"
                }
              ]
            },
            "expression": "Patient.exists() xor Representative.exists() xor HealthProfessional.exists()",
            "source": "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-TreatmentDirective2"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty.id",
        "path": "TreatmentDirective2.AgreementParty.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": "TreatmentDirective2.AgreementParty.extension",
        "path": "TreatmentDirective2.AgreementParty.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": "TreatmentDirective2.AgreementParty.modifierExtension",
        "path": "TreatmentDirective2.AgreementParty.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
        "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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "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"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty.Patient",
        "path": "TreatmentDirective2.AgreementParty.Patient",
        "short": "Patient",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patient"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patient"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Patient as the person with whom the agreement was made.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patiënt als de persoon met wie de afspraak gemaakt is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patient en tant que la personne avec laquelle la convention a été conclue."
                }
              ],
              "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": "1",
        "base": {
          "path": "TreatmentDirective2.AgreementParty.Patient",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Patient"
            ]
          }
        ],
        "condition": [
          "ele-1",
          "HdBe-TreatmentDirective2-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)"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty.Representative",
        "path": "TreatmentDirective2.AgreementParty.Representative",
        "short": "Representative",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Vertegenwoordiger"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Représentant"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Person who represents the patient in health care matters and with whom the agreement has been made (too).",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Persoon die de patiënt in gezondheidszorg zaken vertegenwoordigt en met wie de afspraak (mede) gemaakt is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Personne qui représente le patient en matière de soins de santé et avec qui la convention a été (également) conclue."
                }
              ],
              "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": "1",
        "base": {
          "path": "TreatmentDirective2.AgreementParty.Representative",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-ContactPerson"
            ]
          }
        ],
        "condition": [
          "ele-1",
          "HdBe-TreatmentDirective2-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)"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty.HealthProfessional",
        "path": "TreatmentDirective2.AgreementParty.HealthProfessional",
        "short": "HealthProfessional",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Zorgverlener"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ProfessionnelSanté"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "HealthProfessional who has made the agreement regarding the treatment directive.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Zorgverlener die de afspraak ten aanzien van de behandelaanwijzing heeft gemaakt"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ProfessionnelSanté qui a conclu la convention relative à la directive de traitement."
                }
              ],
              "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": "1",
        "base": {
          "path": "TreatmentDirective2.AgreementParty.HealthProfessional",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-HealthProfessional"
            ]
          }
        ],
        "condition": [
          "ele-1",
          "HdBe-TreatmentDirective2-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)"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.Comment",
        "path": "TreatmentDirective2.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": "The comment may include further information such as the reason why a treatment directive has been drawn up, persons who assisted the patient in agreeing the treatment directive but who are not otherwise involved in the agreement as a representative, etc.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "In de toelichting kan nadere informatie worden opgenomen zoals de reden waarom een behandelaanwijzing is opgesteld, personen die de patiënt hebben bijgestaan bij het afspreken van de behandelaanwijzing maar verder niet als vertegenwoordiger bij de afspraak zijn betrokken, enzovoort."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Le commentaire peut inclure des informations complémentaires telles que la raison pour laquelle une directive de traitement a été établie, les personnes qui ont aidé le patient à convenir de la directive de traitement mais qui ne sont pas autrement impliquées dans la convention en tant que représentants, etc."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TreatmentDirective2.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"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "TreatmentDirective2",
        "path": "TreatmentDirective2",
        "short": "TreatmentDirective2",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BehandelAanwijzing"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DirectiveTraitement2"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of the TreatmentDirective2 information model. This concept contains all data elements of the TreatmentDirective2 information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van de bouwsteen BehandelAanwijzing2. Dit concept bevat alle gegevenselementen van de bouwsteen BehandelAanwijzing2."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Concept root du modèle d'information DirectiveTraitement2. Ce concept contient tous les éléments de données du modèle d'information DirectiveTraitement2."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "TreatmentDirective2.TreatmentDecision",
        "path": "TreatmentDirective2.TreatmentDecision",
        "short": "TreatmentDecision",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BehandelBesluit"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DécisionTraitement"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The joint decision taken with regard to the desirability of performing the indicated treatment.\r\nIf the agreement is 'Other', 'Specification Other' shall contain the instructions for whether or not to carry out the treatment.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Het gezamenlijk genomen besluit ten aanzien van de wenselijkheid van het uitvoeren van de aangegeven behandeling.&#13;\nBij een besluit 'Anders' moet 'SpecificatieAnders' de aanwijzingen bevatten voor het al of niet uitvoeren van de behandeling."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La décision conjointe prise en ce qui concerne l'opportunité d'effectuer le traitement indiqué.Si la décision est ‘Autre’, ‘SpécificationAutre’ doit contenir les instructions concernant le fait d'effectuer ou non le traitement."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "TreatmentDecision codes",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Codes DécisionTraitement"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/TreatmentDecision"
        }
      },
      {
        "id": "TreatmentDirective2.Treatment",
        "path": "TreatmentDirective2.Treatment",
        "short": "Treatment",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Behandeling"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Traitement"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The medical treatment to which the treatment instruction applies.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De medische behandeling waarop de behandelaanwijzing betrekking heeft."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Le traitement médical auquel s'applique l'instruction de traitement."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Treatment codes",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Codes Traitement"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/Treatment"
        }
      },
      {
        "id": "TreatmentDirective2.SpecificationOther",
        "path": "TreatmentDirective2.SpecificationOther",
        "short": "SpecificationOther",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "SpecificatieAnders"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "SpécificationAutre"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Specification of the treatment decision when the decision is 'Other'.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Specificatie van het behandelbesluit indien het behandelbesluit 'Anders' is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Spécification de la décision de traitement lorsque la décision est ‘Autre’."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.MostRecentReviewDate",
        "path": "TreatmentDirective2.MostRecentReviewDate",
        "short": "MostRecentReviewDate",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "MeestRecenteBespreekdatum"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DateRévisionPlusRécente"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The date on which the treatment directive has been agreed is with the patient and / or his representative(s). This can be the first time that the treatment directive has been discussed, but an existing treatment directive may also have been discussed again. The content of the treatment directive may have changed or remained the same.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De datum waarop de behandelaanwijzing is afgesproken is met de patiënt en/of zijn vertegenwoordiger(s). Dit kan de eerste keer zijn dat de behandelaanwijzing is besproken, maar ook kan de reeds bestaande behandelaanwijzing opnieuw besproken zijn. De inhoud van de behandelaanwijzing kan hierbij gewijzigd zijn of hetzelfde gebleven."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La date à laquelle la directive de traitement a été approuvée avec le patient et/ou son (ses) représentant(s). Ce peut être la première fois que la directive de traitement a été discutée, mais une directive de traitement existante peut également avoir été discutée à nouveau. Le contenu de la directive de traitement peut avoir changé ou être resté le même."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.DateExpired",
        "path": "TreatmentDirective2.DateExpired",
        "short": "DateExpired",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DatumBeeindigd"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DateExpiration"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The date on which the treatment directive has been withdrawn and therefore no longer applies. An explicit decision must be taken about the 'date expired', in consultation between the responsible care professional and the patient or his representative(s).\r\nAny future termination can only be entered as a condition. Often this will be linked to 1 or more events.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De datum waarop de de behandelaanwijzing ingetrokken en dus niet meer van kracht is. Over de 'datum beëindigd' moet een expliciet besluit genomen worden in een overleg tussen verantwoordelijk zorgverlener en patiënt of diens vertegenwoordiger(s).&#13;\nEen eventuele beëindiging in de toekomst kan alleen worden ingevoerd als een voorwaarde. Vaak zal dit gekoppeld zijn aan 1 of meer gebeurtenissen."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "La date à laquelle la directive de traitement a été retirée et ne s'applique donc plus. Une décision explicite doit être prise au sujet de la ‘date d'expiration’, en concertation entre le professionnel de la santé responsable et le patient ou son (ses) représentant(s).Toute résiliation future éventuelle ne peut être introduite que comme une condition. Souvent, cela sera associé à 1 ou plusieurs événements."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.ReasonForEnding",
        "path": "TreatmentDirective2.ReasonForEnding",
        "short": "ReasonForEnding",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "RedenBeeindigd"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "RaisonExpiration"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Reason why the agreement on a treatment directive no longer applies.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Reden waarom de afspraak over een behandel aanwijzing niet meer van toepassing is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Raison pour laquelle l'accord sur une directive de traitement ne s'applique plus."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AdvanceDirective",
        "path": "TreatmentDirective2.AdvanceDirective",
        "short": "AdvanceDirective",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Wilsverklaring"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "DéclarationVolonté"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "A (written) statement in which a person indicates wishes concerning future medical action, in the event that this person is at that point no longer (deemed) capable of taking decisions on the matter.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Een (schriftelijke) verklaring waarin een persoon wensen aangeeft met betrekking tot toekomstig medisch handelen, voor het geval deze persoon op dat moment niet meer in staat is (of wordt geacht) hierover beslissingen te nemen."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Une déclaration (écrite) dans laquelle une personne émet des souhaits concernant une action médicale future, dans le cas où cette personne n'est plus (réputée) capable de prendre des décisions sur la question à ce moment."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-AdvanceDirective"
            ]
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty",
        "path": "TreatmentDirective2.AgreementParty",
        "short": "AgreementParty",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "AfspraakPartij"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "PartieConvention"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Container of the Agreement concept. This container contains all data elements of the Agreement concept.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Container van het concept AfspraakPartij. Deze container bevat alle gegevenselementen van het concept AfspraakPartij."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Conteneur du concept Convention Ce conteneur contient tous les éléments de données du concept Convention."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 2,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "HdBe-TreatmentDirective2-1",
            "severity": "error",
            "human": "Exactly one of Patient, Representative, or HealthProfessional must be selected.",
            "_human": {
              "extension": [
                {
                  "extension": [
                    {
                      "url": "lang",
                      "valueCode": "fr-BE"
                    },
                    {
                      "url": "content",
                      "valueMarkdown": "Un Patient, ou un Représentant, ou un ProfessionnelSanté exactement doit être sélectionné."
                    }
                  ],
                  "url": "http://hl7.org/fhir/StructureDefinition/translation"
                }
              ]
            },
            "expression": "Patient.exists() xor Representative.exists() xor HealthProfessional.exists()"
          }
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty.Patient",
        "path": "TreatmentDirective2.AgreementParty.Patient",
        "short": "Patient",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patient"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patient"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Patient as the person with whom the agreement was made.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patiënt als de persoon met wie de afspraak gemaakt is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Patient en tant que la personne avec laquelle la convention a été conclue."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Patient"
            ]
          }
        ],
        "condition": [
          "HdBe-TreatmentDirective2-1"
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty.Representative",
        "path": "TreatmentDirective2.AgreementParty.Representative",
        "short": "Representative",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Vertegenwoordiger"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Représentant"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Person who represents the patient in health care matters and with whom the agreement has been made (too).",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Persoon die de patiënt in gezondheidszorg zaken vertegenwoordigt en met wie de afspraak (mede) gemaakt is."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Personne qui représente le patient en matière de soins de santé et avec qui la convention a été (également) conclue."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-ContactPerson"
            ]
          }
        ],
        "condition": [
          "HdBe-TreatmentDirective2-1"
        ]
      },
      {
        "id": "TreatmentDirective2.AgreementParty.HealthProfessional",
        "path": "TreatmentDirective2.AgreementParty.HealthProfessional",
        "short": "HealthProfessional",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Zorgverlener"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ProfessionnelSanté"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "HealthProfessional who has made the agreement regarding the treatment directive.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Zorgverlener die de afspraak ten aanzien van de behandelaanwijzing heeft gemaakt"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ProfessionnelSanté qui a conclu la convention relative à la directive de traitement."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-HealthProfessional"
            ]
          }
        ],
        "condition": [
          "HdBe-TreatmentDirective2-1"
        ]
      },
      {
        "id": "TreatmentDirective2.Comment",
        "path": "TreatmentDirective2.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": "The comment may include further information such as the reason why a treatment directive has been drawn up, persons who assisted the patient in agreeing the treatment directive but who are not otherwise involved in the agreement as a representative, etc.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "In de toelichting kan nadere informatie worden opgenomen zoals de reden waarom een behandelaanwijzing is opgesteld, personen die de patiënt hebben bijgestaan bij het afspreken van de behandelaanwijzing maar verder niet als vertegenwoordiger bij de afspraak zijn betrokken, enzovoort."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Le commentaire peut inclure des informations complémentaires telles que la raison pour laquelle une directive de traitement a été établie, les personnes qui ont aidé le patient à convenir de la directive de traitement mais qui ne sont pas autrement impliquées dans la convention en tant que représentants, etc."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}