MediRecords FHIR Implementation Guide
1.4.1 - release


Resource Profile: MR EpisodeOfCare

Defining URL:https://fhir.medirecords.com/StructureDefinition/mr-episodeofcare
Version:1.4.1
Name:MREpisodeOfCare
Title:MR EpisodeOfCare
Status:Active as of 2024-10-28 02:34:31+0000
Definition:

Episode of Care profile to represent the MediRecords Case record

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

https://fhir.medirecords.com/StructureDefinition/mr-episodeofcare

Formal Views of Profile Content

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

This structure is derived from EpisodeOfCare

NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare EpisodeOfCare
... meta
.... lastUpdated S0..1instantWhen the resource version last changed
.... security SC0..1CodingSecurity Labels applied to this resource
inv-mr-meta-security-01: Medirecords supports only U, R security code
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:careteam S0..1MRCareTeamPlanned participants in the coordination and delivery of care for a patient or group
..... id 1..1idUnique id of contained resource within this instance
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... urgency S1..1codeUrgency
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-priority-ext
Binding: RequestPriority (required)
... topic S1..1stringEpisode subject (or topic)
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-topic-ext
... max-sessions S1..1integerMax sessions
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-sessions-ext
... comment S0..1stringComment
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... Slices for identifier 1..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Closed by pattern:type
.... identifier:case-number S1..1IdentifierCase Number
..... type 1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ECN
..... value 1..1stringCase No.
.... identifier:ref-number S0..1IdentifierCase Ref. Number
..... type 1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ERN
..... value 1..1stringReference Number
... status S1..1codeplanned | active | onhold | waitlist | cancelled | finished
... type S1..1CodeableConceptType/class - e.g. specialist referral, disease management
Binding: MR Episode Type ValueSet (extensible)
... diagnosis 1..*BackboneElementExisting problem(s)
.... condition S1..1Reference(MR Condition)Existing problem
..... reference 1..1stringReference to existing problem
... patient S1..1Reference(MR Patient)The patient who is the focus of this episode of care
... managingOrganization S1..1Reference(MR Organisation)Practice that initated the case
... period 1..1PeriodInterval during responsibility is assumed
.... start S1..1dateTimeCase start date
.... end S0..1dateTimeExpiry date
... careManager S1..1Reference(MR Practitioner)Care Manager
.... reference 1..1stringReference to Provider user
... team S0..1Reference(MR CareTeam)Case participants (or care team)
.... reference 1..1stringInternal reference to contained CareTeam resource

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*EpisodeOfCareAn 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 Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security SΣC0..1CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


inv-mr-meta-security-01: Medirecords supports only U, R security code
.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:careteam S0..1MRCareTeamPlanned participants in the coordination and delivery of care for a patient or group
..... id SΣ1..1idUnique id of contained resource within this instance
..... meta Σ0..1MetaMetadata about the resource
..... implicitRules ?!Σ0..1uriA set of rules under which this content was created
..... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
..... text 0..1NarrativeText summary of the resource, for human interpretation
..... contained 0..*ResourceContained, inline Resources
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... identifier Σ0..*IdentifierExternal Ids for this team
..... status ?!Σ0..1codeproposed | active | suspended | inactive | entered-in-error
Binding: CareTeamStatus (required): Indicates the status of the care team.

..... category Σ0..*CodeableConceptType of team
Binding: CareTeamCategory (example): Indicates the type of care team.


..... name Σ0..1stringName of the team, such as crisis assessment team
..... subject Σ0..1Reference(Patient | Group)Who care team is for
..... encounter Σ0..1Reference(Encounter)Encounter created as part of
..... period Σ0..1PeriodTime period team covers
..... participant C0..*BackboneElementMembers of the team
ctm-1: CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... role Σ0..*CodeableConceptType of involvement
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.


...... member SΣ1..1Reference(MR Practitioner | MR Organisation Service Provider | MR PractitionerRole Contact)Care team member
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
....... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

....... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
....... display Σ0..1stringName of team member
...... onBehalfOf Σ0..1Reference(Organization)Organization of the practitioner
...... period 0..1PeriodTime period of participant
..... reasonCode 0..*CodeableConceptWhy the care team exists
Binding: SNOMEDCTClinicalFindings (example): Indicates the reason for the care team.


