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-Child', 'http://nictiz.nl/fhir/StructureDefinition/bc-Woman'] index: 3 onset: choices: [onsetDateTime] index: 5 onsetDateTime: {type: dateTime, choiceOf: onset, index: 6} abatement: choices: [abatementDateTime] index: 8 abatementDateTime: {type: dateTime, choiceOf: abatement, index: 9} package_version: 3.0.0 class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/bc-LegalSituation-LegalStatus base: http://hl7.org/fhir/StructureDefinition/Condition version: 1.3.3