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 R4 profiles here.

Resource Profile: InterweaveEpisodeOfCare

Official URL: https://fhir.yhcr.nhs.uk/StructureDefinition/Interweave-EpisodeOfCare Version: 0.1.0
Active as of 2024-07-17 Computable Name: InterweaveEpisodeOfCare

Interweave Episode Of Care resource profile

 Status: Active: Approved (STU)

Introduction

An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time.

Multiple Organizations and Transfer of Care

Many organizations can be involved in an EpisodeOfCare; however each organization will have its own EpisodeOfCare resource instance that tracks its responsibility with the patient.

When an Organization completes their involvement with the patient and transfers care to another Organization. This is often in the form of a referral to another Organization (or Organizations). When an incoming referral is received a new EpisodeOfCare may be created for this organization.

EpisodeOfCare vs. Encounter

The primary difference between the EpisodeOfCare and the Encounter is that the Encounter records the details of an activity directly relating to the patient, while the EpisodeOfCare is the container that can link a series of Encounters together for problems/issues.

Mandatory fields

The following fields are mandatory:

  • patient - The patient who is the focus of this episode of care.

  • status - this is mandatory in FHIR, with a short list of codes provided.

Must Support fields

In addition, the following fields are “Must Support” - i.e. they must be populated if relevant and known:

  • Identifier - a Local Id should be provided, such that could be quoted if manually getting in touch to find out more

  • statusHistory - The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).

  • Diagnosis - Link to a Condition diagnosed as a result of the episodeOfCare. Can obviously be provided only if the Condition FHIR Resource is also being offered.

  • ReferralRequest - A link to a ReferralRequest which initiated this Episode of Care resource.

  • careManager - This field can be used to provide a link to the practitioner delivering the service.

  • team - Other practitioners facilitating this episode of care

Optional fields

Other fields are optional and may be populated if known - on the understanding that not all data consumers will necessarily make use of them. Optional fields to note include:

  • Type - categorises the type of place where the episodeOfcare took place. Care providers do not operate in isolation. Primary, secondary, tertiary and community care are intended to act as a single, integrated care system. Patients are passed from one provider to another as appropriate, for example when a GP refers a patient to a specialist in secondary care.

The diagram below summarises the above each with a specific purpose or specialism.

Episode of Care type categorisation

  • managingOrganization - The organization that has assumed the specific responsibilities for the specified duration.

  • Period When the episodeOfCare occurred is vital to know. The start date/time is always mandatory, but as per the FHIR specification, the end date/time may be omitted if the episodeOfCare is ongoing

Discouraged or Removed fields

  • Account - Removed. for billing purposes, not relevant.

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from CareConnect-EpisodeOfCare-1

NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*CareConnect-EpisodeOfCare-1An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
... id S0..1idLogical id of this artifact
... meta
.... versionId S0..1idVersion specific identifier
.... lastUpdated S0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile S0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security 0..*CodingDISCOURAGED - may not be honoured by Data Consumers
.... Slices for tag 0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
..... tag:Source S0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code S1..1codeThe Data Provider Id of the system supplying the data
...... display S1..1stringName of the system supplying the data
..... tag:Provenance S0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code S1..1codeThe ODS Code of the organisation responsible for the data
...... display S1..1stringName of the organisation supplying the data
... implicitRules 0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... identifier S0..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
... status S1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
... statusHistory S0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
... type 0..1CodeableConceptPrimaryCare | SecondaryCare | TertiaryCare | CommunityHealth
Binding: InterweaveEpisodeOfCareType (preferred)
... diagnosis S0..*BackboneElementThe list of diagnosis relevant to this episode of care
... patient S1..1Reference(CareConnectPatient1)The patient who is the focus of this episode of care
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... period S0..1PeriodInterval during responsibility is assumed
.... start S1..1dateTimeStarting time with inclusive boundary
... referralRequest S0..*Reference(CareConnect-ReferralRequest-1)Originating Referral Request(s)
... careManager S0..1Reference(CareConnect-Practitioner-1)Care manager/care co-ordinator for the patient
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... team S0..*Reference(CareConnect-CareTeam-1)Other practitioners facilitating this episode of care
... account 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
EpisodeOfCare.typepreferredInterweaveEpisodeOfCareType
NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*CareConnect-EpisodeOfCare-1An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
.... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

... status ?!SΣ1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... statusHistory S0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... status 1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

