@claudebernard/fhir-prescription-mocks 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -262,6 +262,7 @@ var patient_complete_default = {
262
262
  subject: {
263
263
  reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
264
264
  },
265
+ effectiveDateTime: "2023-09-09",
265
266
  valueQuantity: {
266
267
  value: 45,
267
268
  unit: "mL/min/1.73.m2",
@@ -326,6 +327,7 @@ var patient_complete_default = {
326
327
  subject: {
327
328
  reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
328
329
  },
330
+ effectiveDateTime: "2023-09-09",
329
331
  valueQuantity: {
330
332
  value: 84,
331
333
  unit: "kg",
@@ -353,6 +355,7 @@ var patient_complete_default = {
353
355
  subject: {
354
356
  reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
355
357
  },
358
+ effectiveDateTime: "2023-09-09",
356
359
  valueQuantity: {
357
360
  value: 170,
358
361
  unit: "cm",
@@ -2900,7 +2903,7 @@ var automedication_complete_default = {
2900
2903
  system: "http://www.whocc.no/atc"
2901
2904
  },
2902
2905
  {
2903
- code: "24466",
2906
+ code: "33025",
2904
2907
  display: "DOLIPRANE 1000MG CPR 8",
2905
2908
  system: "https://platform.claudebernard.fr/fhir/CodeSystem/bcb-code"
2906
2909
  }
@@ -3131,137 +3134,6 @@ var automedication_complete_default = {
3131
3134
  }
3132
3135
  ]
3133
3136
  }
3134
- },
3135
- {
3136
- fullUrl: "Medication/4241cd43-0163-16c8-7d25-05ef26f8df7f",
3137
- resource: {
3138
- resourceType: "Medication",
3139
- id: "4241cd43-0163-16c8-7d25-05ef26f8df7f",
3140
- code: {
3141
- coding: [
3142
- {
3143
- code: "M01AB05",
3144
- display: "Diclof\xE9nac",
3145
- system: "http://www.whocc.no/atc"
3146
- },
3147
- {
3148
- code: "M01AB",
3149
- display: "D\xE9riv\xE9s de l'acide ac\xE9tique et substances apparent\xE9es",
3150
- system: "http://www.whocc.no/atc"
3151
- },
3152
- {
3153
- code: "M01A",
3154
- display: "Anti-inflammatoires et antirhumatismaux non st\xE9ro\xEFdiens",
3155
- system: "http://www.whocc.no/atc"
3156
- },
3157
- {
3158
- code: "M01",
3159
- display: "Anti-inflammatoires et antirhumatismaux",
3160
- system: "http://www.whocc.no/atc"
3161
- },
3162
- {
3163
- code: "M",
3164
- display: "Syst\xE8me musculo-squelettique",
3165
- system: "http://www.whocc.no/atc"
3166
- },
3167
- {
3168
- code: "23614",
3169
- display: "VOLTARENE 50MG CPR 30",
3170
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/bcb-code"
3171
- }
3172
- ],
3173
- text: "VOLTARENE 50MG CPR 30"
3174
- }
3175
- }
3176
- },
3177
- {
3178
- fullUrl: "MedicationStatement/102608b5-a55a-4433-b1e8-9e169ce23a66",
3179
- resource: {
3180
- resourceType: "MedicationStatement",
3181
- id: "102608b5-a55a-4433-b1e8-9e169ce23a66",
3182
- status: "recorded",
3183
- category: [
3184
- {
3185
- coding: [
3186
- {
3187
- system: "http://terminology.hl7.org/CodeSystem/medication-statement-category",
3188
- code: "patientspecified",
3189
- display: "Patient Specified"
3190
- }
3191
- ]
3192
- }
3193
- ],
3194
- medication: {
3195
- reference: {
3196
- reference: "Medication/4241cd43-0163-16c8-7d25-05ef26f8df7f"
3197
- }
3198
- },
3199
- subject: {
3200
- reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
3201
- },
3202
- effectiveDateTime: "2026-08-25",
3203
- dateAsserted: "2026-08-27",
3204
- informationSource: [
3205
- {
3206
- reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
3207
- }
3208
- ],
3209
- note: [
3210
- {
3211
- text: "Autom\xE9dication : bo\xEEte restante d'une pr\xE9c\xE9dente prescription, reprise sans avis m\xE9dical"
3212
- }
3213
- ],
3214
- dosage: [
3215
- {
3216
- text: "1 comprim\xE9 matin et soir en cas de douleur, pendant 3 jours",
3217
- patientInstruction: "1 comprim\xE9 matin et soir en cas de douleur, pendant 3 jours",
3218
- route: {
3219
- coding: [
3220
- {
3221
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/dosage-routes",
3222
- code: "13",
3223
- display: "orale"
3224
- }
3225
- ]
3226
- },
3227
- timing: {
3228
- repeat: {
3229
- when: [
3230
- "MORN",
3231
- "EVE"
3232
- ],
3233
- frequency: 2,
3234
- period: 1,
3235
- periodUnit: "d",
3236
- duration: 3,
3237
- durationUnit: "d"
3238
- }
3239
- },
3240
- asNeeded: true,
3241
- asNeededFor: [
3242
- {
3243
- coding: [
3244
- {
3245
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/amm-pathologies",
3246
- code: "1909",
3247
- display: "Douleur"
3248
- }
3249
- ]
3250
- }
3251
- ],
3252
- doseAndRate: [
3253
- {
3254
- doseQuantity: {
3255
- value: 1,
3256
- unit: "comprim\xE9",
3257
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/dosage-intake-units",
3258
- code: "1"
3259
- }
3260
- }
3261
- ]
3262
- }
3263
- ]
3264
- }
3265
3137
  }
3266
3138
  ]
3267
3139
  };
package/dist/index.mjs CHANGED
@@ -224,6 +224,7 @@ var patient_complete_default = {
224
224
  subject: {
225
225
  reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
226
226
  },
227
+ effectiveDateTime: "2023-09-09",
227
228
  valueQuantity: {
228
229
  value: 45,
229
230
  unit: "mL/min/1.73.m2",
@@ -288,6 +289,7 @@ var patient_complete_default = {
288
289
  subject: {
289
290
  reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
290
291
  },
292
+ effectiveDateTime: "2023-09-09",
291
293
  valueQuantity: {
292
294
  value: 84,
293
295
  unit: "kg",
@@ -315,6 +317,7 @@ var patient_complete_default = {
315
317
  subject: {
316
318
  reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
317
319
  },
320
+ effectiveDateTime: "2023-09-09",
318
321
  valueQuantity: {
319
322
  value: 170,
320
323
  unit: "cm",
@@ -2862,7 +2865,7 @@ var automedication_complete_default = {
2862
2865
  system: "http://www.whocc.no/atc"
2863
2866
  },
2864
2867
  {
2865
- code: "24466",
2868
+ code: "33025",
2866
2869
  display: "DOLIPRANE 1000MG CPR 8",
2867
2870
  system: "https://platform.claudebernard.fr/fhir/CodeSystem/bcb-code"
2868
2871
  }
@@ -3093,137 +3096,6 @@ var automedication_complete_default = {
3093
3096
  }
3094
3097
  ]
3095
3098
  }
3096
- },
3097
- {
3098
- fullUrl: "Medication/4241cd43-0163-16c8-7d25-05ef26f8df7f",
3099
- resource: {
3100
- resourceType: "Medication",
3101
- id: "4241cd43-0163-16c8-7d25-05ef26f8df7f",
3102
- code: {
3103
- coding: [
3104
- {
3105
- code: "M01AB05",
3106
- display: "Diclof\xE9nac",
3107
- system: "http://www.whocc.no/atc"
3108
- },
3109
- {
3110
- code: "M01AB",
3111
- display: "D\xE9riv\xE9s de l'acide ac\xE9tique et substances apparent\xE9es",
3112
- system: "http://www.whocc.no/atc"
3113
- },
3114
- {
3115
- code: "M01A",
3116
- display: "Anti-inflammatoires et antirhumatismaux non st\xE9ro\xEFdiens",
3117
- system: "http://www.whocc.no/atc"
3118
- },
3119
- {
3120
- code: "M01",
3121
- display: "Anti-inflammatoires et antirhumatismaux",
3122
- system: "http://www.whocc.no/atc"
3123
- },
3124
- {
3125
- code: "M",
3126
- display: "Syst\xE8me musculo-squelettique",
3127
- system: "http://www.whocc.no/atc"
3128
- },
3129
- {
3130
- code: "23614",
3131
- display: "VOLTARENE 50MG CPR 30",
3132
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/bcb-code"
3133
- }
3134
- ],
3135
- text: "VOLTARENE 50MG CPR 30"
3136
- }
3137
- }
3138
- },
3139
- {
3140
- fullUrl: "MedicationStatement/102608b5-a55a-4433-b1e8-9e169ce23a66",
3141
- resource: {
3142
- resourceType: "MedicationStatement",
3143
- id: "102608b5-a55a-4433-b1e8-9e169ce23a66",
3144
- status: "recorded",
3145
- category: [
3146
- {
3147
- coding: [
3148
- {
3149
- system: "http://terminology.hl7.org/CodeSystem/medication-statement-category",
3150
- code: "patientspecified",
3151
- display: "Patient Specified"
3152
- }
3153
- ]
3154
- }
3155
- ],
3156
- medication: {
3157
- reference: {
3158
- reference: "Medication/4241cd43-0163-16c8-7d25-05ef26f8df7f"
3159
- }
3160
- },
3161
- subject: {
3162
- reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
3163
- },
3164
- effectiveDateTime: "2026-08-25",
3165
- dateAsserted: "2026-08-27",
3166
- informationSource: [
3167
- {
3168
- reference: "Patient/a362bb19-6db4-0149-8854-d0230acbb45d"
3169
- }
3170
- ],
3171
- note: [
3172
- {
3173
- text: "Autom\xE9dication : bo\xEEte restante d'une pr\xE9c\xE9dente prescription, reprise sans avis m\xE9dical"
3174
- }
3175
- ],
3176
- dosage: [
3177
- {
3178
- text: "1 comprim\xE9 matin et soir en cas de douleur, pendant 3 jours",
3179
- patientInstruction: "1 comprim\xE9 matin et soir en cas de douleur, pendant 3 jours",
3180
- route: {
3181
- coding: [
3182
- {
3183
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/dosage-routes",
3184
- code: "13",
3185
- display: "orale"
3186
- }
3187
- ]
3188
- },
3189
- timing: {
3190
- repeat: {
3191
- when: [
3192
- "MORN",
3193
- "EVE"
3194
- ],
3195
- frequency: 2,
3196
- period: 1,
3197
- periodUnit: "d",
3198
- duration: 3,
3199
- durationUnit: "d"
3200
- }
3201
- },
3202
- asNeeded: true,
3203
- asNeededFor: [
3204
- {
3205
- coding: [
3206
- {
3207
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/amm-pathologies",
3208
- code: "1909",
3209
- display: "Douleur"
3210
- }
3211
- ]
3212
- }
3213
- ],
3214
- doseAndRate: [
3215
- {
3216
- doseQuantity: {
3217
- value: 1,
3218
- unit: "comprim\xE9",
3219
- system: "https://platform.claudebernard.fr/fhir/CodeSystem/dosage-intake-units",
3220
- code: "1"
3221
- }
3222
- }
3223
- ]
3224
- }
3225
- ]
3226
- }
3227
3099
  }
3228
3100
  ]
3229
3101
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudebernard/fhir-prescription-mocks",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "FHIR R5 mock data for prescription control — shared test fixtures",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",