..... reasonReference 0..*Reference(Condition)Why the care team exists
..... managingOrganization SΣ1..1Reference(MR Organisation)Organization responsible for the care team
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringText alternative for the resource
..... telecom 0..*ContactPointA contact detail for the care team (that applies to all members)
..... note 0..*AnnotationComments made about the CareTeam
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... linked-document S0..*Reference(MR DocumentReference)Linked referral letter
URL: https://fhir.medirecords.com/StructureDefinition/mr-referenced-document-ext
... urgency S1..1codeUrgency
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-priority-ext
Binding: RequestPriority (required)
... topic S1..1stringEpisode subject (or topic)
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-topic-ext
... max-sessions S1..1integerMax sessions
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-sessions-ext
... comment S0..1stringComment
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier 1..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Closed by pattern:type
.... identifier:case-number S1..1IdentifierCase Number
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..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.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ECN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringCase No.
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:ref-number S0..1IdentifierCase Ref. Number
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..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.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ERN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringReference Number
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1codeplanned | active | onhold | waitlist | cancelled | finished
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... statusHistory 0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... 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 SΣ1..1CodeableConceptType/class - e.g. specialist referral, disease management
Binding: MR Episode Type ValueSet (extensible)
... diagnosis Σ1..*BackboneElementExisting problem(s)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... condition SΣ1..1Reference(MR Condition)Existing problem
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringReference to existing problem
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringText alternative for the resource
.... 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(MR Patient)The patient who is the focus of this episode of care
... managingOrganization SΣ1..1Reference(MR Organisation)Practice that initated the case
... period Σ1..1PeriodInterval during responsibility is assumed
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTimeCase start date
.... end SΣC0..1dateTimeExpiry date
... referralRequest 0..*Reference(ServiceRequest)Originating Referral Request(s)
... careManager S1..1Reference(MR Practitioner)Care Manager
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to Provider user
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... team S0..1Reference(MR CareTeam)Case participants (or care team)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringInternal reference to contained CareTeam resource
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... account 0..*Reference(Account)The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*EpisodeOfCareAn association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
... meta Σ0..1MetaMetadata about the resource
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... security ΣC0..1CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


inv-mr-meta-security-01: Medirecords supports only U, R security code
... contained:careteam 0..1MRCareTeamPlanned participants in the coordination and delivery of care for a patient or group
.... id Σ1..1idUnique id of contained resource within this instance
.... participant C0..*BackboneElementMembers of the team
..... member Σ1..1Reference(MR Practitioner | MR Organisation Service Provider | MR PractitionerRole Contact)Care team member
.... managingOrganization Σ1..1Reference(MR Organisation)Organization responsible for the care team
... linked-document 0..*Reference(MR DocumentReference)Linked referral letter
URL: https://fhir.medirecords.com/StructureDefinition/mr-referenced-document-ext
... topic 1..1stringEpisode subject (or topic)
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-topic-ext
... max-sessions 1..1integerMax sessions
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-sessions-ext
... comment 0..1stringComment
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... identifier:case-number 1..1IdentifierCase Number
... identifier:ref-number 0..1IdentifierCase Ref. Number
... status ?!Σ1..1codeplanned | active | onhold | waitlist | cancelled | finished
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... type Σ1..1CodeableConceptType/class - e.g. specialist referral, disease management
Binding: MR Episode Type ValueSet (extensible)
... diagnosis Σ1..*BackboneElementExisting problem(s)
.... condition Σ1..1Reference(MR Condition)Existing problem
... patient Σ1..1Reference(MR Patient)The patient who is the focus of this episode of care
... managingOrganization Σ1..1Reference(MR Organisation)Practice that initated the case
... period Σ1..1PeriodInterval during responsibility is assumed
.... start ΣC1..1dateTimeCase start date
.... end ΣC0..1dateTimeExpiry date
... careManager 1..1Reference(MR Practitioner)Care Manager
... team 0..1Reference(MR CareTeam)Case participants (or care team)

doco Documentation for this format

Differential View

This structure is derived from EpisodeOfCare

NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare EpisodeOfCare
... meta
.... lastUpdated S0..1instantWhen the resource version last changed
.... security SC0..1CodingSecurity Labels applied to this resource
inv-mr-meta-security-01: Medirecords supports only U, R security code
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:careteam S0..1MRCareTeamPlanned participants in the coordination and delivery of care for a patient or group
..... id 1..1idUnique id of contained resource within this instance
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... urgency S1..1codeUrgency
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-priority-ext
Binding: RequestPriority (required)
... topic S1..1stringEpisode subject (or topic)
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-topic-ext
... max-sessions S1..1integerMax sessions
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-sessions-ext
... comment S0..1stringComment
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... Slices for identifier 1..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Closed by pattern:type
.... identifier:case-number S1..1IdentifierCase Number
..... type 1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ECN
..... value 1..1stringCase No.
.... identifier:ref-number S0..1IdentifierCase Ref. Number
..... type 1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ERN
..... value 1..1stringReference Number
... status S1..1codeplanned | active | onhold | waitlist | cancelled | finished
... type S1..1CodeableConceptType/class - e.g. specialist referral, disease management
Binding: MR Episode Type ValueSet (extensible)
... diagnosis 1..*BackboneElementExisting problem(s)
.... condition S1..1Reference(MR Condition)Existing problem
..... reference 1..1stringReference to existing problem
... patient S1..1Reference(MR Patient)The patient who is the focus of this episode of care
... managingOrganization S1..1Reference(MR Organisation)Practice that initated the case
... period 1..1PeriodInterval during responsibility is assumed
.... start S1..1dateTimeCase start date
.... end S0..1dateTimeExpiry date
... careManager S1..1Reference(MR Practitioner)Care Manager
.... reference 1..1stringReference to Provider user
... team S0..1Reference(MR CareTeam)Case participants (or care team)
.... reference 1..1stringInternal reference to contained CareTeam resource

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. EpisodeOfCare 0..*EpisodeOfCareAn 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 Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security SΣC0..1CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


inv-mr-meta-security-01: Medirecords supports only U, R security code
.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:careteam S0..1MRCareTeamPlanned participants in the coordination and delivery of care for a patient or group
..... id SΣ1..1idUnique id of contained resource within this instance
..... meta Σ0..1MetaMetadata about the resource
..... implicitRules ?!Σ0..1uriA set of rules under which this content was created
..... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
..... text 0..1NarrativeText summary of the resource, for human interpretation
..... contained 0..*ResourceContained, inline Resources
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... identifier Σ0..*IdentifierExternal Ids for this team
..... status ?!Σ0..1codeproposed | active | suspended | inactive | entered-in-error
Binding: CareTeamStatus (required): Indicates the status of the care team.

..... category Σ0..*CodeableConceptType of team
Binding: CareTeamCategory (example): Indicates the type of care team.


..... name Σ0..1stringName of the team, such as crisis assessment team
..... subject Σ0..1Reference(Patient | Group)Who care team is for
..... encounter Σ0..1Reference(Encounter)Encounter created as part of
..... period Σ0..1PeriodTime period team covers
..... participant C0..*BackboneElementMembers of the team
ctm-1: CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... role Σ0..*CodeableConceptType of involvement
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.


...... member SΣ1..1Reference(MR Practitioner | MR Organisation Service Provider | MR PractitionerRole Contact)Care team member
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
....... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

....... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
....... display Σ0..1stringName of team member
...... onBehalfOf Σ0..1Reference(Organization)Organization of the practitioner
...... period 0..1PeriodTime period of participant
..... reasonCode 0..*CodeableConceptWhy the care team exists
Binding: SNOMEDCTClinicalFindings (example): Indicates the reason for the care team.