.... period 1..1PeriodDuration the EpisodeOfCare was in the specified status
... type Σ0..1CodeableConceptPrimaryCare | SecondaryCare | TertiaryCare | CommunityHealth
Binding: InterweaveEpisodeOfCareType (preferred)
... diagnosis SΣ0..*BackboneElementThe list of diagnosis relevant to this episode of care
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... condition Σ1..1Reference(CareConnect-Condition-1)Conditions/problems/diagnoses this episode of care is for
... patient SΣ1..1Reference(CareConnectPatient1)The patient who is the focus of this episode of care
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... period SΣ0..1PeriodInterval during responsibility is assumed
.... start SΣC1..1dateTimeStarting time with inclusive boundary
... referralRequest S0..*Reference(CareConnect-ReferralRequest-1)Originating Referral Request(s)
... careManager S0..1Reference(CareConnect-Practitioner-1)Care manager/care co-ordinator for the patient
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... team S0..*Reference(CareConnect-CareTeam-1)Other practitioners facilitating this episode of care

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
EpisodeOfCare.meta.securityextensibleAll Security Labels
EpisodeOfCare.meta.tagexampleCommon Tags
EpisodeOfCare.meta.tag:SourceexampleCommon Tags
EpisodeOfCare.meta.tag:ProvenanceexampleCommon Tags
EpisodeOfCare.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
EpisodeOfCare.identifier.userequiredIdentifierUse
EpisodeOfCare.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.statusHistory.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.typepreferredInterweaveEpisodeOfCareType

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorEpisodeOfCareIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorEpisodeOfCareIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEpisodeOfCareIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4errorEpisodeOfCareIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*CareConnect-EpisodeOfCare-1An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ0..1stringThe value that is unique
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(CareConnect-Organization-1)Organization that issued id (may be just text)
... status ?!SΣ1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... statusHistory S0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... status 1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

.... period 1..1PeriodDuration the EpisodeOfCare was in the specified status
... type Σ0..1CodeableConceptPrimaryCare | SecondaryCare | TertiaryCare | CommunityHealth
Binding: InterweaveEpisodeOfCareType (preferred)
... diagnosis SΣ0..*BackboneElementThe list of diagnosis relevant to this episode of care
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... condition Σ1..1Reference(CareConnect-Condition-1)Conditions/problems/diagnoses this episode of care is for
.... role Σ0..1CodeableConceptRole that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents

.... rank Σ0..1positiveIntRanking of the diagnosis (for each role type)
... patient SΣ1..1Reference(CareConnectPatient1)The patient who is the focus of this episode of care
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... managingOrganization Σ0..1Reference(CareConnect-Organization-1)Organization that assumes care
... period SΣ0..1PeriodInterval during responsibility is assumed
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... referralRequest S0..*Reference(CareConnect-ReferralRequest-1)Originating Referral Request(s)
... careManager S0..1Reference(CareConnect-Practitioner-1)Care manager/care co-ordinator for the patient
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... team S0..*Reference(CareConnect-CareTeam-1)Other practitioners facilitating this episode of care

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
EpisodeOfCare.meta.securityextensibleAll Security Labels
EpisodeOfCare.meta.tagexampleCommon Tags
EpisodeOfCare.meta.tag:SourceexampleCommon Tags
EpisodeOfCare.meta.tag:ProvenanceexampleCommon Tags
EpisodeOfCare.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
EpisodeOfCare.identifier.userequiredIdentifierUse
EpisodeOfCare.identifier.typeextensibleIdentifier Type Codes
EpisodeOfCare.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.statusHistory.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.typepreferredInterweaveEpisodeOfCareType
EpisodeOfCare.diagnosis.rolepreferredDiagnosisRole

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())

This structure is derived from CareConnect-EpisodeOfCare-1

Summary

Mandatory: 2 elements (9 nested mandatory elements)
Must-Support: 20 elements
Fixed Value: 2 elements
Prohibited: 1 element

Slices

This structure defines the following Slices:

  • The element EpisodeOfCare.meta.tag is sliced based on the value of value:system

Differential View

This structure is derived from CareConnect-EpisodeOfCare-1

NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*CareConnect-EpisodeOfCare-1An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
... id S0..1idLogical id of this artifact
... meta
.... versionId S0..1idVersion specific identifier
.... lastUpdated S0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile S0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security 0..*CodingDISCOURAGED - may not be honoured by Data Consumers
.... Slices for tag 0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
..... tag:Source S0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code S1..1codeThe Data Provider Id of the system supplying the data
...... display S1..1stringName of the system supplying the data
..... tag:Provenance S0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code S1..1codeThe ODS Code of the organisation responsible for the data
...... display S1..1stringName of the organisation supplying the data
... implicitRules 0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... identifier S0..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
... status S1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
... statusHistory S0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
... type 0..1CodeableConceptPrimaryCare | SecondaryCare | TertiaryCare | CommunityHealth
Binding: InterweaveEpisodeOfCareType (preferred)
... diagnosis S0..*BackboneElementThe list of diagnosis relevant to this episode of care
... patient S1..1Reference(CareConnectPatient1)The patient who is the focus of this episode of care
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... period S0..1PeriodInterval during responsibility is assumed
.... start S1..1dateTimeStarting time with inclusive boundary
... referralRequest S0..*Reference(CareConnect-ReferralRequest-1)Originating Referral Request(s)
... careManager S0..1Reference(CareConnect-Practitioner-1)Care manager/care co-ordinator for the patient
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... team S0..*Reference(CareConnect-CareTeam-1)Other practitioners facilitating this episode of care
... account 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
EpisodeOfCare.typepreferredInterweaveEpisodeOfCareType

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*CareConnect-EpisodeOfCare-1An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
.... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

