description: A Condition profile describing legal status as defined by BabyConnect. The 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. package_name: nictiz.fhir.nl.stu3.geboortezorg derivation: constraint name: bc-LegalSituation-LegalStatus type: Condition elements: category: index: 0 slicing: rules: open discriminator: - {path: $this, type: value} min: null slices: legalStatusCode: match: coding: - {code: '303186005', system: 'http://snomed.info/sct'} schema: pattern: type: CodeableConcept value: coding: - {code: '303186005', system: 'http://snomed.info/sct'} index: 1 code: {index: 2} subject: type: Reference refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-Woman'] index: 3 onsetDateTime: type: dateTime index: 4 slicing: slices: onsetDateTime: match: {} schema: {type: dateTime, index: 4} abatementDateTime: type: dateTime index: 5 slicing: slices: abatementDateTime: match: {} schema: {type: dateTime, index: 5} package_version: 1.3.3-rc3 class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/bc-LegalSituation-LegalStatus base: http://hl7.org/fhir/StructureDefinition/Condition version: 1.3.2