{
"description": "Records the history of the primary cancer condition, the original or first tumor in the body (reference https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\\n\\nCancer staging information summarized in this profile should reflect the most recent staging assessment on the patient, and should be updated if and when there is a new staging assessment. Past staging assessments will be preserved in instances of the TNMClinicalStageGroup and/or TNMPathologicalStageGroup, which refer back to PrimaryCancerCondition.\\n\\nConformance note: For the code attribute, to be compliant with [US Core Profiles](http://hl7.org/fhir/us/core/STU3/index.html), SNOMED CT must be used unless there is no suitable code, in which case ICD-10-CM can be used.",
"_filename": "StructureDefinition-onco-core-PrimaryCancerCondition.json",
"package_name": "hl7.fhir.us.mcode",
"date": "2019-08-01T00:00:00-04:00",
"derivation": "constraint",
"publisher": "HL7 International Clinical Interoperability Council",
"fhirVersion": "4.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "US",
"system": "urn:iso:std:iso:3166",
"display": "United States of America"
} ]
} ],
"name": "PrimaryCancerCondition",
"mapping": [ {
"uri": "http://unknown.org/Argonaut-DQ-DSTU2",
"name": "Argonaut-DQ-DSTU2",
"identity": "argonaut-dq-dstu2"
}, {
"uri": "http://hl7.org/fhir/workflow",
"name": "Workflow Pattern",
"identity": "workflow"
}, {
"uri": "http://snomed.info/conceptdomain",
"name": "SNOMED CT Concept Domain Binding",
"identity": "sct-concept"
}, {
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping",
"identity": "v2"
}, {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
}, {
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping",
"identity": "w5"
}, {
"uri": "http://snomed.org/attributebinding",
"name": "SNOMED CT Attribute Binding",
"identity": "sct-attr"
} ],
"abstract": false,
"type": "Condition",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "onco-core-PrimaryCancerCondition",
"package_version": "0.9.1",
"snapshot": {
"element": [ {
"constraint": [ {
"key": "dom-2",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"xpath": "not(parent::f:contained and f:contained)",
"source": "DomainResource",
"severity": "error",
"expression": "contained.contained.empty()"
}, {
"key": "dom-4",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
"source": "DomainResource",
"severity": "error",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
}, {
"key": "dom-3",
"human": "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",
"xpath": "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
"source": "DomainResource",
"severity": "error",
"expression": "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()"
}, {
"key": "dom-6",
"human": "A resource should have narrative for robust management",
"xpath": "exists(f:text/h:div)",
"source": "DomainResource",
"severity": "warning",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
"valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
} ],
"expression": "text.div.exists()"
}, {
"key": "dom-5",
"human": "If a resource is contained in another resource, it SHALL NOT have a security label",
"xpath": "not(exists(f:contained/*/f:meta/f:security))",
"source": "DomainResource",
"severity": "error",
"expression": "contained.meta.security.empty()"
}, {
"key": "con-5",
"human": "Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error",
"xpath": "not(exists(f:verificationStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-ver-status' and f:code/@value='entered-in-error'])) or not(exists(f:clinicalStatus))",
"source": "Condition",
"severity": "error",
"expression": "verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()"
}, {
"key": "con-4",
"human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission",
"xpath": "not(exists(*[starts-with(local-name(.), 'abatement')])) or exists(f:clinicalStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-clinical' and f:code/@value=('resolved', 'remission', 'inactive')])",
"source": "Condition",
"severity": "error",
"expression": "abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()"
}, {
"key": "con-3",
"human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item",
"xpath": "exists(f:clinicalStatus) or f:verificationStatus/@value='entered-in-error' or not(exists(category[@value='problem-list-item']))",
"source": "Condition",
"severity": "warning",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
"valueMarkdown": "Most systems will expect a clinicalStatus to be valued for problem-list-items that are managed over time, but might not need a clinicalStatus for point in time encounter-diagnosis."
} ],
"expression": "clinicalStatus.exists() or verificationStatus='entered-in-error' or category.select($this='problem-list-item').empty()"
}, {
"key": "us-core-1",
"human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.",
"xpath": "(no xpath equivalent)",
"severity": "warning",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
} ],
"expression": "where(category in 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category').exists()"
} ],
"path": "Condition",
"min": 0,
"definition": "Records the history of the primary cancer condition, the original or first tumor in the body (reference https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\n\nCancer staging information summarized in this profile should reflect the most recent staging assessment on the patient, and should be updated if and when there is a new staging assessment. Past staging assessments will be preserved in instances of the TNMClinicalStageGroup and/or TNMPathologicalStageGroup, which refer back to PrimaryCancerCondition.\n\nConformance note: For the code attribute, to be compliant with [US Core Profiles](http://hl7.org/fhir/us/core/STU3/index.html), SNOMED CT must be used unless there is no suitable code, in which case ICD-10-CM can be used.",
"isModifier": false,
"short": "onco-core-PrimaryCancerCondition",
"mapping": [ {
"map": "Entity. Role, or Act",
"identity": "rim"
}, {
"map": "Event",
"identity": "workflow"
}, {
"map": "< 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)",
"identity": "sct-concept"
}, {
"map": "PPR message",
"identity": "v2"
}, {
"map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value,
"identity": "rim"
}, {
"map": "Condition",
"identity": "argonaut-dq-dstu2"
} ],
"mustSupport": false,
"max": "*",
"id": "Condition",
"base": {
"max": "*",
"min": 0,
"path": "Condition"
},
"isSummary": false
}, {
"path": "Condition.id",
"min": 0,
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"isModifier": false,
"short": "Logical id of this artifact",
"type": [ {
"code": "id"
} ],
"max": "1",
"id": "Condition.id",
"comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"base": {
"max": "1",
"min": 0,
"path": "Resource.id"
},
"isSummary": true
}, {
"path": "Condition.meta",
"min": 0,
"definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
"isModifier": false,
"short": "Metadata about the resource",
"type": [ {
"code": "Meta"
} ],
"max": "1",
"id": "Condition.meta",
"base": {
"max": "1",
"min": 0,
"path": "Resource.meta"
},
"isSummary": true
}, {
"path": "Condition.implicitRules",
"min": 0,
"definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
"isModifier": true,
"short": "A set of rules under which this content was created",
"type": [ {
"code": "uri"
} ],
"max": "1",
"id": "Condition.implicitRules",
"comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
"base": {
"max": "1",
"min": 0,
"path": "Resource.implicitRules"
},
"isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
"isSummary": true
}, {
"path": "Condition.language",
"min": 0,
"definition": "The base language in which the resource is written.",
"isModifier": false,
"short": "Language of the resource content",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/languages",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "A human language."
},
"max": "1",
"id": "Condition.language",
"comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
"base": {
"max": "1",
"min": 0,
"path": "Resource.language"
},
"isSummary": false
}, {
"path": "Condition.text",
"min": 0,
"definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
"isModifier": false,
"short": "Text summary of the resource, for human interpretation",
"mapping": [ {
"map": "Act.text?",
"identity": "rim"
} ],
"type": [ {
"code": "Narrative"
} ],
"alias": [ "narrative", "html", "xhtml", "display" ],
"max": "1",
"id": "Condition.text",
"comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
"base": {
"max": "1",
"min": 0,
"path": "DomainResource.text"
},
"isSummary": false
}, {
"path": "Condition.contained",
"min": 0,
"definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
"isModifier": false,
"short": "Contained, inline Resources",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Resource"
} ],
"alias": [ "inline resources", "anonymous resources", "contained resources" ],
"max": "*",
"id": "Condition.contained",
"comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.contained"
},
"isSummary": false
}, {
"path": "Condition.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"slicing": {
"id": "2",
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Condition.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
},
"isSummary": false
}, {
"path": "Condition.extension",
"min": 0,
"definition": "The date the disease was first clinically recognized with sufficient certainty, regardless of whether it was fully characterized at that time.",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" ]
} ],
"mustSupport": true,
"sliceName": "dateofdiagnosis",
"max": "1",
"id": "Condition.extension:dateofdiagnosis",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
},
"isSummary": false
}, {
"path": "Condition.extension",
"min": 0,
"definition": "A description of the morphologic and behavioral characteristics of the cancer.",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/onco-core-HistologyMorphologyBehavior-extension" ]
} ],
"mustSupport": true,
"sliceName": "histologymorphologybehavior",
"max": "1",
"id": "Condition.extension:histologymorphologybehavior",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
},
"isSummary": false
}, {
"path": "Condition.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Condition.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
"isSummary": false
}, {
"path": "Condition.identifier",
"requirements": "Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers.",
"min": 0,
"definition": "Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
"isModifier": false,
"short": "External Ids for this condition",
"mapping": [ {
"map": "Event.identifier",
"identity": "workflow"
}, {
"map": "FiveWs.identifier",
"identity": "w5"
}, {
"map": ".id",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "*",
"id": "Condition.identifier",
"comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.",
"base": {
"max": "*",
"min": 0,
"path": "Condition.identifier"
},
"isSummary": true
}, {
"path": "Condition.clinicalStatus",
"min": 0,
"definition": "The clinical status of the condition.",
"isModifier": true,
"short": "active | recurrence | relapse | inactive | remission | resolved",
"mapping": [ {
"map": "Event.status",
"identity": "workflow"
}, {
"map": "FiveWs.status",
"identity": "w5"
}, {
"map": "< 303105007 |Disease phases|",
"identity": "sct-concept"
}, {
"map": "PRB-14",
"identity": "v2"
}, {
"map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value",
"identity": "rim"
}, {
"map": "Condition.clinicalStatus",
"identity": "argonaut-dq-dstu2"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical"
},
"max": "1",
"id": "Condition.clinicalStatus",
"condition": [ "con-3", "con-4", "con-5" ],
"comment": "The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.",
"base": {
"max": "1",
"min": 0,
"path": "Condition.clinicalStatus"
},
"isModifierReason": "This element is labeled as a modifier because the status contains codes that mark the condition as no longer active.",
"isSummary": true
}, {
"path": "Condition.verificationStatus",
"min": 1,
"definition": "The verification status to support the clinical status of the condition.",
"isModifier": true,
"short": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error",
"mapping": [ {
"map": "Event.status",
"identity": "workflow"
}, {
"map": "FiveWs.status",
"identity": "w5"
}, {
"map": "< 410514004 |Finding context value|",
"identity": "sct-concept"
}, {
"map": "PRB-13",
"identity": "v2"
}, {
"map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value",
"identity": "rim"
}, {
"map": "408729009",
"identity": "sct-attr"
}, {
"map": "Condition.verificationStatus",
"identity": "argonaut-dq-dstu2"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status"
},
"max": "1",
"id": "Condition.verificationStatus",
"condition": [ "con-3", "con-5" ],
"comment": "verificationStatus is not required. For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\nThe data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.",
"base": {
"max": "1",
"min": 0,
"path": "Condition.verificationStatus"
},
"isModifierReason": "This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.",
"isSummary": true
}, {
"path": "Condition.category",
"min": 1,
"definition": "A category assigned to the condition.",
"isModifier": false,
"short": "problem-list-item | encounter-diagnosis",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": "< 404684003 |Clinical finding|",
"identity": "sct-concept"
}, {
"map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message",
"identity": "v2"
}, {
"map": ".code",
"identity": "rim"
}, {
"map": "Condition.category",
"identity": "argonaut-dq-dstu2"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category"
},
"max": "1",
"id": "Condition.category",
"comment": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
"base": {
"max": "*",
"min": 0,
"path": "Condition.category"
},
"isSummary": false
}, {
"path": "Condition.category.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Condition.category.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"path": "Condition.category.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Condition.category.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.category.coding",
"requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
"min": 1,
"definition": "A reference to a code defined by a terminology system.",
"isModifier": false,
"short": "Code defined by a terminology system",
"mapping": [ {
"map": "C*E.1-8, C*E.10-22",
"identity": "v2"
}, {
"map": "union(., ./translation)",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
"identity": "orim"
} ],
"slicing": {
"id": "1",
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "code",
"type": "value"
} ]
},
"type": [ {
"code": "Coding"
} ],
"max": "*",
"id": "Condition.category.coding",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"path": "Condition.category.coding",
"min": 1,
"definition": "Disease",
"short": "Disease",
"type": [ {
"code": "Coding"
} ],
"sliceName": "Fixed_64572001",
"max": "1",
"id": "Condition.category.coding:Fixed_64572001",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"path": "Condition.category.coding.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Condition.category.coding:Fixed_64572001.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"path": "Condition.category.coding.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Condition.category.coding:Fixed_64572001.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.category.coding.system",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 0,
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"isModifier": false,
"short": "Identity of the terminology system",
"fixedUri": "http://snomed.info/sct",
"mapping": [ {
"map": "C*E.3",
"identity": "v2"
}, {
"map": "./codeSystem",
"identity": "rim"
}, {
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
"identity": "orim"
} ],
"type": [ {
"code": "uri"
} ],
"max": "1",
"id": "Condition.category.coding:Fixed_64572001.system",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.system"
},
"isSummary": true
}, {
"path": "Condition.category.coding.version",
"min": 0,
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"isModifier": false,
"short": "Version of the system - if relevant",
"mapping": [ {
"map": "C*E.7",
"identity": "v2"
}, {
"map": "./codeSystemVersion",
"identity": "rim"
}, {
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Condition.category.coding:Fixed_64572001.version",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.version"
},
"isSummary": true
}, {
"path": "Condition.category.coding.code",
"fixedCode": "64572001",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"isModifier": false,
"short": "Symbol in syntax defined by the system",
"mapping": [ {
"map": "C*E.1",
"identity": "v2"
}, {
"map": "./code",
"identity": "rim"
}, {
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
"identity": "orim"
} ],
"type": [ {
"code": "code"
} ],
"max": "1",
"id": "Condition.category.coding:Fixed_64572001.code",
"base": {
"max": "1",
"min": 0,
"path": "Coding.code"
},
"isSummary": true
}, {
"path": "Condition.category.coding.display",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"isModifier": false,
"short": "Representation defined by the system",
"mapping": [ {
"map": "C*E.2 - but note this is not well followed",
"identity": "v2"
}, {
"map": "CV.displayName",
"identity": "rim"
}, {
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Condition.category.coding:Fixed_64572001.display",
"base": {
"max": "1",
"min": 0,
"path": "Coding.display"
},
"isSummary": true
}, {
"path": "Condition.category.coding.userSelected",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 0,
"definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
"isModifier": false,
"short": "If this coding was chosen directly by the user",
"mapping": [ {
"map": "Sometimes implied by being first",
"identity": "v2"
}, {
"map": "CD.codingRationale",
"identity": "rim"
}, {
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]",
"identity": "orim"
} ],
"type": [ {
"code": "boolean"
} ],
"max": "1",
"id": "Condition.category.coding:Fixed_64572001.userSelected",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.userSelected"
},
"isSummary": true
}, {
"path": "Condition.category.text",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"isModifier": false,
"short": "Plain text representation of the concept",
"mapping": [ {
"map": "C*E.9. But note many systems use C*E.2 for this",
"identity": "v2"
}, {
"map": "./originalText[mediaType/code=\"text/plain\"]/data",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Condition.category.text",
"comment": "Very often the text is the same as a displayName of one of the codings.",
"base": {
"max": "1",
"min": 0,
"path": "CodeableConcept.text"
},
"isSummary": true
}, {
"path": "Condition.severity",
"min": 0,
"definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
"isModifier": false,
"short": "Subjective severity of condition",
"mapping": [ {
"map": "FiveWs.grade",
"identity": "w5"
}, {
"map": "< 272141005 |Severities|",
"identity": "sct-concept"
}, {
"map": "PRB-26 / ABS-3",
"identity": "v2"
}, {
"map": "Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value",
"identity": "rim"
}, {
"map": "246112005",
"identity": "sct-attr"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/condition-severity",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ConditionSeverity"
} ],
"description": "A subjective assessment of the severity of the condition as evaluated by the clinician."
},
"max": "0",
"id": "Condition.severity",
"comment": "Coding of the severity with a terminology is preferred, where possible.",
"base": {
"max": "1",
"min": 0,
"path": "Condition.severity"
},
"isSummary": false
}, {
"path": "Condition.code",
"requirements": "0..1 to account for primarily narrative only resources.",
"min": 1,
"definition": "Identification of the condition, problem or diagnosis.",
"isModifier": false,
"short": "Identification of the condition, problem or diagnosis",
"mapping": [ {
"map": "Event.code",
"identity": "workflow"
}, {
"map": "FiveWs.what[x]",
"identity": "w5"
}, {
"map": "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|",
"identity": "sct-concept"
}, {
"map": "PRB-3",
"identity": "v2"
}, {
"map": ".value",
"identity": "rim"
}, {
"map": "246090004",
"identity": "sct-attr"
}, {
"map": "Condition.code",
"identity": "argonaut-dq-dstu2"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/us/mcode/ValueSet/onco-core-PrimaryOrUncertainBehaviorCancerDisorderVS"
},
"alias": [ "type" ],
"max": "1",
"id": "Condition.code",
"base": {
"max": "1",
"min": 0,
"path": "Condition.code"
},
"isSummary": true
}, {
"path": "Condition.bodySite",
"min": 0,
"definition": "The anatomical location where this condition manifests itself.",
"isModifier": false,
"short": "Anatomical location, if relevant",
"mapping": [ {
"map": "< 442083009 |Anatomical or acquired body structure|",
"identity": "sct-concept"
}, {
"map": ".targetBodySiteCode",
"identity": "rim"
}, {
"map": "363698007",
"identity": "sct-attr"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/us/mcode/ValueSet/onco-core-CancerBodyLocationVS"
},
"max": "*",
"id": "Condition.bodySite",
"comment": "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.",
"base": {
"max": "*",
"min": 0,
"path": "Condition.bodySite"
},
"isSummary": true
}, {
"path": "Condition.bodySite.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Condition.bodySite.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"path": "Condition.bodySite.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Condition.bodySite.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.bodySite.extension",
"min": 0,
"definition": "Body side of the body location, if needed to distinguish from a similar location on the other side of the body.\n\nThe laterality element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-Laterality-extension" ]
} ],
"sliceName": "laterality",
"max": "*",
"id": "Condition.bodySite.extension:laterality",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.bodySite.extension",
"min": 0,
"definition": "AnatomicalOrientation of the body location, if needed to distinguish from a similar location in another orientation.\nThe orientation element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-AnatomicalOrientation-extension" ]
} ],
"sliceName": "anatomicalorientation",
"max": "*",
"id": "Condition.bodySite.extension:anatomicalorientation",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.bodySite.extension",
"min": 0,
"definition": "The relationship between a landmark that helps determine a body location and the body location itself. The location relative to a landmark is specified by:\n* Specifying the location and type of landmark using a body site code and optional laterality/orientation,\n* Specifying the direction from the landmark to the body location, and\n* Specifying the distance from the landmark to the body location.\n\nThe RelationToLandmark element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-RelationToLandmark-extension" ]
} ],
"sliceName": "relationtolandmark",
"max": "*",
"id": "Condition.bodySite.extension:relationtolandmark",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.bodySite.coding",
"requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
"min": 0,
"definition": "A reference to a code defined by a terminology system.",
"isModifier": false,
"short": "Code defined by a terminology system",
"mapping": [ {
"map": "C*E.1-8, C*E.10-22",
"identity": "v2"
}, {
"map": "union(., ./translation)",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
"identity": "orim"
} ],
"type": [ {
"code": "Coding"
} ],
"max": "*",
"id": "Condition.bodySite.coding",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"path": "Condition.bodySite.text",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"isModifier": false,
"short": "Plain text representation of the concept",
"mapping": [ {
"map": "C*E.9. But note many systems use C*E.2 for this",
"identity": "v2"
}, {
"map": "./originalText[mediaType/code=\"text/plain\"]/data",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Condition.bodySite.text",
"comment": "Very often the text is the same as a displayName of one of the codings.",
"base": {
"max": "1",
"min": 0,
"path": "CodeableConcept.text"
},
"isSummary": true
}, {
"path": "Condition.subject",
"requirements": "Group is typically used for veterinary or public health use cases.",
"min": 1,
"definition": "Indicates the patient or group who the condition record is associated with.",
"isModifier": false,
"short": "Who has the condition?",
"mapping": [ {
"map": "Event.subject",
"identity": "workflow"
}, {
"map": "FiveWs.subject[x]",
"identity": "w5"
}, {
"map": "PID-3",
"identity": "v2"
}, {
"map": ".participation[typeCode=SBJ].role[classCode=PAT]",
"identity": "rim"
}, {
"map": "FiveWs.subject",
"identity": "w5"
}, {
"map": "Condition.patient",
"identity": "argonaut-dq-dstu2"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient" ]
} ],
"mustSupport": true,
"alias": [ "patient" ],
"max": "1",
"id": "Condition.subject",
"base": {
"max": "1",
"min": 1,
"path": "Condition.subject"
},
"isSummary": true
}, {
"path": "Condition.encounter",
"min": 0,
"definition": "The Encounter during which this Condition was created or to which the creation of this record is tightly associated.",
"isModifier": false,
"short": "Encounter created as part of",
"mapping": [ {
"map": "Event.context",
"identity": "workflow"
}, {
"map": "FiveWs.context",
"identity": "w5"
}, {
"map": "PV1-19 (+PV1-54)",
"identity": "v2"
}, {
"map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" ]
} ],
"max": "1",
"id": "Condition.encounter",
"comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with. In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".",
"base": {
"max": "1",
"min": 0,
"path": "Condition.encounter"
},
"isSummary": true
}, {
"path": "Condition.onset[x]",
"min": 0,
"definition": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.",
"isModifier": false,
"short": "Estimated or actual date, date-time, or age",
"mapping": [ {
"map": "Event.occurrence[x]",
"identity": "workflow"
}, {
"map": "FiveWs.init",
"identity": "w5"
}, {
"map": "PRB-16",
"identity": "v2"
}, {
"map": ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value",
"identity": "rim"
} ],
"type": [ {
"code": "dateTime"
}, {
"code": "Age"
}, {
"code": "Period"
}, {
"code": "Range"
}, {
"code": "string"
} ],
"max": "1",
"id": "Condition.onset[x]",
"comment": "Age is generally used when the patient reports an age at which the Condition began to occur.",
"base": {
"max": "1",
"min": 0,
"path": "Condition.onset[x]"
},
"isSummary": true
}, {
"path": "Condition.abatement[x]",
"min": 0,
"definition": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.",
"isModifier": false,
"short": "When in resolution/remission",
"mapping": [ {
"map": "FiveWs.done[x]",
"identity": "w5"
}, {
"map": ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed",
"identity": "rim"
} ],
"type": [ {
"code": "dateTime"
}, {
"code": "Age"
}, {
"code": "Period"
}, {
"code": "Range"
}, {
"code": "string"
} ],
"max": "1",
"id": "Condition.abatement[x]",
"condition": [ "con-4" ],
"comment": "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated. If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid. When abatementString exists, it implies the condition is abated.",
"base": {
"max": "1",
"min": 0,
"path": "Condition.abatement[x]"
},
"isSummary": false
}, {
"path": "Condition.recordedDate",
"min": 0,
"definition": "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.",
"isModifier": false,
"short": "Date record was first recorded",
"mapping": [ {
"map": "FiveWs.recorded",
"identity": "w5"
}, {
"map": "REL-11",
"identity": "v2"
}, {
"map": ".participation[typeCode=AUT].time",
"identity": "rim"
} ],
"type": [ {
"code": "dateTime"
} ],
"max": "1",
"id": "Condition.recordedDate",
"base": {
"max": "1",
"min": 0,
"path": "Condition.recordedDate"
},
"isSummary": true
}, {
"path": "Condition.recorder",
"min": 0,
"definition": "Individual who recorded the record and takes responsibility for its content.",
"isModifier": false,
"short": "Who recorded the condition",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=AUT].role",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
} ],
"max": "1",
"id": "Condition.recorder",
"base": {
"max": "1",
"min": 0,
"path": "Condition.recorder"
},
"isSummary": true
}, {
"path": "Condition.asserter",
"min": 0,
"definition": "The information comes from a practitioner who asserts the condition.",
"isModifier": false,
"short": "The information comes from a practitioner who asserts the condition",
"mapping": [ {
"map": "FiveWs.source",
"identity": "w5"
}, {
"map": "REL-7.1 identifier + REL-7.12 type code",
"identity": "v2"
}, {
"map": ".participation[typeCode=INF].role",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" ]
} ],
"max": "1",
"id": "Condition.asserter",
"base": {
"max": "1",
"min": 0,
"path": "Condition.asserter"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "con-1",
"human": "Stage SHALL have summary or assessment",
"xpath": "exists(f:summary) or exists(f:assessment)",
"severity": "error",
"expression": "summary.exists() or assessment.exists()"
} ],
"path": "Condition.stage",
"min": 0,
"definition": "Clinical stage or grade of a condition. May include formal severity assessments.",
"isModifier": false,
"short": "Stage/grade, usually assessed formally",
"mapping": [ {
"map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]",
"identity": "rim"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "1",
"id": "Condition.stage",
"base": {
"max": "*",
"min": 0,
"path": "Condition.stage"
},
"isSummary": false
}, {
"path": "Condition.stage.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Condition.stage.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"path": "Condition.stage.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Condition.stage.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.stage.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Condition.stage.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"path": "Condition.stage.summary",
"min": 0,
"definition": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.",
"isModifier": false,
"short": "Simple summary (disease specific)",
"mapping": [ {
"map": "< 254291000 |Staging and scales|",
"identity": "sct-concept"
}, {
"map": "PRB-14",
"identity": "v2"
}, {
"map": ".value",
"identity": "rim"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/condition-stage",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ConditionStage"
} ],
"description": "Codes describing condition stages (e.g. Cancer stages)."
},
"max": "1",
"id": "Condition.stage.summary",
"condition": [ "con-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Condition.stage.summary"
},
"isSummary": false
}, {
"path": "Condition.stage.assessment",
"min": 0,
"definition": "Reference to a formal record of the evidence on which the staging assessment is based.",
"isModifier": false,
"short": "Formal record of assessment",
"mapping": [ {
"map": ".self",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/onco-core-CancerStageGroup" ]
} ],
"max": "1",
"id": "Condition.stage.assessment",
"condition": [ "con-1" ],
"base": {
"max": "*",
"min": 0,
"path": "Condition.stage.assessment"
},
"isSummary": false
}, {
"path": "Condition.stage.type",
"min": 0,
"definition": "The kind of staging, such as pathological or clinical staging.",
"isModifier": false,
"short": "Kind of staging",
"mapping": [ {
"map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage type\"]",
"identity": "rim"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/condition-stage-type",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ConditionStageType"
} ],
"description": "Codes describing the kind of condition staging (e.g. clinical or pathological)."
},
"max": "1",
"id": "Condition.stage.type",
"base": {
"max": "1",
"min": 0,
"path": "Condition.stage.type"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "con-2",
"human": "evidence SHALL have code or details",
"xpath": "exists(f:code) or exists(f:detail)",
"severity": "error",
"expression": "code.exists() or detail.exists()"
} ],
"path": "Condition.evidence",
"min": 0,
"definition": "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.",
"isModifier": false,
"short": "Supporting evidence",
"mapping": [ {
"map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]",
"identity": "rim"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "Condition.evidence",
"comment": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
"base": {
"max": "*",
"min": 0,
"path": "Condition.evidence"
},
"isSummary": false
}, {
"path": "Condition.evidence.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Condition.evidence.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"path": "Condition.evidence.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Condition.evidence.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.evidence.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Condition.evidence.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"path": "Condition.evidence.code",
"min": 0,
"definition": "A manifestation or symptom that led to the recording of this condition.",
"isModifier": false,
"short": "Manifestation/symptom",
"mapping": [ {
"map": "Event.reasonCode",
"identity": "workflow"
}, {
"map": "FiveWs.why[x]",
"identity": "w5"
}, {
"map": "< 404684003 |Clinical finding|",
"identity": "sct-concept"
}, {
"map": "[code=\"diagnosis\"].value",
"identity": "rim"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings"
},
"max": "*",
"id": "Condition.evidence.code",
"condition": [ "con-2" ],
"base": {
"max": "*",
"min": 0,
"path": "Condition.evidence.code"
},
"isSummary": true
}, {
"path": "Condition.evidence.detail",
"min": 0,
"definition": "Links to other relevant information, including pathology reports.",
"isModifier": false,
"short": "Supporting information found elsewhere",
"mapping": [ {
"map": "FiveWs.why[x]",
"identity": "w5"
}, {
"map": ".self",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Condition.evidence.detail",
"condition": [ "con-2" ],
"base": {
"max": "*",
"min": 0,
"path": "Condition.evidence.detail"
},
"isSummary": true
}, {
"path": "Condition.note",
"min": 0,
"definition": "Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.",
"isModifier": false,
"short": "Additional information about the Condition",
"mapping": [ {
"map": "Event.note",
"identity": "workflow"
}, {
"map": "NTE child of PRB",
"identity": "v2"
}, {
"map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value",
"identity": "rim"
} ],
"type": [ {
"code": "Annotation"
} ],
"max": "*",
"id": "Condition.note",
"base": {
"max": "*",
"min": 0,
"path": "Condition.note"
},
"isSummary": false
} ]
},
"status": "active",
"id": "8f6c1c2c-20a0-4df9-9974-a4e6f31b5d8a",
"kind": "resource",
"url": "http://hl7.org/fhir/us/mcode/StructureDefinition/onco-core-PrimaryCancerCondition",
"version": "0.9.1",
"differential": {
"element": [ {
"id": "Condition",
"path": "Condition",
"short": "onco-core-PrimaryCancerCondition",
"isSummary": false,
"definition": "Records the history of the primary cancer condition, the original or first tumor in the body (reference https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\n\nCancer staging information summarized in this profile should reflect the most recent staging assessment on the patient, and should be updated if and when there is a new staging assessment. Past staging assessments will be preserved in instances of the TNMClinicalStageGroup and/or TNMPathologicalStageGroup, which refer back to PrimaryCancerCondition.\n\nConformance note: For the code attribute, to be compliant with [US Core Profiles](http://hl7.org/fhir/us/core/STU3/index.html), SNOMED CT must be used unless there is no suitable code, in which case ICD-10-CM can be used.",
"isModifier": false,
"mustSupport": false
}, {
"id": "Condition.extension",
"path": "Condition.extension",
"slicing": {
"id": "2",
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"path": "Condition.extension",
"min": 0,
"definition": "The date the disease was first clinically recognized with sufficient certainty, regardless of whether it was fully characterized at that time.",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" ]
} ],
"mustSupport": true,
"sliceName": "dateofdiagnosis",
"max": "1",
"id": "Condition.extension:dateofdiagnosis",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
},
"isSummary": false
}, {
"path": "Condition.extension",
"min": 0,
"definition": "A description of the morphologic and behavioral characteristics of the cancer.",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/onco-core-HistologyMorphologyBehavior-extension" ]
} ],
"mustSupport": true,
"sliceName": "histologymorphologybehavior",
"max": "1",
"id": "Condition.extension:histologymorphologybehavior",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
},
"isSummary": false
}, {
"id": "Condition.verificationStatus",
"max": "1",
"min": 1,
"path": "Condition.verificationStatus"
}, {
"id": "Condition.category",
"max": "1",
"min": 1,
"path": "Condition.category"
}, {
"id": "Condition.category.coding",
"max": "*",
"min": 1,
"path": "Condition.category.coding",
"slicing": {
"id": "1",
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "code",
"type": "value"
} ]
}
}, {
"path": "Condition.category.coding",
"min": 1,
"definition": "Disease",
"short": "Disease",
"type": [ {
"code": "Coding"
} ],
"sliceName": "Fixed_64572001",
"max": "1",
"id": "Condition.category.coding:Fixed_64572001",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"id": "Condition.category.coding:Fixed_64572001.system",
"path": "Condition.category.coding.system",
"fixedUri": "http://snomed.info/sct"
}, {
"id": "Condition.category.coding:Fixed_64572001.code",
"path": "Condition.category.coding.code",
"fixedCode": "64572001"
}, {
"id": "Condition.severity",
"max": "0",
"min": 0,
"path": "Condition.severity"
}, {
"id": "Condition.code",
"path": "Condition.code",
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/us/mcode/ValueSet/onco-core-PrimaryOrUncertainBehaviorCancerDisorderVS"
}
}, {
"id": "Condition.bodySite",
"path": "Condition.bodySite",
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/us/mcode/ValueSet/onco-core-CancerBodyLocationVS"
},
"mustSupport": true
}, {
"path": "Condition.bodySite.extension",
"min": 0,
"definition": "Body side of the body location, if needed to distinguish from a similar location on the other side of the body.\n\nThe laterality element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-Laterality-extension" ]
} ],
"sliceName": "laterality",
"max": "*",
"id": "Condition.bodySite.extension:laterality",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.bodySite.extension",
"min": 0,
"definition": "AnatomicalOrientation of the body location, if needed to distinguish from a similar location in another orientation.\nThe orientation element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-AnatomicalOrientation-extension" ]
} ],
"sliceName": "anatomicalorientation",
"max": "*",
"id": "Condition.bodySite.extension:anatomicalorientation",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Condition.bodySite.extension",
"min": 0,
"definition": "The relationship between a landmark that helps determine a body location and the body location itself. The location relative to a landmark is specified by:\n* Specifying the location and type of landmark using a body site code and optional laterality/orientation,\n* Specifying the direction from the landmark to the body location, and\n* Specifying the distance from the landmark to the body location.\n\nThe RelationToLandmark element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
"isModifier": false,
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-RelationToLandmark-extension" ]
} ],
"sliceName": "relationtolandmark",
"max": "*",
"id": "Condition.bodySite.extension:relationtolandmark",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"id": "Condition.subject",
"path": "Condition.subject",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient" ]
} ]
}, {
"id": "Condition.encounter",
"path": "Condition.encounter",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" ]
} ]
}, {
"id": "Condition.recorder",
"path": "Condition.recorder",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
} ]
}, {
"id": "Condition.asserter",
"path": "Condition.asserter",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" ]
} ],
"short": "The information comes from a practitioner who asserts the condition",
"definition": "The information comes from a practitioner who asserts the condition."
}, {
"id": "Condition.stage",
"max": "1",
"min": 0,
"path": "Condition.stage"
}, {
"id": "Condition.stage.assessment",
"max": "1",
"min": 0,
"path": "Condition.stage.assessment",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/onco-core-CancerStageGroup" ]
} ]
}, {
"id": "Condition.evidence",
"path": "Condition.evidence"
}, {
"id": "Condition.evidence.code",
"path": "Condition.evidence.code",
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings"
}
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/cic",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"
}