## Profile Comparison between http://fhir.hl7.nl/zorgviewer/StructureDefinition/EpisodeOfCare vs http://fhir.hl7.nl/zorgviewer/StructureDefinition/EpisodeOfCare

Left: | EpisodeOfCare (http://fhir.hl7.nl/zorgviewer/StructureDefinition/EpisodeOfCare)
Right: | EpisodeOfCare (http://fhir.hl7.nl/zorgviewer/StructureDefinition/EpisodeOfCare)

### Messages

Error | EpisodeOfCare.diagnosis.condition | Type Mismatch: Reference([CanonicalType[http://fhir.hl7.nl/zorgviewer/StructureDefinition/Condition]]) vs Reference([CanonicalType[http://fhir.hl7.nl/zorgviewer/StructureDefinition/Condition]])
Error | EpisodeOfCare.patient | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient]])
Error | EpisodeOfCare.managingOrganization | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]])
Error | EpisodeOfCare.careManager | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare |
copyright |  |
description | Zorgepisode |
experimental |  |
fhirVersion | 3.0.2 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#NL |
kind | resource |
name | EpisodeOfCare |
publisher | RIVO-NN HL7NL |
purpose |  |
status | draft |
title | EpisodeOfCare |
type | EpisodeOfCare |
url | http://fhir.hl7.nl/zorgviewer/StructureDefinition/EpisodeOfCare |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
EpisodeOfCare |  | 0..* |  | An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility |  | 0..* | nl-core-episodeofcare | An 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..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier |  | 0..* | Identifier | Business Identifier(s) relevant for this EpisodeOfCare |  | 0..* | Identifier | Business Identifier(s) relevant for this EpisodeOfCare |
status | ?!S Σ | 1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: ?? (required): The status of the episode of care. | ?!S Σ | 1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: ?? (required): The status of the episode of care. |
statusHistory |  | 0..* | BackboneElement | Past list of status codes (the current status may be included to cover the start date of the status) |  | 0..* | BackboneElement | Past list of status codes (the current status may be included to cover the start date of the status) |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
status |  | 1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: ?? (required): The status of the episode of care. |  | 1..1 | code | planned | waitlist | active | onhold | finished | cancelled | entered-in-error Binding: ?? (required): The status of the episode of care. |
period |  | 1..1 | Period | Duration the EpisodeOfCare was in the specified status |  | 1..1 | Period | Duration the EpisodeOfCare was in the specified status |
type | Σ | 0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Binding: ?? (example): The type of the episode of care | Σ | 0..* | CodeableConcept | Type/class - e.g. specialist referral, disease management Binding: ?? (example): The type of the episode of care |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
coding | Σ | 0..* | Coding | Code defined by a terminology system | Σ | 0..* | Coding | Code defined by a terminology system |
text | Σ | 0..1 | string | ConcernLabel | Σ | 0..1 | string | ConcernLabel |
diagnosis | Σ | 0..* | BackboneElement | The list of diagnosis relevant to this episode of care | Σ | 0..* | BackboneElement | The list of diagnosis relevant to this episode of care |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
condition | S Σ | 1..1 | Reference(http://fhir.hl7.nl/zorgviewer/StructureDefinition/Condition) | Conditions/problems/diagnoses this episode of care is for | S Σ | 1..1 | Reference(Condition) | Conditions/problems/diagnoses this episode of care is for | Type Mismatch: Reference([CanonicalType[http://fhir.hl7.nl/zorgviewer/StructureDefinition/Condition]]) vs Reference([CanonicalType[http://fhir.hl7.nl/zorgviewer/StructureDefinition/Condition]])
role | Σ | 0..1 | CodeableConcept | Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …) Binding: ?? (preferred): The type of diagnosis this condition represents | Σ | 0..1 | CodeableConcept | Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …) Binding: ?? (preferred): The type of diagnosis this condition represents |
rank | Σ | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) | Σ | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) |
patient | Σ | 1..1 | Reference(http://fhir.nl/fhir/StructureDefinition/nl-core-patient) | The patient who is the focus of this episode of care | Σ | 1..1 | Reference(nl-core-patient) | The patient who is the focus of this episode of care | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient]])
managingOrganization | Σ | 0..1 | Reference(http://fhir.nl/fhir/StructureDefinition/nl-core-organization) | Organization that assumes care | Σ | 0..1 | Reference(nl-core-organization) | Organization that assumes care | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]])
period | Σ | 0..1 | Period | Interval during responsibility is assumed | Σ | 0..1 | Period | Interval during responsibility is assumed |
referralRequest |  | 0..* | Reference(ReferralRequest) | Originating Referral Request(s) |  | 0..* | Reference(ReferralRequest) | Originating Referral Request(s) |
careManager |  | 0..1 | Reference(http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner) | Care manager/care co-ordinator for the patient |  | 0..1 | Reference(nl-core-practitioner) | Care manager/care co-ordinator for the patient | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner]])
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
team |  | 0..* | Reference(CareTeam) | Other practitioners facilitating this episode of care |  | 0..* | Reference(CareTeam) | Other practitioners facilitating this episode of care |
account |  | 0..* | Reference(Account) | The set of accounts that may be used for billing for this EpisodeOfCare |  | 0..* | Reference(Account) | The set of accounts that may be used for billing for this EpisodeOfCare |
Documentation for this format