Packages

ISO/HL7 FHIR Application Server

Current section

Files

Jump to
hl7 priv schema CodeableConcept.schema.json
Raw

priv/schema/CodeableConcept.schema.json

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://hl7.erp.uno/priv/schema/CodeableConcept.schema.json",
"$ref": "#/definitions/CodeableConcept",
"description": "see https://hl7.org/fhir/R5/json.html for information about the FHIR Json Schemas",
"definitions": {
"Coding": {
"allOf": [
{
"description": "A reference to a code defined by a terminology system.",
"properties": {
"system": {
"description": "The identification of the code system that defines the meaning of the symbol in the code.",
"type": "string"
},
"version": {
"description": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"type": "string"
},
"code": {
"description": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"type": "string",
"pattern": "[^\\s]+([\\s]?[^\\s]+)*"
},
"display": {
"description": "A representation of the meaning of the code in the system, following the rules of the system.",
"type": "string"
},
"userSelected": {
"description": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
"type": "boolean"
}
}
}
]
},
"CodeableConcept": {
"allOf": [
{
"description": "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
"properties": {
"coding": {
"description": "A reference to a code defined by a terminology system.",
"type": "array",
"items": {
"$ref": "#/definitions/Coding"
}
},
"text": {
"description": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"type": "string"
}
}
}
]
}
}
}