eMediplan CHMED16AF Implementation Guide:

StructureDefinition: chmed16af-condition-risks

Formal Views of Profile Content

The official URL for this profile is:

http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-condition-risks

Profile on Condition for Risks

This profile builds on Condition.

This profile was published on Tue Jun 11 11:36:31 CEST 2019 as a draft by IG eMediplan.

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

This structure is derived from Condition

Summary

Mandatory: 2 elements
Prohibited: 11 elements

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..*Detailed information about conditions, problems or diagnoses
... identifier 0..*IdentifierExternal Ids for this condition
... clinicalStatus 0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active"}]}
... verificationStatus 0..0
... category 1..1CodeableConceptproblem-list-item | encounter-diagnosis
Binding: Risk categories (required)
... severity 0..0
... code Σ0..1CodeableConceptIdentification of the risk for that category.
Binding: Risks (required)
... bodySite 0..0
... subject 1..1Reference(Patient | Group)Who has the condition?
... encounter 0..0
... onset[x] 0..0
... abatement[x] 0..0
... recordedDate 0..1dateTimeDate record was first recorded
... recorder 0..0
... asserter 0..0
... stage 0..0
... evidence 0..0
... note 0..0

doco Documentation for this format

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition I0..*Detailed information about conditions, problems or diagnoses
... id Σ0..1idLogical id of this artifact
... 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)
Max Binding: AllLanguages
... 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 condition
... clinicalStatus ?!ΣI0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active"}]}
... category 1..1CodeableConceptproblem-list-item | encounter-diagnosis
Binding: Risk categories (required)
... code Σ0..1CodeableConceptIdentification of the risk for that category.
Binding: Risks (required)
... subject Σ1..1Reference(Patient | Group)Who has the condition?
... recordedDate Σ0..1dateTimeDate record was first recorded

doco Documentation for this format

This structure is derived from Condition

Summary

Mandatory: 2 elements
Prohibited: 11 elements

Differential View

This structure is derived from Condition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..*Detailed information about conditions, problems or diagnoses
... identifier 0..*IdentifierExternal Ids for this condition
... clinicalStatus 0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active"}]}
... verificationStatus 0..0
... category 1..1CodeableConceptproblem-list-item | encounter-diagnosis
Binding: Risk categories (required)
... severity 0..0
... code Σ0..1CodeableConceptIdentification of the risk for that category.
Binding: Risks (required)
... bodySite 0..0
... subject 1..1Reference(Patient | Group)Who has the condition?
... encounter 0..0
... onset[x] 0..0
... abatement[x] 0..0
... recordedDate 0..1dateTimeDate record was first recorded
... recorder 0..0
... asserter 0..0
... stage 0..0
... evidence 0..0
... note 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition I0..*Detailed information about conditions, problems or diagnoses
... id Σ0..1idLogical id of this artifact
... 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)
Max Binding: AllLanguages
... 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 condition
... clinicalStatus ?!ΣI0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active"}]}
... category 1..1CodeableConceptproblem-list-item | encounter-diagnosis
Binding: Risk categories (required)
... code Σ0..1CodeableConceptIdentification of the risk for that category.
Binding: Risks (required)
... subject Σ1..1Reference(Patient | Group)Who has the condition?
... recordedDate Σ0..1dateTimeDate record was first recorded

doco Documentation for this format

 

Constraints

IdPathDetailsRequirements
dom-2ConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-4ConditionIf 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-3ConditionIf 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-6ConditionA resource should have narrative for robust management
: text.div.exists()
dom-5ConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
con-5ConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
con-4ConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-3ConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus='entered-in-error' or category.select($this='problem-list-item').empty()
.