FHIR Implementation Guide for NJSAMS


1.0.0 - release

NJSAMS - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NJSAMSCondition

Official URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/NJSAMSCondition Version: 1.0.0
Active as of 2025-06-23 Computable Name: NJSAMSCondition

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* USCoreCondition Detailed information about conditions, problems or diagnoses
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... extension:substance S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed"
..... value[x] 0..1 string Value of extension
ele-1: All FHIR elements must have a @value or children
.... extension:sequence S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence"
..... value[x] 0..1 integer Value of extension
ele-1: All FHIR elements must have a @value or children
.... extension:updatedDate S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate"
..... value[x] 0..1 dateTime Value of extension
ele-1: All FHIR elements must have a @value or children
.... extension:specifiers S 0..2 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers"
..... value[x] 0..1 Coding Value of extension
Binding: NJSAMS Use Specifiers (required)
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... identifier:DSMID SΣ 1..1 Identifier Identifier for instance of DSMV Evaluation
ele-1: All FHIR elements must have a @value or children
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
..... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/DSMID
... clinicalStatus ?!SΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
... category SC 1..* CodeableConcept problem-list-item | encounter-diagnosis | health-concern
Binding: US Core Condition Category Codes (extensible): A category assigned to the condition.


ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: problem-list-item
..... display 1..1 string Representation defined by the system
Fixed Value: Problem List Item
... severity S 1..1 CodeableConcept Subjective severity of condition
Binding: NJSAMS Condition Severity (required)
ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: US Core Condition Code (extensible): Valueset to describe the actual problem experienced by the patient


ele-1: All FHIR elements must have a @value or children
... subject SΣC 1..1 Reference(US Core Patient Profile) Who has the condition?
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... abatement[x] C 0..1 When in resolution/remission
ele-1: All FHIR elements must have a @value or children
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
ele-1: All FHIR elements must have a @value or children
... recorder SΣC 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... asserter ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.extension:specifiers.value[x]requiredNJSAMSUseSpecifiers
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-use-specifiers-vs
from this IG
Condition.identifier:DSMID.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status
from the FHIR Standard
Condition.categoryextensiblePattern: problem-list-item("Problem List Item")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.severityrequiredNJSAMSConditionSeverity
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-condition-severity-vs
from this IG
Condition.codeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorCondition.extension:substance, Condition.extension:sequence, Condition.extension:updatedDate, Condition.extension:specifiers, Condition.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorCondition.subject, Condition.recorder, Condition.asserterSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
us-core-1best practiceConditionA code in Condition.category SHOULD be from US Core Condition Category Codes value set.
: where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()

This structure is derived from USCoreCondition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* USCoreCondition Detailed information about conditions, problems or diagnoses
... Slices for extension Content/Rules for all slices
.... extension:substance S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed
..... value[x] 0..1 string Value of extension
.... extension:sequence S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence
..... value[x] 0..1 integer Value of extension
.... extension:updatedDate S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate
..... value[x] 0..1 dateTime Value of extension
.... extension:specifiers S 0..2 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers
..... value[x] 0..1 Coding Value of extension
... Slices for identifier 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:DSMID S 1..1 Identifier Identifier for instance of DSMV Evaluation
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/DSMID
... category 1..* CodeableConcept problem-list-item | encounter-diagnosis | health-concern
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: problem-list-item
..... display 1..1 string Representation defined by the system
Fixed Value: Problem List Item
... code 1..1 CodeableConcept Identification of the condition, problem or diagnosis
... subject 1..1 Reference(US Core Patient Profile) Who has the condition?
... recordedDate 0..1 dateTime Date record was first recorded
... recorder S 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
... note
.... text 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.severityrequiredNJSAMSConditionSeverity
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-condition-severity-vs
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* USCoreCondition Detailed information about conditions, problems or diagnoses
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:substance S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed"
..... value[x] 0..1 string Value of extension
.... extension:sequence S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence"
..... value[x] 0..1 integer Value of extension
.... extension:updatedDate S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate"
..... value[x] 0..1 dateTime Value of extension
.... extension:specifiers S 0..2 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers"
..... value[x] 0..1 Coding Value of extension
Binding: NJSAMS Use Specifiers (required)
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier Σ 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:DSMID SΣ 1..1 Identifier Identifier for instance of DSMV Evaluation
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/DSMID
..... value Σ 0..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
... clinicalStatus ?!SΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.

