PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2020-preadopt@0.0.1-beta1
    http://nictiz.nl/fhir/StructureDefinition/zib-LegalSituation-LegalStatus
description: 'A Condition resource as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) LegalSituation 2.0(2020), implementing the LegalStatus concept of the HCIM.\r\n\r\nA legal situation can concern a legal status and/or representation.\r\n\r\nThe legal status indicates the basis on which the patient is staying in a healthcare organization. This can be either voluntary or involuntary, however the legal status is always determined by a judge.\r\n\r\nRepresentation is important in situations where a person is legally not competent to give permission and/or factually (partly) incapable of doing so. A representative supports and takes decisions in the interest of the representee when they cannot do so themselves (temporarily or permanently).'
package_name: nictiz.fhir.nl.stu3.zib2020-preadopt
derivation: constraint
name: ZibLegalSituationLegalStatus
type: Condition
elements:
  clinicalStatus: {index: 0}
  category:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        legalStatusCode:
          match:
            coding:
            - {code: '303186005', system: 'http://snomed.info/sct'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '303186005', system: 'http://snomed.info/sct'}
            _required: true
            index: 2
          min: 1
          max: 1
  code: {index: 3}
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 4
  onsetDateTime:
    type: dateTime
    short: DateStart
    index: 5
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, short: DateStart, index: 5}
  abatementDateTime:
    type: dateTime
    short: DateStop
    index: 6
    slicing:
      slices:
        abatementDateTime:
          match: {}
          schema: {type: dateTime, short: DateStop, index: 6}
package_version: 0.0.1-beta1
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-LegalSituation-LegalStatus
base: http://hl7.org/fhir/StructureDefinition/Condition
version: null
required: [category, code]