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,238 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-medication-MaximumDosePerTimePeriod",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR MaximumDosePerTimePeriod Profile</b></p>\n <p>The maximum amount of a medication to be taken in a given period of time.</p>\n <p><b>SHR Mapping Summary</b></p>\n <p><pre>shr.medication.MaximumDosePerTimePeriod maps to Ratio:\n AmountOfMedication maps to numerator\n Duration maps to denominator\n</pre></p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MaximumDosePerTimePeriod",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.medication.MaximumDosePerTimePeriod"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR MaximumDosePerTimePeriod Profile",
17
+ "status": "draft",
18
+ "date": "2017-04-18T15:12:22.275Z",
19
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
20
+ "contact": [
21
+ {
22
+ "telecom": [
23
+ {
24
+ "system": "url",
25
+ "value": "http://www.standardhealthrecord.org"
26
+ }
27
+ ]
28
+ }
29
+ ],
30
+ "description": "The maximum amount of a medication to be taken in a given period of time.",
31
+ "purpose": "Need to able to capture ratios for some measurements (titers) and some rates (costs).",
32
+ "fhirVersion": "3.0.0",
33
+ "mapping": [
34
+ {
35
+ "identity": "v2",
36
+ "uri": "http://hl7.org/v2",
37
+ "name": "HL7 v2 Mapping"
38
+ },
39
+ {
40
+ "identity": "rim",
41
+ "uri": "http://hl7.org/v3",
42
+ "name": "RIM Mapping"
43
+ }
44
+ ],
45
+ "kind": "complex-type",
46
+ "abstract": false,
47
+ "type": "Ratio",
48
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Ratio",
49
+ "derivation": "constraint",
50
+ "snapshot": {
51
+ "element": [
52
+ {
53
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod",
54
+ "path": "Ratio",
55
+ "short": "SHR MaximumDosePerTimePeriod Profile",
56
+ "definition": "The maximum amount of a medication to be taken in a given period of time.",
57
+ "min": 0,
58
+ "max": "*",
59
+ "condition": [
60
+ "ele-1"
61
+ ],
62
+ "constraint": [
63
+ {
64
+ "key": "ele-1",
65
+ "severity": "error",
66
+ "human": "All FHIR elements must have a @value or children",
67
+ "expression": "children().count() > id.count()",
68
+ "xpath": "@value|f:*|h:div",
69
+ "source": "Element"
70
+ },
71
+ {
72
+ "key": "rat-1",
73
+ "severity": "error",
74
+ "human": "Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present",
75
+ "expression": "(numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())",
76
+ "xpath": "(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) > 0) or (count(f:extension) > 0))"
77
+ }
78
+ ],
79
+ "mapping": [
80
+ {
81
+ "identity": "rim",
82
+ "map": "n/a"
83
+ },
84
+ {
85
+ "identity": "v2",
86
+ "map": "N/A"
87
+ },
88
+ {
89
+ "identity": "rim",
90
+ "map": "RTO"
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod.id",
96
+ "path": "Ratio.id",
97
+ "representation": [
98
+ "xmlAttr"
99
+ ],
100
+ "short": "xml:id (or equivalent in JSON)",
101
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
102
+ "min": 0,
103
+ "max": "1",
104
+ "base": {
105
+ "path": "Element.id",
106
+ "min": 0,
107
+ "max": "1"
108
+ },
109
+ "type": [
110
+ {
111
+ "code": "string"
112
+ }
113
+ ],
114
+ "mapping": [
115
+ {
116
+ "identity": "rim",
117
+ "map": "n/a"
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod.extension",
123
+ "path": "Ratio.extension",
124
+ "slicing": {
125
+ "discriminator": [
126
+ {
127
+ "type": "value",
128
+ "path": "url"
129
+ }
130
+ ],
131
+ "description": "Extensions are always sliced by (at least) url",
132
+ "rules": "open"
133
+ },
134
+ "short": "Additional Content defined by implementations",
135
+ "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.",
136
+ "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.",
137
+ "alias": [
138
+ "extensions",
139
+ "user content"
140
+ ],
141
+ "min": 0,
142
+ "max": "*",
143
+ "base": {
144
+ "path": "Element.extension",
145
+ "min": 0,
146
+ "max": "*"
147
+ },
148
+ "type": [
149
+ {
150
+ "code": "Extension"
151
+ }
152
+ ],
153
+ "mapping": [
154
+ {
155
+ "identity": "rim",
156
+ "map": "n/a"
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod.numerator",
162
+ "path": "Ratio.numerator",
163
+ "short": "Numerator value",
164
+ "definition": "The value of the numerator.",
165
+ "min": 1,
166
+ "max": "1",
167
+ "type": [
168
+ {
169
+ "code": "Quantity",
170
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
171
+ }
172
+ ],
173
+ "isSummary": true,
174
+ "mapping": [
175
+ {
176
+ "identity": "rim",
177
+ "map": ".numerator"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod.denominator",
183
+ "path": "Ratio.denominator",
184
+ "short": "Denominator value",
185
+ "definition": "The value of the denominator.",
186
+ "min": 1,
187
+ "max": "1",
188
+ "type": [
189
+ {
190
+ "code": "Quantity",
191
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration"
192
+ }
193
+ ],
194
+ "isSummary": true,
195
+ "mapping": [
196
+ {
197
+ "identity": "rim",
198
+ "map": ".denominator"
199
+ }
200
+ ]
201
+ }
202
+ ]
203
+ },
204
+ "differential": {
205
+ "element": [
206
+ {
207
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod",
208
+ "path": "Ratio",
209
+ "short": "SHR MaximumDosePerTimePeriod Profile",
210
+ "definition": "The maximum amount of a medication to be taken in a given period of time."
211
+ },
212
+ {
213
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod.numerator",
214
+ "path": "Ratio.numerator",
215
+ "min": 1,
216
+ "max": "1",
217
+ "type": [
218
+ {
219
+ "code": "Quantity",
220
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "id": "Ratio:shr-medication-MaximumDosePerTimePeriod.denominator",
226
+ "path": "Ratio.denominator",
227
+ "min": 1,
228
+ "max": "1",
229
+ "type": [
230
+ {
231
+ "code": "Quantity",
232
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration"
233
+ }
234
+ ]
235
+ }
236
+ ]
237
+ }
238
+ }
@@ -0,0 +1,1509 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-medication-Medication",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR Medication Profile</b></p>\n <p>A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines.</p>\n <p><b>SHR Mapping Summary</b></p>\n <p><pre>shr.medication.Medication maps to Medication:\n CodeableConcept maps to code\n DoseForm maps to form\n Ingredient maps to ingredient.item[x].CodeableConcept\n Ingredient.IngredientAmount maps to ingredient.amount.numerator\n Ingredient.AmountOfMedication maps to ingredient.amount.denominator\n Ingredient.IsActiveIngredient maps to ingredient.isActive\n Brand maps to isBrand\n OverTheCounter maps to isOverTheCounter\n</pre></p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.medication.Medication"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR Medication Profile",
17
+ "status": "draft",
18
+ "date": "2017-04-18T15:12:22.233Z",
19
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
20
+ "contact": [
21
+ {
22
+ "telecom": [
23
+ {
24
+ "system": "url",
25
+ "value": "http://www.standardhealthrecord.org"
26
+ }
27
+ ]
28
+ }
29
+ ],
30
+ "description": "A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines.",
31
+ "fhirVersion": "3.0.0",
32
+ "mapping": [
33
+ {
34
+ "identity": "script10.6",
35
+ "uri": "http://ncpdp.org/SCRIPT10_6",
36
+ "name": "Mapping to NCPDP SCRIPT 10.6"
37
+ },
38
+ {
39
+ "identity": "rim",
40
+ "uri": "http://hl7.org/v3",
41
+ "name": "RIM Mapping"
42
+ },
43
+ {
44
+ "identity": "w5",
45
+ "uri": "http://hl7.org/fhir/w5",
46
+ "name": "W5 Mapping"
47
+ },
48
+ {
49
+ "identity": "v2",
50
+ "uri": "http://hl7.org/v2",
51
+ "name": "HL7 v2 Mapping"
52
+ }
53
+ ],
54
+ "kind": "resource",
55
+ "abstract": false,
56
+ "type": "Medication",
57
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
58
+ "derivation": "constraint",
59
+ "snapshot": {
60
+ "element": [
61
+ {
62
+ "id": "Medication:shr-medication-Medication",
63
+ "path": "Medication",
64
+ "short": "SHR Medication Profile",
65
+ "definition": "A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines.",
66
+ "min": 0,
67
+ "max": "*",
68
+ "constraint": [
69
+ {
70
+ "key": "dom-2",
71
+ "severity": "error",
72
+ "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
73
+ "expression": "contained.contained.empty()",
74
+ "xpath": "not(parent::f:contained and f:contained)",
75
+ "source": "DomainResource"
76
+ },
77
+ {
78
+ "key": "dom-1",
79
+ "severity": "error",
80
+ "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
81
+ "expression": "contained.text.empty()",
82
+ "xpath": "not(parent::f:contained and f:text)",
83
+ "source": "DomainResource"
84
+ },
85
+ {
86
+ "key": "dom-4",
87
+ "severity": "error",
88
+ "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
89
+ "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
90
+ "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
91
+ "source": "DomainResource"
92
+ },
93
+ {
94
+ "key": "dom-3",
95
+ "severity": "error",
96
+ "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
97
+ "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
98
+ "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
99
+ "source": "DomainResource"
100
+ }
101
+ ],
102
+ "mapping": [
103
+ {
104
+ "identity": "rim",
105
+ "map": "Entity. Role, or Act"
106
+ },
107
+ {
108
+ "identity": "script10.6",
109
+ "map": "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed"
110
+ },
111
+ {
112
+ "identity": "rim",
113
+ "map": "ManufacturedProduct[classCode=ADMM]"
114
+ },
115
+ {
116
+ "identity": "w5",
117
+ "map": "clinical.medication"
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "id": "Medication:shr-medication-Medication.id",
123
+ "path": "Medication.id",
124
+ "short": "Logical id of this artifact",
125
+ "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
126
+ "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.",
127
+ "min": 0,
128
+ "max": "1",
129
+ "base": {
130
+ "path": "Resource.id",
131
+ "min": 0,
132
+ "max": "1"
133
+ },
134
+ "type": [
135
+ {
136
+ "code": "id"
137
+ }
138
+ ],
139
+ "isSummary": true
140
+ },
141
+ {
142
+ "id": "Medication:shr-medication-Medication.meta",
143
+ "path": "Medication.meta",
144
+ "short": "Metadata about the resource",
145
+ "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.",
146
+ "min": 0,
147
+ "max": "1",
148
+ "base": {
149
+ "path": "Resource.meta",
150
+ "min": 0,
151
+ "max": "1"
152
+ },
153
+ "type": [
154
+ {
155
+ "code": "Meta"
156
+ }
157
+ ],
158
+ "isSummary": true
159
+ },
160
+ {
161
+ "id": "Medication:shr-medication-Medication.implicitRules",
162
+ "path": "Medication.implicitRules",
163
+ "short": "A set of rules under which this content was created",
164
+ "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.",
165
+ "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.",
166
+ "min": 0,
167
+ "max": "1",
168
+ "base": {
169
+ "path": "Resource.implicitRules",
170
+ "min": 0,
171
+ "max": "1"
172
+ },
173
+ "type": [
174
+ {
175
+ "code": "uri"
176
+ }
177
+ ],
178
+ "isModifier": true,
179
+ "isSummary": true
180
+ },
181
+ {
182
+ "id": "Medication:shr-medication-Medication.language",
183
+ "path": "Medication.language",
184
+ "short": "Language of the resource content",
185
+ "definition": "The base language in which the resource is written.",
186
+ "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).",
187
+ "min": 0,
188
+ "max": "1",
189
+ "base": {
190
+ "path": "Resource.language",
191
+ "min": 0,
192
+ "max": "1"
193
+ },
194
+ "type": [
195
+ {
196
+ "code": "code"
197
+ }
198
+ ],
199
+ "binding": {
200
+ "extension": [
201
+ {
202
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
203
+ "valueReference": {
204
+ "reference": "http://hl7.org/fhir/ValueSet/all-languages"
205
+ }
206
+ },
207
+ {
208
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
209
+ "valueString": "Language"
210
+ },
211
+ {
212
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
213
+ "valueBoolean": true
214
+ }
215
+ ],
216
+ "strength": "extensible",
217
+ "description": "A human language.",
218
+ "valueSetReference": {
219
+ "reference": "http://hl7.org/fhir/ValueSet/languages"
220
+ }
221
+ }
222
+ },
223
+ {
224
+ "id": "Medication:shr-medication-Medication.text",
225
+ "path": "Medication.text",
226
+ "short": "Text summary of the resource, for human interpretation",
227
+ "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.",
228
+ "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.",
229
+ "alias": [
230
+ "narrative",
231
+ "html",
232
+ "xhtml",
233
+ "display"
234
+ ],
235
+ "min": 0,
236
+ "max": "1",
237
+ "base": {
238
+ "path": "DomainResource.text",
239
+ "min": 0,
240
+ "max": "1"
241
+ },
242
+ "type": [
243
+ {
244
+ "code": "Narrative"
245
+ }
246
+ ],
247
+ "condition": [
248
+ "dom-1"
249
+ ],
250
+ "mapping": [
251
+ {
252
+ "identity": "rim",
253
+ "map": "Act.text?"
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ "id": "Medication:shr-medication-Medication.contained",
259
+ "path": "Medication.contained",
260
+ "short": "Contained, inline Resources",
261
+ "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.",
262
+ "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.",
263
+ "alias": [
264
+ "inline resources",
265
+ "anonymous resources",
266
+ "contained resources"
267
+ ],
268
+ "min": 0,
269
+ "max": "*",
270
+ "base": {
271
+ "path": "DomainResource.contained",
272
+ "min": 0,
273
+ "max": "*"
274
+ },
275
+ "type": [
276
+ {
277
+ "code": "Resource"
278
+ }
279
+ ],
280
+ "mapping": [
281
+ {
282
+ "identity": "rim",
283
+ "map": "N/A"
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "id": "Medication:shr-medication-Medication.extension",
289
+ "path": "Medication.extension",
290
+ "short": "Additional Content defined by implementations",
291
+ "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.",
292
+ "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.",
293
+ "alias": [
294
+ "extensions",
295
+ "user content"
296
+ ],
297
+ "min": 0,
298
+ "max": "*",
299
+ "base": {
300
+ "path": "DomainResource.extension",
301
+ "min": 0,
302
+ "max": "*"
303
+ },
304
+ "type": [
305
+ {
306
+ "code": "Extension"
307
+ }
308
+ ],
309
+ "mapping": [
310
+ {
311
+ "identity": "rim",
312
+ "map": "N/A"
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "id": "Medication:shr-medication-Medication.modifierExtension",
318
+ "path": "Medication.modifierExtension",
319
+ "short": "Extensions that cannot be ignored",
320
+ "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.",
321
+ "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.",
322
+ "alias": [
323
+ "extensions",
324
+ "user content"
325
+ ],
326
+ "min": 0,
327
+ "max": "*",
328
+ "base": {
329
+ "path": "DomainResource.modifierExtension",
330
+ "min": 0,
331
+ "max": "*"
332
+ },
333
+ "type": [
334
+ {
335
+ "code": "Extension"
336
+ }
337
+ ],
338
+ "isModifier": true,
339
+ "mapping": [
340
+ {
341
+ "identity": "rim",
342
+ "map": "N/A"
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ "id": "Medication:shr-medication-Medication.code",
348
+ "path": "Medication.code",
349
+ "short": "Codes that identify this medication",
350
+ "definition": "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.",
351
+ "comment": "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc.",
352
+ "min": 1,
353
+ "max": "1",
354
+ "type": [
355
+ {
356
+ "code": "CodeableConcept",
357
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
358
+ }
359
+ ],
360
+ "isSummary": true,
361
+ "binding": {
362
+ "strength": "required",
363
+ "valueSetReference": {
364
+ "reference": "http://standardhealthrecord.org/shr/medication/vs/MedicationVS"
365
+ }
366
+ },
367
+ "mapping": [
368
+ {
369
+ "identity": "script10.6",
370
+ "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription"
371
+ },
372
+ {
373
+ "identity": "v2",
374
+ "map": "RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code"
375
+ },
376
+ {
377
+ "identity": "rim",
378
+ "map": ".code"
379
+ },
380
+ {
381
+ "identity": "w5",
382
+ "map": "class"
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "id": "Medication:shr-medication-Medication.status",
388
+ "path": "Medication.status",
389
+ "short": "active | inactive | entered-in-error",
390
+ "definition": "A code to indicate if the medication is in active use.",
391
+ "comment": "This status is not intended to specify if a medication is part of a formulary.",
392
+ "min": 0,
393
+ "max": "1",
394
+ "type": [
395
+ {
396
+ "code": "code"
397
+ }
398
+ ],
399
+ "isSummary": true,
400
+ "binding": {
401
+ "extension": [
402
+ {
403
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
404
+ "valueString": "MedicationStatus"
405
+ }
406
+ ],
407
+ "strength": "required",
408
+ "description": "A coded concept defining if the medication is in active use",
409
+ "valueSetReference": {
410
+ "reference": "http://hl7.org/fhir/ValueSet/medication-status"
411
+ }
412
+ },
413
+ "mapping": [
414
+ {
415
+ "identity": "rim",
416
+ "map": ".statusCode"
417
+ }
418
+ ]
419
+ },
420
+ {
421
+ "id": "Medication:shr-medication-Medication.isBrand",
422
+ "path": "Medication.isBrand",
423
+ "short": "True if a brand",
424
+ "definition": "Set to true if the item is attributable to a specific manufacturer.",
425
+ "min": 0,
426
+ "max": "1",
427
+ "type": [
428
+ {
429
+ "code": "boolean"
430
+ }
431
+ ],
432
+ "isSummary": true,
433
+ "mapping": [
434
+ {
435
+ "identity": "script10.6",
436
+ "map": "no mapping"
437
+ },
438
+ {
439
+ "identity": "rim",
440
+ "map": "true if .player.scopingRole[typeCode=MANU] exists"
441
+ },
442
+ {
443
+ "identity": "w5",
444
+ "map": "class"
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "id": "Medication:shr-medication-Medication.isOverTheCounter",
450
+ "path": "Medication.isOverTheCounter",
451
+ "short": "True if medication does not require a prescription",
452
+ "definition": "Set to true if the medication can be obtained without an order from a prescriber.",
453
+ "min": 0,
454
+ "max": "1",
455
+ "type": [
456
+ {
457
+ "code": "boolean"
458
+ }
459
+ ],
460
+ "isSummary": true,
461
+ "mapping": [
462
+ {
463
+ "identity": "rim",
464
+ "map": "NA"
465
+ },
466
+ {
467
+ "identity": "w5",
468
+ "map": "class"
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "id": "Medication:shr-medication-Medication.manufacturer",
474
+ "path": "Medication.manufacturer",
475
+ "short": "Manufacturer of the item",
476
+ "definition": "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.",
477
+ "min": 0,
478
+ "max": "1",
479
+ "type": [
480
+ {
481
+ "code": "Reference",
482
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
483
+ }
484
+ ],
485
+ "isSummary": true,
486
+ "mapping": [
487
+ {
488
+ "identity": "script10.6",
489
+ "map": "no mapping"
490
+ },
491
+ {
492
+ "identity": "v2",
493
+ "map": "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name"
494
+ },
495
+ {
496
+ "identity": "rim",
497
+ "map": ".player.scopingRole[typeCode=MANU].scoper"
498
+ },
499
+ {
500
+ "identity": "w5",
501
+ "map": "who.actor"
502
+ }
503
+ ]
504
+ },
505
+ {
506
+ "id": "Medication:shr-medication-Medication.form",
507
+ "path": "Medication.form",
508
+ "short": "powder | tablets | capsule +",
509
+ "definition": "Describes the form of the item. Powder; tablets; capsule.",
510
+ "comment": "When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.",
511
+ "min": 0,
512
+ "max": "1",
513
+ "type": [
514
+ {
515
+ "code": "CodeableConcept",
516
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
517
+ }
518
+ ],
519
+ "binding": {
520
+ "extension": [
521
+ {
522
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
523
+ "valueString": "MedicationForm"
524
+ }
525
+ ],
526
+ "strength": "example",
527
+ "description": "A coded concept defining the form of a medication",
528
+ "valueSetReference": {
529
+ "reference": "http://hl7.org/fhir/ValueSet/medication-form-codes"
530
+ }
531
+ },
532
+ "mapping": [
533
+ {
534
+ "identity": "script10.6",
535
+ "map": "coding.code = //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode"
536
+ },
537
+ {
538
+ "identity": "v2",
539
+ "map": "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form"
540
+ },
541
+ {
542
+ "identity": "rim",
543
+ "map": ".formCode"
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "id": "Medication:shr-medication-Medication.ingredient",
549
+ "path": "Medication.ingredient",
550
+ "short": "Active or inactive ingredient",
551
+ "definition": "Identifies a particular constituent of interest in the product.",
552
+ "comment": "The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.",
553
+ "min": 0,
554
+ "max": "*",
555
+ "type": [
556
+ {
557
+ "code": "BackboneElement"
558
+ }
559
+ ],
560
+ "constraint": [
561
+ {
562
+ "key": "ele-1",
563
+ "severity": "error",
564
+ "human": "All FHIR elements must have a @value or children",
565
+ "expression": "children().count() > id.count()",
566
+ "xpath": "@value|f:*|h:div",
567
+ "source": "Element"
568
+ }
569
+ ],
570
+ "mapping": [
571
+ {
572
+ "identity": "rim",
573
+ "map": ".scopesRole[typeCode=INGR]"
574
+ }
575
+ ]
576
+ },
577
+ {
578
+ "id": "Medication:shr-medication-Medication.ingredient.id",
579
+ "path": "Medication.ingredient.id",
580
+ "representation": [
581
+ "xmlAttr"
582
+ ],
583
+ "short": "xml:id (or equivalent in JSON)",
584
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
585
+ "min": 0,
586
+ "max": "1",
587
+ "base": {
588
+ "path": "Element.id",
589
+ "min": 0,
590
+ "max": "1"
591
+ },
592
+ "type": [
593
+ {
594
+ "code": "string"
595
+ }
596
+ ],
597
+ "mapping": [
598
+ {
599
+ "identity": "rim",
600
+ "map": "n/a"
601
+ }
602
+ ]
603
+ },
604
+ {
605
+ "id": "Medication:shr-medication-Medication.ingredient.extension",
606
+ "path": "Medication.ingredient.extension",
607
+ "short": "Additional Content defined by implementations",
608
+ "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.",
609
+ "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.",
610
+ "alias": [
611
+ "extensions",
612
+ "user content"
613
+ ],
614
+ "min": 0,
615
+ "max": "*",
616
+ "base": {
617
+ "path": "Element.extension",
618
+ "min": 0,
619
+ "max": "*"
620
+ },
621
+ "type": [
622
+ {
623
+ "code": "Extension"
624
+ }
625
+ ],
626
+ "mapping": [
627
+ {
628
+ "identity": "rim",
629
+ "map": "n/a"
630
+ }
631
+ ]
632
+ },
633
+ {
634
+ "id": "Medication:shr-medication-Medication.ingredient.modifierExtension",
635
+ "path": "Medication.ingredient.modifierExtension",
636
+ "short": "Extensions that cannot be ignored",
637
+ "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.",
638
+ "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.",
639
+ "alias": [
640
+ "extensions",
641
+ "user content",
642
+ "modifiers"
643
+ ],
644
+ "min": 0,
645
+ "max": "*",
646
+ "base": {
647
+ "path": "BackboneElement.modifierExtension",
648
+ "min": 0,
649
+ "max": "*"
650
+ },
651
+ "type": [
652
+ {
653
+ "code": "Extension"
654
+ }
655
+ ],
656
+ "isModifier": true,
657
+ "isSummary": true,
658
+ "mapping": [
659
+ {
660
+ "identity": "rim",
661
+ "map": "N/A"
662
+ }
663
+ ]
664
+ },
665
+ {
666
+ "id": "Medication:shr-medication-Medication.ingredient.item[x]",
667
+ "path": "Medication.ingredient.item[x]",
668
+ "slicing": {
669
+ "id": "177",
670
+ "discriminator": [
671
+ {
672
+ "type": "type",
673
+ "path": "$this"
674
+ }
675
+ ],
676
+ "ordered": false,
677
+ "rules": "open"
678
+ },
679
+ "short": "The product contained",
680
+ "definition": "The actual ingredient - either a substance (simple ingredient) or another medication.",
681
+ "min": 1,
682
+ "max": "1",
683
+ "type": [
684
+ {
685
+ "code": "CodeableConcept",
686
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
687
+ }
688
+ ],
689
+ "mapping": [
690
+ {
691
+ "identity": "script10.6",
692
+ "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription"
693
+ },
694
+ {
695
+ "identity": "v2",
696
+ "map": "RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code"
697
+ },
698
+ {
699
+ "identity": "rim",
700
+ "map": ".player"
701
+ }
702
+ ]
703
+ },
704
+ {
705
+ "id": "Medication:shr-medication-Medication.ingredient.itemCodeableConcept:shr-core-CodeableConcept",
706
+ "path": "Medication.ingredient.itemCodeableConcept",
707
+ "sliceName": "shr-core-CodeableConcept",
708
+ "short": "The product contained",
709
+ "definition": "The actual ingredient - either a substance (simple ingredient) or another medication.",
710
+ "min": 1,
711
+ "max": "1",
712
+ "type": [
713
+ {
714
+ "code": "CodeableConcept",
715
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
716
+ }
717
+ ],
718
+ "binding": {
719
+ "strength": "required",
720
+ "valueSetReference": {
721
+ "reference": "http://standardhealthrecord.org/shr/medication/vs/MedicationVS"
722
+ }
723
+ }
724
+ },
725
+ {
726
+ "id": "Medication:shr-medication-Medication.ingredient.isActive",
727
+ "path": "Medication.ingredient.isActive",
728
+ "short": "Active ingredient indicator",
729
+ "definition": "Indication of whether this ingredient affects the therapeutic action of the drug.",
730
+ "requirements": "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).",
731
+ "min": 0,
732
+ "max": "1",
733
+ "type": [
734
+ {
735
+ "code": "boolean"
736
+ }
737
+ ],
738
+ "mapping": [
739
+ {
740
+ "identity": "rim",
741
+ "map": "NA"
742
+ }
743
+ ]
744
+ },
745
+ {
746
+ "id": "Medication:shr-medication-Medication.ingredient.amount",
747
+ "path": "Medication.ingredient.amount",
748
+ "short": "Quantity of ingredient present",
749
+ "definition": "Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.",
750
+ "min": 0,
751
+ "max": "1",
752
+ "type": [
753
+ {
754
+ "code": "Ratio"
755
+ }
756
+ ],
757
+ "mapping": [
758
+ {
759
+ "identity": "script10.6",
760
+ "map": "//element(*,DrugCodedType)/Strength"
761
+ },
762
+ {
763
+ "identity": "v2",
764
+ "map": "RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units"
765
+ },
766
+ {
767
+ "identity": "rim",
768
+ "map": ".quantity"
769
+ }
770
+ ]
771
+ },
772
+ {
773
+ "id": "Medication:shr-medication-Medication.ingredient.amount.id",
774
+ "path": "Medication.ingredient.amount.id",
775
+ "representation": [
776
+ "xmlAttr"
777
+ ],
778
+ "short": "xml:id (or equivalent in JSON)",
779
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
780
+ "min": 0,
781
+ "max": "1",
782
+ "base": {
783
+ "path": "Element.id",
784
+ "min": 0,
785
+ "max": "1"
786
+ },
787
+ "type": [
788
+ {
789
+ "code": "string"
790
+ }
791
+ ],
792
+ "mapping": [
793
+ {
794
+ "identity": "rim",
795
+ "map": "n/a"
796
+ }
797
+ ]
798
+ },
799
+ {
800
+ "id": "Medication:shr-medication-Medication.ingredient.amount.extension",
801
+ "path": "Medication.ingredient.amount.extension",
802
+ "slicing": {
803
+ "discriminator": [
804
+ {
805
+ "type": "value",
806
+ "path": "url"
807
+ }
808
+ ],
809
+ "description": "Extensions are always sliced by (at least) url",
810
+ "rules": "open"
811
+ },
812
+ "short": "Additional Content defined by implementations",
813
+ "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.",
814
+ "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.",
815
+ "alias": [
816
+ "extensions",
817
+ "user content"
818
+ ],
819
+ "min": 0,
820
+ "max": "*",
821
+ "base": {
822
+ "path": "Element.extension",
823
+ "min": 0,
824
+ "max": "*"
825
+ },
826
+ "type": [
827
+ {
828
+ "code": "Extension"
829
+ }
830
+ ],
831
+ "mapping": [
832
+ {
833
+ "identity": "rim",
834
+ "map": "n/a"
835
+ }
836
+ ]
837
+ },
838
+ {
839
+ "id": "Medication:shr-medication-Medication.ingredient.amount.numerator",
840
+ "path": "Medication.ingredient.amount.numerator",
841
+ "short": "Numerator value",
842
+ "definition": "The value of the numerator.",
843
+ "min": 0,
844
+ "max": "1",
845
+ "type": [
846
+ {
847
+ "code": "Quantity",
848
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
849
+ }
850
+ ],
851
+ "isSummary": true,
852
+ "mapping": [
853
+ {
854
+ "identity": "rim",
855
+ "map": ".numerator"
856
+ }
857
+ ]
858
+ },
859
+ {
860
+ "id": "Medication:shr-medication-Medication.ingredient.amount.denominator",
861
+ "path": "Medication.ingredient.amount.denominator",
862
+ "short": "Denominator value",
863
+ "definition": "The value of the denominator.",
864
+ "min": 0,
865
+ "max": "1",
866
+ "type": [
867
+ {
868
+ "code": "Quantity",
869
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
870
+ }
871
+ ],
872
+ "isSummary": true,
873
+ "mapping": [
874
+ {
875
+ "identity": "rim",
876
+ "map": ".denominator"
877
+ }
878
+ ]
879
+ },
880
+ {
881
+ "id": "Medication:shr-medication-Medication.package",
882
+ "path": "Medication.package",
883
+ "short": "Details about packaged medications",
884
+ "definition": "Information that only applies to packages (not products).",
885
+ "min": 0,
886
+ "max": "1",
887
+ "type": [
888
+ {
889
+ "code": "BackboneElement"
890
+ }
891
+ ],
892
+ "constraint": [
893
+ {
894
+ "key": "ele-1",
895
+ "severity": "error",
896
+ "human": "All FHIR elements must have a @value or children",
897
+ "expression": "children().count() > id.count()",
898
+ "xpath": "@value|f:*|h:div",
899
+ "source": "Element"
900
+ }
901
+ ],
902
+ "mapping": [
903
+ {
904
+ "identity": "script10.6",
905
+ "map": "no mapping"
906
+ },
907
+ {
908
+ "identity": "rim",
909
+ "map": ".player[classCode=CONT]"
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "id": "Medication:shr-medication-Medication.package.id",
915
+ "path": "Medication.package.id",
916
+ "representation": [
917
+ "xmlAttr"
918
+ ],
919
+ "short": "xml:id (or equivalent in JSON)",
920
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
921
+ "min": 0,
922
+ "max": "1",
923
+ "base": {
924
+ "path": "Element.id",
925
+ "min": 0,
926
+ "max": "1"
927
+ },
928
+ "type": [
929
+ {
930
+ "code": "string"
931
+ }
932
+ ],
933
+ "mapping": [
934
+ {
935
+ "identity": "rim",
936
+ "map": "n/a"
937
+ }
938
+ ]
939
+ },
940
+ {
941
+ "id": "Medication:shr-medication-Medication.package.extension",
942
+ "path": "Medication.package.extension",
943
+ "short": "Additional Content defined by implementations",
944
+ "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.",
945
+ "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.",
946
+ "alias": [
947
+ "extensions",
948
+ "user content"
949
+ ],
950
+ "min": 0,
951
+ "max": "*",
952
+ "base": {
953
+ "path": "Element.extension",
954
+ "min": 0,
955
+ "max": "*"
956
+ },
957
+ "type": [
958
+ {
959
+ "code": "Extension"
960
+ }
961
+ ],
962
+ "mapping": [
963
+ {
964
+ "identity": "rim",
965
+ "map": "n/a"
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "id": "Medication:shr-medication-Medication.package.modifierExtension",
971
+ "path": "Medication.package.modifierExtension",
972
+ "short": "Extensions that cannot be ignored",
973
+ "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.",
974
+ "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.",
975
+ "alias": [
976
+ "extensions",
977
+ "user content",
978
+ "modifiers"
979
+ ],
980
+ "min": 0,
981
+ "max": "*",
982
+ "base": {
983
+ "path": "BackboneElement.modifierExtension",
984
+ "min": 0,
985
+ "max": "*"
986
+ },
987
+ "type": [
988
+ {
989
+ "code": "Extension"
990
+ }
991
+ ],
992
+ "isModifier": true,
993
+ "isSummary": true,
994
+ "mapping": [
995
+ {
996
+ "identity": "rim",
997
+ "map": "N/A"
998
+ }
999
+ ]
1000
+ },
1001
+ {
1002
+ "id": "Medication:shr-medication-Medication.package.container",
1003
+ "path": "Medication.package.container",
1004
+ "short": "E.g. box, vial, blister-pack",
1005
+ "definition": "The kind of container that this package comes as.",
1006
+ "min": 0,
1007
+ "max": "1",
1008
+ "type": [
1009
+ {
1010
+ "code": "CodeableConcept"
1011
+ }
1012
+ ],
1013
+ "binding": {
1014
+ "extension": [
1015
+ {
1016
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1017
+ "valueString": "MedicationContainer"
1018
+ }
1019
+ ],
1020
+ "strength": "example",
1021
+ "description": "A coded concept defining the kind of container a medication package is packaged in",
1022
+ "valueSetReference": {
1023
+ "reference": "http://hl7.org/fhir/ValueSet/medication-package-form"
1024
+ }
1025
+ },
1026
+ "mapping": [
1027
+ {
1028
+ "identity": "script10.6",
1029
+ "map": "no mapping"
1030
+ },
1031
+ {
1032
+ "identity": "rim",
1033
+ "map": ".code"
1034
+ }
1035
+ ]
1036
+ },
1037
+ {
1038
+ "id": "Medication:shr-medication-Medication.package.content",
1039
+ "path": "Medication.package.content",
1040
+ "short": "What is in the package",
1041
+ "definition": "A set of components that go to make up the described item.",
1042
+ "min": 0,
1043
+ "max": "*",
1044
+ "type": [
1045
+ {
1046
+ "code": "BackboneElement"
1047
+ }
1048
+ ],
1049
+ "constraint": [
1050
+ {
1051
+ "key": "ele-1",
1052
+ "severity": "error",
1053
+ "human": "All FHIR elements must have a @value or children",
1054
+ "expression": "children().count() > id.count()",
1055
+ "xpath": "@value|f:*|h:div",
1056
+ "source": "Element"
1057
+ }
1058
+ ],
1059
+ "mapping": [
1060
+ {
1061
+ "identity": "script10.6",
1062
+ "map": "no mapping"
1063
+ },
1064
+ {
1065
+ "identity": "rim",
1066
+ "map": ".scopesRole[typeCode=CONT]"
1067
+ }
1068
+ ]
1069
+ },
1070
+ {
1071
+ "id": "Medication:shr-medication-Medication.package.content.id",
1072
+ "path": "Medication.package.content.id",
1073
+ "representation": [
1074
+ "xmlAttr"
1075
+ ],
1076
+ "short": "xml:id (or equivalent in JSON)",
1077
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1078
+ "min": 0,
1079
+ "max": "1",
1080
+ "base": {
1081
+ "path": "Element.id",
1082
+ "min": 0,
1083
+ "max": "1"
1084
+ },
1085
+ "type": [
1086
+ {
1087
+ "code": "string"
1088
+ }
1089
+ ],
1090
+ "mapping": [
1091
+ {
1092
+ "identity": "rim",
1093
+ "map": "n/a"
1094
+ }
1095
+ ]
1096
+ },
1097
+ {
1098
+ "id": "Medication:shr-medication-Medication.package.content.extension",
1099
+ "path": "Medication.package.content.extension",
1100
+ "short": "Additional Content defined by implementations",
1101
+ "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.",
1102
+ "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.",
1103
+ "alias": [
1104
+ "extensions",
1105
+ "user content"
1106
+ ],
1107
+ "min": 0,
1108
+ "max": "*",
1109
+ "base": {
1110
+ "path": "Element.extension",
1111
+ "min": 0,
1112
+ "max": "*"
1113
+ },
1114
+ "type": [
1115
+ {
1116
+ "code": "Extension"
1117
+ }
1118
+ ],
1119
+ "mapping": [
1120
+ {
1121
+ "identity": "rim",
1122
+ "map": "n/a"
1123
+ }
1124
+ ]
1125
+ },
1126
+ {
1127
+ "id": "Medication:shr-medication-Medication.package.content.modifierExtension",
1128
+ "path": "Medication.package.content.modifierExtension",
1129
+ "short": "Extensions that cannot be ignored",
1130
+ "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.",
1131
+ "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.",
1132
+ "alias": [
1133
+ "extensions",
1134
+ "user content",
1135
+ "modifiers"
1136
+ ],
1137
+ "min": 0,
1138
+ "max": "*",
1139
+ "base": {
1140
+ "path": "BackboneElement.modifierExtension",
1141
+ "min": 0,
1142
+ "max": "*"
1143
+ },
1144
+ "type": [
1145
+ {
1146
+ "code": "Extension"
1147
+ }
1148
+ ],
1149
+ "isModifier": true,
1150
+ "isSummary": true,
1151
+ "mapping": [
1152
+ {
1153
+ "identity": "rim",
1154
+ "map": "N/A"
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "id": "Medication:shr-medication-Medication.package.content.item[x]",
1160
+ "path": "Medication.package.content.item[x]",
1161
+ "short": "The item in the package",
1162
+ "definition": "Identifies one of the items in the package.",
1163
+ "min": 1,
1164
+ "max": "1",
1165
+ "type": [
1166
+ {
1167
+ "code": "CodeableConcept"
1168
+ },
1169
+ {
1170
+ "code": "Reference",
1171
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication"
1172
+ }
1173
+ ],
1174
+ "mapping": [
1175
+ {
1176
+ "identity": "script10.6",
1177
+ "map": "no mapping"
1178
+ },
1179
+ {
1180
+ "identity": "rim",
1181
+ "map": ".player"
1182
+ }
1183
+ ]
1184
+ },
1185
+ {
1186
+ "id": "Medication:shr-medication-Medication.package.content.amount",
1187
+ "path": "Medication.package.content.amount",
1188
+ "short": "Quantity present in the package",
1189
+ "definition": "The amount of the product that is in the package.",
1190
+ "min": 0,
1191
+ "max": "1",
1192
+ "type": [
1193
+ {
1194
+ "code": "Quantity",
1195
+ "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
1196
+ }
1197
+ ],
1198
+ "mapping": [
1199
+ {
1200
+ "identity": "script10.6",
1201
+ "map": "no mapping"
1202
+ },
1203
+ {
1204
+ "identity": "rim",
1205
+ "map": ".quantity"
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ "id": "Medication:shr-medication-Medication.package.batch",
1211
+ "path": "Medication.package.batch",
1212
+ "short": "Identifies a single production run",
1213
+ "definition": "Information about a group of medication produced or packaged from one production run.",
1214
+ "min": 0,
1215
+ "max": "*",
1216
+ "type": [
1217
+ {
1218
+ "code": "BackboneElement"
1219
+ }
1220
+ ],
1221
+ "constraint": [
1222
+ {
1223
+ "key": "ele-1",
1224
+ "severity": "error",
1225
+ "human": "All FHIR elements must have a @value or children",
1226
+ "expression": "children().count() > id.count()",
1227
+ "xpath": "@value|f:*|h:div",
1228
+ "source": "Element"
1229
+ }
1230
+ ],
1231
+ "mapping": [
1232
+ {
1233
+ "identity": "script10.6",
1234
+ "map": "no mapping"
1235
+ },
1236
+ {
1237
+ "identity": "rim",
1238
+ "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id"
1239
+ }
1240
+ ]
1241
+ },
1242
+ {
1243
+ "id": "Medication:shr-medication-Medication.package.batch.id",
1244
+ "path": "Medication.package.batch.id",
1245
+ "representation": [
1246
+ "xmlAttr"
1247
+ ],
1248
+ "short": "xml:id (or equivalent in JSON)",
1249
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1250
+ "min": 0,
1251
+ "max": "1",
1252
+ "base": {
1253
+ "path": "Element.id",
1254
+ "min": 0,
1255
+ "max": "1"
1256
+ },
1257
+ "type": [
1258
+ {
1259
+ "code": "string"
1260
+ }
1261
+ ],
1262
+ "mapping": [
1263
+ {
1264
+ "identity": "rim",
1265
+ "map": "n/a"
1266
+ }
1267
+ ]
1268
+ },
1269
+ {
1270
+ "id": "Medication:shr-medication-Medication.package.batch.extension",
1271
+ "path": "Medication.package.batch.extension",
1272
+ "short": "Additional Content defined by implementations",
1273
+ "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.",
1274
+ "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.",
1275
+ "alias": [
1276
+ "extensions",
1277
+ "user content"
1278
+ ],
1279
+ "min": 0,
1280
+ "max": "*",
1281
+ "base": {
1282
+ "path": "Element.extension",
1283
+ "min": 0,
1284
+ "max": "*"
1285
+ },
1286
+ "type": [
1287
+ {
1288
+ "code": "Extension"
1289
+ }
1290
+ ],
1291
+ "mapping": [
1292
+ {
1293
+ "identity": "rim",
1294
+ "map": "n/a"
1295
+ }
1296
+ ]
1297
+ },
1298
+ {
1299
+ "id": "Medication:shr-medication-Medication.package.batch.modifierExtension",
1300
+ "path": "Medication.package.batch.modifierExtension",
1301
+ "short": "Extensions that cannot be ignored",
1302
+ "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.",
1303
+ "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.",
1304
+ "alias": [
1305
+ "extensions",
1306
+ "user content",
1307
+ "modifiers"
1308
+ ],
1309
+ "min": 0,
1310
+ "max": "*",
1311
+ "base": {
1312
+ "path": "BackboneElement.modifierExtension",
1313
+ "min": 0,
1314
+ "max": "*"
1315
+ },
1316
+ "type": [
1317
+ {
1318
+ "code": "Extension"
1319
+ }
1320
+ ],
1321
+ "isModifier": true,
1322
+ "isSummary": true,
1323
+ "mapping": [
1324
+ {
1325
+ "identity": "rim",
1326
+ "map": "N/A"
1327
+ }
1328
+ ]
1329
+ },
1330
+ {
1331
+ "id": "Medication:shr-medication-Medication.package.batch.lotNumber",
1332
+ "path": "Medication.package.batch.lotNumber",
1333
+ "short": "Identifier assigned to batch",
1334
+ "definition": "The assigned lot number of a batch of the specified product.",
1335
+ "min": 0,
1336
+ "max": "1",
1337
+ "type": [
1338
+ {
1339
+ "code": "string"
1340
+ }
1341
+ ],
1342
+ "mapping": [
1343
+ {
1344
+ "identity": "script10.6",
1345
+ "map": "no mapping"
1346
+ },
1347
+ {
1348
+ "identity": "v2",
1349
+ "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number"
1350
+ },
1351
+ {
1352
+ "identity": "rim",
1353
+ "map": ".id"
1354
+ }
1355
+ ]
1356
+ },
1357
+ {
1358
+ "id": "Medication:shr-medication-Medication.package.batch.expirationDate",
1359
+ "path": "Medication.package.batch.expirationDate",
1360
+ "short": "When batch will expire",
1361
+ "definition": "When this specific batch of product will expire.",
1362
+ "min": 0,
1363
+ "max": "1",
1364
+ "type": [
1365
+ {
1366
+ "code": "dateTime"
1367
+ }
1368
+ ],
1369
+ "mapping": [
1370
+ {
1371
+ "identity": "script10.6",
1372
+ "map": "no mapping"
1373
+ },
1374
+ {
1375
+ "identity": "v2",
1376
+ "map": "RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date"
1377
+ },
1378
+ {
1379
+ "identity": "rim",
1380
+ "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "id": "Medication:shr-medication-Medication.image",
1386
+ "path": "Medication.image",
1387
+ "short": "Picture of the medication",
1388
+ "definition": "Photo(s) or graphic representation(s) of the medication.",
1389
+ "requirements": "Note that \"image\" is only applicable when the medication.code represents a physical item (e.g. Amoxil 250 mg capsule) and not an abstract item (e.g. amoxicillin 250 mg).",
1390
+ "min": 0,
1391
+ "max": "*",
1392
+ "type": [
1393
+ {
1394
+ "code": "Attachment"
1395
+ }
1396
+ ],
1397
+ "mapping": [
1398
+ {
1399
+ "identity": "rim",
1400
+ "map": ".participation[typeCode=SUBJ].role[classCode=MANU],source[classCode=OBS,moodCode=EVN,code=\"type of image\"].value(ED.image)"
1401
+ }
1402
+ ]
1403
+ }
1404
+ ]
1405
+ },
1406
+ "differential": {
1407
+ "element": [
1408
+ {
1409
+ "id": "Medication:shr-medication-Medication",
1410
+ "path": "Medication",
1411
+ "short": "SHR Medication Profile",
1412
+ "definition": "A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines."
1413
+ },
1414
+ {
1415
+ "id": "Medication:shr-medication-Medication.code",
1416
+ "path": "Medication.code",
1417
+ "min": 1,
1418
+ "max": "1",
1419
+ "type": [
1420
+ {
1421
+ "code": "CodeableConcept",
1422
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1423
+ }
1424
+ ],
1425
+ "binding": {
1426
+ "strength": "required",
1427
+ "valueSetReference": {
1428
+ "reference": "http://standardhealthrecord.org/shr/medication/vs/MedicationVS"
1429
+ }
1430
+ }
1431
+ },
1432
+ {
1433
+ "id": "Medication:shr-medication-Medication.form",
1434
+ "path": "Medication.form",
1435
+ "type": [
1436
+ {
1437
+ "code": "CodeableConcept",
1438
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1439
+ }
1440
+ ]
1441
+ },
1442
+ {
1443
+ "id": "Medication:shr-medication-Medication.ingredient",
1444
+ "path": "Medication.ingredient"
1445
+ },
1446
+ {
1447
+ "id": "Medication:shr-medication-Medication.ingredient.item[x]",
1448
+ "path": "Medication.ingredient.item[x]",
1449
+ "slicing": {
1450
+ "id": "177",
1451
+ "discriminator": [
1452
+ {
1453
+ "type": "type",
1454
+ "path": "$this"
1455
+ }
1456
+ ],
1457
+ "ordered": false,
1458
+ "rules": "open"
1459
+ },
1460
+ "type": [
1461
+ {
1462
+ "code": "CodeableConcept",
1463
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1464
+ }
1465
+ ]
1466
+ },
1467
+ {
1468
+ "id": "Medication:shr-medication-Medication.ingredient.itemCodeableConcept:shr-core-CodeableConcept",
1469
+ "path": "Medication.ingredient.itemCodeableConcept",
1470
+ "type": [
1471
+ {
1472
+ "code": "CodeableConcept",
1473
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1474
+ }
1475
+ ],
1476
+ "binding": {
1477
+ "strength": "required",
1478
+ "valueSetReference": {
1479
+ "reference": "http://standardhealthrecord.org/shr/medication/vs/MedicationVS"
1480
+ }
1481
+ }
1482
+ },
1483
+ {
1484
+ "id": "Medication:shr-medication-Medication.ingredient.amount",
1485
+ "path": "Medication.ingredient.amount"
1486
+ },
1487
+ {
1488
+ "id": "Medication:shr-medication-Medication.ingredient.amount.numerator",
1489
+ "path": "Medication.ingredient.amount.numerator",
1490
+ "type": [
1491
+ {
1492
+ "code": "Quantity",
1493
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
1494
+ }
1495
+ ]
1496
+ },
1497
+ {
1498
+ "id": "Medication:shr-medication-Medication.ingredient.amount.denominator",
1499
+ "path": "Medication.ingredient.amount.denominator",
1500
+ "type": [
1501
+ {
1502
+ "code": "Quantity",
1503
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity"
1504
+ }
1505
+ ]
1506
+ }
1507
+ ]
1508
+ }
1509
+ }