{
  "resourceType": "StructureDefinition",
  "id": "HdBe-MaritalStatus",
  "meta": {
    "lastUpdated": "2022-12-13T09:40:11.359015+00:00"
  },
  "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-MaritalStatus",
  "name": "HdBeMaritalStatus",
  "_name": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBeBurgerlijkeStaat"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBeÉtatCivil"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "title": "HdBe MaritalStatus",
  "_title": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBe BurgerlijkeStaat"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBe ÉtatCivil"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "status": "draft",
  "publisher": "Healthdata.be (Sciensano)",
  "contact": [
    {
      "name": "Service portal – healthdata.be",
      "telecom": [
        {
          "system": "url",
          "value": "https://sciensano.service-now.com/sp",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Marital status is a person’s formal position as defined by the Belgium civil code. There is a distinction between marriage and civil union.\r\n\r\n#### Purpose\r\nThe marital status is recorded for administrative purposes.\r\n\r\n#### Instructions\r\nMarital status at the time of entering the information as reported by the patient.",
  "_description": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "Burgerlijke staat is de formele positie van een mens in de zin en betekenis van het burgerlijk wetboek. Te onderscheiden vallen huwelijkse staat en partnerregistratie (geregistreerd partnerschap).&#13;\n#### Purpose&#13;\nDe burgerlijke staat wordt vastgelegd voor administratieve doeleinden.&#13;\n;&#13;\n&#13;\n#### Instructions&#13;\nBurgerlijke staat op het moment van vastleggen, zoals opgegeven door de patient."
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "fr-BE"
          },
          {
            "url": "content",
            "valueMarkdown": "L'état civil est la position formelle d'une personne telle que définie par le code civil belge. Il existe une distinction entre le mariage et l'union civile.\n\n#### Purpose\nL'état civil est enregistré à des fins administratives.\n\n#### Instructions\nÉtat civil au moment de la saisie des informations comme rapportées par le patient."
          }
        ],
        "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/MaritalStatusRC",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "MaritalStatusRC",
        "path": "MaritalStatusRC",
        "short": "MaritalStatusRC",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BurgerlijkeStaatRC"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ÉtatCivilRC"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of the MaritalStatus information model. This concept contains all data elements of the MaritalStatus information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van de bouwsteen BurgerlijkeStaat. Dit concept bevat alle gegevenselementen van de bouwsteen BurgerlijkeStaat."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Concept root du modèle d'information ÉtatCivil. Ce concept contient tous les éléments de données du modèle d'information ÉtatCivil."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "base": {
          "path": "MaritalStatusRC",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MaritalStatusRC.id",
        "path": "MaritalStatusRC.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MaritalStatusRC.extension",
        "path": "MaritalStatusRC.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "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() or (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": "MaritalStatusRC.MaritalStatus",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "MaritalStatusRC.MaritalStatus",
        "short": "MaritalStatus",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BurgerlijkeStaat"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ÉtatCivil"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "A person’s marital status.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De burgerlijke staat van een mens in de zin en betekenis van het burgerlijk wetboek."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "L'état civil d'une personne."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MaritalStatusRC.MaritalStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "MaritalStatus codes",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Codes ÉtatCivil"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/MaritalStatus"
        },
        "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"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "MaritalStatusRC",
        "path": "MaritalStatusRC",
        "short": "MaritalStatusRC",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BurgerlijkeStaatRC"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ÉtatCivilRC"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of the MaritalStatus information model. This concept contains all data elements of the MaritalStatus information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van de bouwsteen BurgerlijkeStaat. Dit concept bevat alle gegevenselementen van de bouwsteen BurgerlijkeStaat."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Concept root du modèle d'information ÉtatCivil. Ce concept contient tous les éléments de données du modèle d'information ÉtatCivil."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "MaritalStatusRC.MaritalStatus",
        "path": "MaritalStatusRC.MaritalStatus",
        "short": "MaritalStatus",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "BurgerlijkeStaat"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "ÉtatCivil"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "A person’s marital status.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De burgerlijke staat van een mens in de zin en betekenis van het burgerlijk wetboek."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "fr-BE"
                },
                {
                  "url": "content",
                  "valueMarkdown": "L'état civil d'une personne."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "MaritalStatus codes",
          "_description": {
            "extension": [
              {
                "extension": [
                  {
                    "url": "lang",
                    "valueCode": "fr-BE"
                  },
                  {
                    "url": "content",
                    "valueMarkdown": "Codes ÉtatCivil"
                  }
                ],
                "url": "http://hl7.org/fhir/StructureDefinition/translation"
              }
            ]
          },
          "valueSet": "https://fhir.healthdata.be/ValueSet/MaritalStatus"
        }
      }
    ]
  }
}