... status ?!SΣ1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... statusHistory S0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... status 1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

.... period 1..1PeriodDuration the EpisodeOfCare was in the specified status
... type Σ0..1CodeableConceptPrimaryCare | SecondaryCare | TertiaryCare | CommunityHealth
Binding: InterweaveEpisodeOfCareType (preferred)
... diagnosis SΣ0..*BackboneElementThe list of diagnosis relevant to this episode of care
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... condition Σ1..1Reference(CareConnect-Condition-1)Conditions/problems/diagnoses this episode of care is for
... patient SΣ1..1Reference(CareConnectPatient1)The patient who is the focus of this episode of care
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... period SΣ0..1PeriodInterval during responsibility is assumed
.... start SΣC1..1dateTimeStarting time with inclusive boundary
... referralRequest S0..*Reference(CareConnect-ReferralRequest-1)Originating Referral Request(s)
... careManager S0..1Reference(CareConnect-Practitioner-1)Care manager/care co-ordinator for the patient
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... team S0..*Reference(CareConnect-CareTeam-1)Other practitioners facilitating this episode of care

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
EpisodeOfCare.meta.securityextensibleAll Security Labels
EpisodeOfCare.meta.tagexampleCommon Tags
EpisodeOfCare.meta.tag:SourceexampleCommon Tags
EpisodeOfCare.meta.tag:ProvenanceexampleCommon Tags
EpisodeOfCare.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
EpisodeOfCare.identifier.userequiredIdentifierUse
EpisodeOfCare.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.statusHistory.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.typepreferredInterweaveEpisodeOfCareType

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorEpisodeOfCareIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorEpisodeOfCareIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEpisodeOfCareIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4errorEpisodeOfCareIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*CareConnect-EpisodeOfCare-1An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ0..1stringThe value that is unique
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(CareConnect-Organization-1)Organization that issued id (may be just text)
... status ?!SΣ1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... statusHistory S0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... status 1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

.... period 1..1PeriodDuration the EpisodeOfCare was in the specified status
... type Σ0..1CodeableConceptPrimaryCare | SecondaryCare | TertiaryCare | CommunityHealth
Binding: InterweaveEpisodeOfCareType (preferred)
... diagnosis SΣ0..*BackboneElementThe list of diagnosis relevant to this episode of care
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... condition Σ1..1Reference(CareConnect-Condition-1)Conditions/problems/diagnoses this episode of care is for
.... role Σ0..1CodeableConceptRole that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents

.... rank Σ0..1positiveIntRanking of the diagnosis (for each role type)
... patient SΣ1..1Reference(CareConnectPatient1)The patient who is the focus of this episode of care
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... managingOrganization Σ0..1Reference(CareConnect-Organization-1)Organization that assumes care
... period SΣ0..1PeriodInterval during responsibility is assumed
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... referralRequest S0..*Reference(CareConnect-ReferralRequest-1)Originating Referral Request(s)
... careManager S0..1Reference(CareConnect-Practitioner-1)Care manager/care co-ordinator for the patient
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... team S0..*Reference(CareConnect-CareTeam-1)Other practitioners facilitating this episode of care

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
EpisodeOfCare.meta.securityextensibleAll Security Labels
EpisodeOfCare.meta.tagexampleCommon Tags
EpisodeOfCare.meta.tag:SourceexampleCommon Tags
EpisodeOfCare.meta.tag:ProvenanceexampleCommon Tags
EpisodeOfCare.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
EpisodeOfCare.identifier.userequiredIdentifierUse
EpisodeOfCare.identifier.typeextensibleIdentifier Type Codes
EpisodeOfCare.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.statusHistory.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.typepreferredInterweaveEpisodeOfCareType
EpisodeOfCare.diagnosis.rolepreferredDiagnosisRole

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())

This structure is derived from CareConnect-EpisodeOfCare-1

Summary

Mandatory: 2 elements (9 nested mandatory elements)
Must-Support: 20 elements
Fixed Value: 2 elements
Prohibited: 1 element

Slices

This structure defines the following Slices:

  • The element EpisodeOfCare.meta.tag is sliced based on the value of value:system

 

Other representations of profile: CSV, Excel, Schematron