... category SC 1..* CodeableConcept problem-list-item | encounter-diagnosis | health-concern
Binding: US Core Condition Category Codes (extensible): A category assigned to the condition.



Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: problem-list-item
..... display 1..1 string Representation defined by the system
Fixed Value: Problem List Item
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... severity S 1..1 CodeableConcept Subjective severity of condition
Binding: NJSAMS Condition Severity (required)
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: US Core Condition Code (extensible): Valueset to describe the actual problem experienced by the patient

... bodySite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... subject SΣC 1..1 Reference(US Core Patient Profile) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter ΣC 0..1 Reference(Encounter) Encounter created as part of
ref-1: SHALL have a contained resource if a local reference is provided
... onset[x] Σ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... recorder SΣC 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ref-1: SHALL have a contained resource if a local reference is provided
... asserter ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
ref-1: SHALL have a contained resource if a local reference is provided
... stage C 0..* BackboneElement Stage/grade, usually assessed formally
con-1: Stage SHALL have summary or assessment
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
ref-1: SHALL have a contained resource if a local reference is provided
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).

... evidence C 0..* BackboneElement Supporting evidence
con-2: evidence SHALL have code or details
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code ΣC 0..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... detail ΣC 0..* Reference(Resource) Supporting information found elsewhere
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..* Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Condition.extension:specifiers.value[x]requiredNJSAMSUseSpecifiers
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-use-specifiers-vs
from this IG
Condition.identifier:DSMID.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Condition.identifier:DSMID.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status
from the FHIR Standard
Condition.categoryextensiblePattern: problem-list-item("Problem List Item")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.severityrequiredNJSAMSConditionSeverity
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-condition-severity-vs
from this IG
Condition.codeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
Condition.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stageStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorCondition.extension, Condition.extension:substance, Condition.extension:sequence, Condition.extension:updatedDate, Condition.extension:specifiers, Condition.modifierExtension, Condition.identifier:DSMID.extension, Condition.stage.extension, Condition.stage.modifierExtension, Condition.evidence.extension, Condition.evidence.modifierExtension, Condition.note.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorCondition.identifier:DSMID.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1errorCondition.identifier:DSMID.assigner, Condition.subject, Condition.encounter, Condition.recorder, Condition.asserter, Condition.stage.assessment, Condition.evidence.detailSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
us-core-1best practiceConditionA code in Condition.category SHOULD be from US Core Condition Category Codes value set.
: where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()

This structure is derived from USCoreCondition

Summary

Mandatory: 5 elements
Must-Support: 7 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.identifier

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* USCoreCondition Detailed information about conditions, problems or diagnoses
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... extension:substance S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed"
..... value[x] 0..1 string Value of extension
ele-1: All FHIR elements must have a @value or children
.... extension:sequence S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence"
..... value[x] 0..1 integer Value of extension
ele-1: All FHIR elements must have a @value or children
.... extension:updatedDate S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate"
..... value[x] 0..1 dateTime Value of extension
ele-1: All FHIR elements must have a @value or children
.... extension:specifiers S 0..2 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers"
..... value[x] 0..1 Coding Value of extension
Binding: NJSAMS Use Specifiers (required)
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... identifier:DSMID SΣ 1..1 Identifier Identifier for instance of DSMV Evaluation
ele-1: All FHIR elements must have a @value or children
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
..... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/DSMID
... clinicalStatus ?!SΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
... category SC 1..* CodeableConcept problem-list-item | encounter-diagnosis | health-concern
Binding: US Core Condition Category Codes (extensible): A category assigned to the condition.


ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: problem-list-item
..... display 1..1 string Representation defined by the system
Fixed Value: Problem List Item
... severity S 1..1 CodeableConcept Subjective severity of condition
Binding: NJSAMS Condition Severity (required)
ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: US Core Condition Code (extensible): Valueset to describe the actual problem experienced by the patient


ele-1: All FHIR elements must have a @value or children
... subject SΣC 1..1 Reference(US Core Patient Profile) Who has the condition?
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... abatement[x] C 0..1 When in resolution/remission
ele-1: All FHIR elements must have a @value or children
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
ele-1: All FHIR elements must have a @value or children
... recorder SΣC 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... asserter ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.extension:specifiers.value[x]requiredNJSAMSUseSpecifiers
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-use-specifiers-vs
from this IG
Condition.identifier:DSMID.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status
from the FHIR Standard
Condition.categoryextensiblePattern: problem-list-item("Problem List Item")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.severityrequiredNJSAMSConditionSeverity
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-condition-severity-vs
from this IG
Condition.codeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorCondition.extension:substance, Condition.extension:sequence, Condition.extension:updatedDate, Condition.extension:specifiers, Condition.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorCondition.subject, Condition.recorder, Condition.asserterSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
us-core-1best practiceConditionA code in Condition.category SHOULD be from US Core Condition Category Codes value set.
: where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()

Differential View

This structure is derived from USCoreCondition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition 0..* USCoreCondition Detailed information about conditions, problems or diagnoses
... Slices for extension Content/Rules for all slices
.... extension:substance S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed
..... value[x] 0..1 string Value of extension
.... extension:sequence S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence
..... value[x] 0..1 integer Value of extension
.... extension:updatedDate S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate
..... value[x] 0..1 dateTime Value of extension
.... extension:specifiers S 0..2 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers
..... value[x] 0..1 Coding Value of extension
... Slices for identifier 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:DSMID S 1..1 Identifier Identifier for instance of DSMV Evaluation
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/DSMID
... category 1..* CodeableConcept problem-list-item | encounter-diagnosis | health-concern
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: problem-list-item
..... display 1..1 string Representation defined by the system
Fixed Value: Problem List Item
... code 1..1 CodeableConcept Identification of the condition, problem or diagnosis
... subject 1..1 Reference(US Core Patient Profile) Who has the condition?
... recordedDate 0..1 dateTime Date record was first recorded
... recorder S 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
... asserter 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
... note
.... text 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Condition.severityrequiredNJSAMSConditionSeverity
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-condition-severity-vs
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* USCoreCondition Detailed information about conditions, problems or diagnoses
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:substance S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/SubstanceUsed"
..... value[x] 0..1 string Value of extension
.... extension:sequence S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/Sequence"
..... value[x] 0..1 integer Value of extension
.... extension:updatedDate S 0..1 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UpdatedDate"
..... value[x] 0..1 dateTime Value of extension
.... extension:specifiers S 0..2 (Complex) Extension
URL: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.njsams.rutgers.edu/NJSAMS-fhir/StructureDefinition/UseSpecifiers"
..... value[x] 0..1 Coding Value of extension
Binding: NJSAMS Use Specifiers (required)
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier Σ 1..* Identifier External Ids for this condition
Slice: Unordered, Open by value:system
.... identifier:DSMID SΣ 1..1 Identifier Identifier for instance of DSMV Evaluation
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.njsams.rutgers.edu/NJSAMS-fhir/DSMID
..... value Σ 0..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
... clinicalStatus ?!SΣC 0..1 CodeableConcept active | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.

... verificationStatus ?!SΣC 0..1 CodeableConcept unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required): The verification status to support or decline the clinical status of the condition or diagnosis.

... category SC 1..* CodeableConcept problem-list-item | encounter-diagnosis | health-concern
Binding: US Core Condition Category Codes (extensible): A category assigned to the condition.



Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/condition-category
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: problem-list-item
..... display 1..1 string Representation defined by the system
Fixed Value: Problem List Item
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... severity S 1..1 CodeableConcept Subjective severity of condition
Binding: NJSAMS Condition Severity (required)
... code SΣ 1..1 CodeableConcept Identification of the condition, problem or diagnosis
Binding: US Core Condition Code (extensible): Valueset to describe the actual problem experienced by the patient

