Finnish Base Profiles
1.0.0-rc15 - ballot Finland flag

Finnish Base Profiles - Local Development build (v1.0.0-rc15). See the Directory of published versions

Extension: Primary condition for encounter

Official URL: https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/condition-primary Version: 1.0.0-rc15
Active as of 2023-04-28 Computable Name: PrimaryCondition

Encoded information of whether this is the primary/main condition for encounter.

Context of Use

This extension may be used on the following element(s):

  • Element ID Condition

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Simple Extension of type Coding: Encoded information of whether this is the primary/main condition for encounter.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPrimary condition for encounter
... extension 0..0
... url 1..1uri"https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/condition-primary"
... value[x] 1..1CodingValue of extension
Slice: Unordered, Open by type:$this
.... system 0..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.246.537.5.40005.2003

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPrimary condition for encounter
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/condition-primary"
.... value[x]:valueCoding 1..1CodingValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ0..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.246.537.5.40005.2003
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ0..1codeSymbol in syntax defined by the system
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type Coding: Encoded information of whether this is the primary/main condition for encounter.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPrimary condition for encounter
... extension 0..0
... url 1..1uri"https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/condition-primary"
... value[x] 1..1CodingValue of extension
Slice: Unordered, Open by type:$this
.... system 0..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.246.537.5.40005.2003

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPrimary condition for encounter
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/condition-primary"
.... value[x]:valueCoding 1..1CodingValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ0..1uriIdentity of the terminology system
Required Pattern: urn:oid:1.2.246.537.5.40005.2003
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ0..1codeSymbol in syntax defined by the system
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePath(s)DetailsRequirements
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()