fhir_scorecard 1.8.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (614) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -1
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +12 -12
  5. data/fhir_scorecard.gemspec +2 -2
  6. data/lib/fhir_scorecard.rb +1 -0
  7. data/lib/implementation_guides.rb +184 -0
  8. data/lib/resources/profile_indicators.json +1633 -0
  9. data/lib/resources/standard_health_record/CodeSystem-shr-actor-LanguageQualifierCS.json +79 -0
  10. data/lib/resources/standard_health_record/CodeSystem-shr-base-GenericAnswersCS.json +54 -0
  11. data/lib/resources/standard_health_record/CodeSystem-shr-base-MissingValueReasonCS.json +80 -0
  12. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-AlcoholUseScreeningToolCS.json +54 -0
  13. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-DietNutritionConcernCS.json +129 -0
  14. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-PhysicalActivityLimitationCS.json +99 -0
  15. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousPracticeStatusCS.json +54 -0
  16. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousRestrictionCS.json +55 -0
  17. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SleepQualityReasonCS.json +94 -0
  18. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SpecialDietFollowedCS.json +69 -0
  19. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeCS.json +94 -0
  20. data/lib/resources/standard_health_record/CodeSystem-shr-core-CodingQualifierCS.json +74 -0
  21. data/lib/resources/standard_health_record/CodeSystem-shr-core-PerformanceGradingScaleCS.json +65 -0
  22. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeDateTimeCS.json +139 -0
  23. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeFrequencyCS.json +64 -0
  24. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeLikelihoodCS.json +70 -0
  25. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeValueScaleCS.json +64 -0
  26. data/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeDurationCS.json +84 -0
  27. data/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeFrequencyCS.json +104 -0
  28. data/lib/resources/standard_health_record/CodeSystem-shr-core-SettingCS.json +210 -0
  29. data/lib/resources/standard_health_record/CodeSystem-shr-core-ThreePriorityCS.json +54 -0
  30. data/lib/resources/standard_health_record/CodeSystem-shr-core-ThreeValueLogicCS.json +54 -0
  31. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-AddressUseCS.json +70 -0
  32. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-InsuranceProviderTypeCS.json +74 -0
  33. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelecomQualifierCS.json +99 -0
  34. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelephoneTypeCS.json +49 -0
  35. data/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryAssistDeviceCS.json +64 -0
  36. data/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryRateSettingCS.json +69 -0
  37. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-EncounterTypeCS.json +69 -0
  38. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-EpisodeOfCareCompletionCS.json +89 -0
  39. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReasonEncounterDidNotHappenCS.json +59 -0
  40. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReferralSourceTypeCS.json +84 -0
  41. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-TreatmentCooperationCS.json +59 -0
  42. data/lib/resources/standard_health_record/CodeSystem-shr-environment-AnimalExposureCS.json +84 -0
  43. data/lib/resources/standard_health_record/CodeSystem-shr-environment-CoinhabitantCS.json +74 -0
  44. data/lib/resources/standard_health_record/CodeSystem-shr-environment-HomeEnvironmentRiskCS.json +214 -0
  45. data/lib/resources/standard_health_record/CodeSystem-shr-environment-IncomeSourceCS.json +109 -0
  46. data/lib/resources/standard_health_record/CodeSystem-shr-environment-NonCashBenefitCS.json +89 -0
  47. data/lib/resources/standard_health_record/CodeSystem-shr-environment-ResourceStabilityCS.json +59 -0
  48. data/lib/resources/standard_health_record/CodeSystem-shr-lab-RequestStatusCS.json +59 -0
  49. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EducationalAttainmentCS.json +89 -0
  50. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EmploymentStatusCS.json +104 -0
  51. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusCS.json +64 -0
  52. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceEraCS.json +80 -0
  53. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryStatusCS.json +54 -0
  54. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-TeratogenCS.json +319 -0
  55. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-USMilitaryBranchCS.json +74 -0
  56. data/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeReasonCS.json +69 -0
  57. data/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeTypeCS.json +64 -0
  58. data/lib/resources/standard_health_record/CodeSystem-shr-medication-ReasonMedicationNotUsedCS.json +89 -0
  59. data/lib/resources/standard_health_record/CodeSystem-shr-observation-ExposureReasonCS.json +75 -0
  60. data/lib/resources/standard_health_record/CodeSystem-shr-observation-ObservationNotMadeReasonCS.json +65 -0
  61. data/lib/resources/standard_health_record/CodeSystem-shr-problem-EvidenceQualityCS.json +54 -0
  62. data/lib/resources/standard_health_record/CodeSystem-shr-problem-GradeOrStageCS.json +64 -0
  63. data/lib/resources/standard_health_record/CodeSystem-shr-problem-ProblemCategoryCS.json +69 -0
  64. data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodCS.json +129 -0
  65. data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodReasonCS.json +64 -0
  66. data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveNotUsedReasonCS.json +89 -0
  67. data/lib/resources/standard_health_record/CodeSystem-shr-sex-GenderIdentityCS.json +74 -0
  68. data/lib/resources/standard_health_record/CodeSystem-shr-skin-PressureUlcerAssociationCS.json +49 -0
  69. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceBodyPositionCS.json +49 -0
  70. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceCategoryCS.json +74 -0
  71. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceComponentCS.json +99 -0
  72. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceFeatureCS.json +74 -0
  73. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureMethodCS.json +60 -0
  74. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureQualifierCS.json +70 -0
  75. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyHeightQualifierCS.json +44 -0
  76. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyTemperatureQualifierCS.json +44 -0
  77. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyWeightQualifierCS.json +109 -0
  78. data/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateMethodCS.json +75 -0
  79. data/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateQualifierCS.json +65 -0
  80. data/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateMethodCS.json +70 -0
  81. data/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateQualifierCS.json +110 -0
  82. data/lib/resources/standard_health_record/ImplementationGuide-1.json +7079 -0
  83. data/lib/resources/standard_health_record/StructureDefinition-primitive-base64Binary-extension.json +215 -0
  84. data/lib/resources/standard_health_record/StructureDefinition-primitive-boolean-extension.json +215 -0
  85. data/lib/resources/standard_health_record/StructureDefinition-primitive-code-extension.json +215 -0
  86. data/lib/resources/standard_health_record/StructureDefinition-primitive-date-extension.json +215 -0
  87. data/lib/resources/standard_health_record/StructureDefinition-primitive-dateTime-extension.json +215 -0
  88. data/lib/resources/standard_health_record/StructureDefinition-primitive-decimal-extension.json +215 -0
  89. data/lib/resources/standard_health_record/StructureDefinition-primitive-id-extension.json +215 -0
  90. data/lib/resources/standard_health_record/StructureDefinition-primitive-instant-extension.json +215 -0
  91. data/lib/resources/standard_health_record/StructureDefinition-primitive-integer-extension.json +215 -0
  92. data/lib/resources/standard_health_record/StructureDefinition-primitive-markdown-extension.json +215 -0
  93. data/lib/resources/standard_health_record/StructureDefinition-primitive-oid-extension.json +215 -0
  94. data/lib/resources/standard_health_record/StructureDefinition-primitive-positiveInt-extension.json +215 -0
  95. data/lib/resources/standard_health_record/StructureDefinition-primitive-string-extension.json +215 -0
  96. data/lib/resources/standard_health_record/StructureDefinition-primitive-time-extension.json +215 -0
  97. data/lib/resources/standard_health_record/StructureDefinition-primitive-unsignedInt-extension.json +215 -0
  98. data/lib/resources/standard_health_record/StructureDefinition-primitive-uri-extension.json +215 -0
  99. data/lib/resources/standard_health_record/StructureDefinition-primitive-xhtml-extension.json +215 -0
  100. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Affiliation-extension.json +218 -0
  101. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-AgeAtDeath-extension.json +367 -0
  102. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Anonymized-extension.json +216 -0
  103. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-DateOfDeath-extension.json +367 -0
  104. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Deceased-extension.json +447 -0
  105. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-EmergencyContact.json +1046 -0
  106. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-FictionalPerson-extension.json +216 -0
  107. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageQualifier-extension.json +230 -0
  108. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageUsed-extension.json +487 -0
  109. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-MedicalSpecialty-extension.json +230 -0
  110. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-NoPrimaryCareProvider.json +1417 -0
  111. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Organization.json +951 -0
  112. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Participant-extension.json +621 -0
  113. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-ParticipationType-extension.json +218 -0
  114. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner-extension.json +218 -0
  115. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner.json +1205 -0
  116. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-PrimaryCareProvider.json +986 -0
  117. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-ProviderRelationship.json +1028 -0
  118. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson-extension.json +218 -0
  119. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson.json +900 -0
  120. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.json +230 -0
  121. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.json +230 -0
  122. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction-extension.json +218 -0
  123. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction.json +1927 -0
  124. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.json +407 -0
  125. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AttributionCertainty-extension.json +230 -0
  126. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-AllergyIntolerance.json +1471 -0
  127. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-DrugAllergy.json +1487 -0
  128. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy-extension.json +218 -0
  129. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy.json +1487 -0
  130. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownAllergy.json +1902 -0
  131. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownDrugAllergy.json +1780 -0
  132. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.json +1780 -0
  133. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownFoodAllergy.json +1780 -0
  134. data/lib/resources/standard_health_record/StructureDefinition-shr-base-ActionCode-extension.json +218 -0
  135. data/lib/resources/standard_health_record/StructureDefinition-shr-base-AssociatedEncounter-extension.json +218 -0
  136. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Author-extension.json +242 -0
  137. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Entry.json +911 -0
  138. data/lib/resources/standard_health_record/StructureDefinition-shr-base-FocalSubject-extension.json +234 -0
  139. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Informant-extension.json +234 -0
  140. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Language-extension.json +230 -0
  141. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Narrative.json +223 -0
  142. data/lib/resources/standard_health_record/StructureDefinition-shr-base-NonOccurrenceModifier-extension.json +407 -0
  143. data/lib/resources/standard_health_record/StructureDefinition-shr-base-OriginalCreationDate-extension.json +216 -0
  144. data/lib/resources/standard_health_record/StructureDefinition-shr-base-PatientInstructions-extension.json +216 -0
  145. data/lib/resources/standard_health_record/StructureDefinition-shr-base-PerformerInstructions-extension.json +216 -0
  146. data/lib/resources/standard_health_record/StructureDefinition-shr-base-ShrId-extension.json +216 -0
  147. data/lib/resources/standard_health_record/StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.json +216 -0
  148. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.json +534 -0
  149. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholUse.json +3337 -0
  150. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AssessmentTool-extension.json +218 -0
  151. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-BehavioralObservation.json +2461 -0
  152. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietAndNutrition.json +2721 -0
  153. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietNutritionConcern-extension.json +230 -0
  154. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.json +216 -0
  155. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HasSufficientFood-extension.json +229 -0
  156. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HoursSleepPerNight-extension.json +216 -0
  157. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-IntravenousDrugUse.json +3360 -0
  158. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-NicotineUse.json +3344 -0
  159. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ONCSmokingStatus.json +2373 -0
  160. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLevel.json +2635 -0
  161. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.json +230 -0
  162. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReadinessToChange-extension.json +230 -0
  163. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPractice.json +2702 -0
  164. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.json +230 -0
  165. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousRestriction-extension.json +230 -0
  166. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQuality.json +2782 -0
  167. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQualityReason-extension.json +230 -0
  168. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SpecialDietFollowed-extension.json +230 -0
  169. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceAbuseTreatment.json +1668 -0
  170. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceUse.json +3048 -0
  171. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.json +230 -0
  172. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.json +230 -0
  173. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentBehaviorRisk.json +617 -0
  174. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.json +419 -0
  175. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.json +419 -0
  176. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-WakeFeelingRested-extension.json +230 -0
  177. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Address.json +600 -0
  178. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Age-extension.json +218 -0
  179. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Age.json +358 -0
  180. data/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeGroup-extension.json +230 -0
  181. data/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeRange-extension.json +407 -0
  182. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Annotation.json +255 -0
  183. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Area-extension.json +226 -0
  184. data/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite-extension.json +218 -0
  185. data/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite.json +799 -0
  186. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Circumference-extension.json +327 -0
  187. data/lib/resources/standard_health_record/StructureDefinition-shr-core-ClockDirection-extension.json +230 -0
  188. data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept-extension.json +218 -0
  189. data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept.json +252 -0
  190. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Coding.json +393 -0
  191. data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodingQualifier-extension.json +228 -0
  192. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Count-extension.json +216 -0
  193. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Country-extension.json +216 -0
  194. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Depth-extension.json +226 -0
  195. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Details-extension.json +216 -0
  196. data/lib/resources/standard_health_record/StructureDefinition-shr-core-DollarAmount.json +337 -0
  197. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration-extension.json +218 -0
  198. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration.json +358 -0
  199. data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveDate-extension.json +216 -0
  200. data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod-extension.json +218 -0
  201. data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod.json +235 -0
  202. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Explanation-extension.json +216 -0
  203. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Frequency-extension.json +407 -0
  204. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedAge-extension.json +461 -0
  205. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedDateTime-extension.json +461 -0
  206. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedLikelihood-extension.json +421 -0
  207. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedTemporalContext-extension.json +461 -0
  208. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeopoliticalLocation.json +606 -0
  209. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Geoposition.json +909 -0
  210. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalAge-extension.json +218 -0
  211. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTemporalContext-extension.json +421 -0
  212. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTimePeriod-extension.json +218 -0
  213. data/lib/resources/standard_health_record/StructureDefinition-shr-core-HumanName.json +417 -0
  214. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Identifier.json +412 -0
  215. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Length-extension.json +226 -0
  216. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Likelihood-extension.json +216 -0
  217. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Location-extension.json +234 -0
  218. data/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound-extension.json +218 -0
  219. data/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound.json +336 -0
  220. data/lib/resources/standard_health_record/StructureDefinition-shr-core-OccurrenceTime-extension.json +224 -0
  221. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Percentage-extension.json +216 -0
  222. data/lib/resources/standard_health_record/StructureDefinition-shr-core-PeriodOfUse.json +235 -0
  223. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Priority-extension.json +216 -0
  224. data/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeDateTime-extension.json +230 -0
  225. data/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeLikelihood-extension.json +230 -0
  226. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity-extension.json +218 -0
  227. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity.json +331 -0
  228. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Reason-extension.json +224 -0
  229. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Setting-extension.json +230 -0
  230. data/lib/resources/standard_health_record/StructureDefinition-shr-core-State-extension.json +216 -0
  231. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Statistic.json +390 -0
  232. data/lib/resources/standard_health_record/StructureDefinition-shr-core-StatisticType-extension.json +230 -0
  233. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Substance-extension.json +218 -0
  234. data/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod-extension.json +218 -0
  235. data/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod.json +235 -0
  236. data/lib/resources/standard_health_record/StructureDefinition-shr-core-UnitedStatesAddress.json +606 -0
  237. data/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound-extension.json +218 -0
  238. data/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound.json +336 -0
  239. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Volume-extension.json +226 -0
  240. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Width-extension.json +226 -0
  241. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-CountryOfIssue-extension.json +367 -0
  242. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-DriversLicenseNumber-extension.json +447 -0
  243. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FamilialRelationship-extension.json +513 -0
  244. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FathersName-extension.json +218 -0
  245. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HealthInsurance.json +1271 -0
  246. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HomeTelephoneNumber.json +486 -0
  247. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PassportNumber-extension.json +447 -0
  248. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord-extension.json +218 -0
  249. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord.json +2554 -0
  250. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-SocialSecurityNumber-extension.json +216 -0
  251. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-StateOfIssue-extension.json +367 -0
  252. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-Telecom.json +434 -0
  253. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelecomTypeOther-extension.json +216 -0
  254. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelephoneNumber.json +434 -0
  255. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-WorkTelephoneNumber.json +486 -0
  256. data/lib/resources/standard_health_record/StructureDefinition-shr-device-Device.json +1122 -0
  257. data/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUse.json +860 -0
  258. data/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUseStatus-extension.json +228 -0
  259. data/lib/resources/standard_health_record/StructureDefinition-shr-device-Implanted-extension.json +216 -0
  260. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Encounter.json +2609 -0
  261. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.json +509 -0
  262. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility-extension.json +218 -0
  263. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility.json +1018 -0
  264. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-MobileFacility-extension.json +216 -0
  265. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-PaymentSource-extension.json +327 -0
  266. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralDate-extension.json +216 -0
  267. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralSourceType-extension.json +230 -0
  268. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-TreatmentCooperation-extension.json +230 -0
  269. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure-extension.json +218 -0
  270. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure.json +3039 -0
  271. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome-extension.json +218 -0
  272. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome.json +2313 -0
  273. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare-extension.json +218 -0
  274. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare.json +2357 -0
  275. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing-extension.json +218 -0
  276. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing.json +2357 -0
  277. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare-extension.json +218 -0
  278. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare.json +2357 -0
  279. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood-extension.json +218 -0
  280. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood.json +2357 -0
  281. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing-extension.json +218 -0
  282. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing.json +2357 -0
  283. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication-extension.json +218 -0
  284. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication.json +2357 -0
  285. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation-extension.json +218 -0
  286. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation.json +2357 -0
  287. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities-extension.json +218 -0
  288. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities.json +2357 -0
  289. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant-extension.json +218 -0
  290. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant.json +2375 -0
  291. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence-extension.json +218 -0
  292. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence.json +2471 -0
  293. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety-extension.json +218 -0
  294. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety.json +2406 -0
  295. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EnvironmentalExposuresPanel.json +1517 -0
  296. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureMethod-extension.json +218 -0
  297. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureReason-extension.json +230 -0
  298. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureSourceOrVector-extension.json +218 -0
  299. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureToSubstance.json +2912 -0
  300. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-FinancialSituationPanel.json +2075 -0
  301. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.json +218 -0
  302. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk.json +2406 -0
  303. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSituationPanel.json +1616 -0
  304. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize-extension.json +218 -0
  305. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize.json +2379 -0
  306. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity-extension.json +218 -0
  307. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity.json +2406 -0
  308. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource-extension.json +218 -0
  309. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource.json +2373 -0
  310. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability-extension.json +218 -0
  311. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability.json +2373 -0
  312. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit-extension.json +218 -0
  313. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit.json +2406 -0
  314. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents-extension.json +218 -0
  315. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents.json +2379 -0
  316. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety-extension.json +218 -0
  317. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety.json +2406 -0
  318. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-SocialEnvironmentPanel.json +1763 -0
  319. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability-extension.json +218 -0
  320. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability.json +2406 -0
  321. data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-Immunization.json +1891 -0
  322. data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationAdministered.json +1893 -0
  323. data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationNotGiven.json +1903 -0
  324. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-ChangeFlag-extension.json +230 -0
  325. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTest.json +2548 -0
  326. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTestRequest.json +1907 -0
  327. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTest.json +2548 -0
  328. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTestRequest.json +1907 -0
  329. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test-extension.json +218 -0
  330. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test.json +2488 -0
  331. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest.json +1907 -0
  332. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-CongenitalAbnormalities.json +2391 -0
  333. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EducationalAttainment.json +2391 -0
  334. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employer-extension.json +242 -0
  335. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employment.json +2477 -0
  336. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EmploymentStatus-extension.json +230 -0
  337. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryBranch-extension.json +230 -0
  338. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryService.json +1878 -0
  339. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.json +230 -0
  340. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.json +230 -0
  341. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus-extension.json +218 -0
  342. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus.json +2375 -0
  343. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Occupation.json +2391 -0
  344. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-PrenatalExposure.json +3088 -0
  345. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.json +367 -0
  346. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Travel.json +2543 -0
  347. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-Adherence-extension.json +447 -0
  348. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-AdherenceLevel-extension.json +230 -0
  349. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MaximumDosePerTimePeriod.json +238 -0
  350. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-Medication.json +1509 -0
  351. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationAfterChange-extension.json +218 -0
  352. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationBeforeChange-extension.json +218 -0
  353. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationChange.json +715 -0
  354. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotAdministered.json +1557 -0
  355. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribed.json +3297 -0
  356. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.json +521 -0
  357. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationPrescription.json +2818 -0
  358. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationUse.json +1591 -0
  359. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-NonAdherenceReason-extension.json +230 -0
  360. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-RouteIntoBody-extension.json +230 -0
  361. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-TypeOfChange-extension.json +230 -0
  362. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-CodeableConceptObservation.json +2297 -0
  363. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-HistoryObservation.json +2527 -0
  364. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-Observation.json +2314 -0
  365. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationCode-extension.json +218 -0
  366. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.json +521 -0
  367. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationQualifier-extension.json +218 -0
  368. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationReason-extension.json +224 -0
  369. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-Panel.json +1469 -0
  370. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-SocialHistory.json +2569 -0
  371. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Abatement-extension.json +367 -0
  372. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-AcademicProblem.json +1811 -0
  373. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Asplenia.json +1825 -0
  374. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Criticality-extension.json +228 -0
  375. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-IncludeOnProblemList-extension.json +216 -0
  376. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Injury.json +1907 -0
  377. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation-extension.json +218 -0
  378. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation.json +2411 -0
  379. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-MentalHealthProblem.json +1808 -0
  380. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Preexisting-extension.json +216 -0
  381. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Problem.json +1809 -0
  382. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Severity-extension.json +230 -0
  383. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.json +230 -0
  384. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.json +367 -0
  385. data/lib/resources/standard_health_record/StructureDefinition-shr-procedure-Procedure.json +1656 -0
  386. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.json +678 -0
  387. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodsUsed.json +2391 -0
  388. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.json +216 -0
  389. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.json +230 -0
  390. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-Dispensed-extension.json +216 -0
  391. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity-extension.json +218 -0
  392. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity.json +2375 -0
  393. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfLivingChildren-extension.json +216 -0
  394. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.json +216 -0
  395. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.json +216 -0
  396. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyHistory.json +1616 -0
  397. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyIntention.json +2391 -0
  398. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.json +230 -0
  399. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualActivity-extension.json +230 -0
  400. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualBehavior.json +1780 -0
  401. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualIdentity.json +1715 -0
  402. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualOrientation-extension.json +230 -0
  403. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-CausativeFactor-extension.json +273 -0
  404. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-ImmersionDepth-extension.json +226 -0
  405. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcer.json +1858 -0
  406. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerBodySite.json +799 -0
  407. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerManifestation.json +2770 -0
  408. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerNotPresent.json +2051 -0
  409. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurface.json +1279 -0
  410. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.json +230 -0
  411. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceCategory-extension.json +230 -0
  412. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceComponent-extension.json +230 -0
  413. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceEmployed.json +1009 -0
  414. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-VisibleInternalStructure-extension.json +230 -0
  415. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundBedAndEdge-extension.json +366 -0
  416. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundEdgeAppearance-extension.json +230 -0
  417. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundExudate-extension.json +367 -0
  418. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundSize-extension.json +567 -0
  419. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundTunnelling-extension.json +447 -0
  420. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundUndermining-extension.json +407 -0
  421. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BloodPressure.json +3576 -0
  422. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyHeight.json +2720 -0
  423. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyLength.json +2720 -0
  424. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyMassIndex.json +3989 -0
  425. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyTemperature.json +2720 -0
  426. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyWeight.json +2720 -0
  427. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-DiastolicPressure.json +2387 -0
  428. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadCircumference.json +2609 -0
  429. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadTiltAngle-extension.json +226 -0
  430. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeartRate.json +2719 -0
  431. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-OxygenSaturation.json +2609 -0
  432. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-RespiratoryRate.json +2719 -0
  433. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-SystolicPressure.json +2387 -0
  434. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-VitalSign.json +2534 -0
  435. data/lib/resources/standard_health_record/ValueSet-shr-actor-AgeGroupVS.json +77 -0
  436. data/lib/resources/standard_health_record/ValueSet-shr-actor-HealthcareRoleVS.json +105 -0
  437. data/lib/resources/standard_health_record/ValueSet-shr-actor-LanguageQualifierVS.json +77 -0
  438. data/lib/resources/standard_health_record/ValueSet-shr-adverse-MedDRAVS.json +43 -0
  439. data/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergenIrritantVS.json +50 -0
  440. data/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergyVerificationStatusVS.json +54 -0
  441. data/lib/resources/standard_health_record/ValueSet-shr-allergy-DrugIngredientVS.json +37 -0
  442. data/lib/resources/standard_health_record/ValueSet-shr-allergy-FoodSubstanceVS.json +36 -0
  443. data/lib/resources/standard_health_record/ValueSet-shr-base-GenericAnswersVS.json +57 -0
  444. data/lib/resources/standard_health_record/ValueSet-shr-base-MissingValueReasonVS.json +78 -0
  445. data/lib/resources/standard_health_record/ValueSet-shr-behavior-AlcoholUseScreeningToolVS.json +57 -0
  446. data/lib/resources/standard_health_record/ValueSet-shr-behavior-DietNutritionConcernVS.json +117 -0
  447. data/lib/resources/standard_health_record/ValueSet-shr-behavior-PhysicalActivityLimitationVS.json +93 -0
  448. data/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousPracticeStatusVS.json +57 -0
  449. data/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousRestrictionVS.json +58 -0
  450. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SleepQualityReasonVS.json +89 -0
  451. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SpecialDietFollowedVS.json +69 -0
  452. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.json +89 -0
  453. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceOfAbuseVS.json +50 -0
  454. data/lib/resources/standard_health_record/ValueSet-shr-core-BodyPositionVS.json +90 -0
  455. data/lib/resources/standard_health_record/ValueSet-shr-core-BodySiteVS.json +71 -0
  456. data/lib/resources/standard_health_record/ValueSet-shr-core-ClinicalFindingAbsentVS.json +50 -0
  457. data/lib/resources/standard_health_record/ValueSet-shr-core-ClockDirectionVS.json +93 -0
  458. data/lib/resources/standard_health_record/ValueSet-shr-core-CodingQualifierVS.json +73 -0
  459. data/lib/resources/standard_health_record/ValueSet-shr-core-DirectionalityVS.json +51 -0
  460. data/lib/resources/standard_health_record/ValueSet-shr-core-DiseaseFindingVS.json +50 -0
  461. data/lib/resources/standard_health_record/ValueSet-shr-core-LateralityVS.json +51 -0
  462. data/lib/resources/standard_health_record/ValueSet-shr-core-LowerBoundTypeVS.json +53 -0
  463. data/lib/resources/standard_health_record/ValueSet-shr-core-ManifestationVS.json +50 -0
  464. data/lib/resources/standard_health_record/ValueSet-shr-core-PerformanceGradingScaleVS.json +66 -0
  465. data/lib/resources/standard_health_record/ValueSet-shr-core-PortionTotalityVS.json +51 -0
  466. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeDateTimeVS.json +125 -0
  467. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeFrequencyVS.json +65 -0
  468. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeLikelihoodVS.json +70 -0
  469. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeValueScaleVS.json +65 -0
  470. data/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeDurationVS.json +81 -0
  471. data/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeFrequencyVS.json +97 -0
  472. data/lib/resources/standard_health_record/ValueSet-shr-core-SettingVS.json +182 -0
  473. data/lib/resources/standard_health_record/ValueSet-shr-core-StatisticTypeVS.json +70 -0
  474. data/lib/resources/standard_health_record/ValueSet-shr-core-ThreePriorityVS.json +57 -0
  475. data/lib/resources/standard_health_record/ValueSet-shr-core-ThreeValueLogicVS.json +57 -0
  476. data/lib/resources/standard_health_record/ValueSet-shr-core-TimeUnitOfMeasureVS.json +77 -0
  477. data/lib/resources/standard_health_record/ValueSet-shr-core-UpperBoundTypeVS.json +53 -0
  478. data/lib/resources/standard_health_record/ValueSet-shr-demographics-AddressUseVS.json +70 -0
  479. data/lib/resources/standard_health_record/ValueSet-shr-demographics-InsuranceProviderTypeVS.json +73 -0
  480. data/lib/resources/standard_health_record/ValueSet-shr-demographics-TelecomQualifierVS.json +93 -0
  481. data/lib/resources/standard_health_record/ValueSet-shr-demographics-TelephoneTypeVS.json +53 -0
  482. data/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryAssistDeviceVS.json +65 -0
  483. data/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryRateSettingVS.json +69 -0
  484. data/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterTypeVS.json +69 -0
  485. data/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterUrgencyVS.json +53 -0
  486. data/lib/resources/standard_health_record/ValueSet-shr-encounter-EpisodeOfCareCompletionVS.json +85 -0
  487. data/lib/resources/standard_health_record/ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.json +61 -0
  488. data/lib/resources/standard_health_record/ValueSet-shr-encounter-ReferralSourceTypeVS.json +81 -0
  489. data/lib/resources/standard_health_record/ValueSet-shr-encounter-TreatmentCooperationVS.json +61 -0
  490. data/lib/resources/standard_health_record/ValueSet-shr-environment-AnimalExposureVS.json +81 -0
  491. data/lib/resources/standard_health_record/ValueSet-shr-environment-CoinhabitantVS.json +73 -0
  492. data/lib/resources/standard_health_record/ValueSet-shr-environment-HomeEnvironmentRiskVS.json +185 -0
  493. data/lib/resources/standard_health_record/ValueSet-shr-environment-IncomeSourceVS.json +101 -0
  494. data/lib/resources/standard_health_record/ValueSet-shr-environment-NonCashBenefitVS.json +85 -0
  495. data/lib/resources/standard_health_record/ValueSet-shr-environment-ResourceStabilityVS.json +61 -0
  496. data/lib/resources/standard_health_record/ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.json +62 -0
  497. data/lib/resources/standard_health_record/ValueSet-shr-lab-ChangeFlagVS.json +65 -0
  498. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestCodeVS.json +36 -0
  499. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestResultVS.json +61 -0
  500. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestCodeVS.json +36 -0
  501. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestResultVS.json +89 -0
  502. data/lib/resources/standard_health_record/ValueSet-shr-lab-RequestStatusVS.json +61 -0
  503. data/lib/resources/standard_health_record/ValueSet-shr-lab-TestInterpretationVS.json +73 -0
  504. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.json +50 -0
  505. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EducationalAttainmentVS.json +85 -0
  506. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EmploymentStatusVS.json +97 -0
  507. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.json +65 -0
  508. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceEraVS.json +78 -0
  509. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryStatusVS.json +57 -0
  510. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-TeratogenVS.json +269 -0
  511. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-USMilitaryBranchVS.json +73 -0
  512. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeReasonVS.json +69 -0
  513. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeTypeVS.json +65 -0
  514. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationNonAdherenceReasonVS.json +89 -0
  515. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationVS.json +43 -0
  516. data/lib/resources/standard_health_record/ValueSet-shr-medication-ReasonMedicationNotUsedVS.json +85 -0
  517. data/lib/resources/standard_health_record/ValueSet-shr-observation-ExposureReasonVS.json +74 -0
  518. data/lib/resources/standard_health_record/ValueSet-shr-observation-NonLabObservationStatusVS.json +58 -0
  519. data/lib/resources/standard_health_record/ValueSet-shr-observation-ObservationNotMadeReasonVS.json +66 -0
  520. data/lib/resources/standard_health_record/ValueSet-shr-problem-DSMVS.json +43 -0
  521. data/lib/resources/standard_health_record/ValueSet-shr-problem-EvidenceQualityVS.json +57 -0
  522. data/lib/resources/standard_health_record/ValueSet-shr-problem-GradeOrStageVS.json +65 -0
  523. data/lib/resources/standard_health_record/ValueSet-shr-problem-ProblemCategoryVS.json +69 -0
  524. data/lib/resources/standard_health_record/ValueSet-shr-sex-CommonPregnancyComplicationVS.json +101 -0
  525. data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodReasonVS.json +65 -0
  526. data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodVS.json +117 -0
  527. data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.json +85 -0
  528. data/lib/resources/standard_health_record/ValueSet-shr-sex-DifficultyWithIntercourseVS.json +93 -0
  529. data/lib/resources/standard_health_record/ValueSet-shr-sex-GenderIdentityVS.json +73 -0
  530. data/lib/resources/standard_health_record/ValueSet-shr-sex-SexualActivityVS.json +97 -0
  531. data/lib/resources/standard_health_record/ValueSet-shr-sex-SexualOrientationVS.json +50 -0
  532. data/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerAssociationVS.json +53 -0
  533. data/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerBodySiteVS.json +109 -0
  534. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceBodyPositionVS.json +53 -0
  535. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceCategoryVS.json +73 -0
  536. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceComponentVS.json +93 -0
  537. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceFeatureVS.json +73 -0
  538. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceVS.json +50 -0
  539. data/lib/resources/standard_health_record/ValueSet-shr-skin-VisibleInternalStructureVS.json +77 -0
  540. data/lib/resources/standard_health_record/ValueSet-shr-skin-WoundEdgeAppearanceVS.json +65 -0
  541. data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureBodySiteVS.json +53 -0
  542. data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureMethodVS.json +62 -0
  543. data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureQualifierVS.json +79 -0
  544. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyHeightQualifierVS.json +78 -0
  545. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureBodySiteVS.json +89 -0
  546. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureQualifierVS.json +49 -0
  547. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyWeightQualifierVS.json +101 -0
  548. data/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateMethodVS.json +74 -0
  549. data/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateQualifierVS.json +66 -0
  550. data/lib/resources/standard_health_record/ValueSet-shr-vital-OxygenSaturationBodySiteVS.json +65 -0
  551. data/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateMethodVS.json +70 -0
  552. data/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateQualifierVS.json +102 -0
  553. data/lib/resources/standard_health_record/spec.internals +3281 -0
  554. data/lib/resources/us_core/CapabilityStatement-client.json +996 -0
  555. data/lib/resources/us_core/CapabilityStatement-server.json +1825 -0
  556. data/lib/resources/us_core/CodeSystem-careplan-category.json +25 -0
  557. data/lib/resources/us_core/CodeSystem-cdcrec.json +4883 -0
  558. data/lib/resources/us_core/CodeSystem-condition-category.json +30 -0
  559. data/lib/resources/us_core/ConceptMap-ndc-cvx.json +2127 -0
  560. data/lib/resources/us_core/ImplementationGuide-ig.json +1617 -0
  561. data/lib/resources/us_core/StructureDefinition-us-core-allergyintolerance.json +1425 -0
  562. data/lib/resources/us_core/StructureDefinition-us-core-birthsex.json +257 -0
  563. data/lib/resources/us_core/StructureDefinition-us-core-careplan.json +2366 -0
  564. data/lib/resources/us_core/StructureDefinition-us-core-careteam.json +1091 -0
  565. data/lib/resources/us_core/StructureDefinition-us-core-condition.json +1605 -0
  566. data/lib/resources/us_core/StructureDefinition-us-core-device.json +1375 -0
  567. data/lib/resources/us_core/StructureDefinition-us-core-diagnosticreport.json +1746 -0
  568. data/lib/resources/us_core/StructureDefinition-us-core-direct.json +244 -0
  569. data/lib/resources/us_core/StructureDefinition-us-core-ethnicity.json +882 -0
  570. data/lib/resources/us_core/StructureDefinition-us-core-goal.json +1179 -0
  571. data/lib/resources/us_core/StructureDefinition-us-core-immunization.json +2286 -0
  572. data/lib/resources/us_core/StructureDefinition-us-core-location.json +1694 -0
  573. data/lib/resources/us_core/StructureDefinition-us-core-medication.json +1421 -0
  574. data/lib/resources/us_core/StructureDefinition-us-core-medicationrequest.json +2062 -0
  575. data/lib/resources/us_core/StructureDefinition-us-core-medicationstatement.json +1248 -0
  576. data/lib/resources/us_core/StructureDefinition-us-core-observationresults.json +2488 -0
  577. data/lib/resources/us_core/StructureDefinition-us-core-organization.json +2011 -0
  578. data/lib/resources/us_core/StructureDefinition-us-core-patient.json +3045 -0
  579. data/lib/resources/us_core/StructureDefinition-us-core-practitioner.json +1679 -0
  580. data/lib/resources/us_core/StructureDefinition-us-core-procedure.json +1797 -0
  581. data/lib/resources/us_core/StructureDefinition-us-core-profile-link.json +259 -0
  582. data/lib/resources/us_core/StructureDefinition-us-core-race.json +882 -0
  583. data/lib/resources/us_core/StructureDefinition-us-core-smokingstatus.json +2342 -0
  584. data/lib/resources/us_core/StructureDefinition-us-core-vitalsigns.json +3125 -0
  585. data/lib/resources/us_core/ValueSet-detailed-ethnicity.json +42 -0
  586. data/lib/resources/us_core/ValueSet-detailed-race.json +51 -0
  587. data/lib/resources/us_core/ValueSet-omb-ethnicity-category.json +32 -0
  588. data/lib/resources/us_core/ValueSet-omb-race-category.json +81 -0
  589. data/lib/resources/us_core/ValueSet-simple-language.json +59 -0
  590. data/lib/resources/us_core/ValueSet-us-core-birthsex.json +51 -0
  591. data/lib/resources/us_core/ValueSet-us-core-careteam-provider-roles.json +54 -0
  592. data/lib/resources/us_core/ValueSet-us-core-condition-category.json +36 -0
  593. data/lib/resources/us_core/ValueSet-us-core-cvx.json +38 -0
  594. data/lib/resources/us_core/ValueSet-us-core-medication-codes.json +51 -0
  595. data/lib/resources/us_core/ValueSet-us-core-narrative-status.json +43 -0
  596. data/lib/resources/us_core/ValueSet-us-core-ndc-vaccine-codes.json +2052 -0
  597. data/lib/resources/us_core/ValueSet-us-core-observation-ccdasmokingstatus.json +79 -0
  598. data/lib/resources/us_core/ValueSet-us-core-observation-value-codes.json +38 -0
  599. data/lib/resources/us_core/ValueSet-us-core-problem.json +70 -0
  600. data/lib/resources/us_core/ValueSet-us-core-procedure-code.json +55 -0
  601. data/lib/resources/us_core/ValueSet-us-core-procedure-icd10pcs.json +39 -0
  602. data/lib/resources/us_core/ValueSet-us-core-provider-role.json +33 -0
  603. data/lib/resources/us_core/ValueSet-us-core-provider-specialty.json +33 -0
  604. data/lib/resources/us_core/ValueSet-us-core-substance-ndfrt.json +68 -0
  605. data/lib/resources/us_core/ValueSet-us-core-substance-rxnorm.json +60 -0
  606. data/lib/resources/us_core/ValueSet-us-core-substance-sct.json +108 -0
  607. data/lib/resources/us_core/ValueSet-us-core-substance.json +51 -0
  608. data/lib/resources/us_core/spec.internals +698 -0
  609. data/lib/rubrics.rb +10 -1
  610. data/lib/rubrics/standard_health_record.rb +39 -0
  611. data/lib/rubrics/us_core.rb +39 -0
  612. data/lib/scorecard.rb +8 -0
  613. data/lib/tasks/tasks.rake +98 -9
  614. metadata +610 -6
@@ -0,0 +1,2818 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-medication-MedicationPrescription",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR MedicationPrescription Profile</b></p>\n <p>Report of a medication prescription.</p>\n <p><b>SHR Mapping Summary</b></p>\n <p><pre>shr.medication.MedicationPrescription maps to MedicationRequest:\n Medication maps to medication[x].Reference\n Reason maps to reasonCode\n RequestStatus maps to status\n RequestedPerformanceTime maps to dispenseRequest.validityPeriod\n PriorityOfRequest maps to priority\n RequestedPerformer.Organization maps to dispenseRequest.performer\n constrain note to 0..1\n PerformerInstructions maps to note.text\n NumberOfRepeatsAllowed maps to dispenseRequest.numberOfRepeatsAllowed\n QuantityPerDispense maps to dispenseRequest.quantity\n SupplyDuration maps to dispenseRequest.expectedSupplyDuration\n constrain dosageInstruction to 0..1\n Dosage.AmountPerDose.Quantity maps to dosageInstruction.dose[x].SimpleQuantity\n Dosage.AmountPerDose.&lt;TBD &quot;Range&quot;&gt; maps to dosageInstruction.dose[x].Range\n Dosage.TimingOfDoses maps to dosageInstruction.timing\n Dosage.DoseAsNeededIndicator maps to dosageInstruction.asNeeded[x].boolean\n Dosage.DoseInstructionsText maps to dosageInstruction.text\n Dosage.AdditionalDoseInstruction maps to dosageInstruction.additionalInstruction\n Dosage.RouteIntoBody maps to dosageInstruction.route\n Dosage.AdministrationMethod maps to dosageInstruction.method\n Dosage.AdministrationBodySite maps to dosageInstruction.site\n Dosage.MaximumDosePerTimePeriod maps to dosageInstruction.maxDosePerPeriod\n</pre></p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationPrescription",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.medication.MedicationPrescription"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR MedicationPrescription Profile",
17
+ "status": "draft",
18
+ "date": "2017-04-18T15:12:22.321Z",
19
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
20
+ "contact": [
21
+ {
22
+ "telecom": [
23
+ {
24
+ "system": "url",
25
+ "value": "http://www.standardhealthrecord.org"
26
+ }
27
+ ]
28
+ }
29
+ ],
30
+ "description": "Report of a medication prescription.",
31
+ "fhirVersion": "3.0.0",
32
+ "mapping": [
33
+ {
34
+ "identity": "workflow",
35
+ "uri": "http://hl7.org/fhir/workflow",
36
+ "name": "Workflow Mapping"
37
+ },
38
+ {
39
+ "identity": "script10.6",
40
+ "uri": "http://ncpdp.org/SCRIPT10_6",
41
+ "name": "Mapping to NCPDP SCRIPT 10.6"
42
+ },
43
+ {
44
+ "identity": "rim",
45
+ "uri": "http://hl7.org/v3",
46
+ "name": "RIM Mapping"
47
+ },
48
+ {
49
+ "identity": "w5",
50
+ "uri": "http://hl7.org/fhir/w5",
51
+ "name": "W5 Mapping"
52
+ },
53
+ {
54
+ "identity": "v2",
55
+ "uri": "http://hl7.org/v2",
56
+ "name": "HL7 v2 Mapping"
57
+ }
58
+ ],
59
+ "kind": "resource",
60
+ "abstract": false,
61
+ "type": "MedicationRequest",
62
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
63
+ "derivation": "constraint",
64
+ "snapshot": {
65
+ "element": [
66
+ {
67
+ "id": "MedicationRequest:shr-medication-MedicationPrescription",
68
+ "path": "MedicationRequest",
69
+ "short": "SHR MedicationPrescription Profile",
70
+ "definition": "Report of a medication prescription.",
71
+ "alias": [
72
+ "Prescription",
73
+ "Order"
74
+ ],
75
+ "min": 0,
76
+ "max": "*",
77
+ "constraint": [
78
+ {
79
+ "key": "dom-2",
80
+ "severity": "error",
81
+ "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
82
+ "expression": "contained.contained.empty()",
83
+ "xpath": "not(parent::f:contained and f:contained)",
84
+ "source": "DomainResource"
85
+ },
86
+ {
87
+ "key": "dom-1",
88
+ "severity": "error",
89
+ "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
90
+ "expression": "contained.text.empty()",
91
+ "xpath": "not(parent::f:contained and f:text)",
92
+ "source": "DomainResource"
93
+ },
94
+ {
95
+ "key": "dom-4",
96
+ "severity": "error",
97
+ "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
98
+ "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
99
+ "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
100
+ "source": "DomainResource"
101
+ },
102
+ {
103
+ "key": "dom-3",
104
+ "severity": "error",
105
+ "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
106
+ "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
107
+ "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
108
+ "source": "DomainResource"
109
+ }
110
+ ],
111
+ "mapping": [
112
+ {
113
+ "identity": "rim",
114
+ "map": "Entity. Role, or Act"
115
+ },
116
+ {
117
+ "identity": "workflow",
118
+ "map": "..Request"
119
+ },
120
+ {
121
+ "identity": "script10.6",
122
+ "map": "Message/Body/NewRx"
123
+ },
124
+ {
125
+ "identity": "rim",
126
+ "map": "CombinedMedicationRequest"
127
+ },
128
+ {
129
+ "identity": "w5",
130
+ "map": "clinical.medication"
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.id",
136
+ "path": "MedicationRequest.id",
137
+ "short": "Logical id of this artifact",
138
+ "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
139
+ "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
140
+ "min": 0,
141
+ "max": "1",
142
+ "base": {
143
+ "path": "Resource.id",
144
+ "min": 0,
145
+ "max": "1"
146
+ },
147
+ "type": [
148
+ {
149
+ "code": "id"
150
+ }
151
+ ],
152
+ "isSummary": true
153
+ },
154
+ {
155
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.meta",
156
+ "path": "MedicationRequest.meta",
157
+ "short": "Metadata about the resource",
158
+ "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
159
+ "min": 0,
160
+ "max": "1",
161
+ "base": {
162
+ "path": "Resource.meta",
163
+ "min": 0,
164
+ "max": "1"
165
+ },
166
+ "type": [
167
+ {
168
+ "code": "Meta"
169
+ }
170
+ ],
171
+ "isSummary": true
172
+ },
173
+ {
174
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.implicitRules",
175
+ "path": "MedicationRequest.implicitRules",
176
+ "short": "A set of rules under which this content was created",
177
+ "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
178
+ "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
179
+ "min": 0,
180
+ "max": "1",
181
+ "base": {
182
+ "path": "Resource.implicitRules",
183
+ "min": 0,
184
+ "max": "1"
185
+ },
186
+ "type": [
187
+ {
188
+ "code": "uri"
189
+ }
190
+ ],
191
+ "isModifier": true,
192
+ "isSummary": true
193
+ },
194
+ {
195
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.language",
196
+ "path": "MedicationRequest.language",
197
+ "short": "Language of the resource content",
198
+ "definition": "The base language in which the resource is written.",
199
+ "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
200
+ "min": 0,
201
+ "max": "1",
202
+ "base": {
203
+ "path": "Resource.language",
204
+ "min": 0,
205
+ "max": "1"
206
+ },
207
+ "type": [
208
+ {
209
+ "code": "code"
210
+ }
211
+ ],
212
+ "binding": {
213
+ "extension": [
214
+ {
215
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
216
+ "valueReference": {
217
+ "reference": "http://hl7.org/fhir/ValueSet/all-languages"
218
+ }
219
+ },
220
+ {
221
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
222
+ "valueString": "Language"
223
+ },
224
+ {
225
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
226
+ "valueBoolean": true
227
+ }
228
+ ],
229
+ "strength": "extensible",
230
+ "description": "A human language.",
231
+ "valueSetReference": {
232
+ "reference": "http://hl7.org/fhir/ValueSet/languages"
233
+ }
234
+ }
235
+ },
236
+ {
237
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.text",
238
+ "path": "MedicationRequest.text",
239
+ "short": "Text summary of the resource, for human interpretation",
240
+ "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
241
+ "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
242
+ "alias": [
243
+ "narrative",
244
+ "html",
245
+ "xhtml",
246
+ "display"
247
+ ],
248
+ "min": 0,
249
+ "max": "1",
250
+ "base": {
251
+ "path": "DomainResource.text",
252
+ "min": 0,
253
+ "max": "1"
254
+ },
255
+ "type": [
256
+ {
257
+ "code": "Narrative"
258
+ }
259
+ ],
260
+ "condition": [
261
+ "dom-1"
262
+ ],
263
+ "mapping": [
264
+ {
265
+ "identity": "rim",
266
+ "map": "Act.text?"
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.contained",
272
+ "path": "MedicationRequest.contained",
273
+ "short": "Contained, inline Resources",
274
+ "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
275
+ "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
276
+ "alias": [
277
+ "inline resources",
278
+ "anonymous resources",
279
+ "contained resources"
280
+ ],
281
+ "min": 0,
282
+ "max": "*",
283
+ "base": {
284
+ "path": "DomainResource.contained",
285
+ "min": 0,
286
+ "max": "*"
287
+ },
288
+ "type": [
289
+ {
290
+ "code": "Resource"
291
+ }
292
+ ],
293
+ "mapping": [
294
+ {
295
+ "identity": "rim",
296
+ "map": "N/A"
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension",
302
+ "path": "MedicationRequest.extension",
303
+ "slicing": {
304
+ "id": "182",
305
+ "discriminator": [
306
+ {
307
+ "type": "value",
308
+ "path": "url"
309
+ }
310
+ ],
311
+ "ordered": false,
312
+ "rules": "open"
313
+ },
314
+ "short": "Additional Content defined by implementations",
315
+ "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
316
+ "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.",
317
+ "alias": [
318
+ "extensions",
319
+ "user content"
320
+ ],
321
+ "min": 0,
322
+ "max": "*",
323
+ "base": {
324
+ "path": "DomainResource.extension",
325
+ "min": 0,
326
+ "max": "*"
327
+ },
328
+ "type": [
329
+ {
330
+ "code": "Extension"
331
+ }
332
+ ],
333
+ "mapping": [
334
+ {
335
+ "identity": "rim",
336
+ "map": "N/A"
337
+ }
338
+ ]
339
+ },
340
+ {
341
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:actioncode",
342
+ "path": "MedicationRequest.extension",
343
+ "sliceName": "actioncode",
344
+ "definition": "The code for the action, such as an intervention or test, to be carried out.",
345
+ "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.",
346
+ "alias": [
347
+ "extensions",
348
+ "user content"
349
+ ],
350
+ "min": 1,
351
+ "max": "1",
352
+ "base": {
353
+ "path": "DomainResource.extension",
354
+ "min": 0,
355
+ "max": "*"
356
+ },
357
+ "type": [
358
+ {
359
+ "code": "Extension",
360
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension"
361
+ }
362
+ ],
363
+ "mustSupport": false,
364
+ "isModifier": false,
365
+ "isSummary": false,
366
+ "mapping": [
367
+ {
368
+ "identity": "rim",
369
+ "map": "N/A"
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:occurrencetime",
375
+ "path": "MedicationRequest.extension",
376
+ "sliceName": "occurrencetime",
377
+ "definition": "The point in time or span of time in which something happens.",
378
+ "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.",
379
+ "alias": [
380
+ "extensions",
381
+ "user content"
382
+ ],
383
+ "min": 0,
384
+ "max": "1",
385
+ "base": {
386
+ "path": "DomainResource.extension",
387
+ "min": 0,
388
+ "max": "*"
389
+ },
390
+ "type": [
391
+ {
392
+ "code": "Extension",
393
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension"
394
+ }
395
+ ],
396
+ "mustSupport": false,
397
+ "isModifier": false,
398
+ "isSummary": false,
399
+ "mapping": [
400
+ {
401
+ "identity": "rim",
402
+ "map": "N/A"
403
+ }
404
+ ]
405
+ },
406
+ {
407
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:participant",
408
+ "path": "MedicationRequest.extension",
409
+ "sliceName": "participant",
410
+ "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.",
411
+ "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.",
412
+ "alias": [
413
+ "extensions",
414
+ "user content"
415
+ ],
416
+ "min": 0,
417
+ "max": "*",
418
+ "base": {
419
+ "path": "DomainResource.extension",
420
+ "min": 0,
421
+ "max": "*"
422
+ },
423
+ "type": [
424
+ {
425
+ "code": "Extension",
426
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension"
427
+ }
428
+ ],
429
+ "mustSupport": false,
430
+ "isModifier": false,
431
+ "isSummary": false,
432
+ "mapping": [
433
+ {
434
+ "identity": "rim",
435
+ "map": "N/A"
436
+ }
437
+ ]
438
+ },
439
+ {
440
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:patientinstructions",
441
+ "path": "MedicationRequest.extension",
442
+ "sliceName": "patientinstructions",
443
+ "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.",
444
+ "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.",
445
+ "alias": [
446
+ "extensions",
447
+ "user content"
448
+ ],
449
+ "min": 0,
450
+ "max": "1",
451
+ "base": {
452
+ "path": "DomainResource.extension",
453
+ "min": 0,
454
+ "max": "*"
455
+ },
456
+ "type": [
457
+ {
458
+ "code": "Extension",
459
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension"
460
+ }
461
+ ],
462
+ "mustSupport": false,
463
+ "isModifier": false,
464
+ "isSummary": false,
465
+ "mapping": [
466
+ {
467
+ "identity": "rim",
468
+ "map": "N/A"
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension",
474
+ "path": "MedicationRequest.modifierExtension",
475
+ "slicing": {
476
+ "id": "183",
477
+ "discriminator": [
478
+ {
479
+ "type": "value",
480
+ "path": "url"
481
+ }
482
+ ],
483
+ "ordered": false,
484
+ "rules": "open"
485
+ },
486
+ "short": "Extensions that cannot be ignored",
487
+ "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
488
+ "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.",
489
+ "alias": [
490
+ "extensions",
491
+ "user content"
492
+ ],
493
+ "min": 0,
494
+ "max": "*",
495
+ "base": {
496
+ "path": "DomainResource.modifierExtension",
497
+ "min": 0,
498
+ "max": "*"
499
+ },
500
+ "type": [
501
+ {
502
+ "code": "Extension"
503
+ }
504
+ ],
505
+ "isModifier": true,
506
+ "mapping": [
507
+ {
508
+ "identity": "rim",
509
+ "map": "N/A"
510
+ }
511
+ ]
512
+ },
513
+ {
514
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:nonoccurrencemodifier",
515
+ "path": "MedicationRequest.modifierExtension",
516
+ "sliceName": "nonoccurrencemodifier",
517
+ "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.",
518
+ "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.",
519
+ "alias": [
520
+ "extensions",
521
+ "user content"
522
+ ],
523
+ "min": 0,
524
+ "max": "1",
525
+ "base": {
526
+ "path": "DomainResource.modifierExtension",
527
+ "min": 0,
528
+ "max": "*"
529
+ },
530
+ "type": [
531
+ {
532
+ "code": "Extension",
533
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension"
534
+ }
535
+ ],
536
+ "mustSupport": true,
537
+ "isModifier": true,
538
+ "isSummary": false,
539
+ "mapping": [
540
+ {
541
+ "identity": "rim",
542
+ "map": "N/A"
543
+ }
544
+ ]
545
+ },
546
+ {
547
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:medicationnotprescribedmodifier",
548
+ "path": "MedicationRequest.modifierExtension",
549
+ "sliceName": "medicationnotprescribedmodifier",
550
+ "definition": "True, if the medication should not, or was not prescribed for a particular reason.",
551
+ "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.",
552
+ "alias": [
553
+ "extensions",
554
+ "user content"
555
+ ],
556
+ "min": 0,
557
+ "max": "1",
558
+ "base": {
559
+ "path": "DomainResource.modifierExtension",
560
+ "min": 0,
561
+ "max": "*"
562
+ },
563
+ "type": [
564
+ {
565
+ "code": "Extension",
566
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension"
567
+ }
568
+ ],
569
+ "mustSupport": true,
570
+ "isModifier": true,
571
+ "isSummary": false,
572
+ "mapping": [
573
+ {
574
+ "identity": "rim",
575
+ "map": "N/A"
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.identifier",
581
+ "path": "MedicationRequest.identifier",
582
+ "short": "External ids for this request",
583
+ "definition": "This records identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. For example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records must be tracked through an entire system.",
584
+ "min": 0,
585
+ "max": "*",
586
+ "type": [
587
+ {
588
+ "code": "Identifier"
589
+ }
590
+ ],
591
+ "mapping": [
592
+ {
593
+ "identity": "workflow",
594
+ "map": "…identifer"
595
+ },
596
+ {
597
+ "identity": "script10.6",
598
+ "map": "Message/Header/PrescriberOrderNumber"
599
+ },
600
+ {
601
+ "identity": "v2",
602
+ "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number"
603
+ },
604
+ {
605
+ "identity": "rim",
606
+ "map": ".id"
607
+ },
608
+ {
609
+ "identity": "w5",
610
+ "map": "id"
611
+ }
612
+ ]
613
+ },
614
+ {
615
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.definition",
616
+ "path": "MedicationRequest.definition",
617
+ "short": "Protocol or definition",
618
+ "definition": "Protocol or definition followed by this request.",
619
+ "min": 0,
620
+ "max": "*",
621
+ "type": [
622
+ {
623
+ "code": "Reference",
624
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition"
625
+ },
626
+ {
627
+ "code": "Reference",
628
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition"
629
+ }
630
+ ],
631
+ "isSummary": true,
632
+ "mapping": [
633
+ {
634
+ "identity": "workflow",
635
+ "map": "…definition"
636
+ },
637
+ {
638
+ "identity": "rim",
639
+ "map": ".outboundRelationship[typeCode=DEFN].target[classCode=unspecified]"
640
+ }
641
+ ]
642
+ },
643
+ {
644
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.basedOn",
645
+ "path": "MedicationRequest.basedOn",
646
+ "short": "What request fulfills",
647
+ "definition": "A plan or request that is fulfilled in whole or in part by this medication request.",
648
+ "min": 0,
649
+ "max": "*",
650
+ "type": [
651
+ {
652
+ "code": "Reference",
653
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
654
+ },
655
+ {
656
+ "code": "Reference",
657
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
658
+ },
659
+ {
660
+ "code": "Reference",
661
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
662
+ },
663
+ {
664
+ "code": "Reference",
665
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
666
+ }
667
+ ],
668
+ "isSummary": true,
669
+ "mapping": [
670
+ {
671
+ "identity": "workflow",
672
+ "map": "…basedOn"
673
+ },
674
+ {
675
+ "identity": "rim",
676
+ "map": ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.groupIdentifier",
682
+ "path": "MedicationRequest.groupIdentifier",
683
+ "short": "Composite request this is part of",
684
+ "definition": "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.",
685
+ "requirements": "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.",
686
+ "min": 0,
687
+ "max": "1",
688
+ "type": [
689
+ {
690
+ "code": "Identifier"
691
+ }
692
+ ],
693
+ "isSummary": true,
694
+ "mapping": [
695
+ {
696
+ "identity": "workflow",
697
+ "map": "…groupIdentifier"
698
+ },
699
+ {
700
+ "identity": "rim",
701
+ "map": ".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id"
702
+ }
703
+ ]
704
+ },
705
+ {
706
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.status",
707
+ "path": "MedicationRequest.status",
708
+ "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown",
709
+ "definition": "A code specifying the current state of the order. Generally this will be active or completed state.",
710
+ "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
711
+ "min": 1,
712
+ "max": "1",
713
+ "type": [
714
+ {
715
+ "code": "code"
716
+ }
717
+ ],
718
+ "isModifier": true,
719
+ "isSummary": true,
720
+ "binding": {
721
+ "extension": [
722
+ {
723
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
724
+ "valueString": "MedicationRequestStatus"
725
+ }
726
+ ],
727
+ "strength": "required",
728
+ "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription",
729
+ "valueSetReference": {
730
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-status"
731
+ }
732
+ },
733
+ "mapping": [
734
+ {
735
+ "identity": "workflow",
736
+ "map": "…status"
737
+ },
738
+ {
739
+ "identity": "script10.6",
740
+ "map": "no mapping"
741
+ },
742
+ {
743
+ "identity": "rim",
744
+ "map": ".statusCode"
745
+ },
746
+ {
747
+ "identity": "w5",
748
+ "map": "status"
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.intent",
754
+ "path": "MedicationRequest.intent",
755
+ "short": "proposal | plan | order | instance-order",
756
+ "definition": "Whether the request is a proposal, plan, or an original order.",
757
+ "comment": "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.\r\rAn instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.\n\nThis element is labeled as a modifier because the intent alters when and how the resource is actually applicable.",
758
+ "min": 1,
759
+ "max": "1",
760
+ "type": [
761
+ {
762
+ "code": "code"
763
+ }
764
+ ],
765
+ "isModifier": true,
766
+ "isSummary": true,
767
+ "binding": {
768
+ "extension": [
769
+ {
770
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
771
+ "valueString": "MedicationRequestIntent"
772
+ }
773
+ ],
774
+ "strength": "required",
775
+ "description": "The kind of medication order",
776
+ "valueSetReference": {
777
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-intent"
778
+ }
779
+ },
780
+ "mapping": [
781
+ {
782
+ "identity": "workflow",
783
+ "map": "…intent"
784
+ },
785
+ {
786
+ "identity": "rim",
787
+ "map": ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)"
788
+ },
789
+ {
790
+ "identity": "w5",
791
+ "map": "class"
792
+ }
793
+ ]
794
+ },
795
+ {
796
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.category",
797
+ "path": "MedicationRequest.category",
798
+ "short": "Type of medication usage",
799
+ "definition": "Indicates the type of medication order and where the medication is expected to be consumed or administered.",
800
+ "min": 0,
801
+ "max": "1",
802
+ "type": [
803
+ {
804
+ "code": "CodeableConcept"
805
+ }
806
+ ],
807
+ "binding": {
808
+ "extension": [
809
+ {
810
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
811
+ "valueString": "MedicationRequestCategory"
812
+ }
813
+ ],
814
+ "strength": "preferred",
815
+ "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered",
816
+ "valueSetReference": {
817
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-category"
818
+ }
819
+ },
820
+ "mapping": [
821
+ {
822
+ "identity": "script10.6",
823
+ "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG"
824
+ },
825
+ {
826
+ "identity": "rim",
827
+ "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value"
828
+ },
829
+ {
830
+ "identity": "w5",
831
+ "map": "class"
832
+ }
833
+ ]
834
+ },
835
+ {
836
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.priority",
837
+ "path": "MedicationRequest.priority",
838
+ "short": "routine | urgent | stat | asap",
839
+ "definition": "Indicates how quickly the Medication Request should be addressed with respect to other requests.",
840
+ "min": 0,
841
+ "max": "1",
842
+ "type": [
843
+ {
844
+ "code": "code"
845
+ }
846
+ ],
847
+ "isSummary": true,
848
+ "binding": {
849
+ "extension": [
850
+ {
851
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
852
+ "valueString": "MedicationRequestPriority"
853
+ }
854
+ ],
855
+ "strength": "required",
856
+ "description": "Identifies the level of importance to be assigned to actioning the request",
857
+ "valueSetReference": {
858
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-priority"
859
+ }
860
+ },
861
+ "mapping": [
862
+ {
863
+ "identity": "workflow",
864
+ "map": "…priority"
865
+ },
866
+ {
867
+ "identity": "rim",
868
+ "map": ".priorityCode"
869
+ },
870
+ {
871
+ "identity": "w5",
872
+ "map": "grade"
873
+ }
874
+ ]
875
+ },
876
+ {
877
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.medication[x]",
878
+ "path": "MedicationRequest.medication[x]",
879
+ "short": "Medication to be taken",
880
+ "definition": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.",
881
+ "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource. .",
882
+ "min": 1,
883
+ "max": "1",
884
+ "type": [
885
+ {
886
+ "code": "Reference",
887
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication"
888
+ }
889
+ ],
890
+ "isSummary": true,
891
+ "binding": {
892
+ "extension": [
893
+ {
894
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
895
+ "valueString": "MedicationCode"
896
+ }
897
+ ],
898
+ "strength": "example",
899
+ "description": "A coded concept identifying substance or product that can be ordered.",
900
+ "valueSetReference": {
901
+ "reference": "http://hl7.org/fhir/ValueSet/medication-codes"
902
+ }
903
+ },
904
+ "mapping": [
905
+ {
906
+ "identity": "workflow",
907
+ "map": "…code"
908
+ },
909
+ {
910
+ "identity": "script10.6",
911
+ "map": "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"
912
+ },
913
+ {
914
+ "identity": "v2",
915
+ "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"
916
+ },
917
+ {
918
+ "identity": "rim",
919
+ "map": "consumable.administrableMedication"
920
+ },
921
+ {
922
+ "identity": "w5",
923
+ "map": "what"
924
+ }
925
+ ]
926
+ },
927
+ {
928
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.subject",
929
+ "path": "MedicationRequest.subject",
930
+ "short": "Who or group medication request is for",
931
+ "definition": "A link to a resource representing the person or set of individuals to whom the medication will be given.",
932
+ "comment": "The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified.",
933
+ "min": 1,
934
+ "max": "1",
935
+ "type": [
936
+ {
937
+ "code": "Reference",
938
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
939
+ },
940
+ {
941
+ "code": "Reference",
942
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
943
+ }
944
+ ],
945
+ "isSummary": true,
946
+ "mapping": [
947
+ {
948
+ "identity": "workflow",
949
+ "map": "…subject"
950
+ },
951
+ {
952
+ "identity": "script10.6",
953
+ "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)"
954
+ },
955
+ {
956
+ "identity": "v2",
957
+ "map": "PID-3-Patient ID List"
958
+ },
959
+ {
960
+ "identity": "rim",
961
+ "map": ".participation[typeCode=AUT].role"
962
+ },
963
+ {
964
+ "identity": "w5",
965
+ "map": "who.focus"
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.context",
971
+ "path": "MedicationRequest.context",
972
+ "short": "Created during encounter/admission/stay",
973
+ "definition": "A link to an encounter, or episode of care, that identifies the particular occurrence or set occurrences of contact between patient and health care provider.",
974
+ "comment": "SubstanceAdministration->component->EncounterEvent.",
975
+ "min": 0,
976
+ "max": "1",
977
+ "type": [
978
+ {
979
+ "code": "Reference",
980
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
981
+ },
982
+ {
983
+ "code": "Reference",
984
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
985
+ }
986
+ ],
987
+ "mapping": [
988
+ {
989
+ "identity": "workflow",
990
+ "map": "…context"
991
+ },
992
+ {
993
+ "identity": "script10.6",
994
+ "map": "no mapping"
995
+ },
996
+ {
997
+ "identity": "v2",
998
+ "map": "PV1-19-Visit Number"
999
+ },
1000
+ {
1001
+ "identity": "rim",
1002
+ "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]"
1003
+ },
1004
+ {
1005
+ "identity": "w5",
1006
+ "map": "context"
1007
+ }
1008
+ ]
1009
+ },
1010
+ {
1011
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.supportingInformation",
1012
+ "path": "MedicationRequest.supportingInformation",
1013
+ "short": "Information to support ordering of the medication",
1014
+ "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.",
1015
+ "min": 0,
1016
+ "max": "*",
1017
+ "type": [
1018
+ {
1019
+ "code": "Reference",
1020
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
1021
+ }
1022
+ ],
1023
+ "mapping": [
1024
+ {
1025
+ "identity": "rim",
1026
+ "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]"
1027
+ },
1028
+ {
1029
+ "identity": "w5",
1030
+ "map": "context"
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.authoredOn",
1036
+ "path": "MedicationRequest.authoredOn",
1037
+ "short": "When request was initially authored",
1038
+ "definition": "The date (and perhaps time) when the prescription was initially written or authored on.",
1039
+ "min": 0,
1040
+ "max": "1",
1041
+ "type": [
1042
+ {
1043
+ "code": "dateTime"
1044
+ }
1045
+ ],
1046
+ "isSummary": true,
1047
+ "mapping": [
1048
+ {
1049
+ "identity": "workflow",
1050
+ "map": "…authoredOn"
1051
+ },
1052
+ {
1053
+ "identity": "script10.6",
1054
+ "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate"
1055
+ },
1056
+ {
1057
+ "identity": "v2",
1058
+ "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction"
1059
+ },
1060
+ {
1061
+ "identity": "rim",
1062
+ "map": "author.time"
1063
+ },
1064
+ {
1065
+ "identity": "w5",
1066
+ "map": "when.recorded"
1067
+ }
1068
+ ]
1069
+ },
1070
+ {
1071
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.requester",
1072
+ "path": "MedicationRequest.requester",
1073
+ "short": "Who/What requested the Request",
1074
+ "definition": "The individual, organization or device that initiated the request and has responsibility for its activation.",
1075
+ "min": 0,
1076
+ "max": "1",
1077
+ "type": [
1078
+ {
1079
+ "code": "BackboneElement"
1080
+ }
1081
+ ],
1082
+ "constraint": [
1083
+ {
1084
+ "key": "ele-1",
1085
+ "severity": "error",
1086
+ "human": "All FHIR elements must have a @value or children",
1087
+ "expression": "children().count() > id.count()",
1088
+ "xpath": "@value|f:*|h:div",
1089
+ "source": "Element"
1090
+ },
1091
+ {
1092
+ "key": "mps-1",
1093
+ "severity": "error",
1094
+ "human": "onBehalfOf can only be specified if agent is practitioner or device",
1095
+ "expression": "(agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()",
1096
+ "xpath": "contains(f:agent, '/Practitioner') or contains(f:agent, '/Device') or not(exists(f:onBehalfOf))"
1097
+ }
1098
+ ],
1099
+ "isSummary": true,
1100
+ "mapping": [
1101
+ {
1102
+ "identity": "workflow",
1103
+ "map": "…requester"
1104
+ },
1105
+ {
1106
+ "identity": "rim",
1107
+ "map": ".participation[typeCode=AUT].role"
1108
+ },
1109
+ {
1110
+ "identity": "w5",
1111
+ "map": "who.author"
1112
+ }
1113
+ ]
1114
+ },
1115
+ {
1116
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.requester.id",
1117
+ "path": "MedicationRequest.requester.id",
1118
+ "representation": [
1119
+ "xmlAttr"
1120
+ ],
1121
+ "short": "xml:id (or equivalent in JSON)",
1122
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1123
+ "min": 0,
1124
+ "max": "1",
1125
+ "base": {
1126
+ "path": "Element.id",
1127
+ "min": 0,
1128
+ "max": "1"
1129
+ },
1130
+ "type": [
1131
+ {
1132
+ "code": "string"
1133
+ }
1134
+ ],
1135
+ "mapping": [
1136
+ {
1137
+ "identity": "rim",
1138
+ "map": "n/a"
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.requester.extension",
1144
+ "path": "MedicationRequest.requester.extension",
1145
+ "short": "Additional Content defined by implementations",
1146
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
1147
+ "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.",
1148
+ "alias": [
1149
+ "extensions",
1150
+ "user content"
1151
+ ],
1152
+ "min": 0,
1153
+ "max": "*",
1154
+ "base": {
1155
+ "path": "Element.extension",
1156
+ "min": 0,
1157
+ "max": "*"
1158
+ },
1159
+ "type": [
1160
+ {
1161
+ "code": "Extension"
1162
+ }
1163
+ ],
1164
+ "mapping": [
1165
+ {
1166
+ "identity": "rim",
1167
+ "map": "n/a"
1168
+ }
1169
+ ]
1170
+ },
1171
+ {
1172
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.requester.modifierExtension",
1173
+ "path": "MedicationRequest.requester.modifierExtension",
1174
+ "short": "Extensions that cannot be ignored",
1175
+ "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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
1176
+ "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.",
1177
+ "alias": [
1178
+ "extensions",
1179
+ "user content",
1180
+ "modifiers"
1181
+ ],
1182
+ "min": 0,
1183
+ "max": "*",
1184
+ "base": {
1185
+ "path": "BackboneElement.modifierExtension",
1186
+ "min": 0,
1187
+ "max": "*"
1188
+ },
1189
+ "type": [
1190
+ {
1191
+ "code": "Extension"
1192
+ }
1193
+ ],
1194
+ "isModifier": true,
1195
+ "isSummary": true,
1196
+ "mapping": [
1197
+ {
1198
+ "identity": "rim",
1199
+ "map": "N/A"
1200
+ }
1201
+ ]
1202
+ },
1203
+ {
1204
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.requester.agent",
1205
+ "path": "MedicationRequest.requester.agent",
1206
+ "short": "Who ordered the initial medication(s)",
1207
+ "definition": "The healthcare professional responsible for authorizing the initial prescription.",
1208
+ "comment": "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.",
1209
+ "min": 1,
1210
+ "max": "1",
1211
+ "type": [
1212
+ {
1213
+ "code": "Reference",
1214
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
1215
+ },
1216
+ {
1217
+ "code": "Reference",
1218
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
1219
+ },
1220
+ {
1221
+ "code": "Reference",
1222
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
1223
+ },
1224
+ {
1225
+ "code": "Reference",
1226
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
1227
+ },
1228
+ {
1229
+ "code": "Reference",
1230
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
1231
+ }
1232
+ ],
1233
+ "isSummary": true,
1234
+ "mapping": [
1235
+ {
1236
+ "identity": "workflow",
1237
+ "map": "….agent"
1238
+ },
1239
+ {
1240
+ "identity": "script10.6",
1241
+ "map": "Message/Body/NewRx/Prescriber\r\r(need detail to link to specific prescriber … Prescriber.Identification in SCRIPT)"
1242
+ },
1243
+ {
1244
+ "identity": "v2",
1245
+ "map": "RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated)"
1246
+ },
1247
+ {
1248
+ "identity": "rim",
1249
+ "map": ".player"
1250
+ }
1251
+ ]
1252
+ },
1253
+ {
1254
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.requester.onBehalfOf",
1255
+ "path": "MedicationRequest.requester.onBehalfOf",
1256
+ "short": "Organization agent is acting for",
1257
+ "definition": "The organization the device or practitioner was acting on behalf of.",
1258
+ "requirements": "Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when authoring the request.",
1259
+ "min": 0,
1260
+ "max": "1",
1261
+ "type": [
1262
+ {
1263
+ "code": "Reference",
1264
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
1265
+ }
1266
+ ],
1267
+ "condition": [
1268
+ "mps-1"
1269
+ ],
1270
+ "isSummary": true,
1271
+ "mapping": [
1272
+ {
1273
+ "identity": "workflow",
1274
+ "map": "….onBehalfOf"
1275
+ },
1276
+ {
1277
+ "identity": "rim",
1278
+ "map": ".scoper"
1279
+ }
1280
+ ]
1281
+ },
1282
+ {
1283
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.recorder",
1284
+ "path": "MedicationRequest.recorder",
1285
+ "short": "Person who entered the request",
1286
+ "definition": "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.",
1287
+ "min": 0,
1288
+ "max": "1",
1289
+ "type": [
1290
+ {
1291
+ "code": "Reference",
1292
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
1293
+ }
1294
+ ],
1295
+ "mapping": [
1296
+ {
1297
+ "identity": "rim",
1298
+ "map": ".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)"
1299
+ },
1300
+ {
1301
+ "identity": "w5",
1302
+ "map": "who"
1303
+ }
1304
+ ]
1305
+ },
1306
+ {
1307
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.reasonCode",
1308
+ "path": "MedicationRequest.reasonCode",
1309
+ "short": "Reason or indication for writing the prescription",
1310
+ "definition": "The reason or the indication for ordering the medication.",
1311
+ "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.",
1312
+ "min": 0,
1313
+ "max": "1",
1314
+ "type": [
1315
+ {
1316
+ "code": "CodeableConcept",
1317
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1318
+ }
1319
+ ],
1320
+ "binding": {
1321
+ "extension": [
1322
+ {
1323
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1324
+ "valueString": "MedicationRequestReason"
1325
+ }
1326
+ ],
1327
+ "strength": "example",
1328
+ "description": "A coded concept indicating why the medication was ordered.",
1329
+ "valueSetReference": {
1330
+ "reference": "http://hl7.org/fhir/ValueSet/condition-code"
1331
+ }
1332
+ },
1333
+ "mapping": [
1334
+ {
1335
+ "identity": "workflow",
1336
+ "map": "…reasonCode"
1337
+ },
1338
+ {
1339
+ "identity": "script10.6",
1340
+ "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value"
1341
+ },
1342
+ {
1343
+ "identity": "v2",
1344
+ "map": "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication"
1345
+ },
1346
+ {
1347
+ "identity": "rim",
1348
+ "map": "reason.observation.reasonCode"
1349
+ },
1350
+ {
1351
+ "identity": "w5",
1352
+ "map": "why"
1353
+ }
1354
+ ]
1355
+ },
1356
+ {
1357
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.reasonReference",
1358
+ "path": "MedicationRequest.reasonReference",
1359
+ "short": "Condition or Observation that supports why the prescription is being written",
1360
+ "definition": "Condition or observation that supports why the medication was ordered.",
1361
+ "comment": "This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode.",
1362
+ "min": 0,
1363
+ "max": "*",
1364
+ "type": [
1365
+ {
1366
+ "code": "Reference",
1367
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
1368
+ },
1369
+ {
1370
+ "code": "Reference",
1371
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
1372
+ }
1373
+ ],
1374
+ "mapping": [
1375
+ {
1376
+ "identity": "workflow",
1377
+ "map": "…reasonReference"
1378
+ },
1379
+ {
1380
+ "identity": "script10.6",
1381
+ "map": "no mapping"
1382
+ },
1383
+ {
1384
+ "identity": "rim",
1385
+ "map": "reason.observation[code=ASSERTION].value"
1386
+ },
1387
+ {
1388
+ "identity": "w5",
1389
+ "map": "why"
1390
+ }
1391
+ ]
1392
+ },
1393
+ {
1394
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.note",
1395
+ "path": "MedicationRequest.note",
1396
+ "short": "Information about the prescription",
1397
+ "definition": "Extra information about the prescription that could not be conveyed by the other attributes.",
1398
+ "min": 0,
1399
+ "max": "1",
1400
+ "type": [
1401
+ {
1402
+ "code": "Annotation"
1403
+ }
1404
+ ],
1405
+ "mapping": [
1406
+ {
1407
+ "identity": "workflow",
1408
+ "map": "…note"
1409
+ },
1410
+ {
1411
+ "identity": "script10.6",
1412
+ "map": "Message/Body/NewRx/MedicationPrescribed/Note"
1413
+ },
1414
+ {
1415
+ "identity": "rim",
1416
+ "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value"
1417
+ }
1418
+ ]
1419
+ },
1420
+ {
1421
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.note.id",
1422
+ "path": "MedicationRequest.note.id",
1423
+ "representation": [
1424
+ "xmlAttr"
1425
+ ],
1426
+ "short": "xml:id (or equivalent in JSON)",
1427
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1428
+ "min": 0,
1429
+ "max": "1",
1430
+ "base": {
1431
+ "path": "Element.id",
1432
+ "min": 0,
1433
+ "max": "1"
1434
+ },
1435
+ "type": [
1436
+ {
1437
+ "code": "string"
1438
+ }
1439
+ ],
1440
+ "mapping": [
1441
+ {
1442
+ "identity": "rim",
1443
+ "map": "n/a"
1444
+ }
1445
+ ]
1446
+ },
1447
+ {
1448
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.note.extension",
1449
+ "path": "MedicationRequest.note.extension",
1450
+ "slicing": {
1451
+ "discriminator": [
1452
+ {
1453
+ "type": "value",
1454
+ "path": "url"
1455
+ }
1456
+ ],
1457
+ "description": "Extensions are always sliced by (at least) url",
1458
+ "rules": "open"
1459
+ },
1460
+ "short": "Additional Content defined by implementations",
1461
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
1462
+ "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.",
1463
+ "alias": [
1464
+ "extensions",
1465
+ "user content"
1466
+ ],
1467
+ "min": 0,
1468
+ "max": "*",
1469
+ "base": {
1470
+ "path": "Element.extension",
1471
+ "min": 0,
1472
+ "max": "*"
1473
+ },
1474
+ "type": [
1475
+ {
1476
+ "code": "Extension"
1477
+ }
1478
+ ],
1479
+ "mapping": [
1480
+ {
1481
+ "identity": "rim",
1482
+ "map": "n/a"
1483
+ }
1484
+ ]
1485
+ },
1486
+ {
1487
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.note.author[x]",
1488
+ "path": "MedicationRequest.note.author[x]",
1489
+ "short": "Individual responsible for the annotation",
1490
+ "definition": "The individual responsible for making the annotation.",
1491
+ "min": 0,
1492
+ "max": "1",
1493
+ "type": [
1494
+ {
1495
+ "code": "Reference",
1496
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
1497
+ },
1498
+ {
1499
+ "code": "Reference",
1500
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
1501
+ },
1502
+ {
1503
+ "code": "Reference",
1504
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
1505
+ },
1506
+ {
1507
+ "code": "string"
1508
+ }
1509
+ ],
1510
+ "isSummary": true,
1511
+ "mapping": [
1512
+ {
1513
+ "identity": "v2",
1514
+ "map": "N/A"
1515
+ },
1516
+ {
1517
+ "identity": "rim",
1518
+ "map": "Act.participant[typeCode=AUT].role"
1519
+ }
1520
+ ]
1521
+ },
1522
+ {
1523
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.note.time",
1524
+ "path": "MedicationRequest.note.time",
1525
+ "short": "When the annotation was made",
1526
+ "definition": "Indicates when this particular annotation was made.",
1527
+ "min": 0,
1528
+ "max": "1",
1529
+ "type": [
1530
+ {
1531
+ "code": "dateTime"
1532
+ }
1533
+ ],
1534
+ "isSummary": true,
1535
+ "mapping": [
1536
+ {
1537
+ "identity": "v2",
1538
+ "map": "N/A"
1539
+ },
1540
+ {
1541
+ "identity": "rim",
1542
+ "map": "Act.effectiveTime"
1543
+ }
1544
+ ]
1545
+ },
1546
+ {
1547
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.note.text",
1548
+ "path": "MedicationRequest.note.text",
1549
+ "short": "The annotation - text content",
1550
+ "definition": "The text of the annotation.",
1551
+ "min": 1,
1552
+ "max": "1",
1553
+ "type": [
1554
+ {
1555
+ "code": "string"
1556
+ }
1557
+ ],
1558
+ "mapping": [
1559
+ {
1560
+ "identity": "v2",
1561
+ "map": "N/A"
1562
+ },
1563
+ {
1564
+ "identity": "rim",
1565
+ "map": "Act.text"
1566
+ }
1567
+ ]
1568
+ },
1569
+ {
1570
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction",
1571
+ "path": "MedicationRequest.dosageInstruction",
1572
+ "short": "How the medication should be taken",
1573
+ "definition": "Indicates how the medication is to be used by the patient.",
1574
+ "comment": "There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, \"Ondansetron 8mg orally or IV twice a day as needed for nausea\" or \"Compazine® (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting\". In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.",
1575
+ "min": 0,
1576
+ "max": "1",
1577
+ "type": [
1578
+ {
1579
+ "code": "Dosage"
1580
+ }
1581
+ ],
1582
+ "mapping": [
1583
+ {
1584
+ "identity": "workflow",
1585
+ "map": "…occurrence[x]"
1586
+ },
1587
+ {
1588
+ "identity": "rim",
1589
+ "map": "see dosageInstruction mapping"
1590
+ }
1591
+ ]
1592
+ },
1593
+ {
1594
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.id",
1595
+ "path": "MedicationRequest.dosageInstruction.id",
1596
+ "representation": [
1597
+ "xmlAttr"
1598
+ ],
1599
+ "short": "xml:id (or equivalent in JSON)",
1600
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1601
+ "min": 0,
1602
+ "max": "1",
1603
+ "base": {
1604
+ "path": "Element.id",
1605
+ "min": 0,
1606
+ "max": "1"
1607
+ },
1608
+ "type": [
1609
+ {
1610
+ "code": "string"
1611
+ }
1612
+ ],
1613
+ "mapping": [
1614
+ {
1615
+ "identity": "rim",
1616
+ "map": "n/a"
1617
+ }
1618
+ ]
1619
+ },
1620
+ {
1621
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.extension",
1622
+ "path": "MedicationRequest.dosageInstruction.extension",
1623
+ "slicing": {
1624
+ "discriminator": [
1625
+ {
1626
+ "type": "value",
1627
+ "path": "url"
1628
+ }
1629
+ ],
1630
+ "description": "Extensions are always sliced by (at least) url",
1631
+ "rules": "open"
1632
+ },
1633
+ "short": "Additional Content defined by implementations",
1634
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
1635
+ "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.",
1636
+ "alias": [
1637
+ "extensions",
1638
+ "user content"
1639
+ ],
1640
+ "min": 0,
1641
+ "max": "*",
1642
+ "base": {
1643
+ "path": "Element.extension",
1644
+ "min": 0,
1645
+ "max": "*"
1646
+ },
1647
+ "type": [
1648
+ {
1649
+ "code": "Extension"
1650
+ }
1651
+ ],
1652
+ "mapping": [
1653
+ {
1654
+ "identity": "rim",
1655
+ "map": "n/a"
1656
+ }
1657
+ ]
1658
+ },
1659
+ {
1660
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.sequence",
1661
+ "path": "MedicationRequest.dosageInstruction.sequence",
1662
+ "short": "The order of the dosage instructions",
1663
+ "definition": "Indicates the order in which the dosage instructions should be applied or interpreted.",
1664
+ "requirements": "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.",
1665
+ "min": 0,
1666
+ "max": "1",
1667
+ "type": [
1668
+ {
1669
+ "code": "integer"
1670
+ }
1671
+ ],
1672
+ "isSummary": true,
1673
+ "mapping": [
1674
+ {
1675
+ "identity": "rim",
1676
+ "map": ".text"
1677
+ }
1678
+ ]
1679
+ },
1680
+ {
1681
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.text",
1682
+ "path": "MedicationRequest.dosageInstruction.text",
1683
+ "short": "Free text dosage instructions e.g. SIG",
1684
+ "definition": "Free text dosage instructions e.g. SIG.",
1685
+ "requirements": "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing.",
1686
+ "min": 0,
1687
+ "max": "1",
1688
+ "type": [
1689
+ {
1690
+ "code": "string"
1691
+ }
1692
+ ],
1693
+ "isSummary": true,
1694
+ "mapping": [
1695
+ {
1696
+ "identity": "rim",
1697
+ "map": ".text"
1698
+ }
1699
+ ]
1700
+ },
1701
+ {
1702
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.additionalInstruction",
1703
+ "path": "MedicationRequest.dosageInstruction.additionalInstruction",
1704
+ "short": "Supplemental instruction - e.g. \"with meals\"",
1705
+ "definition": "Supplemental instruction - e.g. \"with meals\".",
1706
+ "requirements": "Additional instruction such as \"Swallow with plenty of water\" which may or may not be coded.",
1707
+ "min": 0,
1708
+ "max": "*",
1709
+ "type": [
1710
+ {
1711
+ "code": "CodeableConcept",
1712
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1713
+ }
1714
+ ],
1715
+ "isSummary": true,
1716
+ "binding": {
1717
+ "strength": "required",
1718
+ "valueSetReference": {
1719
+ "reference": "http://hl7.org/fhir/ValueSet/additional-instructions-codes"
1720
+ }
1721
+ },
1722
+ "mapping": [
1723
+ {
1724
+ "identity": "rim",
1725
+ "map": ".text"
1726
+ }
1727
+ ]
1728
+ },
1729
+ {
1730
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.patientInstruction",
1731
+ "path": "MedicationRequest.dosageInstruction.patientInstruction",
1732
+ "short": "Patient or consumer oriented instructions",
1733
+ "definition": "Instructions in terms that are understood by the patient or consumer.",
1734
+ "min": 0,
1735
+ "max": "1",
1736
+ "type": [
1737
+ {
1738
+ "code": "string"
1739
+ }
1740
+ ],
1741
+ "isSummary": true,
1742
+ "mapping": [
1743
+ {
1744
+ "identity": "rim",
1745
+ "map": ".text"
1746
+ }
1747
+ ]
1748
+ },
1749
+ {
1750
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.timing",
1751
+ "path": "MedicationRequest.dosageInstruction.timing",
1752
+ "short": "When medication should be administered",
1753
+ "definition": "When medication should be administered.",
1754
+ "comment": "This attribute may not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.",
1755
+ "requirements": "The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
1756
+ "min": 0,
1757
+ "max": "1",
1758
+ "type": [
1759
+ {
1760
+ "code": "Timing"
1761
+ }
1762
+ ],
1763
+ "isSummary": true,
1764
+ "mapping": [
1765
+ {
1766
+ "identity": "rim",
1767
+ "map": ".effectiveTime"
1768
+ }
1769
+ ]
1770
+ },
1771
+ {
1772
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.asNeeded[x]",
1773
+ "path": "MedicationRequest.dosageInstruction.asNeeded[x]",
1774
+ "short": "Take \"as needed\" (for x)",
1775
+ "definition": "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).",
1776
+ "comment": "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".",
1777
+ "min": 0,
1778
+ "max": "1",
1779
+ "type": [
1780
+ {
1781
+ "code": "boolean"
1782
+ }
1783
+ ],
1784
+ "isSummary": true,
1785
+ "binding": {
1786
+ "extension": [
1787
+ {
1788
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1789
+ "valueString": "MedicationAsNeededReason"
1790
+ }
1791
+ ],
1792
+ "strength": "example",
1793
+ "description": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc.",
1794
+ "valueSetReference": {
1795
+ "reference": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason"
1796
+ }
1797
+ },
1798
+ "mapping": [
1799
+ {
1800
+ "identity": "rim",
1801
+ "map": ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept"
1802
+ }
1803
+ ]
1804
+ },
1805
+ {
1806
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.site",
1807
+ "path": "MedicationRequest.dosageInstruction.site",
1808
+ "short": "Body site to administer to",
1809
+ "definition": "Body site to administer to.",
1810
+ "comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [body-site-instance](extension-body-site-instance.html). May be a summary code, or a reference to a very precise definition of the location, or both.",
1811
+ "requirements": "A coded specification of the anatomic site where the medication first enters the body.",
1812
+ "min": 0,
1813
+ "max": "1",
1814
+ "type": [
1815
+ {
1816
+ "code": "CodeableConcept",
1817
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1818
+ }
1819
+ ],
1820
+ "isSummary": true,
1821
+ "binding": {
1822
+ "strength": "required",
1823
+ "valueSetReference": {
1824
+ "reference": "http://standardhealthrecord.org/shr/core/vs/BodySiteVS"
1825
+ }
1826
+ },
1827
+ "mapping": [
1828
+ {
1829
+ "identity": "rim",
1830
+ "map": ".approachSiteCode"
1831
+ }
1832
+ ]
1833
+ },
1834
+ {
1835
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.route",
1836
+ "path": "MedicationRequest.dosageInstruction.route",
1837
+ "short": "How drug should enter body",
1838
+ "definition": "How drug should enter body.",
1839
+ "requirements": "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
1840
+ "min": 0,
1841
+ "max": "1",
1842
+ "type": [
1843
+ {
1844
+ "code": "CodeableConcept",
1845
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1846
+ }
1847
+ ],
1848
+ "isSummary": true,
1849
+ "binding": {
1850
+ "extension": [
1851
+ {
1852
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1853
+ "valueString": "RouteOfAdministration"
1854
+ }
1855
+ ],
1856
+ "strength": "example",
1857
+ "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
1858
+ "valueSetReference": {
1859
+ "reference": "http://hl7.org/fhir/ValueSet/route-codes"
1860
+ }
1861
+ },
1862
+ "mapping": [
1863
+ {
1864
+ "identity": "rim",
1865
+ "map": ".routeCode"
1866
+ }
1867
+ ]
1868
+ },
1869
+ {
1870
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.method",
1871
+ "path": "MedicationRequest.dosageInstruction.method",
1872
+ "short": "Technique for administering medication",
1873
+ "definition": "Technique for administering medication.",
1874
+ "comment": "Terminologies used often pre-coordinate this term with the route and or form of administration.",
1875
+ "requirements": "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.",
1876
+ "min": 0,
1877
+ "max": "1",
1878
+ "type": [
1879
+ {
1880
+ "code": "CodeableConcept",
1881
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1882
+ }
1883
+ ],
1884
+ "isSummary": true,
1885
+ "binding": {
1886
+ "extension": [
1887
+ {
1888
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1889
+ "valueString": "MedicationAdministrationMethod"
1890
+ }
1891
+ ],
1892
+ "strength": "example",
1893
+ "description": "A coded concept describing the technique by which the medicine is administered.",
1894
+ "valueSetReference": {
1895
+ "reference": "http://hl7.org/fhir/ValueSet/administration-method-codes"
1896
+ }
1897
+ },
1898
+ "mapping": [
1899
+ {
1900
+ "identity": "rim",
1901
+ "map": ".doseQuantity"
1902
+ }
1903
+ ]
1904
+ },
1905
+ {
1906
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.dose[x]",
1907
+ "path": "MedicationRequest.dosageInstruction.dose[x]",
1908
+ "short": "Amount of medication per dose",
1909
+ "definition": "Amount of medication per dose.",
1910
+ "comment": "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.",
1911
+ "requirements": "The amount of therapeutic or other substance given at one administration event.",
1912
+ "min": 0,
1913
+ "max": "1",
1914
+ "type": [
1915
+ {
1916
+ "code": "Quantity",
1917
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
1918
+ }
1919
+ ],
1920
+ "isSummary": true,
1921
+ "mapping": [
1922
+ {
1923
+ "identity": "rim",
1924
+ "map": ".doseQuantity"
1925
+ }
1926
+ ]
1927
+ },
1928
+ {
1929
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.maxDosePerPeriod",
1930
+ "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod",
1931
+ "short": "Upper limit on medication per unit of time",
1932
+ "definition": "Upper limit on medication per unit of time.",
1933
+ "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".",
1934
+ "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.",
1935
+ "min": 0,
1936
+ "max": "1",
1937
+ "type": [
1938
+ {
1939
+ "code": "Ratio",
1940
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MaximumDosePerTimePeriod"
1941
+ }
1942
+ ],
1943
+ "isSummary": true,
1944
+ "mapping": [
1945
+ {
1946
+ "identity": "rim",
1947
+ "map": ".maxDoseQuantity"
1948
+ }
1949
+ ]
1950
+ },
1951
+ {
1952
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.maxDosePerAdministration",
1953
+ "path": "MedicationRequest.dosageInstruction.maxDosePerAdministration",
1954
+ "short": "Upper limit on medication per administration",
1955
+ "definition": "Upper limit on medication per administration.",
1956
+ "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.",
1957
+ "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.",
1958
+ "min": 0,
1959
+ "max": "1",
1960
+ "type": [
1961
+ {
1962
+ "code": "Quantity",
1963
+ "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
1964
+ }
1965
+ ],
1966
+ "isSummary": true,
1967
+ "mapping": [
1968
+ {
1969
+ "identity": "rim",
1970
+ "map": "not supported"
1971
+ }
1972
+ ]
1973
+ },
1974
+ {
1975
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.maxDosePerLifetime",
1976
+ "path": "MedicationRequest.dosageInstruction.maxDosePerLifetime",
1977
+ "short": "Upper limit on medication per lifetime of the patient",
1978
+ "definition": "Upper limit on medication per lifetime of the patient.",
1979
+ "requirements": "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.",
1980
+ "min": 0,
1981
+ "max": "1",
1982
+ "type": [
1983
+ {
1984
+ "code": "Quantity",
1985
+ "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
1986
+ }
1987
+ ],
1988
+ "isSummary": true,
1989
+ "mapping": [
1990
+ {
1991
+ "identity": "rim",
1992
+ "map": "not supported"
1993
+ }
1994
+ ]
1995
+ },
1996
+ {
1997
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.rate[x]",
1998
+ "path": "MedicationRequest.dosageInstruction.rate[x]",
1999
+ "short": "Amount of medication per unit of time",
2000
+ "definition": "Amount of medication per unit of time.",
2001
+ "comment": "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.",
2002
+ "requirements": "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
2003
+ "min": 0,
2004
+ "max": "1",
2005
+ "type": [
2006
+ {
2007
+ "code": "Ratio"
2008
+ },
2009
+ {
2010
+ "code": "Range"
2011
+ },
2012
+ {
2013
+ "code": "Quantity",
2014
+ "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
2015
+ }
2016
+ ],
2017
+ "isSummary": true,
2018
+ "mapping": [
2019
+ {
2020
+ "identity": "rim",
2021
+ "map": ".rateQuantity"
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest",
2027
+ "path": "MedicationRequest.dispenseRequest",
2028
+ "short": "Medication supply authorization",
2029
+ "definition": "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.",
2030
+ "min": 0,
2031
+ "max": "1",
2032
+ "type": [
2033
+ {
2034
+ "code": "BackboneElement"
2035
+ }
2036
+ ],
2037
+ "constraint": [
2038
+ {
2039
+ "key": "ele-1",
2040
+ "severity": "error",
2041
+ "human": "All FHIR elements must have a @value or children",
2042
+ "expression": "children().count() > id.count()",
2043
+ "xpath": "@value|f:*|h:div",
2044
+ "source": "Element"
2045
+ }
2046
+ ],
2047
+ "mapping": [
2048
+ {
2049
+ "identity": "script10.6",
2050
+ "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate"
2051
+ },
2052
+ {
2053
+ "identity": "rim",
2054
+ "map": "component.supplyEvent"
2055
+ }
2056
+ ]
2057
+ },
2058
+ {
2059
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.id",
2060
+ "path": "MedicationRequest.dispenseRequest.id",
2061
+ "representation": [
2062
+ "xmlAttr"
2063
+ ],
2064
+ "short": "xml:id (or equivalent in JSON)",
2065
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
2066
+ "min": 0,
2067
+ "max": "1",
2068
+ "base": {
2069
+ "path": "Element.id",
2070
+ "min": 0,
2071
+ "max": "1"
2072
+ },
2073
+ "type": [
2074
+ {
2075
+ "code": "string"
2076
+ }
2077
+ ],
2078
+ "mapping": [
2079
+ {
2080
+ "identity": "rim",
2081
+ "map": "n/a"
2082
+ }
2083
+ ]
2084
+ },
2085
+ {
2086
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.extension",
2087
+ "path": "MedicationRequest.dispenseRequest.extension",
2088
+ "short": "Additional Content defined by implementations",
2089
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
2090
+ "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.",
2091
+ "alias": [
2092
+ "extensions",
2093
+ "user content"
2094
+ ],
2095
+ "min": 0,
2096
+ "max": "*",
2097
+ "base": {
2098
+ "path": "Element.extension",
2099
+ "min": 0,
2100
+ "max": "*"
2101
+ },
2102
+ "type": [
2103
+ {
2104
+ "code": "Extension"
2105
+ }
2106
+ ],
2107
+ "mapping": [
2108
+ {
2109
+ "identity": "rim",
2110
+ "map": "n/a"
2111
+ }
2112
+ ]
2113
+ },
2114
+ {
2115
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.modifierExtension",
2116
+ "path": "MedicationRequest.dispenseRequest.modifierExtension",
2117
+ "short": "Extensions that cannot be ignored",
2118
+ "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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
2119
+ "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.",
2120
+ "alias": [
2121
+ "extensions",
2122
+ "user content",
2123
+ "modifiers"
2124
+ ],
2125
+ "min": 0,
2126
+ "max": "*",
2127
+ "base": {
2128
+ "path": "BackboneElement.modifierExtension",
2129
+ "min": 0,
2130
+ "max": "*"
2131
+ },
2132
+ "type": [
2133
+ {
2134
+ "code": "Extension"
2135
+ }
2136
+ ],
2137
+ "isModifier": true,
2138
+ "isSummary": true,
2139
+ "mapping": [
2140
+ {
2141
+ "identity": "rim",
2142
+ "map": "N/A"
2143
+ }
2144
+ ]
2145
+ },
2146
+ {
2147
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.validityPeriod",
2148
+ "path": "MedicationRequest.dispenseRequest.validityPeriod",
2149
+ "short": "Time period supply is authorized for",
2150
+ "definition": "This indicates the validity period of a prescription (stale dating the Prescription).",
2151
+ "comment": "It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.",
2152
+ "requirements": "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.",
2153
+ "min": 0,
2154
+ "max": "1",
2155
+ "type": [
2156
+ {
2157
+ "code": "Period",
2158
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
2159
+ }
2160
+ ],
2161
+ "mapping": [
2162
+ {
2163
+ "identity": "script10.6",
2164
+ "map": "Message/Body/NewRx/MedicationPrescribed/Refills"
2165
+ },
2166
+ {
2167
+ "identity": "rim",
2168
+ "map": "effectiveTime"
2169
+ }
2170
+ ]
2171
+ },
2172
+ {
2173
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.numberOfRepeatsAllowed",
2174
+ "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
2175
+ "short": "Number of refills authorized",
2176
+ "definition": "An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.",
2177
+ "comment": "If displaying \"number of authorized fills\", add 1 to this number.",
2178
+ "min": 0,
2179
+ "max": "1",
2180
+ "type": [
2181
+ {
2182
+ "code": "positiveInt"
2183
+ }
2184
+ ],
2185
+ "mapping": [
2186
+ {
2187
+ "identity": "script10.6",
2188
+ "map": "Message/Body/NewRx/MedicationPrescribed/Quantity"
2189
+ },
2190
+ {
2191
+ "identity": "v2",
2192
+ "map": "RXE-12-Number of Refills"
2193
+ },
2194
+ {
2195
+ "identity": "rim",
2196
+ "map": "repeatNumber"
2197
+ }
2198
+ ]
2199
+ },
2200
+ {
2201
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.quantity",
2202
+ "path": "MedicationRequest.dispenseRequest.quantity",
2203
+ "short": "Amount of medication to supply per dispense",
2204
+ "definition": "The amount that is to be dispensed for one fill.",
2205
+ "min": 0,
2206
+ "max": "1",
2207
+ "type": [
2208
+ {
2209
+ "code": "Quantity",
2210
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
2211
+ }
2212
+ ],
2213
+ "mapping": [
2214
+ {
2215
+ "identity": "script10.6",
2216
+ "map": "Message/Body/NewRx/MedicationPrescribed/DaysSupply"
2217
+ },
2218
+ {
2219
+ "identity": "v2",
2220
+ "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system"
2221
+ },
2222
+ {
2223
+ "identity": "rim",
2224
+ "map": "quantity"
2225
+ }
2226
+ ]
2227
+ },
2228
+ {
2229
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.expectedSupplyDuration",
2230
+ "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
2231
+ "short": "Number of days supply per dispense",
2232
+ "definition": "Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.",
2233
+ "comment": "In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.",
2234
+ "min": 0,
2235
+ "max": "1",
2236
+ "type": [
2237
+ {
2238
+ "code": "Duration",
2239
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration"
2240
+ }
2241
+ ],
2242
+ "mapping": [
2243
+ {
2244
+ "identity": "script10.6",
2245
+ "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions"
2246
+ },
2247
+ {
2248
+ "identity": "rim",
2249
+ "map": "expectedUseTime"
2250
+ }
2251
+ ]
2252
+ },
2253
+ {
2254
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.performer",
2255
+ "path": "MedicationRequest.dispenseRequest.performer",
2256
+ "short": "Intended dispenser",
2257
+ "definition": "Indicates the intended dispensing Organization specified by the prescriber.",
2258
+ "min": 0,
2259
+ "max": "1",
2260
+ "type": [
2261
+ {
2262
+ "code": "Reference",
2263
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization"
2264
+ }
2265
+ ],
2266
+ "mapping": [
2267
+ {
2268
+ "identity": "rim",
2269
+ "map": ".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"
2270
+ },
2271
+ {
2272
+ "identity": "w5",
2273
+ "map": "who"
2274
+ }
2275
+ ]
2276
+ },
2277
+ {
2278
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution",
2279
+ "path": "MedicationRequest.substitution",
2280
+ "short": "Any restrictions on medication substitution",
2281
+ "definition": "Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.",
2282
+ "min": 0,
2283
+ "max": "1",
2284
+ "type": [
2285
+ {
2286
+ "code": "BackboneElement"
2287
+ }
2288
+ ],
2289
+ "constraint": [
2290
+ {
2291
+ "key": "ele-1",
2292
+ "severity": "error",
2293
+ "human": "All FHIR elements must have a @value or children",
2294
+ "expression": "children().count() > id.count()",
2295
+ "xpath": "@value|f:*|h:div",
2296
+ "source": "Element"
2297
+ }
2298
+ ],
2299
+ "mapping": [
2300
+ {
2301
+ "identity": "script10.6",
2302
+ "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"
2303
+ },
2304
+ {
2305
+ "identity": "rim",
2306
+ "map": "subjectOf.substitutionPersmission"
2307
+ }
2308
+ ]
2309
+ },
2310
+ {
2311
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.id",
2312
+ "path": "MedicationRequest.substitution.id",
2313
+ "representation": [
2314
+ "xmlAttr"
2315
+ ],
2316
+ "short": "xml:id (or equivalent in JSON)",
2317
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
2318
+ "min": 0,
2319
+ "max": "1",
2320
+ "base": {
2321
+ "path": "Element.id",
2322
+ "min": 0,
2323
+ "max": "1"
2324
+ },
2325
+ "type": [
2326
+ {
2327
+ "code": "string"
2328
+ }
2329
+ ],
2330
+ "mapping": [
2331
+ {
2332
+ "identity": "rim",
2333
+ "map": "n/a"
2334
+ }
2335
+ ]
2336
+ },
2337
+ {
2338
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.extension",
2339
+ "path": "MedicationRequest.substitution.extension",
2340
+ "short": "Additional Content defined by implementations",
2341
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
2342
+ "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.",
2343
+ "alias": [
2344
+ "extensions",
2345
+ "user content"
2346
+ ],
2347
+ "min": 0,
2348
+ "max": "*",
2349
+ "base": {
2350
+ "path": "Element.extension",
2351
+ "min": 0,
2352
+ "max": "*"
2353
+ },
2354
+ "type": [
2355
+ {
2356
+ "code": "Extension"
2357
+ }
2358
+ ],
2359
+ "mapping": [
2360
+ {
2361
+ "identity": "rim",
2362
+ "map": "n/a"
2363
+ }
2364
+ ]
2365
+ },
2366
+ {
2367
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.modifierExtension",
2368
+ "path": "MedicationRequest.substitution.modifierExtension",
2369
+ "short": "Extensions that cannot be ignored",
2370
+ "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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
2371
+ "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.",
2372
+ "alias": [
2373
+ "extensions",
2374
+ "user content",
2375
+ "modifiers"
2376
+ ],
2377
+ "min": 0,
2378
+ "max": "*",
2379
+ "base": {
2380
+ "path": "BackboneElement.modifierExtension",
2381
+ "min": 0,
2382
+ "max": "*"
2383
+ },
2384
+ "type": [
2385
+ {
2386
+ "code": "Extension"
2387
+ }
2388
+ ],
2389
+ "isModifier": true,
2390
+ "isSummary": true,
2391
+ "mapping": [
2392
+ {
2393
+ "identity": "rim",
2394
+ "map": "N/A"
2395
+ }
2396
+ ]
2397
+ },
2398
+ {
2399
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.allowed",
2400
+ "path": "MedicationRequest.substitution.allowed",
2401
+ "short": "Whether substitution is allowed or not",
2402
+ "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.",
2403
+ "comment": "This element is labeled as a modifer because whether substitution is allow or not cannot be ignored.",
2404
+ "min": 1,
2405
+ "max": "1",
2406
+ "type": [
2407
+ {
2408
+ "code": "boolean"
2409
+ }
2410
+ ],
2411
+ "isModifier": true,
2412
+ "mapping": [
2413
+ {
2414
+ "identity": "script10.6",
2415
+ "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"
2416
+ },
2417
+ {
2418
+ "identity": "v2",
2419
+ "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status"
2420
+ },
2421
+ {
2422
+ "identity": "rim",
2423
+ "map": "code"
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.reason",
2429
+ "path": "MedicationRequest.substitution.reason",
2430
+ "short": "Why should (not) substitution be made",
2431
+ "definition": "Indicates the reason for the substitution, or why substitution must or must not be performed.",
2432
+ "min": 0,
2433
+ "max": "1",
2434
+ "type": [
2435
+ {
2436
+ "code": "CodeableConcept"
2437
+ }
2438
+ ],
2439
+ "binding": {
2440
+ "extension": [
2441
+ {
2442
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
2443
+ "valueString": "MedicationIntendedSubstitutionReason"
2444
+ }
2445
+ ],
2446
+ "strength": "example",
2447
+ "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.",
2448
+ "valueSetReference": {
2449
+ "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"
2450
+ }
2451
+ },
2452
+ "mapping": [
2453
+ {
2454
+ "identity": "script10.6",
2455
+ "map": "not mapped"
2456
+ },
2457
+ {
2458
+ "identity": "v2",
2459
+ "map": "RXE-9 Substition status"
2460
+ },
2461
+ {
2462
+ "identity": "rim",
2463
+ "map": "reasonCode"
2464
+ }
2465
+ ]
2466
+ },
2467
+ {
2468
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.priorPrescription",
2469
+ "path": "MedicationRequest.priorPrescription",
2470
+ "short": "An order/prescription that is being replaced",
2471
+ "definition": "A link to a resource representing an earlier order related order or prescription.",
2472
+ "min": 0,
2473
+ "max": "1",
2474
+ "type": [
2475
+ {
2476
+ "code": "Reference",
2477
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
2478
+ }
2479
+ ],
2480
+ "mapping": [
2481
+ {
2482
+ "identity": "workflow",
2483
+ "map": "…replaces"
2484
+ },
2485
+ {
2486
+ "identity": "script10.6",
2487
+ "map": "not mapped"
2488
+ },
2489
+ {
2490
+ "identity": "rim",
2491
+ "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]"
2492
+ }
2493
+ ]
2494
+ },
2495
+ {
2496
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.detectedIssue",
2497
+ "path": "MedicationRequest.detectedIssue",
2498
+ "short": "Clinical Issue with action",
2499
+ "definition": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.",
2500
+ "alias": [
2501
+ "Contraindication",
2502
+ "Drug Utilization Review (DUR)",
2503
+ "Alert"
2504
+ ],
2505
+ "min": 0,
2506
+ "max": "*",
2507
+ "type": [
2508
+ {
2509
+ "code": "Reference",
2510
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
2511
+ }
2512
+ ],
2513
+ "mapping": [
2514
+ {
2515
+ "identity": "rim",
2516
+ "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value"
2517
+ }
2518
+ ]
2519
+ },
2520
+ {
2521
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.eventHistory",
2522
+ "path": "MedicationRequest.eventHistory",
2523
+ "short": "A list of events of interest in the lifecycle",
2524
+ "definition": "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.",
2525
+ "comment": "This may not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).",
2526
+ "min": 0,
2527
+ "max": "*",
2528
+ "type": [
2529
+ {
2530
+ "code": "Reference",
2531
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance"
2532
+ }
2533
+ ],
2534
+ "mapping": [
2535
+ {
2536
+ "identity": "workflow",
2537
+ "map": "…relevantHistory"
2538
+ },
2539
+ {
2540
+ "identity": "rim",
2541
+ "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"
2542
+ }
2543
+ ]
2544
+ }
2545
+ ]
2546
+ },
2547
+ "differential": {
2548
+ "element": [
2549
+ {
2550
+ "id": "MedicationRequest:shr-medication-MedicationPrescription",
2551
+ "path": "MedicationRequest",
2552
+ "short": "SHR MedicationPrescription Profile",
2553
+ "definition": "Report of a medication prescription."
2554
+ },
2555
+ {
2556
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:actioncode",
2557
+ "path": "MedicationRequest.extension",
2558
+ "sliceName": "actioncode",
2559
+ "min": 1,
2560
+ "max": "1",
2561
+ "type": [
2562
+ {
2563
+ "code": "Extension",
2564
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension"
2565
+ }
2566
+ ],
2567
+ "mustSupport": false,
2568
+ "isModifier": false,
2569
+ "isSummary": false
2570
+ },
2571
+ {
2572
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:occurrencetime",
2573
+ "path": "MedicationRequest.extension",
2574
+ "sliceName": "occurrencetime",
2575
+ "min": 0,
2576
+ "max": "1",
2577
+ "type": [
2578
+ {
2579
+ "code": "Extension",
2580
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension"
2581
+ }
2582
+ ],
2583
+ "mustSupport": false,
2584
+ "isModifier": false,
2585
+ "isSummary": false
2586
+ },
2587
+ {
2588
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:participant",
2589
+ "path": "MedicationRequest.extension",
2590
+ "sliceName": "participant",
2591
+ "min": 0,
2592
+ "max": "*",
2593
+ "type": [
2594
+ {
2595
+ "code": "Extension",
2596
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension"
2597
+ }
2598
+ ],
2599
+ "mustSupport": false,
2600
+ "isModifier": false,
2601
+ "isSummary": false
2602
+ },
2603
+ {
2604
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:patientinstructions",
2605
+ "path": "MedicationRequest.extension",
2606
+ "sliceName": "patientinstructions",
2607
+ "min": 0,
2608
+ "max": "1",
2609
+ "type": [
2610
+ {
2611
+ "code": "Extension",
2612
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension"
2613
+ }
2614
+ ],
2615
+ "mustSupport": false,
2616
+ "isModifier": false,
2617
+ "isSummary": false
2618
+ },
2619
+ {
2620
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:nonoccurrencemodifier",
2621
+ "path": "MedicationRequest.modifierExtension",
2622
+ "sliceName": "nonoccurrencemodifier",
2623
+ "min": 0,
2624
+ "max": "1",
2625
+ "type": [
2626
+ {
2627
+ "code": "Extension",
2628
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension"
2629
+ }
2630
+ ],
2631
+ "mustSupport": true,
2632
+ "isModifier": true,
2633
+ "isSummary": false
2634
+ },
2635
+ {
2636
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:medicationnotprescribedmodifier",
2637
+ "path": "MedicationRequest.modifierExtension",
2638
+ "sliceName": "medicationnotprescribedmodifier",
2639
+ "min": 0,
2640
+ "max": "1",
2641
+ "type": [
2642
+ {
2643
+ "code": "Extension",
2644
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension"
2645
+ }
2646
+ ],
2647
+ "mustSupport": true,
2648
+ "isModifier": true,
2649
+ "isSummary": false
2650
+ },
2651
+ {
2652
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.status",
2653
+ "path": "MedicationRequest.status",
2654
+ "min": 1,
2655
+ "max": "1"
2656
+ },
2657
+ {
2658
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.medication[x]",
2659
+ "path": "MedicationRequest.medication[x]",
2660
+ "type": [
2661
+ {
2662
+ "code": "Reference",
2663
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication"
2664
+ }
2665
+ ]
2666
+ },
2667
+ {
2668
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.reasonCode",
2669
+ "path": "MedicationRequest.reasonCode",
2670
+ "min": 0,
2671
+ "max": "1",
2672
+ "type": [
2673
+ {
2674
+ "code": "CodeableConcept",
2675
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
2676
+ }
2677
+ ]
2678
+ },
2679
+ {
2680
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.note",
2681
+ "path": "MedicationRequest.note",
2682
+ "min": 0,
2683
+ "max": "1"
2684
+ },
2685
+ {
2686
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction",
2687
+ "path": "MedicationRequest.dosageInstruction",
2688
+ "min": 0,
2689
+ "max": "1"
2690
+ },
2691
+ {
2692
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.additionalInstruction",
2693
+ "path": "MedicationRequest.dosageInstruction.additionalInstruction",
2694
+ "type": [
2695
+ {
2696
+ "code": "CodeableConcept",
2697
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
2698
+ }
2699
+ ],
2700
+ "binding": {
2701
+ "strength": "required",
2702
+ "valueSetReference": {
2703
+ "reference": "http://hl7.org/fhir/ValueSet/additional-instructions-codes"
2704
+ }
2705
+ }
2706
+ },
2707
+ {
2708
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.asNeeded[x]",
2709
+ "path": "MedicationRequest.dosageInstruction.asNeeded[x]",
2710
+ "type": [
2711
+ {
2712
+ "code": "boolean"
2713
+ }
2714
+ ]
2715
+ },
2716
+ {
2717
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.site",
2718
+ "path": "MedicationRequest.dosageInstruction.site",
2719
+ "type": [
2720
+ {
2721
+ "code": "CodeableConcept",
2722
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
2723
+ }
2724
+ ],
2725
+ "binding": {
2726
+ "strength": "required",
2727
+ "valueSetReference": {
2728
+ "reference": "http://standardhealthrecord.org/shr/core/vs/BodySiteVS"
2729
+ }
2730
+ }
2731
+ },
2732
+ {
2733
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.route",
2734
+ "path": "MedicationRequest.dosageInstruction.route",
2735
+ "type": [
2736
+ {
2737
+ "code": "CodeableConcept",
2738
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
2739
+ }
2740
+ ]
2741
+ },
2742
+ {
2743
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.method",
2744
+ "path": "MedicationRequest.dosageInstruction.method",
2745
+ "type": [
2746
+ {
2747
+ "code": "CodeableConcept",
2748
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
2749
+ }
2750
+ ]
2751
+ },
2752
+ {
2753
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.dose[x]",
2754
+ "path": "MedicationRequest.dosageInstruction.dose[x]",
2755
+ "type": [
2756
+ {
2757
+ "code": "Quantity",
2758
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
2759
+ }
2760
+ ]
2761
+ },
2762
+ {
2763
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction.maxDosePerPeriod",
2764
+ "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod",
2765
+ "type": [
2766
+ {
2767
+ "code": "Ratio",
2768
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MaximumDosePerTimePeriod"
2769
+ }
2770
+ ]
2771
+ },
2772
+ {
2773
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest",
2774
+ "path": "MedicationRequest.dispenseRequest"
2775
+ },
2776
+ {
2777
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.validityPeriod",
2778
+ "path": "MedicationRequest.dispenseRequest.validityPeriod",
2779
+ "type": [
2780
+ {
2781
+ "code": "Period",
2782
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
2783
+ }
2784
+ ]
2785
+ },
2786
+ {
2787
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.quantity",
2788
+ "path": "MedicationRequest.dispenseRequest.quantity",
2789
+ "type": [
2790
+ {
2791
+ "code": "Quantity",
2792
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
2793
+ }
2794
+ ]
2795
+ },
2796
+ {
2797
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.expectedSupplyDuration",
2798
+ "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
2799
+ "type": [
2800
+ {
2801
+ "code": "Duration",
2802
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration"
2803
+ }
2804
+ ]
2805
+ },
2806
+ {
2807
+ "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.performer",
2808
+ "path": "MedicationRequest.dispenseRequest.performer",
2809
+ "type": [
2810
+ {
2811
+ "code": "Reference",
2812
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization"
2813
+ }
2814
+ ]
2815
+ }
2816
+ ]
2817
+ }
2818
+ }