FHIR IG analytics| Package | fhir.kenyaPSIG |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-ClinicalConsultationModel.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/IntelliSOFT-Consulting/Kenya-Patient-Summary-FHIR-IG/StructureDefinition-ClinicalConsultationModel.html |
| URL | https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ClinicalConsultationModel |
| Version | 0.1.0 |
| Status | draft |
| Date | 2026-06-19T10:10:16+00:00 |
| Name | ClinicalConsultationModel |
| Title | KPS.B Clinical Consultation |
| Realm | us |
| Authority | hl7 |
| Description | Logical model for documenting clinical consultation data under the Kenya Patient Summary (KPS.B) standard. |
| Copyright | Copyright © 2024+ Digital Health Agency of Kenya. This content is licensed under Creative Commons Zero v1.0 Universal (CC0 1.0). No rights reserved. |
| Type | https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ClinicalConsultationModel |
| Kind | logical |
No resources found
| ValueSet | ||
| fhir.kenyaPSIG#current | allergy-intolerance-reaction-substance-vs | Substance ValueSet |
| fhir.kenyaPSIG#current | kps-allergy-severity-vs | Allergy Severity |
| fhir.kenyaPSIG#current | kps-allergy-status-vs | Allergy Clinical Status |
| fhir.kenyaPSIG#current | kps-allergy-type-vs | Allergy Type |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition ClinicalConsultationModel
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | Base | KPS.B Clinical Consultation | |
![]() ![]() | 0..* | BackboneElement | Documented allergies or intolerances | |
![]() ![]() ![]() | 1..1 | string | Substance or agent triggering the reaction Binding: Substance ValueSet (required) | |
![]() ![]() ![]() | 1..1 | code | Allergy, intolerance, or unknown Binding: Allergy Type (required) | |
![]() ![]() ![]() | 0..1 | string | Text description of the allergy or intolerance | |
![]() ![]() ![]() | 0..1 | code | Severity of the clinical manifestation of the allergic reaction. Binding: Allergy Severity (required) | |
![]() ![]() ![]() | 0..1 | code | Risk of future life-threatening adverse reactions | |
![]() ![]() ![]() | 0..1 | date | Date the allergy was observed | |
![]() ![]() ![]() | 0..1 | Age | Age at onset of the allergy | |
![]() ![]() ![]() | 0..1 | date | Date of resolution of the allergy | |
![]() ![]() ![]() | 1..1 | code | Current status of the allergy Binding: Allergy Clinical Status (required) | |
![]() ![]() ![]() | 0..1 | code | Certainty about the reaction's presence | |
![]() ![]() | 0..* | BackboneElement | Medical alert information | |
![]() ![]() ![]() | 1..1 | string | Description of the alert | |
![]() ![]() ![]() | 0..1 | code | Priority level | |
![]() ![]() ![]() | 0..1 | code | Alert status (active/inactive/etc) | |
![]() ![]() | 0..* | BackboneElement | Past resolved/closed/inactive problems | |
![]() ![]() ![]() | 1..1 | string | Problem or diagnosis | |
![]() ![]() ![]() | 0..1 | date | Date of problem onset | |
![]() ![]() ![]() | 0..1 | date | Resolution date | |
![]() ![]() ![]() | 0..1 | string | How the problem was resolved | |
![]() ![]() | 0..1 | string | Narrative or synthesized summary of the client’s medical background | |
![]() ![]() | 0..* | BackboneElement | Current diagnoses and health conditions | |
![]() ![]() ![]() | 1..1 | string | Problem or diagnosis | |
![]() ![]() ![]() | 0..1 | code | Clinical state (active, recurrence, relapse) | |
![]() ![]() ![]() | 0..1 | code | Certainty of diagnosis (confirmed, differential) | |
![]() ![]() ![]() | 0..1 | code | Problem list or encounter diagnosis | |
![]() ![]() ![]() | 0..1 | string | Encounter when the condition was first recorded | |
![]() ![]() ![]() | 0..1 | code | Clinical severity | |
![]() ![]() ![]() | 0..1 | string | Anatomical location | |
![]() ![]() ![]() | 0..1 | date | Date of onset | |
![]() ![]() ![]() | 0..1 | string | Age at onset | |
![]() ![]() ![]() | 0..1 | code | Assertion about diagnosis certainty | |
![]() ![]() | 0..* | BackboneElement | Lifestyle factors or social determinants | |
![]() ![]() ![]() | 1..1 | string | Social history observation | |
![]() ![]() ![]() | 0..1 | string | Time period of observation | |
![]() ![]() | 0..1 | BackboneElement | Current pregnancy status | |
![]() ![]() ![]() | 1..1 | code | Pregnancy status | |
![]() ![]() ![]() | 0..1 | date | Date of pregnancy observation | |
![]() ![]() ![]() | 0..1 | date | Estimated due date | |
![]() ![]() | 0..* | BackboneElement | Previous pregnancy details | |
![]() ![]() ![]() | 1..1 | code | Has the client been pregnant before? | |
![]() ![]() ![]() | 0..1 | code | Pregnancy outcome | |
![]() ![]() ![]() | 0..1 | date | Date of pregnancy outcome | |
![]() ![]() ![]() | 0..1 | integer | Number of children/fetuses in the pregnancy | |
![]() ![]() | 0..* | BackboneElement | Client travel history | |
![]() ![]() ![]() | 1..1 | string | Destination of travel | |
![]() ![]() ![]() | 0..1 | string | Period of travel (entry and departure dates) | |
{
"resourceType": "StructureDefinition",
"id": "ClinicalConsultationModel",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"url": "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ClinicalConsultationModel",
"version": "0.1.0",
"name": "ClinicalConsultationModel",
"title": "KPS.B Clinical Consultation",
"status": "draft",
"date": "2026-06-19T10:10:16+00:00",
"publisher": "Digital Health Agency of Kenya",
"contact": [
{
"name": "Digital Health Agency of Kenya",
"telecom": [
{
"system": "url",
"value": "https://www.dha.go.ke"
},
{
"system": "email",
"value": "interoperability@dha.go.ke"
}
]
},
{
"name": "Digital Health Agency of Kenya – Interoperability Team",
"telecom": [
{
"system": "email",
"value": "interoperability@dha.go.ke",
"use": "work"
},
{
"system": "url",
"value": "https://www.dha.go.ke",
"use": "work"
}
]
}
],
"description": "Logical model for documenting clinical consultation data under the Kenya Patient Summary (KPS.B) standard.",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "KE",
"display": "Kenya"
}
]
}
],
"copyright": "Copyright © 2024+ Digital Health Agency of Kenya. This content is licensed under Creative Commons Zero v1.0 Universal (CC0 1.0). No rights reserved.\n",
"fhirVersion": "4.0.1",
"kind": "logical",
"abstract": false,
"type": "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ClinicalConsultationModel",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
"derivation": "specialization",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.0.1"
}
],
"element": [
{
"id": "ClinicalConsultationModel",
"path": "ClinicalConsultationModel",
"short": "KPS.B Clinical Consultation",
"definition": "Logical model for documenting clinical consultation data under the Kenya Patient Summary (KPS.B) standard.",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"isModifier": false
},
{
"id": "ClinicalConsultationModel.allergy",
"path": "ClinicalConsultationModel.allergy",
"short": "Documented allergies or intolerances",
"definition": "Documented allergies or intolerances",
"min": 0,
"max": "*",
"base": {
"path": "ClinicalConsultationModel.allergy",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.id",
"path": "ClinicalConsultationModel.allergy.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.extension",
"path": "ClinicalConsultationModel.allergy.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.modifierExtension",
"path": "ClinicalConsultationModel.allergy.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.allergen",
"path": "ClinicalConsultationModel.allergy.allergen",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.1"
}
],
"short": "Substance or agent triggering the reaction",
"definition": "Substance or agent triggering the reaction",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.allergen",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/allergy-intolerance-reaction-substance-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.propensityType",
"path": "ClinicalConsultationModel.allergy.propensityType",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.25"
}
],
"short": "Allergy, intolerance, or unknown",
"definition": "Allergy, intolerance, or unknown",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.propensityType",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/kps-allergy-type-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.description",
"path": "ClinicalConsultationModel.allergy.description",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.29"
}
],
"short": "Text description of the allergy or intolerance",
"definition": "Text description of the allergy or intolerance",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.description",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.severity",
"path": "ClinicalConsultationModel.allergy.severity",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.66"
}
],
"short": "Severity of the clinical manifestation of the allergic reaction.",
"definition": "Severity of the clinical manifestation of the allergic reaction.",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.severity",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/kps-allergy-severity-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.criticality",
"path": "ClinicalConsultationModel.allergy.criticality",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.70"
}
],
"short": "Risk of future life-threatening adverse reactions",
"definition": "Risk of future life-threatening adverse reactions",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.criticality",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.onsetDate",
"path": "ClinicalConsultationModel.allergy.onsetDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.71"
}
],
"short": "Date the allergy was observed",
"definition": "Date the allergy was observed",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.onsetDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.onsetAge",
"path": "ClinicalConsultationModel.allergy.onsetAge",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.72"
}
],
"short": "Age at onset of the allergy",
"definition": "Age at onset of the allergy",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.onsetAge",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Age"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.endDate",
"path": "ClinicalConsultationModel.allergy.endDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.73"
}
],
"short": "Date of resolution of the allergy",
"definition": "Date of resolution of the allergy",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.endDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.allergyStatus",
"path": "ClinicalConsultationModel.allergy.allergyStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.74"
}
],
"short": "Current status of the allergy",
"definition": "Current status of the allergy",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.allergyStatus",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/kps-allergy-status-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.allergyCertainty",
"path": "ClinicalConsultationModel.allergy.allergyCertainty",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.78"
}
],
"short": "Certainty about the reaction's presence",
"definition": "Certainty about the reaction's presence",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.allergy.allergyCertainty",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert",
"path": "ClinicalConsultationModel.medicalAlert",
"short": "Medical alert information",
"definition": "Medical alert information",
"min": 0,
"max": "*",
"base": {
"path": "ClinicalConsultationModel.medicalAlert",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.id",
"path": "ClinicalConsultationModel.medicalAlert.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.extension",
"path": "ClinicalConsultationModel.medicalAlert.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.modifierExtension",
"path": "ClinicalConsultationModel.medicalAlert.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.description",
"path": "ClinicalConsultationModel.medicalAlert.description",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.83"
}
],
"short": "Description of the alert",
"definition": "Description of the alert",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.medicalAlert.description",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.alertCode",
"path": "ClinicalConsultationModel.medicalAlert.alertCode",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.84"
}
],
"short": "Priority level",
"definition": "Priority level",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.medicalAlert.alertCode",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.status",
"path": "ClinicalConsultationModel.medicalAlert.status",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.88"
}
],
"short": "Alert status (active/inactive/etc)",
"definition": "Alert status (active/inactive/etc)",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.medicalAlert.status",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem",
"path": "ClinicalConsultationModel.resolvedProblem",
"short": "Past resolved/closed/inactive problems",
"definition": "Past resolved/closed/inactive problems",
"min": 0,
"max": "*",
"base": {
"path": "ClinicalConsultationModel.resolvedProblem",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.id",
"path": "ClinicalConsultationModel.resolvedProblem.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.extension",
"path": "ClinicalConsultationModel.resolvedProblem.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.modifierExtension",
"path": "ClinicalConsultationModel.resolvedProblem.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.description",
"path": "ClinicalConsultationModel.resolvedProblem.description",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.93"
}
],
"short": "Problem or diagnosis",
"definition": "Problem or diagnosis",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.resolvedProblem.description",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.onsetDate",
"path": "ClinicalConsultationModel.resolvedProblem.onsetDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.94"
}
],
"short": "Date of problem onset",
"definition": "Date of problem onset",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.resolvedProblem.onsetDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.endDate",
"path": "ClinicalConsultationModel.resolvedProblem.endDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.96"
}
],
"short": "Resolution date",
"definition": "Resolution date",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.resolvedProblem.endDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.resolutionCircumstances",
"path": "ClinicalConsultationModel.resolvedProblem.resolutionCircumstances",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.97"
}
],
"short": "How the problem was resolved",
"definition": "How the problem was resolved",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.resolvedProblem.resolutionCircumstances",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.medicalHistory",
"path": "ClinicalConsultationModel.medicalHistory",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.98"
}
],
"short": "Narrative or synthesized summary of the client’s medical background",
"definition": "Narrative or synthesized summary of the client’s medical background",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.medicalHistory",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem",
"path": "ClinicalConsultationModel.currentProblem",
"short": "Current diagnoses and health conditions",
"definition": "Current diagnoses and health conditions",
"min": 0,
"max": "*",
"base": {
"path": "ClinicalConsultationModel.currentProblem",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.id",
"path": "ClinicalConsultationModel.currentProblem.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.extension",
"path": "ClinicalConsultationModel.currentProblem.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.modifierExtension",
"path": "ClinicalConsultationModel.currentProblem.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.condition",
"path": "ClinicalConsultationModel.currentProblem.condition",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.99"
}
],
"short": "Problem or diagnosis",
"definition": "Problem or diagnosis",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.condition",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.clinicalStatus",
"path": "ClinicalConsultationModel.currentProblem.clinicalStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.102"
}
],
"short": "Clinical state (active, recurrence, relapse)",
"definition": "Clinical state (active, recurrence, relapse)",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.clinicalStatus",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.verificationStatus",
"path": "ClinicalConsultationModel.currentProblem.verificationStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.106"
}
],
"short": "Certainty of diagnosis (confirmed, differential)",
"definition": "Certainty of diagnosis (confirmed, differential)",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.verificationStatus",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.conditionCategory",
"path": "ClinicalConsultationModel.currentProblem.conditionCategory",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.110"
}
],
"short": "Problem list or encounter diagnosis",
"definition": "Problem list or encounter diagnosis",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.conditionCategory",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.conditionEncounter",
"path": "ClinicalConsultationModel.currentProblem.conditionEncounter",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.111"
}
],
"short": "Encounter when the condition was first recorded",
"definition": "Encounter when the condition was first recorded",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.conditionEncounter",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.severity",
"path": "ClinicalConsultationModel.currentProblem.severity",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.113"
}
],
"short": "Clinical severity",
"definition": "Clinical severity",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.severity",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.bodySite",
"path": "ClinicalConsultationModel.currentProblem.bodySite",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.117"
}
],
"short": "Anatomical location",
"definition": "Anatomical location",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.bodySite",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.onsetDate",
"path": "ClinicalConsultationModel.currentProblem.onsetDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.118"
}
],
"short": "Date of onset",
"definition": "Date of onset",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.onsetDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.onsetAge",
"path": "ClinicalConsultationModel.currentProblem.onsetAge",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.119"
}
],
"short": "Age at onset",
"definition": "Age at onset",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.onsetAge",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.assertionStatus",
"path": "ClinicalConsultationModel.currentProblem.assertionStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.120"
}
],
"short": "Assertion about diagnosis certainty",
"definition": "Assertion about diagnosis certainty",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.currentProblem.assertionStatus",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory",
"path": "ClinicalConsultationModel.socialHistory",
"short": "Lifestyle factors or social determinants",
"definition": "Lifestyle factors or social determinants",
"min": 0,
"max": "*",
"base": {
"path": "ClinicalConsultationModel.socialHistory",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory.id",
"path": "ClinicalConsultationModel.socialHistory.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory.extension",
"path": "ClinicalConsultationModel.socialHistory.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory.modifierExtension",
"path": "ClinicalConsultationModel.socialHistory.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory.observation",
"path": "ClinicalConsultationModel.socialHistory.observation",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.121"
}
],
"short": "Social history observation",
"definition": "Social history observation",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.socialHistory.observation",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory.referencePeriod",
"path": "ClinicalConsultationModel.socialHistory.referencePeriod",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.122"
}
],
"short": "Time period of observation",
"definition": "Time period of observation",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.socialHistory.referencePeriod",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus",
"path": "ClinicalConsultationModel.pregnancyStatus",
"short": "Current pregnancy status",
"definition": "Current pregnancy status",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.pregnancyStatus",
"min": 0,
"max": "1"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.id",
"path": "ClinicalConsultationModel.pregnancyStatus.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.extension",
"path": "ClinicalConsultationModel.pregnancyStatus.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.modifierExtension",
"path": "ClinicalConsultationModel.pregnancyStatus.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.status",
"path": "ClinicalConsultationModel.pregnancyStatus.status",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.123"
}
],
"short": "Pregnancy status",
"definition": "Pregnancy status",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.pregnancyStatus.status",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.observationDate",
"path": "ClinicalConsultationModel.pregnancyStatus.observationDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.127"
}
],
"short": "Date of pregnancy observation",
"definition": "Date of pregnancy observation",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.pregnancyStatus.observationDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.expectedDeliveryDate",
"path": "ClinicalConsultationModel.pregnancyStatus.expectedDeliveryDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.128"
}
],
"short": "Estimated due date",
"definition": "Estimated due date",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.pregnancyStatus.expectedDeliveryDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy",
"path": "ClinicalConsultationModel.previousPregnancy",
"short": "Previous pregnancy details",
"definition": "Previous pregnancy details",
"min": 0,
"max": "*",
"base": {
"path": "ClinicalConsultationModel.previousPregnancy",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.id",
"path": "ClinicalConsultationModel.previousPregnancy.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.extension",
"path": "ClinicalConsultationModel.previousPregnancy.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.modifierExtension",
"path": "ClinicalConsultationModel.previousPregnancy.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.status",
"path": "ClinicalConsultationModel.previousPregnancy.status",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.129"
}
],
"short": "Has the client been pregnant before?",
"definition": "Has the client been pregnant before?",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.previousPregnancy.status",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.outcome",
"path": "ClinicalConsultationModel.previousPregnancy.outcome",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.133"
}
],
"short": "Pregnancy outcome",
"definition": "Pregnancy outcome",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.previousPregnancy.outcome",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.outcomeDate",
"path": "ClinicalConsultationModel.previousPregnancy.outcomeDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.144"
}
],
"short": "Date of pregnancy outcome",
"definition": "Date of pregnancy outcome",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.previousPregnancy.outcomeDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.numberOfChildren",
"path": "ClinicalConsultationModel.previousPregnancy.numberOfChildren",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.145"
}
],
"short": "Number of children/fetuses in the pregnancy",
"definition": "Number of children/fetuses in the pregnancy",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.previousPregnancy.numberOfChildren",
"min": 0,
"max": "1"
},
"type": [
{
"code": "integer"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory",
"path": "ClinicalConsultationModel.travelHistory",
"short": "Client travel history",
"definition": "Client travel history",
"min": 0,
"max": "*",
"base": {
"path": "ClinicalConsultationModel.travelHistory",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory.id",
"path": "ClinicalConsultationModel.travelHistory.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory.extension",
"path": "ClinicalConsultationModel.travelHistory.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory.modifierExtension",
"path": "ClinicalConsultationModel.travelHistory.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory.destination",
"path": "ClinicalConsultationModel.travelHistory.destination",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.146"
}
],
"short": "Destination of travel",
"definition": "Destination of travel",
"min": 1,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.travelHistory.destination",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory.period",
"path": "ClinicalConsultationModel.travelHistory.period",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.147"
}
],
"short": "Period of travel (entry and departure dates)",
"definition": "Period of travel (entry and departure dates)",
"min": 0,
"max": "1",
"base": {
"path": "ClinicalConsultationModel.travelHistory.period",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
}
]
},
"differential": {
"element": [
{
"id": "ClinicalConsultationModel",
"path": "ClinicalConsultationModel",
"short": "KPS.B Clinical Consultation",
"definition": "Logical model for documenting clinical consultation data under the Kenya Patient Summary (KPS.B) standard."
},
{
"id": "ClinicalConsultationModel.allergy",
"path": "ClinicalConsultationModel.allergy",
"short": "Documented allergies or intolerances",
"definition": "Documented allergies or intolerances",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.allergen",
"path": "ClinicalConsultationModel.allergy.allergen",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.1"
}
],
"short": "Substance or agent triggering the reaction",
"definition": "Substance or agent triggering the reaction",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/allergy-intolerance-reaction-substance-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.propensityType",
"path": "ClinicalConsultationModel.allergy.propensityType",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.25"
}
],
"short": "Allergy, intolerance, or unknown",
"definition": "Allergy, intolerance, or unknown",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/kps-allergy-type-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.description",
"path": "ClinicalConsultationModel.allergy.description",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.29"
}
],
"short": "Text description of the allergy or intolerance",
"definition": "Text description of the allergy or intolerance",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.severity",
"path": "ClinicalConsultationModel.allergy.severity",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.66"
}
],
"short": "Severity of the clinical manifestation of the allergic reaction.",
"definition": "Severity of the clinical manifestation of the allergic reaction.",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/kps-allergy-severity-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.criticality",
"path": "ClinicalConsultationModel.allergy.criticality",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.70"
}
],
"short": "Risk of future life-threatening adverse reactions",
"definition": "Risk of future life-threatening adverse reactions",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.onsetDate",
"path": "ClinicalConsultationModel.allergy.onsetDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.71"
}
],
"short": "Date the allergy was observed",
"definition": "Date the allergy was observed",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.onsetAge",
"path": "ClinicalConsultationModel.allergy.onsetAge",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.72"
}
],
"short": "Age at onset of the allergy",
"definition": "Age at onset of the allergy",
"min": 0,
"max": "1",
"type": [
{
"code": "Age"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.endDate",
"path": "ClinicalConsultationModel.allergy.endDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.73"
}
],
"short": "Date of resolution of the allergy",
"definition": "Date of resolution of the allergy",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.allergy.allergyStatus",
"path": "ClinicalConsultationModel.allergy.allergyStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.74"
}
],
"short": "Current status of the allergy",
"definition": "Current status of the allergy",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"valueSet": "https://nshr-uat.sha.go.ke/fhir/ValueSet/kps-allergy-status-vs"
}
},
{
"id": "ClinicalConsultationModel.allergy.allergyCertainty",
"path": "ClinicalConsultationModel.allergy.allergyCertainty",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.78"
}
],
"short": "Certainty about the reaction's presence",
"definition": "Certainty about the reaction's presence",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert",
"path": "ClinicalConsultationModel.medicalAlert",
"short": "Medical alert information",
"definition": "Medical alert information",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.description",
"path": "ClinicalConsultationModel.medicalAlert.description",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.83"
}
],
"short": "Description of the alert",
"definition": "Description of the alert",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.alertCode",
"path": "ClinicalConsultationModel.medicalAlert.alertCode",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.84"
}
],
"short": "Priority level",
"definition": "Priority level",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.medicalAlert.status",
"path": "ClinicalConsultationModel.medicalAlert.status",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.88"
}
],
"short": "Alert status (active/inactive/etc)",
"definition": "Alert status (active/inactive/etc)",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem",
"path": "ClinicalConsultationModel.resolvedProblem",
"short": "Past resolved/closed/inactive problems",
"definition": "Past resolved/closed/inactive problems",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.description",
"path": "ClinicalConsultationModel.resolvedProblem.description",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.93"
}
],
"short": "Problem or diagnosis",
"definition": "Problem or diagnosis",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.onsetDate",
"path": "ClinicalConsultationModel.resolvedProblem.onsetDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.94"
}
],
"short": "Date of problem onset",
"definition": "Date of problem onset",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.endDate",
"path": "ClinicalConsultationModel.resolvedProblem.endDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.96"
}
],
"short": "Resolution date",
"definition": "Resolution date",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.resolvedProblem.resolutionCircumstances",
"path": "ClinicalConsultationModel.resolvedProblem.resolutionCircumstances",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.97"
}
],
"short": "How the problem was resolved",
"definition": "How the problem was resolved",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.medicalHistory",
"path": "ClinicalConsultationModel.medicalHistory",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.98"
}
],
"short": "Narrative or synthesized summary of the client’s medical background",
"definition": "Narrative or synthesized summary of the client’s medical background",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem",
"path": "ClinicalConsultationModel.currentProblem",
"short": "Current diagnoses and health conditions",
"definition": "Current diagnoses and health conditions",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.condition",
"path": "ClinicalConsultationModel.currentProblem.condition",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.99"
}
],
"short": "Problem or diagnosis",
"definition": "Problem or diagnosis",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.clinicalStatus",
"path": "ClinicalConsultationModel.currentProblem.clinicalStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.102"
}
],
"short": "Clinical state (active, recurrence, relapse)",
"definition": "Clinical state (active, recurrence, relapse)",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.verificationStatus",
"path": "ClinicalConsultationModel.currentProblem.verificationStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.106"
}
],
"short": "Certainty of diagnosis (confirmed, differential)",
"definition": "Certainty of diagnosis (confirmed, differential)",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.conditionCategory",
"path": "ClinicalConsultationModel.currentProblem.conditionCategory",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.110"
}
],
"short": "Problem list or encounter diagnosis",
"definition": "Problem list or encounter diagnosis",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.conditionEncounter",
"path": "ClinicalConsultationModel.currentProblem.conditionEncounter",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.111"
}
],
"short": "Encounter when the condition was first recorded",
"definition": "Encounter when the condition was first recorded",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.severity",
"path": "ClinicalConsultationModel.currentProblem.severity",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.113"
}
],
"short": "Clinical severity",
"definition": "Clinical severity",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.bodySite",
"path": "ClinicalConsultationModel.currentProblem.bodySite",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.117"
}
],
"short": "Anatomical location",
"definition": "Anatomical location",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.onsetDate",
"path": "ClinicalConsultationModel.currentProblem.onsetDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.118"
}
],
"short": "Date of onset",
"definition": "Date of onset",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.onsetAge",
"path": "ClinicalConsultationModel.currentProblem.onsetAge",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.119"
}
],
"short": "Age at onset",
"definition": "Age at onset",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.currentProblem.assertionStatus",
"path": "ClinicalConsultationModel.currentProblem.assertionStatus",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.120"
}
],
"short": "Assertion about diagnosis certainty",
"definition": "Assertion about diagnosis certainty",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory",
"path": "ClinicalConsultationModel.socialHistory",
"short": "Lifestyle factors or social determinants",
"definition": "Lifestyle factors or social determinants",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory.observation",
"path": "ClinicalConsultationModel.socialHistory.observation",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.121"
}
],
"short": "Social history observation",
"definition": "Social history observation",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.socialHistory.referencePeriod",
"path": "ClinicalConsultationModel.socialHistory.referencePeriod",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.122"
}
],
"short": "Time period of observation",
"definition": "Time period of observation",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus",
"path": "ClinicalConsultationModel.pregnancyStatus",
"short": "Current pregnancy status",
"definition": "Current pregnancy status",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.status",
"path": "ClinicalConsultationModel.pregnancyStatus.status",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.123"
}
],
"short": "Pregnancy status",
"definition": "Pregnancy status",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.observationDate",
"path": "ClinicalConsultationModel.pregnancyStatus.observationDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.127"
}
],
"short": "Date of pregnancy observation",
"definition": "Date of pregnancy observation",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.pregnancyStatus.expectedDeliveryDate",
"path": "ClinicalConsultationModel.pregnancyStatus.expectedDeliveryDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.128"
}
],
"short": "Estimated due date",
"definition": "Estimated due date",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy",
"path": "ClinicalConsultationModel.previousPregnancy",
"short": "Previous pregnancy details",
"definition": "Previous pregnancy details",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.status",
"path": "ClinicalConsultationModel.previousPregnancy.status",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.129"
}
],
"short": "Has the client been pregnant before?",
"definition": "Has the client been pregnant before?",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.outcome",
"path": "ClinicalConsultationModel.previousPregnancy.outcome",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.133"
}
],
"short": "Pregnancy outcome",
"definition": "Pregnancy outcome",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.outcomeDate",
"path": "ClinicalConsultationModel.previousPregnancy.outcomeDate",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.144"
}
],
"short": "Date of pregnancy outcome",
"definition": "Date of pregnancy outcome",
"min": 0,
"max": "1",
"type": [
{
"code": "date"
}
]
},
{
"id": "ClinicalConsultationModel.previousPregnancy.numberOfChildren",
"path": "ClinicalConsultationModel.previousPregnancy.numberOfChildren",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.145"
}
],
"short": "Number of children/fetuses in the pregnancy",
"definition": "Number of children/fetuses in the pregnancy",
"min": 0,
"max": "1",
"type": [
{
"code": "integer"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory",
"path": "ClinicalConsultationModel.travelHistory",
"short": "Client travel history",
"definition": "Client travel history",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory.destination",
"path": "ClinicalConsultationModel.travelHistory.destination",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.146"
}
],
"short": "Destination of travel",
"definition": "Destination of travel",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "ClinicalConsultationModel.travelHistory.period",
"path": "ClinicalConsultationModel.travelHistory.period",
"code": [
{
"system": "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kps-data-elements",
"code": "KPS.B.DE.147"
}
],
"short": "Period of travel (entry and departure dates)",
"definition": "Period of travel (entry and departure dates)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
}
]
}
}