Interweave Implementation Guide
0.1.0 - ci-build United Kingdom flag

Interweave Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the STU3 profiles here.

Extension: ExtensionInterweaveMedicallySafeForDischarge

Official URL: https://fhir.interweavedigital.nhs.uk/R4/StructureDefinition/Extension-Interweave-MedicallySafeForDischarge Version: 1.0.0
Draft as of 2024-05-20 Computable Name: ExtensionInterweaveMedicallySafeForDischarge

An extension to add information about whether medically safe for discharge to the Encounter.

Context of Use

This extension may be used on the following element(s):

  • Element ID Encounter

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: An extension to add information about whether medically safe for discharge to the Encounter.

  • status: code: An Extension
  • predictedDate: dateTime: An Extension
  • actualDate: dateTime: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medically Safe for Discharge
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:status 1..1 Extension Medically safe for discharge status. ready | notready | unknown
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 code Value of extension
Binding: InterweaveMedicallySafeForDischargeStatus (required)
... Slices for extension Content/Rules for all slices
.... extension:predictedDate 0..1 Extension The date when it is predicted the patient will be medically safe for discharge
..... extension 0..0
..... url 1..1 uri "predictedDate"
..... value[x] 0..1 dateTime Value of extension
.... extension:actualDate 0..1 Extension The date when the patient was actaully medically safe for discharge
..... extension 0..0
..... url 1..1 uri "actualDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "https://fhir.interweavedigital.nhs.uk/R4/StructureDefinition/Extension-Interweave-MedicallySafeForDischarge"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medically Safe for Discharge
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:status 1..1 Extension Medically safe for discharge status. ready | notready | unknown
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 code Value of extension
Binding: InterweaveMedicallySafeForDischargeStatus (required)
.... extension:predictedDate 0..1 Extension The date when it is predicted the patient will be medically safe for discharge
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "predictedDate"
..... value[x] 0..1 dateTime Value of extension
.... extension:actualDate 0..1 Extension The date when the patient was actaully medically safe for discharge
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "actualDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "https://fhir.interweavedigital.nhs.uk/R4/StructureDefinition/Extension-Interweave-MedicallySafeForDischarge"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: An extension to add information about whether medically safe for discharge to the Encounter.

  • status: code: An Extension
  • predictedDate: dateTime: An Extension
  • actualDate: dateTime: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medically Safe for Discharge
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:status 1..1 Extension Medically safe for discharge status. ready | notready | unknown
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 code Value of extension
Binding: InterweaveMedicallySafeForDischargeStatus (required)
... Slices for extension Content/Rules for all slices
.... extension:predictedDate 0..1 Extension The date when it is predicted the patient will be medically safe for discharge
..... extension 0..0
..... url 1..1 uri "predictedDate"
..... value[x] 0..1 dateTime Value of extension
.... extension:actualDate 0..1 Extension The date when the patient was actaully medically safe for discharge
..... extension 0..0
..... url 1..1 uri "actualDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "https://fhir.interweavedigital.nhs.uk/R4/StructureDefinition/Extension-Interweave-MedicallySafeForDischarge"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medically Safe for Discharge
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:status 1..1 Extension Medically safe for discharge status. ready | notready | unknown
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 code Value of extension
Binding: InterweaveMedicallySafeForDischargeStatus (required)
.... extension:predictedDate 0..1 Extension The date when it is predicted the patient will be medically safe for discharge
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "predictedDate"
..... value[x] 0..1 dateTime Value of extension
.... extension:actualDate 0..1 Extension The date when the patient was actaully medically safe for discharge
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "actualDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "https://fhir.interweavedigital.nhs.uk/R4/StructureDefinition/Extension-Interweave-MedicallySafeForDischarge"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:status.value[x]requiredInterweaveMedicallySafeForDischargeStatus
https://fhir.interweavedigital.nhs.uk/R4/ValueSet/Interweave-MedicallySafeForDischargeStatus
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()