0.1.0 - ci-build

EgdeVJ_IG - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: VJ EpisodeOfCare

Defining URL:http://fhir.onegde.no/StructureDefinition/egde-vj-episode-of-care
Version:0.1.0
Name:VJEpisodeOfCare
Title:VJ EpisodeOfCare
Status:Draft as of 2021-08-18T14:36:33+02:00
Definition:

NOT USED: Resource containing the EpisodeOfCare details

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://fhir.onegde.no/StructureDefinition/egde-vj-episode-of-care

Formal Views of Profile Content

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

This structure is derived from EpisodeOfCare

Summary

Prohibited: 2 elements

This structure is derived from EpisodeOfCare

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
... statusHistory 0..0
... diagnosis 0..0

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..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... 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..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
... status ?!Σ1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... type Σ0..*CodeableConceptType/class - e.g. specialist referral, disease management
Binding: EpisodeOfCareType (example): The type of the episode of care.


... patient Σ1..1Reference(Patient)The patient who is the focus of this episode of care
... managingOrganization Σ0..1Reference(Organization)Organization that assumes care
... period Σ0..1PeriodInterval during responsibility is assumed
... referralRequest 0..*Reference(ServiceRequest)Originating Referral Request(s)
... careManager 0..1Reference(Practitioner | PractitionerRole)Care manager/care coordinator for the patient
... team 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

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

doco Documentation for this format

This structure is derived from EpisodeOfCare

Summary

Prohibited: 2 elements

Differential View

This structure is derived from EpisodeOfCare

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
... statusHistory 0..0
... diagnosis 0..0

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..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... 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..*IdentifierBusiness Identifier(s) relevant for this EpisodeOfCare
... status ?!Σ1..1codeplanned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.

... type Σ0..*CodeableConceptType/class - e.g. specialist referral, disease management
Binding: EpisodeOfCareType (example): The type of the episode of care.


... patient Σ1..1Reference(Patient)The patient who is the focus of this episode of care
... managingOrganization Σ0..1Reference(Organization)Organization that assumes care
... period Σ0..1PeriodInterval during responsibility is assumed
... referralRequest 0..*Reference(ServiceRequest)Originating Referral Request(s)
... careManager 0..1Reference(Practitioner | PractitionerRole)Care manager/care coordinator for the patient
... team 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

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
EpisodeOfCare.languagepreferredCommonLanguages
Max Binding: AllLanguages
EpisodeOfCare.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.statusHistory.statusrequiredEpisodeOfCareStatus
EpisodeOfCare.typeexampleEpisodeOfCareType
EpisodeOfCare.diagnosis.rolepreferredDiagnosisRole

Constraints

IdPathDetailsRequirements
dom-2EpisodeOfCareIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3EpisodeOfCareIf 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-4EpisodeOfCareIf 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-5EpisodeOfCareIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6EpisodeOfCareA resource should have narrative for robust management
: text.`div`.exists()
ele-1EpisodeOfCare.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1EpisodeOfCare.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1EpisodeOfCare.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1EpisodeOfCare.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1EpisodeOfCare.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.statusHistory.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1EpisodeOfCare.statusHistory.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1EpisodeOfCare.statusHistory.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1EpisodeOfCare.statusHistory.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1EpisodeOfCare.statusHistory.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.statusHistory.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.diagnosis.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1EpisodeOfCare.diagnosis.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1EpisodeOfCare.diagnosis.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1EpisodeOfCare.diagnosis.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1EpisodeOfCare.diagnosis.conditionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.diagnosis.roleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.diagnosis.rankAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.patientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.managingOrganizationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.referralRequestAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.careManagerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.teamAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1EpisodeOfCare.accountAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())