Interweave Implementation Guide
0.1.0 - ci-build
Interweave Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the STU3 profiles here.
Official URL: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus | Version: 1.2.0 | |||
Active as of 2023-12-12 | Computable Name: ExtensionUKCoreLegalStatus | |||
Copyright/Legal: Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html. |
Information relating to a patient's legal status on admission or discharge.
This extension extends the Encounter Resource to support the exchange of information relating to a patient's legal status on admission or discharge.
Context of Use
This extension may be used on the following element(s):
Usage info
Usage:
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
Summary
Complex Extension: Information relating to a patient's legal status on admission or discharge.
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Extension UK Core Legal Status | |
extension | 2..* | Extension | Extension | |
Slices for extension | Content/Rules for all slices | |||
extension:legalStatusContext | 1..1 | Extension | The context of the legal status. | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusContext" | |
value[x] | 1..1 | CodeableConcept | The context in which a mental health legal status is being used. Binding: UK Core Legal Status Context (extensible): A set of codes that define the context in which a mental health legal status is being used. | |
Slices for extension | Content/Rules for all slices | |||
extension:legalStatusClassification | 1..1 | Extension | The classification of a patient's legal status. | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusClassification" | |
value[x] | 1..1 | CodeableConcept | Codes that define the classification of a patient's legal status Binding: UK Core Legal Status Classification (extensible): A set of codes that define the classification of a patient's legal status which is either informal or as designated in the Mental Health Act 1983 or other acts. | |
url | 1..1 | uri | "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus" | |
value[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Extension UK Core Legal Status | |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:legalStatusContext | 1..1 | Extension | The context of the legal status. | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusContext" | |
value[x] | 1..1 | CodeableConcept | The context in which a mental health legal status is being used. Binding: UK Core Legal Status Context (extensible): A set of codes that define the context in which a mental health legal status is being used. | |
extension:legalStatusClassification | 1..1 | Extension | The classification of a patient's legal status. | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusClassification" | |
value[x] | 1..1 | CodeableConcept | Codes that define the classification of a patient's legal status Binding: UK Core Legal Status Classification (extensible): A set of codes that define the classification of a patient's legal status which is either informal or as designated in the Mental Health Act 1983 or other acts. | |
url | 1..1 | uri | "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus" | |
Documentation for this format |
This structure is derived from Extension
Summary
Complex Extension: Information relating to a patient's legal status on admission or discharge.
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Extension UK Core Legal Status | |
extension | 2..* | Extension | Extension | |
Slices for extension | Content/Rules for all slices | |||
extension:legalStatusContext | 1..1 | Extension | The context of the legal status. | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusContext" | |
value[x] | 1..1 | CodeableConcept | The context in which a mental health legal status is being used. Binding: UK Core Legal Status Context (extensible): A set of codes that define the context in which a mental health legal status is being used. | |
Slices for extension | Content/Rules for all slices | |||
extension:legalStatusClassification | 1..1 | Extension | The classification of a patient's legal status. | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusClassification" | |
value[x] | 1..1 | CodeableConcept | Codes that define the classification of a patient's legal status Binding: UK Core Legal Status Classification (extensible): A set of codes that define the classification of a patient's legal status which is either informal or as designated in the Mental Health Act 1983 or other acts. | |
url | 1..1 | uri | "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus" | |
value[x] | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Extension UK Core Legal Status | |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:legalStatusContext | 1..1 | Extension | The context of the legal status. | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusContext" | |
value[x] | 1..1 | CodeableConcept | The context in which a mental health legal status is being used. Binding: UK Core Legal Status Context (extensible): A set of codes that define the context in which a mental health legal status is being used. | |
extension:legalStatusClassification | 1..1 | Extension | The classification of a patient's legal status. | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "legalStatusClassification" | |
value[x] | 1..1 | CodeableConcept | Codes that define the classification of a patient's legal status Binding: UK Core Legal Status Classification (extensible): A set of codes that define the classification of a patient's legal status which is either informal or as designated in the Mental Health Act 1983 or other acts. | |
url | 1..1 | uri | "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus" | |
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet | URI |
Extension.extension:legalStatusContext.value[x] | extensible | UKCoreLegalStatusContext (a valid code from https://fhir.hl7.org.uk/CodeSystem/UKCore-LegalStatusContext )https://fhir.hl7.org.uk/ValueSet/UKCore-LegalStatusContext from this IG | |
Extension.extension:legalStatusClassification.value[x] | extensible | UKCoreLegalStatusClassificationhttps://fhir.hl7.org.uk/ValueSet/UKCore-LegalStatusClassification from this IG |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |