FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/sghi-codeable-reference

Packagesilfhirprofileig
TypeStructureDefinition
Idsghi-codeable-reference
FHIR VersionR5
Sourcehttps://fhir.slade360.co.ke/fhir/https://build.fhir.org/ig/savannahghi/sil_fhir_profile_ig/StructureDefinition-sghi-codeable-reference.html
URLhttps://fhir.slade360.co.ke/fhir/StructureDefinition/sghi-codeable-reference
Version0.1.0
Statusdraft
Date2025-07-10T13:42:01+00:00
NameSGHICodeableReference
TitleSGHI CodeableReference
DescriptionA reusable CodeableReference within SGHI systems
TypeCodeableReference
Kindcomplex-type

Resources that use this resource

StructureDefinition
sghi-allergyintoleranceSGHI AllergyIntolerance
sghi-appointmentSGHI Appointment Profile
sghi-careplanSGHI Care Plan
sghi-documentreferenceSGHI DocumentReference Profile.
sghi-encounterSGHI Encounter
sghi-medicationSGHI Medication
sghi-medicationdispenseSGHI Medication Dispense
sghi-medicationrequestSGHI MedicationRequest
sghi-procedureSGHI Procedure
sghi-riskassessmentSGHI RiskAssessment
sghi-servicerequestSGHI ServiceRequest
sghi-substanceSGHI Substance
sghi-taskSGHI Task

Resources that this resource uses

StructureDefinition
sghi-codeableconceptSGHI CodeableConcept
sghi-referenceSGHI Reference

Narrative

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

Generated Narrative: StructureDefinition sghi-codeable-reference

NameFlagsCard.TypeDescription & Constraintsdoco
.. CodeableReference CodeableReference
... concept 0..1SGHICodeableConceptReference to a concept (by class)
... reference 0..1SGHIReference()Reference to a resource (by instance)

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "sghi-codeable-reference",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "has-target"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-bind"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "do-translations"
    }
  ],
  "url": "https://fhir.slade360.co.ke/fhir/StructureDefinition/sghi-codeable-reference",
  "version": "0.1.0",
  "name": "SGHICodeableReference",
  "title": "SGHI CodeableReference",
  "status": "draft",
  "date": "2025-07-10T13:42:01+00:00",
  "publisher": "Kathurima Kimathi",
  "contact": [
    {
      "name": "Kathurima Kimathi",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.linkedin.com/in/kathurima-kimathi/"
        },
        {
          "system": "email",
          "value": "kathurimakimathi415@gmail.com"
        }
      ]
    },
    {
      "name": "Oscar John",
      "telecom": [
        {
          "system": "email",
          "value": "oscarjohnotieno@gmail.com",
          "use": "work"
        }
      ]
    },
    {
      "name": "Kennedy Omondi",
      "telecom": [
        {
          "system": "email",
          "value": "kennankole@gmail.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A reusable CodeableReference within SGHI systems",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "type": "CodeableReference",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CodeableReference",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "CodeableReference",
        "path": "CodeableReference",
        "short": "Reference to a resource or a concept",
        "definition": "A reference to a resource (by instance), or instead, a reference to a concept defined in a terminology or ontology (by class).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CodeableReference",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "CodeableReference.id",
        "path": "CodeableReference.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": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "CodeableReference.extension",
        "path": "CodeableReference.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 managable, 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())",
            "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()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "CodeableReference.concept",
        "path": "CodeableReference.concept",
        "short": "Reference to a concept (by class)",
        "definition": "A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CodeableReference.concept",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.slade360.co.ke/fhir/StructureDefinition/sghi-codeableconcept"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "CodeableReference.reference",
        "path": "CodeableReference.reference",
        "short": "Reference to a resource (by instance)",
        "definition": "A reference to a resource the provides exact details about the information being referenced.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CodeableReference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.slade360.co.ke/fhir/StructureDefinition/sghi-reference"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "CodeableReference.concept",
        "path": "CodeableReference.concept",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.slade360.co.ke/fhir/StructureDefinition/sghi-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "CodeableReference.reference",
        "path": "CodeableReference.reference",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.slade360.co.ke/fhir/StructureDefinition/sghi-reference"
            ]
          }
        ]
      }
    ]
  }
}