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,218 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-medication-MedicationAfterChange-extension",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR MedicationAfterChange Extension</b></p>\n <p>A medication taken, after the change.</p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.medication.MedicationAfterChange"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR MedicationAfterChange Extension",
17
+ "title": "SHR MedicationAfterChange Extension",
18
+ "status": "draft",
19
+ "date": "2017-04-18T15:12:22.404Z",
20
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
21
+ "contact": [
22
+ {
23
+ "telecom": [
24
+ {
25
+ "system": "url",
26
+ "value": "http://www.standardhealthrecord.org"
27
+ }
28
+ ]
29
+ }
30
+ ],
31
+ "description": "A medication taken, after the change.",
32
+ "fhirVersion": "3.0.0",
33
+ "kind": "complex-type",
34
+ "abstract": false,
35
+ "contextType": "resource",
36
+ "context": [
37
+ "*"
38
+ ],
39
+ "type": "Extension",
40
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
41
+ "derivation": "constraint",
42
+ "snapshot": {
43
+ "element": [
44
+ {
45
+ "id": "Extension:medicationafterchange",
46
+ "path": "Extension",
47
+ "short": "SHR MedicationAfterChange Extension",
48
+ "definition": "A medication taken, after the change.",
49
+ "min": 0,
50
+ "max": "*",
51
+ "base": {
52
+ "path": "Extension",
53
+ "min": 0,
54
+ "max": "1"
55
+ },
56
+ "condition": [
57
+ "ele-1"
58
+ ],
59
+ "constraint": [
60
+ {
61
+ "key": "ele-1",
62
+ "severity": "error",
63
+ "human": "All FHIR elements must have a @value or children",
64
+ "expression": "children().count() > id.count()",
65
+ "xpath": "@value|f:*|h:div",
66
+ "source": "Element"
67
+ },
68
+ {
69
+ "key": "ext-1",
70
+ "severity": "error",
71
+ "human": "Must have either extensions or value[x], not both",
72
+ "expression": "extension.exists() != value.exists()",
73
+ "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
74
+ "source": "Extension"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "id": "Extension:medicationafterchange.id",
80
+ "path": "Extension.id",
81
+ "representation": [
82
+ "xmlAttr"
83
+ ],
84
+ "short": "xml:id (or equivalent in JSON)",
85
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
86
+ "min": 0,
87
+ "max": "1",
88
+ "base": {
89
+ "path": "Element.id",
90
+ "min": 0,
91
+ "max": "1"
92
+ },
93
+ "type": [
94
+ {
95
+ "code": "string"
96
+ }
97
+ ],
98
+ "mapping": [
99
+ {
100
+ "identity": "rim",
101
+ "map": "N/A"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "id": "Extension:medicationafterchange.extension:extension",
107
+ "path": "Extension.extension",
108
+ "sliceName": "extension",
109
+ "short": "Extension",
110
+ "definition": "An Extension",
111
+ "min": 0,
112
+ "max": "0",
113
+ "base": {
114
+ "path": "Element.extension",
115
+ "min": 0,
116
+ "max": "*"
117
+ },
118
+ "type": [
119
+ {
120
+ "code": "Extension"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "id": "Extension:medicationafterchange.url",
126
+ "path": "Extension.url",
127
+ "representation": [
128
+ "xmlAttr"
129
+ ],
130
+ "short": "identifies the meaning of the extension",
131
+ "definition": "Source of the definition for the extension code - a logical name or a URL.",
132
+ "min": 1,
133
+ "max": "1",
134
+ "base": {
135
+ "path": "Extension.url",
136
+ "min": 1,
137
+ "max": "1"
138
+ },
139
+ "type": [
140
+ {
141
+ "code": "uri"
142
+ }
143
+ ],
144
+ "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension",
145
+ "mapping": [
146
+ {
147
+ "identity": "rim",
148
+ "map": "N/A"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "id": "Extension:medicationafterchange.valueReference",
154
+ "path": "Extension.valueReference",
155
+ "short": "Value of extension",
156
+ "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
157
+ "min": 1,
158
+ "max": "1",
159
+ "base": {
160
+ "path": "Extension.value[x]",
161
+ "min": 0,
162
+ "max": "1"
163
+ },
164
+ "type": [
165
+ {
166
+ "code": "Reference",
167
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse"
168
+ }
169
+ ],
170
+ "mapping": [
171
+ {
172
+ "identity": "rim",
173
+ "map": "N/A"
174
+ }
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ "differential": {
180
+ "element": [
181
+ {
182
+ "id": "Extension:medicationafterchange",
183
+ "path": "Extension",
184
+ "short": "SHR MedicationAfterChange Extension",
185
+ "definition": "A medication taken, after the change.",
186
+ "min": 0,
187
+ "max": "*"
188
+ },
189
+ {
190
+ "id": "Extension:medicationafterchange.extension:extension",
191
+ "path": "Extension.extension",
192
+ "sliceName": "extension",
193
+ "max": "0"
194
+ },
195
+ {
196
+ "id": "Extension:medicationafterchange.url",
197
+ "path": "Extension.url",
198
+ "type": [
199
+ {
200
+ "code": "uri"
201
+ }
202
+ ],
203
+ "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension"
204
+ },
205
+ {
206
+ "id": "Extension:medicationafterchange.valueReference",
207
+ "path": "Extension.valueReference",
208
+ "min": 1,
209
+ "type": [
210
+ {
211
+ "code": "Reference",
212
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse"
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ }
218
+ }
@@ -0,0 +1,218 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-medication-MedicationBeforeChange-extension",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR MedicationBeforeChange Extension</b></p>\n <p>The medication taken, prior to the change.</p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.medication.MedicationBeforeChange"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR MedicationBeforeChange Extension",
17
+ "title": "SHR MedicationBeforeChange Extension",
18
+ "status": "draft",
19
+ "date": "2017-04-18T15:12:22.403Z",
20
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
21
+ "contact": [
22
+ {
23
+ "telecom": [
24
+ {
25
+ "system": "url",
26
+ "value": "http://www.standardhealthrecord.org"
27
+ }
28
+ ]
29
+ }
30
+ ],
31
+ "description": "The medication taken, prior to the change.",
32
+ "fhirVersion": "3.0.0",
33
+ "kind": "complex-type",
34
+ "abstract": false,
35
+ "contextType": "resource",
36
+ "context": [
37
+ "*"
38
+ ],
39
+ "type": "Extension",
40
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
41
+ "derivation": "constraint",
42
+ "snapshot": {
43
+ "element": [
44
+ {
45
+ "id": "Extension:medicationbeforechange",
46
+ "path": "Extension",
47
+ "short": "SHR MedicationBeforeChange Extension",
48
+ "definition": "The medication taken, prior to the change.",
49
+ "min": 0,
50
+ "max": "*",
51
+ "base": {
52
+ "path": "Extension",
53
+ "min": 0,
54
+ "max": "1"
55
+ },
56
+ "condition": [
57
+ "ele-1"
58
+ ],
59
+ "constraint": [
60
+ {
61
+ "key": "ele-1",
62
+ "severity": "error",
63
+ "human": "All FHIR elements must have a @value or children",
64
+ "expression": "children().count() > id.count()",
65
+ "xpath": "@value|f:*|h:div",
66
+ "source": "Element"
67
+ },
68
+ {
69
+ "key": "ext-1",
70
+ "severity": "error",
71
+ "human": "Must have either extensions or value[x], not both",
72
+ "expression": "extension.exists() != value.exists()",
73
+ "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
74
+ "source": "Extension"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "id": "Extension:medicationbeforechange.id",
80
+ "path": "Extension.id",
81
+ "representation": [
82
+ "xmlAttr"
83
+ ],
84
+ "short": "xml:id (or equivalent in JSON)",
85
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
86
+ "min": 0,
87
+ "max": "1",
88
+ "base": {
89
+ "path": "Element.id",
90
+ "min": 0,
91
+ "max": "1"
92
+ },
93
+ "type": [
94
+ {
95
+ "code": "string"
96
+ }
97
+ ],
98
+ "mapping": [
99
+ {
100
+ "identity": "rim",
101
+ "map": "N/A"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "id": "Extension:medicationbeforechange.extension:extension",
107
+ "path": "Extension.extension",
108
+ "sliceName": "extension",
109
+ "short": "Extension",
110
+ "definition": "An Extension",
111
+ "min": 0,
112
+ "max": "0",
113
+ "base": {
114
+ "path": "Element.extension",
115
+ "min": 0,
116
+ "max": "*"
117
+ },
118
+ "type": [
119
+ {
120
+ "code": "Extension"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "id": "Extension:medicationbeforechange.url",
126
+ "path": "Extension.url",
127
+ "representation": [
128
+ "xmlAttr"
129
+ ],
130
+ "short": "identifies the meaning of the extension",
131
+ "definition": "Source of the definition for the extension code - a logical name or a URL.",
132
+ "min": 1,
133
+ "max": "1",
134
+ "base": {
135
+ "path": "Extension.url",
136
+ "min": 1,
137
+ "max": "1"
138
+ },
139
+ "type": [
140
+ {
141
+ "code": "uri"
142
+ }
143
+ ],
144
+ "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension",
145
+ "mapping": [
146
+ {
147
+ "identity": "rim",
148
+ "map": "N/A"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "id": "Extension:medicationbeforechange.valueReference",
154
+ "path": "Extension.valueReference",
155
+ "short": "Value of extension",
156
+ "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
157
+ "min": 1,
158
+ "max": "1",
159
+ "base": {
160
+ "path": "Extension.value[x]",
161
+ "min": 0,
162
+ "max": "1"
163
+ },
164
+ "type": [
165
+ {
166
+ "code": "Reference",
167
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse"
168
+ }
169
+ ],
170
+ "mapping": [
171
+ {
172
+ "identity": "rim",
173
+ "map": "N/A"
174
+ }
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ "differential": {
180
+ "element": [
181
+ {
182
+ "id": "Extension:medicationbeforechange",
183
+ "path": "Extension",
184
+ "short": "SHR MedicationBeforeChange Extension",
185
+ "definition": "The medication taken, prior to the change.",
186
+ "min": 0,
187
+ "max": "*"
188
+ },
189
+ {
190
+ "id": "Extension:medicationbeforechange.extension:extension",
191
+ "path": "Extension.extension",
192
+ "sliceName": "extension",
193
+ "max": "0"
194
+ },
195
+ {
196
+ "id": "Extension:medicationbeforechange.url",
197
+ "path": "Extension.url",
198
+ "type": [
199
+ {
200
+ "code": "uri"
201
+ }
202
+ ],
203
+ "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension"
204
+ },
205
+ {
206
+ "id": "Extension:medicationbeforechange.valueReference",
207
+ "path": "Extension.valueReference",
208
+ "min": 1,
209
+ "type": [
210
+ {
211
+ "code": "Reference",
212
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse"
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ }
218
+ }
@@ -0,0 +1,715 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-medication-MedicationChange",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR MedicationChange Profile</b></p>\n <p>Description of a modification or change of a medication or dosage.</p>\n <p><b>SHR Mapping Summary</b></p>\n <p><pre>shr.medication.MedicationChange maps to Basic:\n</pre></p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationChange",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.medication.MedicationChange"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR MedicationChange Profile",
17
+ "status": "draft",
18
+ "date": "2017-04-18T15:12:22.403Z",
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": "Description of a modification or change of a medication or dosage.",
31
+ "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.",
32
+ "fhirVersion": "3.0.0",
33
+ "mapping": [
34
+ {
35
+ "identity": "rim",
36
+ "uri": "http://hl7.org/v3",
37
+ "name": "RIM Mapping"
38
+ },
39
+ {
40
+ "identity": "w5",
41
+ "uri": "http://hl7.org/fhir/w5",
42
+ "name": "W5 Mapping"
43
+ }
44
+ ],
45
+ "kind": "resource",
46
+ "abstract": false,
47
+ "type": "Basic",
48
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
49
+ "derivation": "constraint",
50
+ "snapshot": {
51
+ "element": [
52
+ {
53
+ "id": "Basic:shr-medication-MedicationChange",
54
+ "path": "Basic",
55
+ "short": "SHR MedicationChange Profile",
56
+ "definition": "Description of a modification or change of a medication or dosage.",
57
+ "alias": [
58
+ "Z-resource",
59
+ "Extension-resource",
60
+ "Custom-resource"
61
+ ],
62
+ "min": 0,
63
+ "max": "*",
64
+ "constraint": [
65
+ {
66
+ "key": "dom-2",
67
+ "severity": "error",
68
+ "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
69
+ "expression": "contained.contained.empty()",
70
+ "xpath": "not(parent::f:contained and f:contained)",
71
+ "source": "DomainResource"
72
+ },
73
+ {
74
+ "key": "dom-1",
75
+ "severity": "error",
76
+ "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
77
+ "expression": "contained.text.empty()",
78
+ "xpath": "not(parent::f:contained and f:text)",
79
+ "source": "DomainResource"
80
+ },
81
+ {
82
+ "key": "dom-4",
83
+ "severity": "error",
84
+ "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
85
+ "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
86
+ "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
87
+ "source": "DomainResource"
88
+ },
89
+ {
90
+ "key": "dom-3",
91
+ "severity": "error",
92
+ "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
93
+ "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
94
+ "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
95
+ "source": "DomainResource"
96
+ }
97
+ ],
98
+ "mapping": [
99
+ {
100
+ "identity": "rim",
101
+ "map": "Entity. Role, or Act"
102
+ },
103
+ {
104
+ "identity": "rim",
105
+ "map": "Act, Entity or Role"
106
+ },
107
+ {
108
+ "identity": "w5",
109
+ "map": "infrastructure.structure"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "id": "Basic:shr-medication-MedicationChange.id",
115
+ "path": "Basic.id",
116
+ "short": "Logical id of this artifact",
117
+ "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
118
+ "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.",
119
+ "min": 0,
120
+ "max": "1",
121
+ "base": {
122
+ "path": "Resource.id",
123
+ "min": 0,
124
+ "max": "1"
125
+ },
126
+ "type": [
127
+ {
128
+ "code": "id"
129
+ }
130
+ ],
131
+ "isSummary": true
132
+ },
133
+ {
134
+ "id": "Basic:shr-medication-MedicationChange.meta",
135
+ "path": "Basic.meta",
136
+ "short": "Metadata about the resource",
137
+ "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.",
138
+ "min": 0,
139
+ "max": "1",
140
+ "base": {
141
+ "path": "Resource.meta",
142
+ "min": 0,
143
+ "max": "1"
144
+ },
145
+ "type": [
146
+ {
147
+ "code": "Meta"
148
+ }
149
+ ],
150
+ "isSummary": true
151
+ },
152
+ {
153
+ "id": "Basic:shr-medication-MedicationChange.implicitRules",
154
+ "path": "Basic.implicitRules",
155
+ "short": "A set of rules under which this content was created",
156
+ "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.",
157
+ "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.",
158
+ "min": 0,
159
+ "max": "1",
160
+ "base": {
161
+ "path": "Resource.implicitRules",
162
+ "min": 0,
163
+ "max": "1"
164
+ },
165
+ "type": [
166
+ {
167
+ "code": "uri"
168
+ }
169
+ ],
170
+ "isModifier": true,
171
+ "isSummary": true
172
+ },
173
+ {
174
+ "id": "Basic:shr-medication-MedicationChange.language",
175
+ "path": "Basic.language",
176
+ "short": "Language of the resource content",
177
+ "definition": "The base language in which the resource is written.",
178
+ "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).",
179
+ "min": 0,
180
+ "max": "1",
181
+ "base": {
182
+ "path": "Resource.language",
183
+ "min": 0,
184
+ "max": "1"
185
+ },
186
+ "type": [
187
+ {
188
+ "code": "code"
189
+ }
190
+ ],
191
+ "binding": {
192
+ "extension": [
193
+ {
194
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
195
+ "valueReference": {
196
+ "reference": "http://hl7.org/fhir/ValueSet/all-languages"
197
+ }
198
+ },
199
+ {
200
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
201
+ "valueString": "Language"
202
+ },
203
+ {
204
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
205
+ "valueBoolean": true
206
+ }
207
+ ],
208
+ "strength": "extensible",
209
+ "description": "A human language.",
210
+ "valueSetReference": {
211
+ "reference": "http://hl7.org/fhir/ValueSet/languages"
212
+ }
213
+ }
214
+ },
215
+ {
216
+ "id": "Basic:shr-medication-MedicationChange.text",
217
+ "path": "Basic.text",
218
+ "short": "Text summary of the resource, for human interpretation",
219
+ "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.",
220
+ "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.",
221
+ "alias": [
222
+ "narrative",
223
+ "html",
224
+ "xhtml",
225
+ "display"
226
+ ],
227
+ "min": 0,
228
+ "max": "1",
229
+ "base": {
230
+ "path": "DomainResource.text",
231
+ "min": 0,
232
+ "max": "1"
233
+ },
234
+ "type": [
235
+ {
236
+ "code": "Narrative"
237
+ }
238
+ ],
239
+ "condition": [
240
+ "dom-1"
241
+ ],
242
+ "mapping": [
243
+ {
244
+ "identity": "rim",
245
+ "map": "Act.text?"
246
+ }
247
+ ]
248
+ },
249
+ {
250
+ "id": "Basic:shr-medication-MedicationChange.contained",
251
+ "path": "Basic.contained",
252
+ "short": "Contained, inline Resources",
253
+ "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.",
254
+ "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.",
255
+ "alias": [
256
+ "inline resources",
257
+ "anonymous resources",
258
+ "contained resources"
259
+ ],
260
+ "min": 0,
261
+ "max": "*",
262
+ "base": {
263
+ "path": "DomainResource.contained",
264
+ "min": 0,
265
+ "max": "*"
266
+ },
267
+ "type": [
268
+ {
269
+ "code": "Resource"
270
+ }
271
+ ],
272
+ "mapping": [
273
+ {
274
+ "identity": "rim",
275
+ "map": "N/A"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "id": "Basic:shr-medication-MedicationChange.extension",
281
+ "path": "Basic.extension",
282
+ "slicing": {
283
+ "id": "186",
284
+ "discriminator": [
285
+ {
286
+ "type": "value",
287
+ "path": "url"
288
+ }
289
+ ],
290
+ "ordered": false,
291
+ "rules": "open"
292
+ },
293
+ "short": "Additional Content defined by implementations",
294
+ "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.",
295
+ "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.",
296
+ "alias": [
297
+ "extensions",
298
+ "user content"
299
+ ],
300
+ "min": 0,
301
+ "max": "*",
302
+ "base": {
303
+ "path": "DomainResource.extension",
304
+ "min": 0,
305
+ "max": "*"
306
+ },
307
+ "type": [
308
+ {
309
+ "code": "Extension"
310
+ }
311
+ ],
312
+ "mapping": [
313
+ {
314
+ "identity": "rim",
315
+ "map": "N/A"
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "id": "Basic:shr-medication-MedicationChange.extension:effectivedate",
321
+ "path": "Basic.extension",
322
+ "sliceName": "effectivedate",
323
+ "definition": "The date when something is to take effect.",
324
+ "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.",
325
+ "alias": [
326
+ "extensions",
327
+ "user content"
328
+ ],
329
+ "min": 1,
330
+ "max": "1",
331
+ "base": {
332
+ "path": "DomainResource.extension",
333
+ "min": 0,
334
+ "max": "*"
335
+ },
336
+ "type": [
337
+ {
338
+ "code": "Extension",
339
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension"
340
+ }
341
+ ],
342
+ "mustSupport": false,
343
+ "isModifier": false,
344
+ "isSummary": false,
345
+ "mapping": [
346
+ {
347
+ "identity": "rim",
348
+ "map": "N/A"
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "id": "Basic:shr-medication-MedicationChange.extension:typeofchange",
354
+ "path": "Basic.extension",
355
+ "sliceName": "typeofchange",
356
+ "definition": "Whether the change is a dose change, switch to a new medication, or discontinuation.",
357
+ "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.",
358
+ "alias": [
359
+ "extensions",
360
+ "user content"
361
+ ],
362
+ "min": 1,
363
+ "max": "1",
364
+ "base": {
365
+ "path": "DomainResource.extension",
366
+ "min": 0,
367
+ "max": "*"
368
+ },
369
+ "type": [
370
+ {
371
+ "code": "Extension",
372
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension"
373
+ }
374
+ ],
375
+ "mustSupport": false,
376
+ "isModifier": false,
377
+ "isSummary": false,
378
+ "mapping": [
379
+ {
380
+ "identity": "rim",
381
+ "map": "N/A"
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "id": "Basic:shr-medication-MedicationChange.extension:medicationbeforechange",
387
+ "path": "Basic.extension",
388
+ "sliceName": "medicationbeforechange",
389
+ "definition": "The medication taken, prior to the change.",
390
+ "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.",
391
+ "alias": [
392
+ "extensions",
393
+ "user content"
394
+ ],
395
+ "min": 0,
396
+ "max": "*",
397
+ "base": {
398
+ "path": "DomainResource.extension",
399
+ "min": 0,
400
+ "max": "*"
401
+ },
402
+ "type": [
403
+ {
404
+ "code": "Extension",
405
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension"
406
+ }
407
+ ],
408
+ "mustSupport": false,
409
+ "isModifier": false,
410
+ "isSummary": false,
411
+ "mapping": [
412
+ {
413
+ "identity": "rim",
414
+ "map": "N/A"
415
+ }
416
+ ]
417
+ },
418
+ {
419
+ "id": "Basic:shr-medication-MedicationChange.extension:medicationafterchange",
420
+ "path": "Basic.extension",
421
+ "sliceName": "medicationafterchange",
422
+ "definition": "A medication taken, after the change.",
423
+ "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.",
424
+ "alias": [
425
+ "extensions",
426
+ "user content"
427
+ ],
428
+ "min": 0,
429
+ "max": "*",
430
+ "base": {
431
+ "path": "DomainResource.extension",
432
+ "min": 0,
433
+ "max": "*"
434
+ },
435
+ "type": [
436
+ {
437
+ "code": "Extension",
438
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension"
439
+ }
440
+ ],
441
+ "mustSupport": false,
442
+ "isModifier": false,
443
+ "isSummary": false,
444
+ "mapping": [
445
+ {
446
+ "identity": "rim",
447
+ "map": "N/A"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "id": "Basic:shr-medication-MedicationChange.modifierExtension",
453
+ "path": "Basic.modifierExtension",
454
+ "short": "Extensions that cannot be ignored",
455
+ "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.",
456
+ "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.",
457
+ "alias": [
458
+ "extensions",
459
+ "user content"
460
+ ],
461
+ "min": 0,
462
+ "max": "*",
463
+ "base": {
464
+ "path": "DomainResource.modifierExtension",
465
+ "min": 0,
466
+ "max": "*"
467
+ },
468
+ "type": [
469
+ {
470
+ "code": "Extension"
471
+ }
472
+ ],
473
+ "isModifier": true,
474
+ "mapping": [
475
+ {
476
+ "identity": "rim",
477
+ "map": "N/A"
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ "id": "Basic:shr-medication-MedicationChange.identifier",
483
+ "path": "Basic.identifier",
484
+ "short": "Business identifier",
485
+ "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.",
486
+ "min": 0,
487
+ "max": "*",
488
+ "type": [
489
+ {
490
+ "code": "Identifier"
491
+ }
492
+ ],
493
+ "isSummary": true,
494
+ "mapping": [
495
+ {
496
+ "identity": "rim",
497
+ "map": "./identifier"
498
+ },
499
+ {
500
+ "identity": "w5",
501
+ "map": "id"
502
+ }
503
+ ]
504
+ },
505
+ {
506
+ "id": "Basic:shr-medication-MedicationChange.code",
507
+ "path": "Basic.code",
508
+ "short": "Kind of Resource",
509
+ "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.",
510
+ "comment": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.\n\nThis element is labeled as a modifier because the it defines the meaning of the resource and cannot be ignored.",
511
+ "requirements": "Must be able to distinguish different types of Basic resources.",
512
+ "min": 1,
513
+ "max": "1",
514
+ "type": [
515
+ {
516
+ "code": "CodeableConcept"
517
+ }
518
+ ],
519
+ "patternCodeableConcept": {
520
+ "coding": [
521
+ {
522
+ "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
523
+ "code": "shr-medication-MedicationChange"
524
+ }
525
+ ]
526
+ },
527
+ "isModifier": true,
528
+ "isSummary": true,
529
+ "binding": {
530
+ "extension": [
531
+ {
532
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
533
+ "valueString": "BasicResourceType"
534
+ }
535
+ ],
536
+ "strength": "example",
537
+ "description": "Codes for identifying types of resources not yet defined by FHIR",
538
+ "valueSetReference": {
539
+ "reference": "http://hl7.org/fhir/ValueSet/basic-resource-type"
540
+ }
541
+ },
542
+ "mapping": [
543
+ {
544
+ "identity": "rim",
545
+ "map": "./code"
546
+ },
547
+ {
548
+ "identity": "w5",
549
+ "map": "what"
550
+ }
551
+ ]
552
+ },
553
+ {
554
+ "id": "Basic:shr-medication-MedicationChange.subject",
555
+ "path": "Basic.subject",
556
+ "short": "Identifies the focus of this resource",
557
+ "definition": "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.",
558
+ "comment": "Optional as not all potential resources will have subjects. Resources associated with multiple subjects can handle this via extension.",
559
+ "requirements": "Needed for partitioning the resource by Patient.",
560
+ "min": 0,
561
+ "max": "1",
562
+ "type": [
563
+ {
564
+ "code": "Reference",
565
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
566
+ }
567
+ ],
568
+ "isSummary": true,
569
+ "mapping": [
570
+ {
571
+ "identity": "rim",
572
+ "map": "./participation[typeCode='SBJ'] (possibly through a ControlAct and Role)"
573
+ },
574
+ {
575
+ "identity": "w5",
576
+ "map": "who.focus"
577
+ }
578
+ ]
579
+ },
580
+ {
581
+ "id": "Basic:shr-medication-MedicationChange.created",
582
+ "path": "Basic.created",
583
+ "short": "When created",
584
+ "definition": "Identifies when the resource was first created.",
585
+ "requirements": "Allows ordering resource instances by time.",
586
+ "min": 0,
587
+ "max": "1",
588
+ "type": [
589
+ {
590
+ "code": "date"
591
+ }
592
+ ],
593
+ "isSummary": true,
594
+ "mapping": [
595
+ {
596
+ "identity": "rim",
597
+ "map": "./participation[typeCode='AUT']/time (possibly through a ControlAct and Role)"
598
+ },
599
+ {
600
+ "identity": "w5",
601
+ "map": "when.recorded"
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "id": "Basic:shr-medication-MedicationChange.author",
607
+ "path": "Basic.author",
608
+ "short": "Who created",
609
+ "definition": "Indicates who was responsible for creating the resource instance.",
610
+ "requirements": "Needed for partitioning the resource.",
611
+ "min": 0,
612
+ "max": "1",
613
+ "type": [
614
+ {
615
+ "code": "Reference",
616
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
617
+ },
618
+ {
619
+ "code": "Reference",
620
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
621
+ },
622
+ {
623
+ "code": "Reference",
624
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
625
+ }
626
+ ],
627
+ "isSummary": true,
628
+ "mapping": [
629
+ {
630
+ "identity": "rim",
631
+ "map": "./participation[typeCode='SUB'] (possibly through a ControlAct and Role)"
632
+ },
633
+ {
634
+ "identity": "w5",
635
+ "map": "who.author"
636
+ }
637
+ ]
638
+ }
639
+ ]
640
+ },
641
+ "differential": {
642
+ "element": [
643
+ {
644
+ "id": "Basic:shr-medication-MedicationChange",
645
+ "path": "Basic",
646
+ "short": "SHR MedicationChange Profile",
647
+ "definition": "Description of a modification or change of a medication or dosage."
648
+ },
649
+ {
650
+ "id": "Basic:shr-medication-MedicationChange.extension:effectivedate",
651
+ "path": "Basic.extension",
652
+ "sliceName": "effectivedate",
653
+ "min": 1,
654
+ "max": "1",
655
+ "type": [
656
+ {
657
+ "code": "Extension",
658
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension"
659
+ }
660
+ ],
661
+ "mustSupport": false,
662
+ "isModifier": false,
663
+ "isSummary": false
664
+ },
665
+ {
666
+ "id": "Basic:shr-medication-MedicationChange.extension:typeofchange",
667
+ "path": "Basic.extension",
668
+ "sliceName": "typeofchange",
669
+ "min": 1,
670
+ "max": "1",
671
+ "type": [
672
+ {
673
+ "code": "Extension",
674
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension"
675
+ }
676
+ ],
677
+ "mustSupport": false,
678
+ "isModifier": false,
679
+ "isSummary": false
680
+ },
681
+ {
682
+ "id": "Basic:shr-medication-MedicationChange.extension:medicationbeforechange",
683
+ "path": "Basic.extension",
684
+ "sliceName": "medicationbeforechange",
685
+ "min": 0,
686
+ "max": "*",
687
+ "type": [
688
+ {
689
+ "code": "Extension",
690
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension"
691
+ }
692
+ ],
693
+ "mustSupport": false,
694
+ "isModifier": false,
695
+ "isSummary": false
696
+ },
697
+ {
698
+ "id": "Basic:shr-medication-MedicationChange.extension:medicationafterchange",
699
+ "path": "Basic.extension",
700
+ "sliceName": "medicationafterchange",
701
+ "min": 0,
702
+ "max": "*",
703
+ "type": [
704
+ {
705
+ "code": "Extension",
706
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension"
707
+ }
708
+ ],
709
+ "mustSupport": false,
710
+ "isModifier": false,
711
+ "isSummary": false
712
+ }
713
+ ]
714
+ }
715
+ }