..... reasonReference 0..*Reference(Condition)Why the care team exists
..... managingOrganization SΣ1..1Reference(MR Organisation)Organization responsible for the care team
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringText alternative for the resource
..... telecom 0..*ContactPointA contact detail for the care team (that applies to all members)
..... note 0..*AnnotationComments made about the CareTeam
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... linked-document S0..*Reference(MR DocumentReference)Linked referral letter
URL: https://fhir.medirecords.com/StructureDefinition/mr-referenced-document-ext
... urgency S1..1codeUrgency
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-priority-ext
Binding: RequestPriority (required)
... topic S1..1stringEpisode subject (or topic)
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-topic-ext
... max-sessions S1..1integerMax sessions
URL: https://fhir.medirecords.com/StructureDefinition/mr-episode-sessions-ext
... comment S0..1stringComment
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier 1..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Closed by pattern:type
.... identifier:case-number S1..1IdentifierCase Number
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..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.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ECN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringCase No.
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:ref-number S0..1IdentifierCase Ref. Number
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..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.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://fhir.medirecords.com/CodeSystem/mr-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ERN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringReference Number
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1codeplanned | active | onhold | waitlist | cancelled | finished
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... statusHistory 0..*BackboneElementPast list of status codes (the current status may be included to cover the start date of the status)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... 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 SΣ1..1CodeableConceptType/class - e.g. specialist referral, disease management
Binding: MR Episode Type ValueSet (extensible)
... diagnosis Σ1..*BackboneElementExisting problem(s)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... condition SΣ1..1Reference(MR Condition)Existing problem
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringReference to existing problem
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringText alternative for the resource
.... 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(MR Patient)The patient who is the focus of this episode of care
... managingOrganization SΣ1..1Reference(MR Organisation)Practice that initated the case
... period Σ1..1PeriodInterval during responsibility is assumed
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTimeCase start date
.... end SΣC0..1dateTimeExpiry date
... referralRequest 0..*Reference(ServiceRequest)Originating Referral Request(s)
... careManager S1..1Reference(MR Practitioner)Care Manager
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to Provider user
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... team S0..1Reference(MR CareTeam)Case participants (or care team)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringInternal reference to contained CareTeam resource
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... account 0..*Reference(Account)The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / CodeURI
EpisodeOfCare.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
EpisodeOfCare.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
EpisodeOfCare.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
EpisodeOfCare.contained:careteam.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
EpisodeOfCare.contained:careteam.statusrequiredCareTeamStatus
http://hl7.org/fhir/ValueSet/care-team-status|4.0.1
from the FHIR Standard
EpisodeOfCare.contained:careteam.categoryexampleCareTeamCategory
http://hl7.org/fhir/ValueSet/care-team-category
from the FHIR Standard
EpisodeOfCare.contained:careteam.participant.roleexampleParticipantRoles
http://hl7.org/fhir/ValueSet/participant-role
from the FHIR Standard
EpisodeOfCare.contained:careteam.participant.member.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
EpisodeOfCare.contained:careteam.reasonCodeexampleSNOMEDCTClinicalFindings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard
EpisodeOfCare.contained:careteam.managingOrganization.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
EpisodeOfCare.identifier:case-number.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
EpisodeOfCare.identifier:case-number.typeextensiblePattern: ECN
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
EpisodeOfCare.identifier:ref-number.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
EpisodeOfCare.identifier:ref-number.typeextensiblePattern: ERN
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
EpisodeOfCare.statusrequiredEpisodeOfCareStatus
http://hl7.org/fhir/ValueSet/episode-of-care-status|4.0.1
from the FHIR Standard
EpisodeOfCare.statusHistory.statusrequiredEpisodeOfCareStatus
http://hl7.org/fhir/ValueSet/episode-of-care-status|4.0.1
from the FHIR Standard
EpisodeOfCare.typeextensibleMREpisodeType
https://fhir.medirecords.com/ValueSet/mr-episode-type
from this IG
EpisodeOfCare.diagnosis.condition.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
EpisodeOfCare.diagnosis.rolepreferredDiagnosisRole
http://hl7.org/fhir/ValueSet/diagnosis-role
from the FHIR Standard
EpisodeOfCare.careManager.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
EpisodeOfCare.team.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ctm-1errorEpisodeOfCare.contained:careteam.participantCareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner
: onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))
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 or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).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()
dom-5errorEpisodeOfCareIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEpisodeOfCareA resource should have narrative for robust management
: text.`div`.exists()
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()
inv-mr-meta-security-01errorEpisodeOfCare.meta.securityMedirecords supports only U, R security code
: code.exists() implies (code = 'U' or code = 'R')