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,2062 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "us-core-medicationrequest",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest</a></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: US Core MedicationRequest Profile</p><p><b>status</b>: DRAFT</p><p><b>date</b>: 01/08/2016</p><p><b>publisher</b>: HL7 US Realm Steering Committee</p><p><b>contact</b>: </p><p><b>url</b>: <a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest</a></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: US Core MedicationRequest Profile</p><p><b>status</b>: DRAFT</p><p><b>date</b>: 01/08/2016</p><p><b>publisher</b>: HL7 US Realm Steering Committee</p><p><b>contact</b>: </p><p><b>fhirVersion</b>: 3.0.0</p><blockquote><p><b>mapping</b></p><p><b>identity</b>: argonaut-dq-dstu2</p><p><b>uri</b>: <a href=\"http://unknown.org/Argonaut DQ DSTU2\">http://unknown.org/Argonaut DQ DSTU2</a></p><p><b>name</b>: Argonaut DQ DSTU2</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: workflow</p><p><b>uri</b>: <a href=\"http://hl7.org/fhir/workflow\">http://hl7.org/fhir/workflow</a></p><p><b>name</b>: Workflow Mapping</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: script10.6</p><p><b>uri</b>: <a href=\"http://ncpdp.org/SCRIPT10_6\">http://ncpdp.org/SCRIPT10_6</a></p><p><b>name</b>: Mapping to NCPDP SCRIPT 10.6</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: rim</p><p><b>uri</b>: <a href=\"http://hl7.org/v3\">http://hl7.org/v3</a></p><p><b>name</b>: RIM Mapping</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: w5</p><p><b>uri</b>: <a href=\"http://hl7.org/fhir/w5\">http://hl7.org/fhir/w5</a></p><p><b>name</b>: W5 Mapping</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: v2</p><p><b>uri</b>: <a href=\"http://hl7.org/v2\">http://hl7.org/v2</a></p><p><b>name</b>: HL7 v2 Mapping</p></blockquote><p><b>kind</b>: RESOURCE</p><p><b>abstract</b>: false</p><p><b>type</b>: MedicationRequest</p><p><b>baseDefinition</b>: <a href=\"http://hl7.org/fhir/StructureDefinition/MedicationRequest\">http://hl7.org/fhir/StructureDefinition/MedicationRequest</a></p><p><b>derivation</b>: CONSTRAINT</p><h3>Snapshots</h3><table class=\"grid\"><tr><td>-</td><td><b>Element</b></td></tr><tr><td>*</td><td>todo-bundle</td></tr></table><h3>Differentials</h3><table class=\"grid\"><tr><td>-</td><td><b>Element</b></td></tr><tr><td>*</td><td>todo-bundle</td></tr></table></div>"
7
+ },
8
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest",
9
+ "version": "1.0.0",
10
+ "name": "US Core MedicationRequest Profile",
11
+ "status": "draft",
12
+ "date": "2016-08-01",
13
+ "publisher": "HL7 US Realm Steering Committee",
14
+ "contact": [
15
+ {
16
+ "telecom": [
17
+ {
18
+ "system": "url",
19
+ "value": "http://www.healthit.gov"
20
+ }
21
+ ]
22
+ }
23
+ ],
24
+ "fhirVersion": "3.0.0",
25
+ "mapping": [
26
+ {
27
+ "identity": "argonaut-dq-dstu2",
28
+ "uri": "http://unknown.org/Argonaut DQ DSTU2",
29
+ "name": "Argonaut DQ DSTU2"
30
+ },
31
+ {
32
+ "identity": "workflow",
33
+ "uri": "http://hl7.org/fhir/workflow",
34
+ "name": "Workflow Mapping"
35
+ },
36
+ {
37
+ "identity": "script10.6",
38
+ "uri": "http://ncpdp.org/SCRIPT10_6",
39
+ "name": "Mapping to NCPDP SCRIPT 10.6"
40
+ },
41
+ {
42
+ "identity": "rim",
43
+ "uri": "http://hl7.org/v3",
44
+ "name": "RIM Mapping"
45
+ },
46
+ {
47
+ "identity": "w5",
48
+ "uri": "http://hl7.org/fhir/w5",
49
+ "name": "W5 Mapping"
50
+ },
51
+ {
52
+ "identity": "v2",
53
+ "uri": "http://hl7.org/v2",
54
+ "name": "HL7 v2 Mapping"
55
+ }
56
+ ],
57
+ "kind": "resource",
58
+ "abstract": false,
59
+ "type": "MedicationRequest",
60
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
61
+ "derivation": "constraint",
62
+ "snapshot": {
63
+ "element": [
64
+ {
65
+ "id": "MedicationRequest:uscoremedicationrequest",
66
+ "path": "MedicationRequest",
67
+ "sliceName": "USCoreMedicationRequest",
68
+ "short": "US Core Medication Request Profile",
69
+ "definition": "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.",
70
+ "alias": [
71
+ "Prescription",
72
+ "Order"
73
+ ],
74
+ "min": 0,
75
+ "max": "*",
76
+ "base": {
77
+ "path": "MedicationRequest",
78
+ "min": 0,
79
+ "max": "*"
80
+ },
81
+ "constraint": [
82
+ {
83
+ "key": "dom-2",
84
+ "severity": "error",
85
+ "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
86
+ "expression": "contained.contained.empty()",
87
+ "xpath": "not(parent::f:contained and f:contained)",
88
+ "source": "DomainResource"
89
+ },
90
+ {
91
+ "key": "dom-1",
92
+ "severity": "error",
93
+ "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
94
+ "expression": "contained.text.empty()",
95
+ "xpath": "not(parent::f:contained and f:text)",
96
+ "source": "DomainResource"
97
+ },
98
+ {
99
+ "key": "dom-4",
100
+ "severity": "error",
101
+ "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
102
+ "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
103
+ "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
104
+ "source": "DomainResource"
105
+ },
106
+ {
107
+ "key": "dom-3",
108
+ "severity": "error",
109
+ "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
110
+ "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
111
+ "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
112
+ "source": "DomainResource"
113
+ }
114
+ ],
115
+ "mustSupport": false,
116
+ "mapping": [
117
+ {
118
+ "identity": "rim",
119
+ "map": "Entity. Role, or Act"
120
+ },
121
+ {
122
+ "identity": "workflow",
123
+ "map": "..Request"
124
+ },
125
+ {
126
+ "identity": "script10.6",
127
+ "map": "Message/Body/NewRx"
128
+ },
129
+ {
130
+ "identity": "rim",
131
+ "map": "CombinedMedicationRequest"
132
+ },
133
+ {
134
+ "identity": "w5",
135
+ "map": "clinical.medication"
136
+ },
137
+ {
138
+ "identity": "argonaut-dq-dstu2",
139
+ "map": "MedicationOrder"
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "id": "MedicationRequest:uscoremedicationrequest.id",
145
+ "path": "MedicationRequest.id",
146
+ "short": "Logical id of this artifact",
147
+ "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
148
+ "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.",
149
+ "min": 0,
150
+ "max": "1",
151
+ "base": {
152
+ "path": "Resource.id",
153
+ "min": 0,
154
+ "max": "1"
155
+ },
156
+ "type": [
157
+ {
158
+ "code": "id"
159
+ }
160
+ ],
161
+ "isSummary": true
162
+ },
163
+ {
164
+ "id": "MedicationRequest:uscoremedicationrequest.meta",
165
+ "path": "MedicationRequest.meta",
166
+ "short": "Metadata about the resource",
167
+ "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.",
168
+ "min": 0,
169
+ "max": "1",
170
+ "base": {
171
+ "path": "Resource.meta",
172
+ "min": 0,
173
+ "max": "1"
174
+ },
175
+ "type": [
176
+ {
177
+ "code": "Meta"
178
+ }
179
+ ],
180
+ "isSummary": true
181
+ },
182
+ {
183
+ "id": "MedicationRequest:uscoremedicationrequest.implicitRules",
184
+ "path": "MedicationRequest.implicitRules",
185
+ "short": "A set of rules under which this content was created",
186
+ "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.",
187
+ "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.",
188
+ "min": 0,
189
+ "max": "1",
190
+ "base": {
191
+ "path": "Resource.implicitRules",
192
+ "min": 0,
193
+ "max": "1"
194
+ },
195
+ "type": [
196
+ {
197
+ "code": "uri"
198
+ }
199
+ ],
200
+ "isModifier": true,
201
+ "isSummary": true
202
+ },
203
+ {
204
+ "id": "MedicationRequest:uscoremedicationrequest.language",
205
+ "path": "MedicationRequest.language",
206
+ "short": "Language of the resource content",
207
+ "definition": "The base language in which the resource is written.",
208
+ "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).",
209
+ "min": 0,
210
+ "max": "1",
211
+ "base": {
212
+ "path": "Resource.language",
213
+ "min": 0,
214
+ "max": "1"
215
+ },
216
+ "type": [
217
+ {
218
+ "code": "code"
219
+ }
220
+ ],
221
+ "binding": {
222
+ "extension": [
223
+ {
224
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
225
+ "valueReference": {
226
+ "reference": "http://hl7.org/fhir/ValueSet/all-languages"
227
+ }
228
+ },
229
+ {
230
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
231
+ "valueString": "Language"
232
+ },
233
+ {
234
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
235
+ "valueBoolean": true
236
+ }
237
+ ],
238
+ "strength": "extensible",
239
+ "description": "A human language.",
240
+ "valueSetReference": {
241
+ "reference": "http://hl7.org/fhir/ValueSet/languages"
242
+ }
243
+ }
244
+ },
245
+ {
246
+ "id": "MedicationRequest:uscoremedicationrequest.text",
247
+ "path": "MedicationRequest.text",
248
+ "short": "Text summary of the resource, for human interpretation",
249
+ "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.",
250
+ "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.",
251
+ "alias": [
252
+ "narrative",
253
+ "html",
254
+ "xhtml",
255
+ "display"
256
+ ],
257
+ "min": 0,
258
+ "max": "1",
259
+ "base": {
260
+ "path": "DomainResource.text",
261
+ "min": 0,
262
+ "max": "1"
263
+ },
264
+ "type": [
265
+ {
266
+ "code": "Narrative"
267
+ }
268
+ ],
269
+ "condition": [
270
+ "dom-1"
271
+ ],
272
+ "mapping": [
273
+ {
274
+ "identity": "rim",
275
+ "map": "Act.text?"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "id": "MedicationRequest:uscoremedicationrequest.contained",
281
+ "path": "MedicationRequest.contained",
282
+ "short": "Contained, inline Resources",
283
+ "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.",
284
+ "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.",
285
+ "alias": [
286
+ "inline resources",
287
+ "anonymous resources",
288
+ "contained resources"
289
+ ],
290
+ "min": 0,
291
+ "max": "*",
292
+ "base": {
293
+ "path": "DomainResource.contained",
294
+ "min": 0,
295
+ "max": "*"
296
+ },
297
+ "type": [
298
+ {
299
+ "code": "Resource"
300
+ }
301
+ ],
302
+ "mapping": [
303
+ {
304
+ "identity": "rim",
305
+ "map": "N/A"
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "id": "MedicationRequest:uscoremedicationrequest.extension",
311
+ "path": "MedicationRequest.extension",
312
+ "short": "Additional Content defined by implementations",
313
+ "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.",
314
+ "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.",
315
+ "alias": [
316
+ "extensions",
317
+ "user content"
318
+ ],
319
+ "min": 0,
320
+ "max": "*",
321
+ "base": {
322
+ "path": "DomainResource.extension",
323
+ "min": 0,
324
+ "max": "*"
325
+ },
326
+ "type": [
327
+ {
328
+ "code": "Extension"
329
+ }
330
+ ],
331
+ "mapping": [
332
+ {
333
+ "identity": "rim",
334
+ "map": "N/A"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "id": "MedicationRequest:uscoremedicationrequest.modifierExtension",
340
+ "path": "MedicationRequest.modifierExtension",
341
+ "short": "Extensions that cannot be ignored",
342
+ "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.",
343
+ "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.",
344
+ "alias": [
345
+ "extensions",
346
+ "user content"
347
+ ],
348
+ "min": 0,
349
+ "max": "*",
350
+ "base": {
351
+ "path": "DomainResource.modifierExtension",
352
+ "min": 0,
353
+ "max": "*"
354
+ },
355
+ "type": [
356
+ {
357
+ "code": "Extension"
358
+ }
359
+ ],
360
+ "isModifier": true,
361
+ "mapping": [
362
+ {
363
+ "identity": "rim",
364
+ "map": "N/A"
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "id": "MedicationRequest:uscoremedicationrequest.identifier",
370
+ "path": "MedicationRequest.identifier",
371
+ "short": "External ids for this request",
372
+ "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.",
373
+ "min": 0,
374
+ "max": "*",
375
+ "base": {
376
+ "path": "MedicationRequest.identifier",
377
+ "min": 0,
378
+ "max": "*"
379
+ },
380
+ "type": [
381
+ {
382
+ "code": "Identifier"
383
+ }
384
+ ],
385
+ "mapping": [
386
+ {
387
+ "identity": "workflow",
388
+ "map": "…identifer"
389
+ },
390
+ {
391
+ "identity": "script10.6",
392
+ "map": "Message/Header/PrescriberOrderNumber"
393
+ },
394
+ {
395
+ "identity": "v2",
396
+ "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number"
397
+ },
398
+ {
399
+ "identity": "rim",
400
+ "map": ".id"
401
+ },
402
+ {
403
+ "identity": "w5",
404
+ "map": "id"
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "id": "MedicationRequest:uscoremedicationrequest.definition",
410
+ "path": "MedicationRequest.definition",
411
+ "short": "Protocol or definition",
412
+ "definition": "Protocol or definition followed by this request.",
413
+ "min": 0,
414
+ "max": "*",
415
+ "base": {
416
+ "path": "MedicationRequest.definition",
417
+ "min": 0,
418
+ "max": "*"
419
+ },
420
+ "type": [
421
+ {
422
+ "code": "Reference",
423
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition"
424
+ },
425
+ {
426
+ "code": "Reference",
427
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition"
428
+ }
429
+ ],
430
+ "isSummary": true,
431
+ "mapping": [
432
+ {
433
+ "identity": "workflow",
434
+ "map": "…definition"
435
+ },
436
+ {
437
+ "identity": "rim",
438
+ "map": ".outboundRelationship[typeCode=DEFN].target[classCode=unspecified]"
439
+ }
440
+ ]
441
+ },
442
+ {
443
+ "id": "MedicationRequest:uscoremedicationrequest.basedOn",
444
+ "path": "MedicationRequest.basedOn",
445
+ "short": "What request fulfills",
446
+ "definition": "A plan or request that is fulfilled in whole or in part by this medication request.",
447
+ "min": 0,
448
+ "max": "*",
449
+ "base": {
450
+ "path": "MedicationRequest.basedOn",
451
+ "min": 0,
452
+ "max": "*"
453
+ },
454
+ "type": [
455
+ {
456
+ "code": "Reference",
457
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
458
+ },
459
+ {
460
+ "code": "Reference",
461
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
462
+ },
463
+ {
464
+ "code": "Reference",
465
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
466
+ },
467
+ {
468
+ "code": "Reference",
469
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
470
+ }
471
+ ],
472
+ "isSummary": true,
473
+ "mapping": [
474
+ {
475
+ "identity": "workflow",
476
+ "map": "…basedOn"
477
+ },
478
+ {
479
+ "identity": "rim",
480
+ "map": ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ "id": "MedicationRequest:uscoremedicationrequest.groupIdentifier",
486
+ "path": "MedicationRequest.groupIdentifier",
487
+ "short": "Composite request this is part of",
488
+ "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.",
489
+ "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.",
490
+ "min": 0,
491
+ "max": "1",
492
+ "base": {
493
+ "path": "MedicationRequest.groupIdentifier",
494
+ "min": 0,
495
+ "max": "1"
496
+ },
497
+ "type": [
498
+ {
499
+ "code": "Identifier"
500
+ }
501
+ ],
502
+ "isSummary": true,
503
+ "mapping": [
504
+ {
505
+ "identity": "workflow",
506
+ "map": "…groupIdentifier"
507
+ },
508
+ {
509
+ "identity": "rim",
510
+ "map": ".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id"
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "id": "MedicationRequest:uscoremedicationrequest.status",
516
+ "path": "MedicationRequest.status",
517
+ "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown",
518
+ "definition": "A code specifying the current state of the order. Generally this will be active or completed state.",
519
+ "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
520
+ "min": 1,
521
+ "max": "1",
522
+ "base": {
523
+ "path": "MedicationRequest.status",
524
+ "min": 0,
525
+ "max": "1"
526
+ },
527
+ "type": [
528
+ {
529
+ "code": "code"
530
+ }
531
+ ],
532
+ "mustSupport": true,
533
+ "isModifier": true,
534
+ "isSummary": true,
535
+ "binding": {
536
+ "strength": "required",
537
+ "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.",
538
+ "valueSetReference": {
539
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-status"
540
+ }
541
+ },
542
+ "mapping": [
543
+ {
544
+ "identity": "workflow",
545
+ "map": "…status"
546
+ },
547
+ {
548
+ "identity": "script10.6",
549
+ "map": "no mapping"
550
+ },
551
+ {
552
+ "identity": "rim",
553
+ "map": ".statusCode"
554
+ },
555
+ {
556
+ "identity": "w5",
557
+ "map": "status"
558
+ },
559
+ {
560
+ "identity": "argonaut-dq-dstu2",
561
+ "map": "MedicationOrder.status"
562
+ }
563
+ ]
564
+ },
565
+ {
566
+ "id": "MedicationRequest:uscoremedicationrequest.intent",
567
+ "path": "MedicationRequest.intent",
568
+ "short": "proposal | plan | order | instance-order",
569
+ "definition": "Whether the request is a proposal, plan, or an original order.",
570
+ "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.",
571
+ "min": 1,
572
+ "max": "1",
573
+ "base": {
574
+ "path": "MedicationRequest.intent",
575
+ "min": 1,
576
+ "max": "1"
577
+ },
578
+ "type": [
579
+ {
580
+ "code": "code"
581
+ }
582
+ ],
583
+ "isModifier": true,
584
+ "isSummary": true,
585
+ "binding": {
586
+ "extension": [
587
+ {
588
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
589
+ "valueString": "MedicationRequestIntent"
590
+ }
591
+ ],
592
+ "strength": "required",
593
+ "description": "The kind of medication order",
594
+ "valueSetReference": {
595
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-intent"
596
+ }
597
+ },
598
+ "mapping": [
599
+ {
600
+ "identity": "workflow",
601
+ "map": "…intent"
602
+ },
603
+ {
604
+ "identity": "rim",
605
+ "map": ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)"
606
+ },
607
+ {
608
+ "identity": "w5",
609
+ "map": "class"
610
+ }
611
+ ]
612
+ },
613
+ {
614
+ "id": "MedicationRequest:uscoremedicationrequest.category",
615
+ "path": "MedicationRequest.category",
616
+ "short": "Type of medication usage",
617
+ "definition": "Indicates the type of medication order and where the medication is expected to be consumed or administered.",
618
+ "min": 0,
619
+ "max": "1",
620
+ "base": {
621
+ "path": "MedicationRequest.category",
622
+ "min": 0,
623
+ "max": "1"
624
+ },
625
+ "type": [
626
+ {
627
+ "code": "CodeableConcept"
628
+ }
629
+ ],
630
+ "binding": {
631
+ "extension": [
632
+ {
633
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
634
+ "valueString": "MedicationRequestCategory"
635
+ }
636
+ ],
637
+ "strength": "preferred",
638
+ "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered",
639
+ "valueSetReference": {
640
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-category"
641
+ }
642
+ },
643
+ "mapping": [
644
+ {
645
+ "identity": "script10.6",
646
+ "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG"
647
+ },
648
+ {
649
+ "identity": "rim",
650
+ "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value"
651
+ },
652
+ {
653
+ "identity": "w5",
654
+ "map": "class"
655
+ }
656
+ ]
657
+ },
658
+ {
659
+ "id": "MedicationRequest:uscoremedicationrequest.priority",
660
+ "path": "MedicationRequest.priority",
661
+ "short": "routine | urgent | stat | asap",
662
+ "definition": "Indicates how quickly the Medication Request should be addressed with respect to other requests.",
663
+ "min": 0,
664
+ "max": "1",
665
+ "base": {
666
+ "path": "MedicationRequest.priority",
667
+ "min": 0,
668
+ "max": "1"
669
+ },
670
+ "type": [
671
+ {
672
+ "code": "code"
673
+ }
674
+ ],
675
+ "isSummary": true,
676
+ "binding": {
677
+ "extension": [
678
+ {
679
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
680
+ "valueString": "MedicationRequestPriority"
681
+ }
682
+ ],
683
+ "strength": "required",
684
+ "description": "Identifies the level of importance to be assigned to actioning the request",
685
+ "valueSetReference": {
686
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-priority"
687
+ }
688
+ },
689
+ "mapping": [
690
+ {
691
+ "identity": "workflow",
692
+ "map": "…priority"
693
+ },
694
+ {
695
+ "identity": "rim",
696
+ "map": ".priorityCode"
697
+ },
698
+ {
699
+ "identity": "w5",
700
+ "map": "grade"
701
+ }
702
+ ]
703
+ },
704
+ {
705
+ "id": "MedicationRequest:uscoremedicationrequest.medication[x]",
706
+ "path": "MedicationRequest.medication[x]",
707
+ "short": "Medication to be taken",
708
+ "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.",
709
+ "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. .",
710
+ "min": 1,
711
+ "max": "1",
712
+ "base": {
713
+ "path": "MedicationRequest.medication[x]",
714
+ "min": 1,
715
+ "max": "1"
716
+ },
717
+ "type": [
718
+ {
719
+ "code": "CodeableConcept"
720
+ },
721
+ {
722
+ "code": "Reference",
723
+ "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"
724
+ }
725
+ ],
726
+ "mustSupport": true,
727
+ "isSummary": true,
728
+ "binding": {
729
+ "strength": "extensible",
730
+ "description": "Prescribable medications",
731
+ "valueSetReference": {
732
+ "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"
733
+ }
734
+ },
735
+ "mapping": [
736
+ {
737
+ "identity": "workflow",
738
+ "map": "…code"
739
+ },
740
+ {
741
+ "identity": "script10.6",
742
+ "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"
743
+ },
744
+ {
745
+ "identity": "v2",
746
+ "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"
747
+ },
748
+ {
749
+ "identity": "rim",
750
+ "map": "consumable.administrableMedication"
751
+ },
752
+ {
753
+ "identity": "w5",
754
+ "map": "what"
755
+ },
756
+ {
757
+ "identity": "argonaut-dq-dstu2",
758
+ "map": "MedicationOrder.medication[x]"
759
+ }
760
+ ]
761
+ },
762
+ {
763
+ "id": "MedicationRequest:uscoremedicationrequest.subject",
764
+ "path": "MedicationRequest.subject",
765
+ "short": "Who or group medication request is for",
766
+ "definition": "A link to a resource representing the person or set of individuals to whom the medication will be given.",
767
+ "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.",
768
+ "min": 1,
769
+ "max": "1",
770
+ "base": {
771
+ "path": "MedicationRequest.subject",
772
+ "min": 1,
773
+ "max": "1"
774
+ },
775
+ "type": [
776
+ {
777
+ "code": "Reference",
778
+ "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
779
+ }
780
+ ],
781
+ "mustSupport": true,
782
+ "isSummary": true,
783
+ "mapping": [
784
+ {
785
+ "identity": "workflow",
786
+ "map": "…subject"
787
+ },
788
+ {
789
+ "identity": "script10.6",
790
+ "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)"
791
+ },
792
+ {
793
+ "identity": "v2",
794
+ "map": "PID-3-Patient ID List"
795
+ },
796
+ {
797
+ "identity": "rim",
798
+ "map": ".participation[typeCode=AUT].role"
799
+ },
800
+ {
801
+ "identity": "w5",
802
+ "map": "who.focus"
803
+ },
804
+ {
805
+ "identity": "argonaut-dq-dstu2",
806
+ "map": "MedicationOrder.patient"
807
+ }
808
+ ]
809
+ },
810
+ {
811
+ "id": "MedicationRequest:uscoremedicationrequest.context",
812
+ "path": "MedicationRequest.context",
813
+ "short": "Created during encounter/admission/stay",
814
+ "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.",
815
+ "comment": "SubstanceAdministration->component->EncounterEvent.",
816
+ "min": 0,
817
+ "max": "1",
818
+ "base": {
819
+ "path": "MedicationRequest.context",
820
+ "min": 0,
821
+ "max": "1"
822
+ },
823
+ "type": [
824
+ {
825
+ "code": "Reference",
826
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
827
+ },
828
+ {
829
+ "code": "Reference",
830
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
831
+ }
832
+ ],
833
+ "mapping": [
834
+ {
835
+ "identity": "workflow",
836
+ "map": "…context"
837
+ },
838
+ {
839
+ "identity": "script10.6",
840
+ "map": "no mapping"
841
+ },
842
+ {
843
+ "identity": "v2",
844
+ "map": "PV1-19-Visit Number"
845
+ },
846
+ {
847
+ "identity": "rim",
848
+ "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]"
849
+ },
850
+ {
851
+ "identity": "w5",
852
+ "map": "context"
853
+ }
854
+ ]
855
+ },
856
+ {
857
+ "id": "MedicationRequest:uscoremedicationrequest.supportingInformation",
858
+ "path": "MedicationRequest.supportingInformation",
859
+ "short": "Information to support ordering of the medication",
860
+ "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.",
861
+ "min": 0,
862
+ "max": "*",
863
+ "base": {
864
+ "path": "MedicationRequest.supportingInformation",
865
+ "min": 0,
866
+ "max": "*"
867
+ },
868
+ "type": [
869
+ {
870
+ "code": "Reference",
871
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
872
+ }
873
+ ],
874
+ "mapping": [
875
+ {
876
+ "identity": "rim",
877
+ "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)]"
878
+ },
879
+ {
880
+ "identity": "w5",
881
+ "map": "context"
882
+ }
883
+ ]
884
+ },
885
+ {
886
+ "id": "MedicationRequest:uscoremedicationrequest.authoredOn",
887
+ "path": "MedicationRequest.authoredOn",
888
+ "short": "When request was initially authored",
889
+ "definition": "The date (and perhaps time) when the prescription was initially written or authored on.",
890
+ "min": 1,
891
+ "max": "1",
892
+ "base": {
893
+ "path": "MedicationRequest.authoredOn",
894
+ "min": 0,
895
+ "max": "1"
896
+ },
897
+ "type": [
898
+ {
899
+ "code": "dateTime"
900
+ }
901
+ ],
902
+ "mustSupport": true,
903
+ "isSummary": true,
904
+ "mapping": [
905
+ {
906
+ "identity": "workflow",
907
+ "map": "…authoredOn"
908
+ },
909
+ {
910
+ "identity": "script10.6",
911
+ "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate"
912
+ },
913
+ {
914
+ "identity": "v2",
915
+ "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction"
916
+ },
917
+ {
918
+ "identity": "rim",
919
+ "map": "author.time"
920
+ },
921
+ {
922
+ "identity": "w5",
923
+ "map": "when.recorded"
924
+ },
925
+ {
926
+ "identity": "argonaut-dq-dstu2",
927
+ "map": "MedicationOrder.dateWritten"
928
+ }
929
+ ]
930
+ },
931
+ {
932
+ "id": "MedicationRequest:uscoremedicationrequest.requester",
933
+ "path": "MedicationRequest.requester",
934
+ "short": "Who/What requested the Request",
935
+ "definition": "The individual, organization or device that initiated the request and has responsibility for its activation.",
936
+ "min": 1,
937
+ "max": "1",
938
+ "base": {
939
+ "path": "MedicationRequest.requester",
940
+ "min": 0,
941
+ "max": "1"
942
+ },
943
+ "type": [
944
+ {
945
+ "code": "BackboneElement"
946
+ }
947
+ ],
948
+ "constraint": [
949
+ {
950
+ "key": "ele-1",
951
+ "severity": "error",
952
+ "human": "All FHIR elements must have a @value or children",
953
+ "expression": "children().count() > id.count()",
954
+ "xpath": "@value|f:*|h:div",
955
+ "source": "Element"
956
+ },
957
+ {
958
+ "key": "mps-1",
959
+ "severity": "error",
960
+ "human": "onBehalfOf can only be specified if agent is practitioner or device",
961
+ "expression": "(agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()",
962
+ "xpath": "contains(f:agent, '/Practitioner') or contains(f:agent, '/Device') or not(exists(f:onBehalfOf))",
963
+ "source": "MedicationRequest.requester"
964
+ }
965
+ ],
966
+ "mustSupport": true,
967
+ "isSummary": true,
968
+ "mapping": [
969
+ {
970
+ "identity": "workflow",
971
+ "map": "…requester"
972
+ },
973
+ {
974
+ "identity": "rim",
975
+ "map": ".participation[typeCode=AUT].role"
976
+ },
977
+ {
978
+ "identity": "w5",
979
+ "map": "who.author"
980
+ },
981
+ {
982
+ "identity": "argonaut-dq-dstu2",
983
+ "map": "NA (new element in STU3)"
984
+ }
985
+ ]
986
+ },
987
+ {
988
+ "id": "MedicationRequest:uscoremedicationrequest.requester.id",
989
+ "path": "MedicationRequest.requester.id",
990
+ "representation": [
991
+ "xmlAttr"
992
+ ],
993
+ "short": "xml:id (or equivalent in JSON)",
994
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
995
+ "min": 0,
996
+ "max": "1",
997
+ "base": {
998
+ "path": "Element.id",
999
+ "min": 0,
1000
+ "max": "1"
1001
+ },
1002
+ "type": [
1003
+ {
1004
+ "code": "string"
1005
+ }
1006
+ ],
1007
+ "mapping": [
1008
+ {
1009
+ "identity": "rim",
1010
+ "map": "n/a"
1011
+ }
1012
+ ]
1013
+ },
1014
+ {
1015
+ "id": "MedicationRequest:uscoremedicationrequest.requester.extension",
1016
+ "path": "MedicationRequest.requester.extension",
1017
+ "short": "Additional Content defined by implementations",
1018
+ "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.",
1019
+ "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.",
1020
+ "alias": [
1021
+ "extensions",
1022
+ "user content"
1023
+ ],
1024
+ "min": 0,
1025
+ "max": "*",
1026
+ "base": {
1027
+ "path": "Element.extension",
1028
+ "min": 0,
1029
+ "max": "*"
1030
+ },
1031
+ "type": [
1032
+ {
1033
+ "code": "Extension"
1034
+ }
1035
+ ],
1036
+ "mapping": [
1037
+ {
1038
+ "identity": "rim",
1039
+ "map": "n/a"
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ "id": "MedicationRequest:uscoremedicationrequest.requester.modifierExtension",
1045
+ "path": "MedicationRequest.requester.modifierExtension",
1046
+ "short": "Extensions that cannot be ignored",
1047
+ "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.",
1048
+ "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.",
1049
+ "alias": [
1050
+ "extensions",
1051
+ "user content",
1052
+ "modifiers"
1053
+ ],
1054
+ "min": 0,
1055
+ "max": "*",
1056
+ "base": {
1057
+ "path": "BackboneElement.modifierExtension",
1058
+ "min": 0,
1059
+ "max": "*"
1060
+ },
1061
+ "type": [
1062
+ {
1063
+ "code": "Extension"
1064
+ }
1065
+ ],
1066
+ "isModifier": true,
1067
+ "isSummary": true,
1068
+ "mapping": [
1069
+ {
1070
+ "identity": "rim",
1071
+ "map": "N/A"
1072
+ }
1073
+ ]
1074
+ },
1075
+ {
1076
+ "id": "MedicationRequest:uscoremedicationrequest.requester.agent",
1077
+ "path": "MedicationRequest.requester.agent",
1078
+ "short": "Who ordered the initial medication(s)",
1079
+ "definition": "The healthcare professional responsible for authorizing the initial prescription.",
1080
+ "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.",
1081
+ "min": 1,
1082
+ "max": "1",
1083
+ "base": {
1084
+ "path": "MedicationRequest.requester.agent",
1085
+ "min": 1,
1086
+ "max": "1"
1087
+ },
1088
+ "type": [
1089
+ {
1090
+ "code": "Reference",
1091
+ "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"
1092
+ }
1093
+ ],
1094
+ "mustSupport": true,
1095
+ "isSummary": true,
1096
+ "mapping": [
1097
+ {
1098
+ "identity": "workflow",
1099
+ "map": "….agent"
1100
+ },
1101
+ {
1102
+ "identity": "script10.6",
1103
+ "map": "Message/Body/NewRx/Prescriber\r\r(need detail to link to specific prescriber … Prescriber.Identification in SCRIPT)"
1104
+ },
1105
+ {
1106
+ "identity": "v2",
1107
+ "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)"
1108
+ },
1109
+ {
1110
+ "identity": "rim",
1111
+ "map": ".player"
1112
+ },
1113
+ {
1114
+ "identity": "argonaut-dq-dstu2",
1115
+ "map": "MedicationOrder.prescriber"
1116
+ }
1117
+ ]
1118
+ },
1119
+ {
1120
+ "id": "MedicationRequest:uscoremedicationrequest.requester.onBehalfOf",
1121
+ "path": "MedicationRequest.requester.onBehalfOf",
1122
+ "short": "Organization agent is acting for",
1123
+ "definition": "The organization the device or practitioner was acting on behalf of.",
1124
+ "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.",
1125
+ "min": 0,
1126
+ "max": "1",
1127
+ "base": {
1128
+ "path": "MedicationRequest.requester.onBehalfOf",
1129
+ "min": 0,
1130
+ "max": "1"
1131
+ },
1132
+ "type": [
1133
+ {
1134
+ "code": "Reference",
1135
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
1136
+ }
1137
+ ],
1138
+ "condition": [
1139
+ "mps-1"
1140
+ ],
1141
+ "isSummary": true,
1142
+ "mapping": [
1143
+ {
1144
+ "identity": "workflow",
1145
+ "map": "….onBehalfOf"
1146
+ },
1147
+ {
1148
+ "identity": "rim",
1149
+ "map": ".scoper"
1150
+ }
1151
+ ]
1152
+ },
1153
+ {
1154
+ "id": "MedicationRequest:uscoremedicationrequest.recorder",
1155
+ "path": "MedicationRequest.recorder",
1156
+ "short": "Person who entered the request",
1157
+ "definition": "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.",
1158
+ "min": 0,
1159
+ "max": "1",
1160
+ "base": {
1161
+ "path": "MedicationRequest.recorder",
1162
+ "min": 0,
1163
+ "max": "1"
1164
+ },
1165
+ "type": [
1166
+ {
1167
+ "code": "Reference",
1168
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
1169
+ }
1170
+ ],
1171
+ "mapping": [
1172
+ {
1173
+ "identity": "rim",
1174
+ "map": ".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)"
1175
+ },
1176
+ {
1177
+ "identity": "w5",
1178
+ "map": "who"
1179
+ }
1180
+ ]
1181
+ },
1182
+ {
1183
+ "id": "MedicationRequest:uscoremedicationrequest.reasonCode",
1184
+ "path": "MedicationRequest.reasonCode",
1185
+ "short": "Reason or indication for writing the prescription",
1186
+ "definition": "The reason or the indication for ordering the medication.",
1187
+ "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.",
1188
+ "min": 0,
1189
+ "max": "*",
1190
+ "base": {
1191
+ "path": "MedicationRequest.reasonCode",
1192
+ "min": 0,
1193
+ "max": "*"
1194
+ },
1195
+ "type": [
1196
+ {
1197
+ "code": "CodeableConcept"
1198
+ }
1199
+ ],
1200
+ "binding": {
1201
+ "extension": [
1202
+ {
1203
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1204
+ "valueString": "MedicationRequestReason"
1205
+ }
1206
+ ],
1207
+ "strength": "example",
1208
+ "description": "A coded concept indicating why the medication was ordered.",
1209
+ "valueSetReference": {
1210
+ "reference": "http://hl7.org/fhir/ValueSet/condition-code"
1211
+ }
1212
+ },
1213
+ "mapping": [
1214
+ {
1215
+ "identity": "workflow",
1216
+ "map": "…reasonCode"
1217
+ },
1218
+ {
1219
+ "identity": "script10.6",
1220
+ "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value"
1221
+ },
1222
+ {
1223
+ "identity": "v2",
1224
+ "map": "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication"
1225
+ },
1226
+ {
1227
+ "identity": "rim",
1228
+ "map": "reason.observation.reasonCode"
1229
+ },
1230
+ {
1231
+ "identity": "w5",
1232
+ "map": "why"
1233
+ }
1234
+ ]
1235
+ },
1236
+ {
1237
+ "id": "MedicationRequest:uscoremedicationrequest.reasonReference",
1238
+ "path": "MedicationRequest.reasonReference",
1239
+ "short": "Condition or Observation that supports why the prescription is being written",
1240
+ "definition": "Condition or observation that supports why the medication was ordered.",
1241
+ "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.",
1242
+ "min": 0,
1243
+ "max": "*",
1244
+ "base": {
1245
+ "path": "MedicationRequest.reasonReference",
1246
+ "min": 0,
1247
+ "max": "*"
1248
+ },
1249
+ "type": [
1250
+ {
1251
+ "code": "Reference",
1252
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
1253
+ },
1254
+ {
1255
+ "code": "Reference",
1256
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
1257
+ }
1258
+ ],
1259
+ "mapping": [
1260
+ {
1261
+ "identity": "workflow",
1262
+ "map": "…reasonReference"
1263
+ },
1264
+ {
1265
+ "identity": "script10.6",
1266
+ "map": "no mapping"
1267
+ },
1268
+ {
1269
+ "identity": "rim",
1270
+ "map": "reason.observation[code=ASSERTION].value"
1271
+ },
1272
+ {
1273
+ "identity": "w5",
1274
+ "map": "why"
1275
+ }
1276
+ ]
1277
+ },
1278
+ {
1279
+ "id": "MedicationRequest:uscoremedicationrequest.note",
1280
+ "path": "MedicationRequest.note",
1281
+ "short": "Information about the prescription",
1282
+ "definition": "Extra information about the prescription that could not be conveyed by the other attributes.",
1283
+ "min": 0,
1284
+ "max": "*",
1285
+ "base": {
1286
+ "path": "MedicationRequest.note",
1287
+ "min": 0,
1288
+ "max": "*"
1289
+ },
1290
+ "type": [
1291
+ {
1292
+ "code": "Annotation"
1293
+ }
1294
+ ],
1295
+ "mapping": [
1296
+ {
1297
+ "identity": "workflow",
1298
+ "map": "…note"
1299
+ },
1300
+ {
1301
+ "identity": "script10.6",
1302
+ "map": "Message/Body/NewRx/MedicationPrescribed/Note"
1303
+ },
1304
+ {
1305
+ "identity": "rim",
1306
+ "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value"
1307
+ }
1308
+ ]
1309
+ },
1310
+ {
1311
+ "id": "MedicationRequest:uscoremedicationrequest.dosageInstruction",
1312
+ "path": "MedicationRequest.dosageInstruction",
1313
+ "short": "How the medication should be taken",
1314
+ "definition": "Indicates how the medication is to be used by the patient.",
1315
+ "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.",
1316
+ "min": 0,
1317
+ "max": "*",
1318
+ "base": {
1319
+ "path": "MedicationRequest.dosageInstruction",
1320
+ "min": 0,
1321
+ "max": "*"
1322
+ },
1323
+ "type": [
1324
+ {
1325
+ "code": "Dosage"
1326
+ }
1327
+ ],
1328
+ "mapping": [
1329
+ {
1330
+ "identity": "workflow",
1331
+ "map": "…occurrence[x]"
1332
+ },
1333
+ {
1334
+ "identity": "rim",
1335
+ "map": "see dosageInstruction mapping"
1336
+ }
1337
+ ]
1338
+ },
1339
+ {
1340
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest",
1341
+ "path": "MedicationRequest.dispenseRequest",
1342
+ "short": "Medication supply authorization",
1343
+ "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.",
1344
+ "min": 0,
1345
+ "max": "1",
1346
+ "base": {
1347
+ "path": "MedicationRequest.dispenseRequest",
1348
+ "min": 0,
1349
+ "max": "1"
1350
+ },
1351
+ "type": [
1352
+ {
1353
+ "code": "BackboneElement"
1354
+ }
1355
+ ],
1356
+ "constraint": [
1357
+ {
1358
+ "key": "ele-1",
1359
+ "severity": "error",
1360
+ "human": "All FHIR elements must have a @value or children",
1361
+ "expression": "children().count() > id.count()",
1362
+ "xpath": "@value|f:*|h:div",
1363
+ "source": "Element"
1364
+ }
1365
+ ],
1366
+ "mapping": [
1367
+ {
1368
+ "identity": "script10.6",
1369
+ "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate"
1370
+ },
1371
+ {
1372
+ "identity": "rim",
1373
+ "map": "component.supplyEvent"
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.id",
1379
+ "path": "MedicationRequest.dispenseRequest.id",
1380
+ "representation": [
1381
+ "xmlAttr"
1382
+ ],
1383
+ "short": "xml:id (or equivalent in JSON)",
1384
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1385
+ "min": 0,
1386
+ "max": "1",
1387
+ "base": {
1388
+ "path": "Element.id",
1389
+ "min": 0,
1390
+ "max": "1"
1391
+ },
1392
+ "type": [
1393
+ {
1394
+ "code": "string"
1395
+ }
1396
+ ],
1397
+ "mapping": [
1398
+ {
1399
+ "identity": "rim",
1400
+ "map": "n/a"
1401
+ }
1402
+ ]
1403
+ },
1404
+ {
1405
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.extension",
1406
+ "path": "MedicationRequest.dispenseRequest.extension",
1407
+ "short": "Additional Content defined by implementations",
1408
+ "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.",
1409
+ "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.",
1410
+ "alias": [
1411
+ "extensions",
1412
+ "user content"
1413
+ ],
1414
+ "min": 0,
1415
+ "max": "*",
1416
+ "base": {
1417
+ "path": "Element.extension",
1418
+ "min": 0,
1419
+ "max": "*"
1420
+ },
1421
+ "type": [
1422
+ {
1423
+ "code": "Extension"
1424
+ }
1425
+ ],
1426
+ "mapping": [
1427
+ {
1428
+ "identity": "rim",
1429
+ "map": "n/a"
1430
+ }
1431
+ ]
1432
+ },
1433
+ {
1434
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.modifierExtension",
1435
+ "path": "MedicationRequest.dispenseRequest.modifierExtension",
1436
+ "short": "Extensions that cannot be ignored",
1437
+ "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.",
1438
+ "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.",
1439
+ "alias": [
1440
+ "extensions",
1441
+ "user content",
1442
+ "modifiers"
1443
+ ],
1444
+ "min": 0,
1445
+ "max": "*",
1446
+ "base": {
1447
+ "path": "BackboneElement.modifierExtension",
1448
+ "min": 0,
1449
+ "max": "*"
1450
+ },
1451
+ "type": [
1452
+ {
1453
+ "code": "Extension"
1454
+ }
1455
+ ],
1456
+ "isModifier": true,
1457
+ "isSummary": true,
1458
+ "mapping": [
1459
+ {
1460
+ "identity": "rim",
1461
+ "map": "N/A"
1462
+ }
1463
+ ]
1464
+ },
1465
+ {
1466
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.validityPeriod",
1467
+ "path": "MedicationRequest.dispenseRequest.validityPeriod",
1468
+ "short": "Time period supply is authorized for",
1469
+ "definition": "This indicates the validity period of a prescription (stale dating the Prescription).",
1470
+ "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.",
1471
+ "requirements": "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.",
1472
+ "min": 0,
1473
+ "max": "1",
1474
+ "base": {
1475
+ "path": "MedicationRequest.dispenseRequest.validityPeriod",
1476
+ "min": 0,
1477
+ "max": "1"
1478
+ },
1479
+ "type": [
1480
+ {
1481
+ "code": "Period"
1482
+ }
1483
+ ],
1484
+ "mapping": [
1485
+ {
1486
+ "identity": "script10.6",
1487
+ "map": "Message/Body/NewRx/MedicationPrescribed/Refills"
1488
+ },
1489
+ {
1490
+ "identity": "rim",
1491
+ "map": "effectiveTime"
1492
+ }
1493
+ ]
1494
+ },
1495
+ {
1496
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.numberOfRepeatsAllowed",
1497
+ "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
1498
+ "short": "Number of refills authorized",
1499
+ "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.",
1500
+ "comment": "If displaying \"number of authorized fills\", add 1 to this number.",
1501
+ "min": 0,
1502
+ "max": "1",
1503
+ "base": {
1504
+ "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
1505
+ "min": 0,
1506
+ "max": "1"
1507
+ },
1508
+ "type": [
1509
+ {
1510
+ "code": "positiveInt"
1511
+ }
1512
+ ],
1513
+ "mapping": [
1514
+ {
1515
+ "identity": "script10.6",
1516
+ "map": "Message/Body/NewRx/MedicationPrescribed/Quantity"
1517
+ },
1518
+ {
1519
+ "identity": "v2",
1520
+ "map": "RXE-12-Number of Refills"
1521
+ },
1522
+ {
1523
+ "identity": "rim",
1524
+ "map": "repeatNumber"
1525
+ }
1526
+ ]
1527
+ },
1528
+ {
1529
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.quantity",
1530
+ "path": "MedicationRequest.dispenseRequest.quantity",
1531
+ "short": "Amount of medication to supply per dispense",
1532
+ "definition": "The amount that is to be dispensed for one fill.",
1533
+ "min": 0,
1534
+ "max": "1",
1535
+ "base": {
1536
+ "path": "MedicationRequest.dispenseRequest.quantity",
1537
+ "min": 0,
1538
+ "max": "1"
1539
+ },
1540
+ "type": [
1541
+ {
1542
+ "code": "Quantity",
1543
+ "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
1544
+ }
1545
+ ],
1546
+ "mapping": [
1547
+ {
1548
+ "identity": "script10.6",
1549
+ "map": "Message/Body/NewRx/MedicationPrescribed/DaysSupply"
1550
+ },
1551
+ {
1552
+ "identity": "v2",
1553
+ "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system"
1554
+ },
1555
+ {
1556
+ "identity": "rim",
1557
+ "map": "quantity"
1558
+ }
1559
+ ]
1560
+ },
1561
+ {
1562
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.expectedSupplyDuration",
1563
+ "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
1564
+ "short": "Number of days supply per dispense",
1565
+ "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.",
1566
+ "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.",
1567
+ "min": 0,
1568
+ "max": "1",
1569
+ "base": {
1570
+ "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
1571
+ "min": 0,
1572
+ "max": "1"
1573
+ },
1574
+ "type": [
1575
+ {
1576
+ "code": "Duration"
1577
+ }
1578
+ ],
1579
+ "mapping": [
1580
+ {
1581
+ "identity": "script10.6",
1582
+ "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions"
1583
+ },
1584
+ {
1585
+ "identity": "rim",
1586
+ "map": "expectedUseTime"
1587
+ }
1588
+ ]
1589
+ },
1590
+ {
1591
+ "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.performer",
1592
+ "path": "MedicationRequest.dispenseRequest.performer",
1593
+ "short": "Intended dispenser",
1594
+ "definition": "Indicates the intended dispensing Organization specified by the prescriber.",
1595
+ "min": 0,
1596
+ "max": "1",
1597
+ "base": {
1598
+ "path": "MedicationRequest.dispenseRequest.performer",
1599
+ "min": 0,
1600
+ "max": "1"
1601
+ },
1602
+ "type": [
1603
+ {
1604
+ "code": "Reference",
1605
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
1606
+ }
1607
+ ],
1608
+ "mapping": [
1609
+ {
1610
+ "identity": "rim",
1611
+ "map": ".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"
1612
+ },
1613
+ {
1614
+ "identity": "w5",
1615
+ "map": "who"
1616
+ }
1617
+ ]
1618
+ },
1619
+ {
1620
+ "id": "MedicationRequest:uscoremedicationrequest.substitution",
1621
+ "path": "MedicationRequest.substitution",
1622
+ "short": "Any restrictions on medication substitution",
1623
+ "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.",
1624
+ "min": 0,
1625
+ "max": "1",
1626
+ "base": {
1627
+ "path": "MedicationRequest.substitution",
1628
+ "min": 0,
1629
+ "max": "1"
1630
+ },
1631
+ "type": [
1632
+ {
1633
+ "code": "BackboneElement"
1634
+ }
1635
+ ],
1636
+ "constraint": [
1637
+ {
1638
+ "key": "ele-1",
1639
+ "severity": "error",
1640
+ "human": "All FHIR elements must have a @value or children",
1641
+ "expression": "children().count() > id.count()",
1642
+ "xpath": "@value|f:*|h:div",
1643
+ "source": "Element"
1644
+ }
1645
+ ],
1646
+ "mapping": [
1647
+ {
1648
+ "identity": "script10.6",
1649
+ "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"
1650
+ },
1651
+ {
1652
+ "identity": "rim",
1653
+ "map": "subjectOf.substitutionPersmission"
1654
+ }
1655
+ ]
1656
+ },
1657
+ {
1658
+ "id": "MedicationRequest:uscoremedicationrequest.substitution.id",
1659
+ "path": "MedicationRequest.substitution.id",
1660
+ "representation": [
1661
+ "xmlAttr"
1662
+ ],
1663
+ "short": "xml:id (or equivalent in JSON)",
1664
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1665
+ "min": 0,
1666
+ "max": "1",
1667
+ "base": {
1668
+ "path": "Element.id",
1669
+ "min": 0,
1670
+ "max": "1"
1671
+ },
1672
+ "type": [
1673
+ {
1674
+ "code": "string"
1675
+ }
1676
+ ],
1677
+ "mapping": [
1678
+ {
1679
+ "identity": "rim",
1680
+ "map": "n/a"
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "id": "MedicationRequest:uscoremedicationrequest.substitution.extension",
1686
+ "path": "MedicationRequest.substitution.extension",
1687
+ "short": "Additional Content defined by implementations",
1688
+ "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.",
1689
+ "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.",
1690
+ "alias": [
1691
+ "extensions",
1692
+ "user content"
1693
+ ],
1694
+ "min": 0,
1695
+ "max": "*",
1696
+ "base": {
1697
+ "path": "Element.extension",
1698
+ "min": 0,
1699
+ "max": "*"
1700
+ },
1701
+ "type": [
1702
+ {
1703
+ "code": "Extension"
1704
+ }
1705
+ ],
1706
+ "mapping": [
1707
+ {
1708
+ "identity": "rim",
1709
+ "map": "n/a"
1710
+ }
1711
+ ]
1712
+ },
1713
+ {
1714
+ "id": "MedicationRequest:uscoremedicationrequest.substitution.modifierExtension",
1715
+ "path": "MedicationRequest.substitution.modifierExtension",
1716
+ "short": "Extensions that cannot be ignored",
1717
+ "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.",
1718
+ "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.",
1719
+ "alias": [
1720
+ "extensions",
1721
+ "user content",
1722
+ "modifiers"
1723
+ ],
1724
+ "min": 0,
1725
+ "max": "*",
1726
+ "base": {
1727
+ "path": "BackboneElement.modifierExtension",
1728
+ "min": 0,
1729
+ "max": "*"
1730
+ },
1731
+ "type": [
1732
+ {
1733
+ "code": "Extension"
1734
+ }
1735
+ ],
1736
+ "isModifier": true,
1737
+ "isSummary": true,
1738
+ "mapping": [
1739
+ {
1740
+ "identity": "rim",
1741
+ "map": "N/A"
1742
+ }
1743
+ ]
1744
+ },
1745
+ {
1746
+ "id": "MedicationRequest:uscoremedicationrequest.substitution.allowed",
1747
+ "path": "MedicationRequest.substitution.allowed",
1748
+ "short": "Whether substitution is allowed or not",
1749
+ "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.",
1750
+ "comment": "This element is labeled as a modifer because whether substitution is allow or not cannot be ignored.",
1751
+ "min": 1,
1752
+ "max": "1",
1753
+ "base": {
1754
+ "path": "MedicationRequest.substitution.allowed",
1755
+ "min": 1,
1756
+ "max": "1"
1757
+ },
1758
+ "type": [
1759
+ {
1760
+ "code": "boolean"
1761
+ }
1762
+ ],
1763
+ "isModifier": true,
1764
+ "mapping": [
1765
+ {
1766
+ "identity": "script10.6",
1767
+ "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"
1768
+ },
1769
+ {
1770
+ "identity": "v2",
1771
+ "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status"
1772
+ },
1773
+ {
1774
+ "identity": "rim",
1775
+ "map": "code"
1776
+ }
1777
+ ]
1778
+ },
1779
+ {
1780
+ "id": "MedicationRequest:uscoremedicationrequest.substitution.reason",
1781
+ "path": "MedicationRequest.substitution.reason",
1782
+ "short": "Why should (not) substitution be made",
1783
+ "definition": "Indicates the reason for the substitution, or why substitution must or must not be performed.",
1784
+ "min": 0,
1785
+ "max": "1",
1786
+ "base": {
1787
+ "path": "MedicationRequest.substitution.reason",
1788
+ "min": 0,
1789
+ "max": "1"
1790
+ },
1791
+ "type": [
1792
+ {
1793
+ "code": "CodeableConcept"
1794
+ }
1795
+ ],
1796
+ "binding": {
1797
+ "extension": [
1798
+ {
1799
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1800
+ "valueString": "MedicationIntendedSubstitutionReason"
1801
+ }
1802
+ ],
1803
+ "strength": "example",
1804
+ "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.",
1805
+ "valueSetReference": {
1806
+ "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"
1807
+ }
1808
+ },
1809
+ "mapping": [
1810
+ {
1811
+ "identity": "script10.6",
1812
+ "map": "not mapped"
1813
+ },
1814
+ {
1815
+ "identity": "v2",
1816
+ "map": "RXE-9 Substition status"
1817
+ },
1818
+ {
1819
+ "identity": "rim",
1820
+ "map": "reasonCode"
1821
+ }
1822
+ ]
1823
+ },
1824
+ {
1825
+ "id": "MedicationRequest:uscoremedicationrequest.priorPrescription",
1826
+ "path": "MedicationRequest.priorPrescription",
1827
+ "short": "An order/prescription that is being replaced",
1828
+ "definition": "A link to a resource representing an earlier order related order or prescription.",
1829
+ "min": 0,
1830
+ "max": "1",
1831
+ "base": {
1832
+ "path": "MedicationRequest.priorPrescription",
1833
+ "min": 0,
1834
+ "max": "1"
1835
+ },
1836
+ "type": [
1837
+ {
1838
+ "code": "Reference",
1839
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
1840
+ }
1841
+ ],
1842
+ "mapping": [
1843
+ {
1844
+ "identity": "workflow",
1845
+ "map": "…replaces"
1846
+ },
1847
+ {
1848
+ "identity": "script10.6",
1849
+ "map": "not mapped"
1850
+ },
1851
+ {
1852
+ "identity": "rim",
1853
+ "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]"
1854
+ }
1855
+ ]
1856
+ },
1857
+ {
1858
+ "id": "MedicationRequest:uscoremedicationrequest.detectedIssue",
1859
+ "path": "MedicationRequest.detectedIssue",
1860
+ "short": "Clinical Issue with action",
1861
+ "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.",
1862
+ "alias": [
1863
+ "Contraindication",
1864
+ "Drug Utilization Review (DUR)",
1865
+ "Alert"
1866
+ ],
1867
+ "min": 0,
1868
+ "max": "*",
1869
+ "base": {
1870
+ "path": "MedicationRequest.detectedIssue",
1871
+ "min": 0,
1872
+ "max": "*"
1873
+ },
1874
+ "type": [
1875
+ {
1876
+ "code": "Reference",
1877
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
1878
+ }
1879
+ ],
1880
+ "mapping": [
1881
+ {
1882
+ "identity": "rim",
1883
+ "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value"
1884
+ }
1885
+ ]
1886
+ },
1887
+ {
1888
+ "id": "MedicationRequest:uscoremedicationrequest.eventHistory",
1889
+ "path": "MedicationRequest.eventHistory",
1890
+ "short": "A list of events of interest in the lifecycle",
1891
+ "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.",
1892
+ "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.).",
1893
+ "min": 0,
1894
+ "max": "*",
1895
+ "base": {
1896
+ "path": "MedicationRequest.eventHistory",
1897
+ "min": 0,
1898
+ "max": "*"
1899
+ },
1900
+ "type": [
1901
+ {
1902
+ "code": "Reference",
1903
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance"
1904
+ }
1905
+ ],
1906
+ "mapping": [
1907
+ {
1908
+ "identity": "workflow",
1909
+ "map": "…relevantHistory"
1910
+ },
1911
+ {
1912
+ "identity": "rim",
1913
+ "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"
1914
+ }
1915
+ ]
1916
+ }
1917
+ ]
1918
+ },
1919
+ "differential": {
1920
+ "element": [
1921
+ {
1922
+ "id": "MedicationRequest:uscoremedicationrequest",
1923
+ "path": "MedicationRequest",
1924
+ "sliceName": "USCoreMedicationRequest",
1925
+ "short": "US Core Medication Request Profile",
1926
+ "definition": "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.",
1927
+ "mustSupport": false,
1928
+ "isModifier": false,
1929
+ "mapping": [
1930
+ {
1931
+ "identity": "argonaut-dq-dstu2",
1932
+ "map": "MedicationOrder"
1933
+ }
1934
+ ]
1935
+ },
1936
+ {
1937
+ "id": "MedicationRequest:uscoremedicationrequest.status",
1938
+ "path": "MedicationRequest.status",
1939
+ "min": 1,
1940
+ "max": "1",
1941
+ "type": [
1942
+ {
1943
+ "code": "code"
1944
+ }
1945
+ ],
1946
+ "mustSupport": true,
1947
+ "isModifier": false,
1948
+ "binding": {
1949
+ "strength": "required",
1950
+ "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.",
1951
+ "valueSetReference": {
1952
+ "reference": "http://hl7.org/fhir/ValueSet/medication-request-status"
1953
+ }
1954
+ },
1955
+ "mapping": [
1956
+ {
1957
+ "identity": "argonaut-dq-dstu2",
1958
+ "map": "MedicationOrder.status"
1959
+ }
1960
+ ]
1961
+ },
1962
+ {
1963
+ "id": "MedicationRequest:uscoremedicationrequest.medication[x]",
1964
+ "path": "MedicationRequest.medication[x]",
1965
+ "min": 1,
1966
+ "max": "1",
1967
+ "type": [
1968
+ {
1969
+ "code": "CodeableConcept"
1970
+ },
1971
+ {
1972
+ "code": "Reference",
1973
+ "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"
1974
+ }
1975
+ ],
1976
+ "mustSupport": true,
1977
+ "isModifier": false,
1978
+ "binding": {
1979
+ "strength": "extensible",
1980
+ "description": "Prescribable medications",
1981
+ "valueSetReference": {
1982
+ "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"
1983
+ }
1984
+ },
1985
+ "mapping": [
1986
+ {
1987
+ "identity": "argonaut-dq-dstu2",
1988
+ "map": "MedicationOrder.medication[x]"
1989
+ }
1990
+ ]
1991
+ },
1992
+ {
1993
+ "id": "MedicationRequest:uscoremedicationrequest.subject",
1994
+ "path": "MedicationRequest.subject",
1995
+ "min": 1,
1996
+ "max": "1",
1997
+ "type": [
1998
+ {
1999
+ "code": "Reference",
2000
+ "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
2001
+ }
2002
+ ],
2003
+ "mustSupport": true,
2004
+ "isModifier": false,
2005
+ "mapping": [
2006
+ {
2007
+ "identity": "argonaut-dq-dstu2",
2008
+ "map": "MedicationOrder.patient"
2009
+ }
2010
+ ]
2011
+ },
2012
+ {
2013
+ "id": "MedicationRequest:uscoremedicationrequest.authoredOn",
2014
+ "path": "MedicationRequest.authoredOn",
2015
+ "min": 1,
2016
+ "max": "1",
2017
+ "mustSupport": true,
2018
+ "isModifier": false,
2019
+ "mapping": [
2020
+ {
2021
+ "identity": "argonaut-dq-dstu2",
2022
+ "map": "MedicationOrder.dateWritten"
2023
+ }
2024
+ ]
2025
+ },
2026
+ {
2027
+ "id": "MedicationRequest:uscoremedicationrequest.requester",
2028
+ "path": "MedicationRequest.requester",
2029
+ "min": 1,
2030
+ "max": "1",
2031
+ "mustSupport": true,
2032
+ "isModifier": false,
2033
+ "mapping": [
2034
+ {
2035
+ "identity": "argonaut-dq-dstu2",
2036
+ "map": "NA (new element in STU3)"
2037
+ }
2038
+ ]
2039
+ },
2040
+ {
2041
+ "id": "MedicationRequest:uscoremedicationrequest.requester.agent",
2042
+ "path": "MedicationRequest.requester.agent",
2043
+ "min": 1,
2044
+ "max": "1",
2045
+ "type": [
2046
+ {
2047
+ "code": "Reference",
2048
+ "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"
2049
+ }
2050
+ ],
2051
+ "mustSupport": true,
2052
+ "isModifier": false,
2053
+ "mapping": [
2054
+ {
2055
+ "identity": "argonaut-dq-dstu2",
2056
+ "map": "MedicationOrder.prescriber"
2057
+ }
2058
+ ]
2059
+ }
2060
+ ]
2061
+ }
2062
+ }