You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Coded medication from external dataset with optional dosage and route metadata",
86
+
"description": "Coded medication intake. 'drug' is the coded identity from datasets-service, 'intake' is the user-entered regimen. Maps to FHIR MedicationStatement: drug → medicationCodeableConcept, intake → dosage.",
87
87
"type": "object",
88
-
"required": ["label"],
88
+
"required": ["drug"],
89
89
"properties": {
90
-
"label": {
91
-
"description": "Localized medication name",
92
-
"type": "object"
93
-
},
94
-
"codes": {
95
-
"description": "Array of coding identifiers (ATC, RxNorm, etc.)",
96
-
"type": "array",
97
-
"items": {
98
-
"type": "object",
99
-
"required": ["code", "system"],
100
-
"properties": {
101
-
"code": {
102
-
"description": "Code value (e.g. ATC code)",
103
-
"type": "string"
104
-
},
105
-
"system": {
106
-
"description": "Coding system (e.g. ATC, RxNorm)",
107
-
"type": "string"
108
-
},
109
-
"source": {
110
-
"description": "Data source reference",
111
-
"type": "object"
112
-
},
113
-
"hdsId": {
114
-
"description": "Unique HDS identifier for this code entry",
115
-
"type": "string"
90
+
"drug": {
91
+
"description": "Coded drug identity, populated from datasets-service selection. Contains multiple codes when the same drug is matched across coding systems.",
92
+
"type": "object",
93
+
"required": ["label", "codes"],
94
+
"properties": {
95
+
"label": {
96
+
"description": "Localized medication name for display",
97
+
"type": "object",
98
+
"properties": {
99
+
"en": { "type": "string" }
100
+
}
101
+
},
102
+
"description": {
103
+
"description": "Localized full description (e.g. 'Aspirin 325 MG Oral Tablet')",
104
+
"type": "object",
105
+
"properties": {
106
+
"en": { "type": "string" }
107
+
}
108
+
},
109
+
"codes": {
110
+
"description": "Coding identifiers across systems. A single drug may have codes in RxNorm (prescribing), SNOMED-CT (clinical), and ATC (classification).",
111
+
"type": "array",
112
+
"items": {
113
+
"type": "object",
114
+
"required": ["code", "system", "hdsId"],
115
+
"properties": {
116
+
"code": {
117
+
"description": "Code value (rxcui, SCTID, ATC code)",
0 commit comments