CH EMR (R4)
0.1.0 - ci-build
CH EMR (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ehealthsuisse/ch-emr/ and changes regularly. See the Directory of published versions
| Official URL: http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-deviceusestatement | Version: 0.1.0 | |||
| Draft as of 2026-06-04 | Computable Name: ChEmrDeviceUseStatement | |||
Copyright/Legal: CC0-1.0 |
||||
Use of an implanted device in the Emergency Record. The bodySite CodeableConcept may carry the ChEmrBodyStructureReference extension to link to a ChEmrBodyStructure for structured anatomy + laterality.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUseStatement.status | Base | required | DeviceUseStatementStatus | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.bodySite | Base | preferred | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-emr-dus-bodysite-matches-bodystructure | error | DeviceUseStatement.bodySite | If bodySite carries the body-structure-reference extension, bodySite.coding must equal the referenced BodyStructure.location.coding. |
extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').empty() or coding = (extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').value as Reference).resolve().location.coding
|
| dom-2 | error | DeviceUseStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUseStatement | If 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-4 | error | DeviceUseStatement | If 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-5 | error | DeviceUseStatement | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUseStatement | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from DeviceUseStatementUvIps
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DeviceUseStatementUvIps | Record of use of a device | |||||||||
![]() ![]() |
1..1 | Reference(CH IPS Patient) {b} | Patient using device | |||||||||
![]() ![]() |
1..1 | Reference(CH Emergency Record Device) {b} | Reference to device used | |||||||||
![]() ![]() |
SOC | 0..1 | CodeableConcept | Target body site Binding: SNOMEDCTBodyStructures (preferred) Constraints: ch-emr-dus-bodysite-matches-bodystructure
| ||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference
| ||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(CH Emergency Record Body Structure) {b} | Value of extension | |||||||||
![]() ![]() ![]() |
SO | 1..1 | Coding | Code defined by a terminology system
| ||||||||
Documentation for this format | ||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUseStatement.bodySite | Base | preferred | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-emr-dus-bodysite-matches-bodystructure | error | DeviceUseStatement.bodySite | If bodySite carries the body-structure-reference extension, bodySite.coding must equal the referenced BodyStructure.location.coding. |
extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').empty() or coding = (extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').value as Reference).resolve().location.coding
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DeviceUseStatementUvIps | Record of use of a device | |||||||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||||||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier for this record | ||||||||||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest) | Fulfills plan, proposal or order | ||||||||||||
![]() ![]() |
?!Σ | 1..1 | code | active | completed | entered-in-error + Binding: DeviceUseStatementStatus (required): A coded concept indicating the current status of the Device Usage. | ||||||||||||
![]() ![]() |
SOΣ | 1..1 | Reference(CH IPS Patient) {b} | Patient using device
| ||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||
![]() ![]() ![]() |
SOΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL
| ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||||||||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) | Supporting information | ||||||||||||
![]() ![]() |
SOΣ | 1..1 | How often the device was used Slice: Unordered, Open by type:$this
| |||||||||||||
![]() ![]() ![]() |
Period | |||||||||||||||
![]() ![]() ![]() |
dateTime | |||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | dateTime | How often the device was used
| ||||||||||||
![]() ![]() |
Σ | 0..1 | dateTime | When statement was recorded | ||||||||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | Who made the statement | ||||||||||||
![]() ![]() |
SOΣ | 1..1 | Reference(CH Emergency Record Device) {b} | Reference to device used
| ||||||||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Why device was used | ||||||||||||
![]() ![]() |
Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference | Media) | Why was DeviceUseStatement performed? | ||||||||||||
![]() ![]() |
SOΣC | 0..1 | CodeableConcept | Target body site Binding: SNOMEDCTBodyStructures (preferred) Constraints: ch-emr-dus-bodysite-matches-bodystructure
| ||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference
| ||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference" | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(CH Emergency Record Body Structure) {b} | Value of extension | |||||||||||||
![]() ![]() ![]() |
SOΣ | 1..1 | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||||||||
![]() ![]() |
0..* | Annotation | Addition details (comments, instructions) | |||||||||||||
Documentation for this format | ||||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUseStatement.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.status | Base | required | DeviceUseStatementStatus | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.bodySite | Base | preferred | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-emr-dus-bodysite-matches-bodystructure | error | DeviceUseStatement.bodySite | If bodySite carries the body-structure-reference extension, bodySite.coding must equal the referenced BodyStructure.location.coding. |
extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').empty() or coding = (extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').value as Reference).resolve().location.coding
|
| dom-2 | error | DeviceUseStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUseStatement | If 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-4 | error | DeviceUseStatement | If 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-5 | error | DeviceUseStatement | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUseStatement | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from DeviceUseStatementUvIps
Summary
Mandatory: 0 element(1 nested mandatory element)
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DeviceUseStatementUvIps | Record of use of a device | |||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||
![]() ![]() |
?!Σ | 1..1 | code | active | completed | entered-in-error + Binding: DeviceUseStatementStatus (required): A coded concept indicating the current status of the Device Usage. | ||||||||||||
![]() ![]() |
SOΣ | 1..1 | Reference(CH IPS Patient) {b} | Patient using device
| ||||||||||||
![]() ![]() ![]() |
SOΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL
| ||||||||||||
![]() ![]() |
SOΣ | 1..1 | How often the device was used Slice: Unordered, Open by type:$this
| |||||||||||||
![]() ![]() ![]() |
Period | |||||||||||||||
![]() ![]() ![]() |
dateTime | |||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | dateTime | How often the device was used
| ||||||||||||
![]() ![]() |
SOΣ | 1..1 | Reference(CH Emergency Record Device) {b} | Reference to device used
| ||||||||||||
![]() ![]() |
SOΣC | 0..1 | CodeableConcept | Target body site Binding: SNOMEDCTBodyStructures (preferred) Constraints: ch-emr-dus-bodysite-matches-bodystructure
| ||||||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference
| ||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference" | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(CH Emergency Record Body Structure) {b} | Value of extension | |||||||||||||
![]() ![]() ![]() |
SOΣ | 1..1 | Coding | Code defined by a terminology system
| ||||||||||||
Documentation for this format | ||||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUseStatement.status | Base | required | DeviceUseStatementStatus | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.bodySite | Base | preferred | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-emr-dus-bodysite-matches-bodystructure | error | DeviceUseStatement.bodySite | If bodySite carries the body-structure-reference extension, bodySite.coding must equal the referenced BodyStructure.location.coding. |
extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').empty() or coding = (extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').value as Reference).resolve().location.coding
|
| dom-2 | error | DeviceUseStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUseStatement | If 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-4 | error | DeviceUseStatement | If 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-5 | error | DeviceUseStatement | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUseStatement | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from DeviceUseStatementUvIps
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DeviceUseStatementUvIps | Record of use of a device | |||||||||
![]() ![]() |
1..1 | Reference(CH IPS Patient) {b} | Patient using device | |||||||||
![]() ![]() |
1..1 | Reference(CH Emergency Record Device) {b} | Reference to device used | |||||||||
![]() ![]() |
SOC | 0..1 | CodeableConcept | Target body site Binding: SNOMEDCTBodyStructures (preferred) Constraints: ch-emr-dus-bodysite-matches-bodystructure
| ||||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference
| ||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(CH Emergency Record Body Structure) {b} | Value of extension | |||||||||
![]() ![]() ![]() |
SO | 1..1 | Coding | Code defined by a terminology system
| ||||||||
Documentation for this format | ||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUseStatement.bodySite | Base | preferred | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-emr-dus-bodysite-matches-bodystructure | error | DeviceUseStatement.bodySite | If bodySite carries the body-structure-reference extension, bodySite.coding must equal the referenced BodyStructure.location.coding. |
extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').empty() or coding = (extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').value as Reference).resolve().location.coding
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DeviceUseStatementUvIps | Record of use of a device | |||||||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||||||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||||||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier for this record | ||||||||||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest) | Fulfills plan, proposal or order | ||||||||||||
![]() ![]() |
?!Σ | 1..1 | code | active | completed | entered-in-error + Binding: DeviceUseStatementStatus (required): A coded concept indicating the current status of the Device Usage. | ||||||||||||
![]() ![]() |
SOΣ | 1..1 | Reference(CH IPS Patient) {b} | Patient using device
| ||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||
![]() ![]() ![]() |
SOΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL
| ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||||||||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) | Supporting information | ||||||||||||
![]() ![]() |
SOΣ | 1..1 | How often the device was used Slice: Unordered, Open by type:$this
| |||||||||||||
![]() ![]() ![]() |
Period | |||||||||||||||
![]() ![]() ![]() |
dateTime | |||||||||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | dateTime | How often the device was used
| ||||||||||||
![]() ![]() |
Σ | 0..1 | dateTime | When statement was recorded | ||||||||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | Who made the statement | ||||||||||||
![]() ![]() |
SOΣ | 1..1 | Reference(CH Emergency Record Device) {b} | Reference to device used
| ||||||||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Why device was used | ||||||||||||
![]() ![]() |
Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference | Media) | Why was DeviceUseStatement performed? | ||||||||||||
![]() ![]() |
SOΣC | 0..1 | CodeableConcept | Target body site Binding: SNOMEDCTBodyStructures (preferred) Constraints: ch-emr-dus-bodysite-matches-bodystructure
| ||||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||||
![]() ![]() ![]() ![]() |
SO | 0..1 | (Complex) | Extension URL: http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference
| ||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference" | |||||||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(CH Emergency Record Body Structure) {b} | Value of extension | |||||||||||||
![]() ![]() ![]() |
SOΣ | 1..1 | Coding | Code defined by a terminology system
| ||||||||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||||||||
![]() ![]() |
0..* | Annotation | Addition details (comments, instructions) | |||||||||||||
Documentation for this format | ||||||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUseStatement.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.status | Base | required | DeviceUseStatementStatus | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DeviceUseStatement.bodySite | Base | preferred | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-emr-dus-bodysite-matches-bodystructure | error | DeviceUseStatement.bodySite | If bodySite carries the body-structure-reference extension, bodySite.coding must equal the referenced BodyStructure.location.coding. |
extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').empty() or coding = (extension.where(url = 'http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-body-structure-reference').value as Reference).resolve().location.coding
|
| dom-2 | error | DeviceUseStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUseStatement | If 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-4 | error | DeviceUseStatement | If 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-5 | error | DeviceUseStatement | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUseStatement | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from DeviceUseStatementUvIps
Summary
Mandatory: 0 element(1 nested mandatory element)
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron