Implementation Guide for FFB reporting (FFB uddatasæt)
1.0.0 - release
This page is part of the KLFFBReporting (v1.0.0: Release) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions 
| Official URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-condition | Version: 1.0.0 | |||
| Active as of 2023-08-27 | Computable Name: KLReportingFFBCondition | |||
Condition according to FFB
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Condition
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | CodeableConcept | [DK] tilstandsstatus |
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandsstatus |
![]() ![]() | 0..0 | |||
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandssværhedsgrad Binding: KLFunktionsevneniveauFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | CodeableConcept | [DK] tilstandskode Binding: KLTilstandKoderFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Condition.severity | required | KLSeveritiesFFB |
| Condition.code | required | KLConditionCodesFFB |
| Id | Grade | Path(s) | Details | Requirements |
| kl-reporting-ffb-condition-1 | error | Condition | Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes : (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not()) |
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
![]() ![]() | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() | ?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandssværhedsgrad Binding: KLFunktionsevneniveauFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | SΣ | 1..1 | CodeableConcept | [DK] tilstandskode Binding: KLTilstandKoderFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
![]() ![]() | SΣ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
| Condition.verificationStatus | required | ConditionVerificationStatus |
| Condition.severity | required | KLSeveritiesFFB |
| Condition.code | required | KLConditionCodesFFB |
| Id | Grade | Path(s) | Details | Requirements |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If 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-5 | error | Condition | Condition.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() | |
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Condition | 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() | |
| kl-reporting-ffb-condition-1 | error | Condition | Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes : (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not()) |
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes |
![]() ![]() | Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
![]() ![]() | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() | ?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandssværhedsgrad Binding: KLFunktionsevneniveauFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | Σ | 0..* | Coding | Code defined by a terminology system |
![]() ![]() | SΣ | 1..1 | CodeableConcept | [DK] tilstandskode Binding: KLTilstandKoderFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | Σ | 0..* | Coding | Code defined by a terminology system |
![]() ![]() | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
![]() ![]() | SΣ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
| Condition.verificationStatus | required | ConditionVerificationStatus |
| Condition.severity | required | KLSeveritiesFFB |
| Condition.code | required | KLConditionCodesFFB |
| Condition.stage.summary | example | ConditionStage |
| Condition.stage.type | example | ConditionStageType |
| Condition.evidence.code | example | ManifestationAndSymptomCodes |
| Id | Grade | Path(s) | Details | Requirements |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If 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-5 | error | Condition | Condition.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() | |
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Condition | 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() | |
| kl-reporting-ffb-condition-1 | error | Condition | Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes : (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not()) |
This structure is derived from Condition
Summary
Mandatory: 3 elements
Must-Support: 7 elements
Prohibited: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Condition
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | CodeableConcept | [DK] tilstandsstatus |
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandsstatus |
![]() ![]() | 0..0 | |||
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandssværhedsgrad Binding: KLFunktionsevneniveauFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | CodeableConcept | [DK] tilstandskode Binding: KLTilstandKoderFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | S | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
![]() ![]() | 0..0 | |||
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Condition.severity | required | KLSeveritiesFFB |
| Condition.code | required | KLConditionCodesFFB |
| Id | Grade | Path(s) | Details | Requirements |
| kl-reporting-ffb-condition-1 | error | Condition | Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes : (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not()) |
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
![]() ![]() | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() | ?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandssværhedsgrad Binding: KLFunktionsevneniveauFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | SΣ | 1..1 | CodeableConcept | [DK] tilstandskode Binding: KLTilstandKoderFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
![]() ![]() | SΣ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
| Condition.verificationStatus | required | ConditionVerificationStatus |
| Condition.severity | required | KLSeveritiesFFB |
| Condition.code | required | KLConditionCodesFFB |
| Id | Grade | Path(s) | Details | Requirements |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If 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-5 | error | Condition | Condition.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() | |
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Condition | 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() | |
| kl-reporting-ffb-condition-1 | error | Condition | Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes : (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not()) |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses kl-reporting-ffb-condition-1: Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes |
![]() ![]() | Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() | SΣ | 0..1 | dateTime | [DK] tilstandSidstVurderetTid URL: http://fhir.kl.dk/core/StructureDefinition/ConditionLastAssertedDate |
![]() ![]() | ?!SΣC | 1..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis. |
![]() ![]() | ?!SΣC | 0..1 | CodeableConcept | [DK] tilstandsstatus Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
![]() ![]() | S | 0..1 | CodeableConcept | [DK] tilstandssværhedsgrad Binding: KLFunktionsevneniveauFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | Σ | 0..* | Coding | Code defined by a terminology system |
![]() ![]() | SΣ | 1..1 | CodeableConcept | [DK] tilstandskode Binding: KLTilstandKoderFFB (required) |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | Σ | 0..* | Coding | Code defined by a terminology system |
![]() ![]() | SΣ | 1..1 | Reference(Citizen) | [DK] tilstandssubjekt |
![]() ![]() | SΣ | 1..1 | dateTime | [DK] tilstandsoprettelsestid |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Condition.clinicalStatus | required | ConditionClinicalStatusCodes |
| Condition.verificationStatus | required | ConditionVerificationStatus |
| Condition.severity | required | KLSeveritiesFFB |
| Condition.code | required | KLConditionCodesFFB |
| Condition.stage.summary | example | ConditionStage |
| Condition.stage.type | example | ConditionStageType |
| Condition.evidence.code | example | ManifestationAndSymptomCodes |
| Id | Grade | Path(s) | Details | Requirements |
| con-3 | best practice | Condition | Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item : clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty() | |
| con-4 | error | Condition | If 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-5 | error | Condition | Condition.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() | |
| dom-2 | error | Condition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Condition | 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 | Condition | 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 | Condition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Condition | 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() | |
| kl-reporting-ffb-condition-1 | error | Condition | Severity is mandatory for condition codes of 'Aktivitet og Deltagelse' and not allowed for other condition codes : (severity.exists() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB')) or (severity.exists().not() and code.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionADCodesFFB').not()) |
This structure is derived from Condition
Summary
Mandatory: 3 elements
Must-Support: 7 elements
Prohibited: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron