{ "description": "Base StructureDefinition for EpisodeOfCare Resource", "_filename": "StructureDefinition-EpisodeOfCare.json", "package_name": "hl7.fhir.r3.examples", "date": "2019-10-24T11:53:00+11:00", "derivation": "specialization", "meta": { "lastUpdated": "2019-10-24T11:53:00+11:00" }, "publisher": "Health Level Seven International (Patient Administration)", "fhirVersion": "3.0.2", "name": "EpisodeOfCare", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/fhir/w5", "name": "W5 Mapping", "identity": "w5" } ], "abstract": false, "type": "EpisodeOfCare", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "3.0.2", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pa" } ], "snapshot": { "element": [ { "constraint": [ { "key": "dom-2", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource", "severity": "error", "expression": "contained.contained.empty()" }, { "key": "dom-1", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource", "severity": "error", "expression": "contained.text.empty()" }, { "key": "dom-4", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource", "severity": "error", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" }, { "key": "dom-3", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource", "severity": "error", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" } ], "path": "EpisodeOfCare", "min": 0, "definition": "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.", "short": "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", "mapping": [ { "map": "Entity. Role, or Act", "identity": "rim" }, { "map": "n/a", "identity": "rim" }, { "map": "workflow.encounter", "identity": "w5" } ], "alias": [ "Case Program Problem" ], "max": "*", "id": "EpisodeOfCare" }, { "path": "EpisodeOfCare.id", "min": 0, "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "short": "Logical id of this artifact", "type": [ { "code": "id" } ], "max": "1", "id": "EpisodeOfCare.id", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "base": { "max": "1", "min": 0, "path": "Resource.id" }, "isSummary": true }, { "path": "EpisodeOfCare.meta", "min": 0, "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.", "short": "Metadata about the resource", "type": [ { "code": "Meta" } ], "max": "1", "id": "EpisodeOfCare.meta", "base": { "max": "1", "min": 0, "path": "Resource.meta" }, "isSummary": true }, { "path": "EpisodeOfCare.implicitRules", "min": 0, "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", "isModifier": true, "short": "A set of rules under which this content was created", "type": [ { "code": "uri" } ], "max": "1", "id": "EpisodeOfCare.implicitRules", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.", "base": { "max": "1", "min": 0, "path": "Resource.implicitRules" }, "isSummary": true }, { "path": "EpisodeOfCare.language", "min": 0, "definition": "The base language in which the resource is written.", "short": "Language of the resource content", "type": [ { "code": "code" } ], "binding": { "strength": "extensible", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } }, "max": "1", "id": "EpisodeOfCare.language", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "base": { "max": "1", "min": 0, "path": "Resource.language" } }, { "path": "EpisodeOfCare.text", "min": 0, "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "short": "Text summary of the resource, for human interpretation", "mapping": [ { "map": "Act.text?", "identity": "rim" } ], "type": [ { "code": "Narrative" } ], "alias": [ "narrative", "html", "xhtml", "display" ], "max": "1", "id": "EpisodeOfCare.text", "condition": [ "dom-1" ], "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.", "base": { "max": "1", "min": 0, "path": "DomainResource.text" } }, { "path": "EpisodeOfCare.contained", "min": 0, "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "short": "Contained, inline Resources", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Resource" } ], "alias": [ "inline resources", "anonymous resources", "contained resources" ], "max": "*", "id": "EpisodeOfCare.contained", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.", "base": { "max": "*", "min": 0, "path": "DomainResource.contained" } }, { "path": "EpisodeOfCare.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "EpisodeOfCare.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.extension" } }, { "path": "EpisodeOfCare.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "EpisodeOfCare.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.modifierExtension" } }, { "id": "EpisodeOfCare.identifier", "max": "*", "min": 0, "path": "EpisodeOfCare.identifier", "type": [ { "code": "Identifier" } ], "short": "Business Identifier(s) relevant for this EpisodeOfCare", "mapping": [ { "map": "id", "identity": "w5" } ], "definition": "The EpisodeOfCare may be known by different identifiers for different contexts of use, such as when an external agency is tracking the Episode for funding purposes." }, { "path": "EpisodeOfCare.status", "min": 1, "definition": "planned | waitlist | active | onhold | finished | cancelled.", "isModifier": true, "short": "planned | waitlist | active | onhold | finished | cancelled | entered-in-error", "mapping": [ { "map": "status", "identity": "w5" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EpisodeOfCareStatus" } ], "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } }, "max": "1", "id": "EpisodeOfCare.status", "comment": "This element is labeled as a modifier because the status contains codes that mark the episode as not currently valid.", "isSummary": true }, { "id": "EpisodeOfCare.statusHistory", "max": "*", "min": 0, "path": "EpisodeOfCare.statusHistory", "type": [ { "code": "BackboneElement" } ], "short": "Past list of status codes (the current status may be included to cover the start date of the status)", "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "Element", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "definition": "The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)." }, { "path": "EpisodeOfCare.statusHistory.id", "min": 0, "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "EpisodeOfCare.statusHistory.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "path": "EpisodeOfCare.statusHistory.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "EpisodeOfCare.statusHistory.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "EpisodeOfCare.statusHistory.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "EpisodeOfCare.statusHistory.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isSummary": true }, { "id": "EpisodeOfCare.statusHistory.status", "max": "1", "min": 1, "path": "EpisodeOfCare.statusHistory.status", "type": [ { "code": "code" } ], "short": "planned | waitlist | active | onhold | finished | cancelled | entered-in-error", "binding": { "strength": "required", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EpisodeOfCareStatus" } ], "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } }, "definition": "planned | waitlist | active | onhold | finished | cancelled." }, { "id": "EpisodeOfCare.statusHistory.period", "max": "1", "min": 1, "path": "EpisodeOfCare.statusHistory.period", "type": [ { "code": "Period" } ], "short": "Duration the EpisodeOfCare was in the specified status", "definition": "The period during this EpisodeOfCare that the specific status applied." }, { "path": "EpisodeOfCare.type", "min": 0, "definition": "A classification of the type of episode of care; e.g. specialist referral, disease management, type of funded care.", "short": "Type/class - e.g. specialist referral, disease management", "mapping": [ { "map": "class", "identity": "w5" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EpisodeOfCareType" } ], "description": "The type of the episode of care", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episodeofcare-type" } }, "max": "*", "id": "EpisodeOfCare.type", "comment": "The type can be very important in processing as this could be used in determining if the EpisodeOfCare is relevant to specific government reporting, or other types of classifications.", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "Element", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "path": "EpisodeOfCare.diagnosis", "min": 0, "definition": "The list of diagnosis relevant to this episode of care.", "short": "The list of diagnosis relevant to this episode of care", "type": [ { "code": "BackboneElement" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Diagnosis" } ], "max": "*", "id": "EpisodeOfCare.diagnosis", "isSummary": true }, { "path": "EpisodeOfCare.diagnosis.id", "min": 0, "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "EpisodeOfCare.diagnosis.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "path": "EpisodeOfCare.diagnosis.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "EpisodeOfCare.diagnosis.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "EpisodeOfCare.diagnosis.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "EpisodeOfCare.diagnosis.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isSummary": true }, { "path": "EpisodeOfCare.diagnosis.condition", "min": 1, "definition": "A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.", "short": "Conditions/problems/diagnoses this episode of care is for", "mapping": [ { "map": "what", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "max": "1", "id": "EpisodeOfCare.diagnosis.condition", "isSummary": true }, { "path": "EpisodeOfCare.diagnosis.role", "min": 0, "definition": "Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …).", "short": "Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DiagnosisRole" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "The type of diagnosis this condition represents", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnosis-role" } }, "max": "1", "id": "EpisodeOfCare.diagnosis.role", "isSummary": true }, { "id": "EpisodeOfCare.diagnosis.rank", "max": "1", "min": 0, "path": "EpisodeOfCare.diagnosis.rank", "type": [ { "code": "positiveInt" } ], "short": "Ranking of the diagnosis (for each role type)", "isSummary": true, "definition": "Ranking of the diagnosis (for each role type)." }, { "path": "EpisodeOfCare.patient", "min": 1, "definition": "The patient who is the focus of this episode of care.", "short": "The patient who is the focus of this episode of care", "mapping": [ { "map": "who.focus", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "max": "1", "id": "EpisodeOfCare.patient", "isSummary": true }, { "id": "EpisodeOfCare.managingOrganization", "max": "1", "min": 0, "path": "EpisodeOfCare.managingOrganization", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "short": "Organization that assumes care", "isSummary": true, "definition": "The organization that has assumed the specific responsibilities for the specified duration." }, { "path": "EpisodeOfCare.period", "min": 0, "definition": "The interval during which the managing organization assumes the defined responsibility.", "short": "Interval during responsibility is assumed", "mapping": [ { "map": "when.init", "identity": "w5" } ], "type": [ { "code": "Period" } ], "max": "1", "id": "EpisodeOfCare.period", "isSummary": true }, { "id": "EpisodeOfCare.referralRequest", "max": "*", "min": 0, "path": "EpisodeOfCare.referralRequest", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ], "short": "Originating Referral Request(s)", "definition": "Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals." }, { "id": "EpisodeOfCare.careManager", "max": "1", "min": 0, "path": "EpisodeOfCare.careManager", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "short": "Care manager/care co-ordinator for the patient", "definition": "The practitioner that is the care manager/care co-ordinator for this patient." }, { "id": "EpisodeOfCare.team", "max": "*", "min": 0, "path": "EpisodeOfCare.team", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ], "alias": [ "CareTeam" ], "short": "Other practitioners facilitating this episode of care", "definition": "The list of practitioners that may be facilitating this episode of care for specific purposes." }, { "id": "EpisodeOfCare.account", "max": "*", "min": 0, "path": "EpisodeOfCare.account", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Account" } ], "short": "The set of accounts that may be used for billing for this EpisodeOfCare", "comment": "The billing system may choose to allocate billable items associated with the EpisodeOfCare to different referenced Accounts based on internal business rules.", "definition": "The set of accounts that may be used for billing for this EpisodeOfCare." } ] }, "status": "draft", "id": "075b3bf1-636f-44a7-b90f-f032beacd73c", "kind": "resource", "url": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare", "version": null, "differential": { "element": [ { "id": "EpisodeOfCare", "max": "*", "min": 0, "path": "EpisodeOfCare", "alias": [ "Case Program Problem" ], "short": "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", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "workflow.encounter", "identity": "w5" } ], "definition": "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." }, { "id": "EpisodeOfCare.identifier", "max": "*", "min": 0, "path": "EpisodeOfCare.identifier", "type": [ { "code": "Identifier" } ], "short": "Business Identifier(s) relevant for this EpisodeOfCare", "mapping": [ { "map": "id", "identity": "w5" } ], "definition": "The EpisodeOfCare may be known by different identifiers for different contexts of use, such as when an external agency is tracking the Episode for funding purposes." }, { "path": "EpisodeOfCare.status", "min": 1, "definition": "planned | waitlist | active | onhold | finished | cancelled.", "isModifier": true, "short": "planned | waitlist | active | onhold | finished | cancelled | entered-in-error", "mapping": [ { "map": "status", "identity": "w5" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EpisodeOfCareStatus" } ], "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } }, "max": "1", "id": "EpisodeOfCare.status", "comment": "This element is labeled as a modifier because the status contains codes that mark the episode as not currently valid.", "isSummary": true }, { "id": "EpisodeOfCare.statusHistory", "max": "*", "min": 0, "path": "EpisodeOfCare.statusHistory", "type": [ { "code": "BackboneElement" } ], "short": "Past list of status codes (the current status may be included to cover the start date of the status)", "definition": "The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)." }, { "id": "EpisodeOfCare.statusHistory.status", "max": "1", "min": 1, "path": "EpisodeOfCare.statusHistory.status", "type": [ { "code": "code" } ], "short": "planned | waitlist | active | onhold | finished | cancelled | entered-in-error", "binding": { "strength": "required", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EpisodeOfCareStatus" } ], "description": "The status of the episode of care.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episode-of-care-status" } }, "definition": "planned | waitlist | active | onhold | finished | cancelled." }, { "id": "EpisodeOfCare.statusHistory.period", "max": "1", "min": 1, "path": "EpisodeOfCare.statusHistory.period", "type": [ { "code": "Period" } ], "short": "Duration the EpisodeOfCare was in the specified status", "definition": "The period during this EpisodeOfCare that the specific status applied." }, { "path": "EpisodeOfCare.type", "min": 0, "definition": "A classification of the type of episode of care; e.g. specialist referral, disease management, type of funded care.", "short": "Type/class - e.g. specialist referral, disease management", "mapping": [ { "map": "class", "identity": "w5" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EpisodeOfCareType" } ], "description": "The type of the episode of care", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/episodeofcare-type" } }, "max": "*", "id": "EpisodeOfCare.type", "comment": "The type can be very important in processing as this could be used in determining if the EpisodeOfCare is relevant to specific government reporting, or other types of classifications.", "isSummary": true }, { "path": "EpisodeOfCare.diagnosis", "min": 0, "definition": "The list of diagnosis relevant to this episode of care.", "short": "The list of diagnosis relevant to this episode of care", "type": [ { "code": "BackboneElement" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Diagnosis" } ], "max": "*", "id": "EpisodeOfCare.diagnosis", "isSummary": true }, { "path": "EpisodeOfCare.diagnosis.condition", "min": 1, "definition": "A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.", "short": "Conditions/problems/diagnoses this episode of care is for", "mapping": [ { "map": "what", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" } ], "max": "1", "id": "EpisodeOfCare.diagnosis.condition", "isSummary": true }, { "path": "EpisodeOfCare.diagnosis.role", "min": 0, "definition": "Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …).", "short": "Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)", "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "preferred", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DiagnosisRole" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "The type of diagnosis this condition represents", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/diagnosis-role" } }, "max": "1", "id": "EpisodeOfCare.diagnosis.role", "isSummary": true }, { "id": "EpisodeOfCare.diagnosis.rank", "max": "1", "min": 0, "path": "EpisodeOfCare.diagnosis.rank", "type": [ { "code": "positiveInt" } ], "short": "Ranking of the diagnosis (for each role type)", "isSummary": true, "definition": "Ranking of the diagnosis (for each role type)." }, { "path": "EpisodeOfCare.patient", "min": 1, "definition": "The patient who is the focus of this episode of care.", "short": "The patient who is the focus of this episode of care", "mapping": [ { "map": "who.focus", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "max": "1", "id": "EpisodeOfCare.patient", "isSummary": true }, { "id": "EpisodeOfCare.managingOrganization", "max": "1", "min": 0, "path": "EpisodeOfCare.managingOrganization", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "short": "Organization that assumes care", "isSummary": true, "definition": "The organization that has assumed the specific responsibilities for the specified duration." }, { "path": "EpisodeOfCare.period", "min": 0, "definition": "The interval during which the managing organization assumes the defined responsibility.", "short": "Interval during responsibility is assumed", "mapping": [ { "map": "when.init", "identity": "w5" } ], "type": [ { "code": "Period" } ], "max": "1", "id": "EpisodeOfCare.period", "isSummary": true }, { "id": "EpisodeOfCare.referralRequest", "max": "*", "min": 0, "path": "EpisodeOfCare.referralRequest", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" } ], "short": "Originating Referral Request(s)", "definition": "Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals." }, { "id": "EpisodeOfCare.careManager", "max": "1", "min": 0, "path": "EpisodeOfCare.careManager", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "short": "Care manager/care co-ordinator for the patient", "definition": "The practitioner that is the care manager/care co-ordinator for this patient." }, { "id": "EpisodeOfCare.team", "max": "*", "min": 0, "path": "EpisodeOfCare.team", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" } ], "alias": [ "CareTeam" ], "short": "Other practitioners facilitating this episode of care", "definition": "The list of practitioners that may be facilitating this episode of care for specific purposes." }, { "id": "EpisodeOfCare.account", "max": "*", "min": 0, "path": "EpisodeOfCare.account", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Account" } ], "short": "The set of accounts that may be used for billing for this EpisodeOfCare", "comment": "The billing system may choose to allocate billable items associated with the EpisodeOfCare to different referenced Accounts based on internal business rules.", "definition": "The set of accounts that may be used for billing for this EpisodeOfCare." } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/fhir", "system": "url" } ] }, { "telecom": [ { "value": "http://www.hl7.org/Special/committees/pafm/index.cfm", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource" }