CH Core (R4)
2.0.0 - STU 2
This page is part of the CH Core (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
Extension to define an encounter that is caused by an accident and at which time the accident happened
The official URL for this extension is:
http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-accident
Status: active
Extension maintained by: HL7 Switzerland
Context of Use
This extension may be used on the following element(s):
Usage info
Usage:
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Extension | |
extension:tag | 0..1 | Extension | Information if it was an accident | |
extension | 0..0 | |||
url | 1..1 | uri | "tag" | |
valueBoolean | 1..1 | boolean | Flag to indicate that it was an accident | |
extension:datetime | 0..1 | Extension | Timestamp of the authorship/data input | |
extension | 0..0 | |||
url | 1..1 | uri | "dateTime" | |
valueDateTime | 1..1 | dateTime | date and time of accident | |
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-accident" | |
value[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Extension | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
extension:tag | 0..1 | Extension | Information if it was an accident | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "tag" | |
value[x] | 1..1 | (Slice Definition) | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueBoolean | 1..1 | boolean | Flag to indicate that it was an accident | |
extension:datetime | 0..1 | Extension | Timestamp of the authorship/data input | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "dateTime" | |
value[x] | 1..1 | (Slice Definition) | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueDateTime | 1..1 | dateTime | date and time of accident | |
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-accident" | |
Documentation for this format |
This structure is derived from Extension
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Extension | |
extension:tag | 0..1 | Extension | Information if it was an accident | |
extension | 0..0 | |||
url | 1..1 | uri | "tag" | |
valueBoolean | 1..1 | boolean | Flag to indicate that it was an accident | |
extension:datetime | 0..1 | Extension | Timestamp of the authorship/data input | |
extension | 0..0 | |||
url | 1..1 | uri | "dateTime" | |
valueDateTime | 1..1 | dateTime | date and time of accident | |
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-accident" | |
value[x] | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Extension | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
extension:tag | 0..1 | Extension | Information if it was an accident | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "tag" | |
value[x] | 1..1 | (Slice Definition) | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueBoolean | 1..1 | boolean | Flag to indicate that it was an accident | |
extension:datetime | 0..1 | Extension | Timestamp of the authorship/data input | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "dateTime" | |
value[x] | 1..1 | (Slice Definition) | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueDateTime | 1..1 | dateTime | date and time of accident | |
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-accident" | |
Documentation for this format |
Other representations of extension: Schematron
Id | Path | Details | Requirements |
ele-1 | Extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Extension.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Extension.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Extension.extension:tag | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Extension.extension:tag | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Extension.extension:tag.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Extension.extension:tag.value[x]:valueBoolean | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Extension.extension:datetime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Extension.extension:datetime | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Extension.extension:datetime.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Extension.extension:datetime.value[x]:valueDateTime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |