FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagefhir.kenyaPSIG
Resource TypeStructureDefinition
IdStructureDefinition-ClinicalConsultationModel.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/IntelliSOFT-Consulting/Kenya-Patient-Summary-FHIR-IG/StructureDefinition-ClinicalConsultationModel.html
URLhttps://nshr-uat.sha.go.ke/fhir/StructureDefinition/ClinicalConsultationModel
Version0.1.0
Statusdraft
Date2026-06-19T10:10:16+00:00
NameClinicalConsultationModel
TitleKPS.B Clinical Consultation
Realmus
Authorityhl7
DescriptionLogical model for documenting clinical consultation data under the Kenya Patient Summary (KPS.B) standard.
CopyrightCopyright © 2024+ Digital Health Agency of Kenya. This content is licensed under Creative Commons Zero v1.0 Universal (CC0 1.0). No rights reserved.
Typehttps://nshr-uat.sha.go.ke/fhir/StructureDefinition/ClinicalConsultationModel
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

ValueSet
fhir.kenyaPSIG#currentallergy-intolerance-reaction-substance-vsSubstance ValueSet
fhir.kenyaPSIG#currentkps-allergy-severity-vsAllergy Severity
fhir.kenyaPSIG#currentkps-allergy-status-vsAllergy Clinical Status
fhir.kenyaPSIG#currentkps-allergy-type-vsAllergy Type

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition ClinicalConsultationModel

NameFlagsCard.TypeDescription & Constraintsdoco
.. ClinicalConsultationModel 0..*BaseKPS.B Clinical Consultation
... allergy 0..*BackboneElementDocumented allergies or intolerances
.... allergen 1..1stringSubstance or agent triggering the reaction
Binding: Substance ValueSet (required)
.... propensityType 1..1codeAllergy, intolerance, or unknown
Binding: Allergy Type (required)
.... description 0..1stringText description of the allergy or intolerance
.... severity 0..1codeSeverity of the clinical manifestation of the allergic reaction.
Binding: Allergy Severity (required)
.... criticality 0..1codeRisk of future life-threatening adverse reactions
.... onsetDate 0..1dateDate the allergy was observed
.... onsetAge 0..1AgeAge at onset of the allergy
.... endDate 0..1dateDate of resolution of the allergy
.... allergyStatus 1..1codeCurrent status of the allergy
Binding: Allergy Clinical Status (required)
.... allergyCertainty 0..1codeCertainty about the reaction's presence
... medicalAlert 0..*BackboneElementMedical alert information
.... description 1..1stringDescription of the alert
.... alertCode 0..1codePriority level
.... status 0..1codeAlert status (active/inactive/etc)
... resolvedProblem 0..*BackboneElementPast resolved/closed/inactive problems
.... description 1..1stringProblem or diagnosis
.... onsetDate 0..1dateDate of problem onset
.... endDate 0..1dateResolution date
.... resolutionCircumstances 0..1stringHow the problem was resolved
... medicalHistory 0..1stringNarrative or synthesized summary of the client’s medical background
... currentProblem 0..*BackboneElementCurrent diagnoses and health conditions
.... condition 1..1stringProblem or diagnosis
.... clinicalStatus 0..1codeClinical state (active, recurrence, relapse)
.... verificationStatus 0..1codeCertainty of diagnosis (confirmed, differential)
.... conditionCategory 0..1codeProblem list or encounter diagnosis
.... conditionEncounter 0..1stringEncounter when the condition was first recorded
.... severity 0..1codeClinical severity
.... bodySite 0..1stringAnatomical location
.... onsetDate 0..1dateDate of onset
.... onsetAge 0..1stringAge at onset
.... assertionStatus 0..1codeAssertion about diagnosis certainty
... socialHistory 0..*BackboneElementLifestyle factors or social determinants
.... observation 1..1stringSocial history observation
.... referencePeriod 0..1stringTime period of observation
... pregnancyStatus 0..1BackboneElementCurrent pregnancy status
.... status 1..1codePregnancy status
.... observationDate 0..1dateDate of pregnancy observation
.... expectedDeliveryDate 0..1dateEstimated due date
... previousPregnancy 0..*BackboneElementPrevious pregnancy details
.... status 1..1codeHas the client been pregnant before?
.... outcome 0..1codePregnancy outcome
.... outcomeDate 0..1dateDate of pregnancy outcome
.... numberOfChildren 0..1integerNumber of children/fetuses in the pregnancy
... travelHistory 0..*BackboneElementClient travel history
.... destination 1..1stringDestination of travel
.... period 0..1stringPeriod of travel (entry and departure dates)

doco Documentation for this format

Source1

{
  "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"
          }
        ]
      }
    ]
  }
}