... bodySite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... subject SΣC 1..1 Reference(US Core Patient Profile) Who has the condition?
ref-1: SHALL have a contained resource if a local reference is provided
... encounter ΣC 0..1 Reference(Encounter) Encounter created as part of
ref-1: SHALL have a contained resource if a local reference is provided
... onset[x] Σ 0..1 Estimated or actual date, date-time, or age
.... onsetDateTime dateTime
.... onsetAge Age
.... onsetPeriod Period
.... onsetRange Range
.... onsetString string
... abatement[x] C 0..1 When in resolution/remission
.... abatementDateTime dateTime
.... abatementAge Age
.... abatementPeriod Period
.... abatementRange Range
.... abatementString string
... recordedDate Σ 0..1 dateTime Date record was first recorded
... recorder SΣC 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Who recorded the condition
ref-1: SHALL have a contained resource if a local reference is provided
... asserter ΣC 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Person who asserts this condition
ref-1: SHALL have a contained resource if a local reference is provided
... stage C 0..* BackboneElement Stage/grade, usually assessed formally
con-1: Stage SHALL have summary or assessment
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... summary C 0..1 CodeableConcept Simple summary (disease specific)
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).

.... assessment C 0..* Reference(ClinicalImpression | DiagnosticReport | Observation) Formal record of assessment
ref-1: SHALL have a contained resource if a local reference is provided
.... type 0..1 CodeableConcept Kind of staging
Binding: ConditionStageType (example): Codes describing the kind of condition staging (e.g. clinical or pathological).

... evidence C 0..* BackboneElement Supporting evidence
con-2: evidence SHALL have code or details
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code ΣC 0..* CodeableConcept Manifestation/symptom
Binding: ManifestationAndSymptomCodes (example): Codes that describe the manifestation or symptoms of a condition.


.... detail ΣC 0..* Reference(Resource) Supporting information found elsewhere
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..* Annotation Additional information about the Condition
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Condition.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Condition.extension:specifiers.value[x]requiredNJSAMSUseSpecifiers
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-use-specifiers-vs
from this IG
Condition.identifier:DSMID.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Condition.identifier:DSMID.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical
from the FHIR Standard
Condition.verificationStatusrequiredConditionVerificationStatus
http://hl7.org/fhir/ValueSet/condition-ver-status
from the FHIR Standard
Condition.categoryextensiblePattern: problem-list-item("Problem List Item")
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
Condition.severityrequiredNJSAMSConditionSeverity
https://fhir.njsams.rutgers.edu/NJSAMS-fhir/ValueSet/njsams-condition-severity-vs
from this IG
Condition.codeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
Condition.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Condition.stage.summaryexampleConditionStage
http://hl7.org/fhir/ValueSet/condition-stage
from the FHIR Standard
Condition.stage.typeexampleConditionStageType
http://hl7.org/fhir/ValueSet/condition-stage-type
from the FHIR Standard
Condition.evidence.codeexampleManifestationAndSymptomCodes
http://hl7.org/fhir/ValueSet/manifestation-or-symptom
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
con-1errorCondition.stageStage SHALL have summary or assessment
: summary.exists() or assessment.exists()
con-2errorCondition.evidenceevidence SHALL have code or details
: code.exists() or detail.exists()
con-3best practiceConditionCondition.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-4errorConditionIf 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-5errorConditionCondition.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-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf 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-4errorConditionIf 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-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorCondition.extension, Condition.extension:substance, Condition.extension:sequence, Condition.extension:updatedDate, Condition.extension:specifiers, Condition.modifierExtension, Condition.identifier:DSMID.extension, Condition.stage.extension, Condition.stage.modifierExtension, Condition.evidence.extension, Condition.evidence.modifierExtension, Condition.note.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorCondition.identifier:DSMID.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1errorCondition.identifier:DSMID.assigner, Condition.subject, Condition.encounter, Condition.recorder, Condition.asserter, Condition.stage.assessment, Condition.evidence.detailSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
us-core-1best practiceConditionA code in Condition.category SHOULD be from US Core Condition Category Codes value set.
: where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()

This structure is derived from USCoreCondition

Summary

Mandatory: 5 elements
Must-Support: 7 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Condition.identifier

 

Other representations of profile: CSV, Excel, Schematron