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,1668 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-behavior-SubstanceAbuseTreatment",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR SubstanceAbuseTreatment Profile</b></p>\n <p>The treatment program used to address a substance abuse problem.</p>\n <p><b>SHR Mapping Summary</b></p>\n <p><pre>shr.behavior.SubstanceAbuseTreatment maps to Procedure:\n ProcedureStatus maps to status\n NonOccurrenceModifier maps to notDone\n NonOccurrenceModifier.Reason maps to notDoneReason\n OccurrenceTime.dateTime maps to performed[x].dateTime\n OccurrenceTime.TimePeriod maps to performed[x].Period\n ProcedureParticipant maps to performer\n ProcedureParticipant.PersonOfRecord maps to performer.actor\n ProcedureParticipant.Practitioner maps to performer.actor\n ProcedureParticipant.RelatedPerson maps to performer.actor\n ProcedureParticipant.ParticipationType maps to performer.role\n Facility maps to location\n Reason maps to reasonCode\n</pre></p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceAbuseTreatment",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.behavior.SubstanceAbuseTreatment"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR SubstanceAbuseTreatment Profile",
17
+ "status": "draft",
18
+ "date": "2017-04-18T15:12:21.378Z",
19
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
20
+ "contact": [
21
+ {
22
+ "telecom": [
23
+ {
24
+ "system": "url",
25
+ "value": "http://www.standardhealthrecord.org"
26
+ }
27
+ ]
28
+ }
29
+ ],
30
+ "description": "The treatment program used to address a substance abuse problem.",
31
+ "fhirVersion": "3.0.0",
32
+ "mapping": [
33
+ {
34
+ "identity": "rim",
35
+ "uri": "http://hl7.org/v3",
36
+ "name": "RIM Mapping"
37
+ },
38
+ {
39
+ "identity": "w5",
40
+ "uri": "http://hl7.org/fhir/w5",
41
+ "name": "W5 Mapping"
42
+ },
43
+ {
44
+ "identity": "v2",
45
+ "uri": "http://hl7.org/v2",
46
+ "name": "HL7 v2 Mapping"
47
+ }
48
+ ],
49
+ "kind": "resource",
50
+ "abstract": false,
51
+ "type": "Procedure",
52
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
53
+ "derivation": "constraint",
54
+ "snapshot": {
55
+ "element": [
56
+ {
57
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment",
58
+ "path": "Procedure",
59
+ "short": "SHR SubstanceAbuseTreatment Profile",
60
+ "definition": "The treatment program used to address a substance abuse problem.",
61
+ "min": 0,
62
+ "max": "*",
63
+ "constraint": [
64
+ {
65
+ "key": "dom-2",
66
+ "severity": "error",
67
+ "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
68
+ "expression": "contained.contained.empty()",
69
+ "xpath": "not(parent::f:contained and f:contained)",
70
+ "source": "DomainResource"
71
+ },
72
+ {
73
+ "key": "dom-1",
74
+ "severity": "error",
75
+ "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
76
+ "expression": "contained.text.empty()",
77
+ "xpath": "not(parent::f:contained and f:text)",
78
+ "source": "DomainResource"
79
+ },
80
+ {
81
+ "key": "dom-4",
82
+ "severity": "error",
83
+ "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
84
+ "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
85
+ "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
86
+ "source": "DomainResource"
87
+ },
88
+ {
89
+ "key": "dom-3",
90
+ "severity": "error",
91
+ "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
92
+ "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
93
+ "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
94
+ "source": "DomainResource"
95
+ },
96
+ {
97
+ "key": "pro-1",
98
+ "severity": "error",
99
+ "human": "Reason not done is only permitted if notDone indicator is true",
100
+ "expression": "notDoneReason.empty() or notDone = true",
101
+ "xpath": "not(exists(f:notDoneReason)) or f:notDone/@value=true()"
102
+ }
103
+ ],
104
+ "mapping": [
105
+ {
106
+ "identity": "rim",
107
+ "map": "Entity. Role, or Act"
108
+ },
109
+ {
110
+ "identity": "rim",
111
+ "map": "Procedure[moodCode=EVN]"
112
+ },
113
+ {
114
+ "identity": "w5",
115
+ "map": "clinical.general"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.id",
121
+ "path": "Procedure.id",
122
+ "short": "Logical id of this artifact",
123
+ "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
124
+ "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.",
125
+ "min": 0,
126
+ "max": "1",
127
+ "base": {
128
+ "path": "Resource.id",
129
+ "min": 0,
130
+ "max": "1"
131
+ },
132
+ "type": [
133
+ {
134
+ "code": "id"
135
+ }
136
+ ],
137
+ "isSummary": true
138
+ },
139
+ {
140
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.meta",
141
+ "path": "Procedure.meta",
142
+ "short": "Metadata about the resource",
143
+ "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.",
144
+ "min": 0,
145
+ "max": "1",
146
+ "base": {
147
+ "path": "Resource.meta",
148
+ "min": 0,
149
+ "max": "1"
150
+ },
151
+ "type": [
152
+ {
153
+ "code": "Meta"
154
+ }
155
+ ],
156
+ "isSummary": true
157
+ },
158
+ {
159
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.implicitRules",
160
+ "path": "Procedure.implicitRules",
161
+ "short": "A set of rules under which this content was created",
162
+ "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.",
163
+ "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.",
164
+ "min": 0,
165
+ "max": "1",
166
+ "base": {
167
+ "path": "Resource.implicitRules",
168
+ "min": 0,
169
+ "max": "1"
170
+ },
171
+ "type": [
172
+ {
173
+ "code": "uri"
174
+ }
175
+ ],
176
+ "isModifier": true,
177
+ "isSummary": true
178
+ },
179
+ {
180
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.language",
181
+ "path": "Procedure.language",
182
+ "short": "Language of the resource content",
183
+ "definition": "The base language in which the resource is written.",
184
+ "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).",
185
+ "min": 0,
186
+ "max": "1",
187
+ "base": {
188
+ "path": "Resource.language",
189
+ "min": 0,
190
+ "max": "1"
191
+ },
192
+ "type": [
193
+ {
194
+ "code": "code"
195
+ }
196
+ ],
197
+ "binding": {
198
+ "extension": [
199
+ {
200
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
201
+ "valueReference": {
202
+ "reference": "http://hl7.org/fhir/ValueSet/all-languages"
203
+ }
204
+ },
205
+ {
206
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
207
+ "valueString": "Language"
208
+ },
209
+ {
210
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
211
+ "valueBoolean": true
212
+ }
213
+ ],
214
+ "strength": "extensible",
215
+ "description": "A human language.",
216
+ "valueSetReference": {
217
+ "reference": "http://hl7.org/fhir/ValueSet/languages"
218
+ }
219
+ }
220
+ },
221
+ {
222
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.text",
223
+ "path": "Procedure.text",
224
+ "short": "Text summary of the resource, for human interpretation",
225
+ "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.",
226
+ "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.",
227
+ "alias": [
228
+ "narrative",
229
+ "html",
230
+ "xhtml",
231
+ "display"
232
+ ],
233
+ "min": 0,
234
+ "max": "1",
235
+ "base": {
236
+ "path": "DomainResource.text",
237
+ "min": 0,
238
+ "max": "1"
239
+ },
240
+ "type": [
241
+ {
242
+ "code": "Narrative"
243
+ }
244
+ ],
245
+ "condition": [
246
+ "dom-1"
247
+ ],
248
+ "mapping": [
249
+ {
250
+ "identity": "rim",
251
+ "map": "Act.text?"
252
+ }
253
+ ]
254
+ },
255
+ {
256
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.contained",
257
+ "path": "Procedure.contained",
258
+ "short": "Contained, inline Resources",
259
+ "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.",
260
+ "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.",
261
+ "alias": [
262
+ "inline resources",
263
+ "anonymous resources",
264
+ "contained resources"
265
+ ],
266
+ "min": 0,
267
+ "max": "*",
268
+ "base": {
269
+ "path": "DomainResource.contained",
270
+ "min": 0,
271
+ "max": "*"
272
+ },
273
+ "type": [
274
+ {
275
+ "code": "Resource"
276
+ }
277
+ ],
278
+ "mapping": [
279
+ {
280
+ "identity": "rim",
281
+ "map": "N/A"
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.extension",
287
+ "path": "Procedure.extension",
288
+ "slicing": {
289
+ "id": "104",
290
+ "discriminator": [
291
+ {
292
+ "type": "value",
293
+ "path": "url"
294
+ }
295
+ ],
296
+ "ordered": false,
297
+ "rules": "open"
298
+ },
299
+ "short": "Additional Content defined by implementations",
300
+ "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.",
301
+ "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.",
302
+ "alias": [
303
+ "extensions",
304
+ "user content"
305
+ ],
306
+ "min": 0,
307
+ "max": "*",
308
+ "base": {
309
+ "path": "DomainResource.extension",
310
+ "min": 0,
311
+ "max": "*"
312
+ },
313
+ "type": [
314
+ {
315
+ "code": "Extension"
316
+ }
317
+ ],
318
+ "mapping": [
319
+ {
320
+ "identity": "rim",
321
+ "map": "N/A"
322
+ }
323
+ ]
324
+ },
325
+ {
326
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.extension:codeableconcept",
327
+ "path": "Procedure.extension",
328
+ "sliceName": "codeableconcept",
329
+ "definition": "A set of codes drawn from different coding systems, representing the same concept.",
330
+ "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.",
331
+ "alias": [
332
+ "extensions",
333
+ "user content"
334
+ ],
335
+ "min": 1,
336
+ "max": "1",
337
+ "base": {
338
+ "path": "DomainResource.extension",
339
+ "min": 0,
340
+ "max": "*"
341
+ },
342
+ "type": [
343
+ {
344
+ "code": "Extension",
345
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension"
346
+ }
347
+ ],
348
+ "mustSupport": false,
349
+ "isModifier": false,
350
+ "isSummary": false,
351
+ "binding": {
352
+ "strength": "required",
353
+ "valueSetReference": {
354
+ "reference": "http://standardhealthrecord.org/shr/behavior/vs/SubstanceAbuseTreatmentTypeVS"
355
+ }
356
+ },
357
+ "mapping": [
358
+ {
359
+ "identity": "rim",
360
+ "map": "N/A"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.modifierExtension",
366
+ "path": "Procedure.modifierExtension",
367
+ "short": "Extensions that cannot be ignored",
368
+ "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.",
369
+ "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.",
370
+ "alias": [
371
+ "extensions",
372
+ "user content"
373
+ ],
374
+ "min": 0,
375
+ "max": "*",
376
+ "base": {
377
+ "path": "DomainResource.modifierExtension",
378
+ "min": 0,
379
+ "max": "*"
380
+ },
381
+ "type": [
382
+ {
383
+ "code": "Extension"
384
+ }
385
+ ],
386
+ "isModifier": true,
387
+ "mapping": [
388
+ {
389
+ "identity": "rim",
390
+ "map": "N/A"
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.identifier",
396
+ "path": "Procedure.identifier",
397
+ "short": "External Identifiers for this procedure",
398
+ "definition": "This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
399
+ "requirements": "Need to allow connection to a wider workflow.",
400
+ "min": 0,
401
+ "max": "*",
402
+ "type": [
403
+ {
404
+ "code": "Identifier"
405
+ }
406
+ ],
407
+ "isSummary": true,
408
+ "mapping": [
409
+ {
410
+ "identity": "v2",
411
+ "map": "Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4"
412
+ },
413
+ {
414
+ "identity": "rim",
415
+ "map": ".id"
416
+ },
417
+ {
418
+ "identity": "w5",
419
+ "map": "id"
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.definition",
425
+ "path": "Procedure.definition",
426
+ "short": "Instantiates protocol or definition",
427
+ "definition": "A protocol, guideline, orderset or other definition that was adhered to in whole or in part by this procedure.",
428
+ "min": 0,
429
+ "max": "*",
430
+ "type": [
431
+ {
432
+ "code": "Reference",
433
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition"
434
+ },
435
+ {
436
+ "code": "Reference",
437
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition"
438
+ },
439
+ {
440
+ "code": "Reference",
441
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService"
442
+ }
443
+ ],
444
+ "isSummary": true,
445
+ "mapping": [
446
+ {
447
+ "identity": "rim",
448
+ "map": ".outboundRelationship[typeCode=DEFN].target"
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.basedOn",
454
+ "path": "Procedure.basedOn",
455
+ "short": "A request for this procedure",
456
+ "definition": "A reference to a resource that contains details of the request for this procedure.",
457
+ "alias": [
458
+ "fulfills"
459
+ ],
460
+ "min": 0,
461
+ "max": "*",
462
+ "type": [
463
+ {
464
+ "code": "Reference",
465
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
466
+ },
467
+ {
468
+ "code": "Reference",
469
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
470
+ },
471
+ {
472
+ "code": "Reference",
473
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
474
+ }
475
+ ],
476
+ "isSummary": true,
477
+ "mapping": [
478
+ {
479
+ "identity": "rim",
480
+ "map": ".outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.partOf",
486
+ "path": "Procedure.partOf",
487
+ "short": "Part of referenced event",
488
+ "definition": "A larger event of which this particular procedure is a component or step.",
489
+ "comment": "The MedicationAdministration has a partOf reference to Procedure, but this is not a circular reference. For a surgical procedure, the anesthesia related medicationAdministration is part of the procedure. For an IV medication administration, the procedure to insert the IV port is part of the medication administration.",
490
+ "alias": [
491
+ "container"
492
+ ],
493
+ "min": 0,
494
+ "max": "*",
495
+ "type": [
496
+ {
497
+ "code": "Reference",
498
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure"
499
+ },
500
+ {
501
+ "code": "Reference",
502
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
503
+ },
504
+ {
505
+ "code": "Reference",
506
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
507
+ }
508
+ ],
509
+ "isSummary": true,
510
+ "mapping": [
511
+ {
512
+ "identity": "rim",
513
+ "map": ".inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]"
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.status",
519
+ "path": "Procedure.status",
520
+ "short": "preparation | in-progress | suspended | aborted | completed | entered-in-error | unknown",
521
+ "definition": "A code specifying the state of the procedure. Generally this will be in-progress or completed state.",
522
+ "comment": "The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
523
+ "min": 1,
524
+ "max": "1",
525
+ "type": [
526
+ {
527
+ "code": "code"
528
+ }
529
+ ],
530
+ "isModifier": true,
531
+ "isSummary": true,
532
+ "binding": {
533
+ "extension": [
534
+ {
535
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
536
+ "valueString": "ProcedureStatus"
537
+ }
538
+ ],
539
+ "strength": "required",
540
+ "description": "A code specifying the state of the procedure.",
541
+ "valueSetReference": {
542
+ "reference": "http://hl7.org/fhir/ValueSet/event-status"
543
+ }
544
+ },
545
+ "mapping": [
546
+ {
547
+ "identity": "rim",
548
+ "map": "statusCode"
549
+ },
550
+ {
551
+ "identity": "w5",
552
+ "map": "status"
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.notDone",
558
+ "path": "Procedure.notDone",
559
+ "short": "True if procedure was not performed as scheduled",
560
+ "definition": "Set this to true if the record is saying that the procedure was NOT performed.",
561
+ "comment": "If true, it means the procedure did not occur as described. Typically it would be accompanied by attributes describing the type of activity. It might also be accompanied by body site information or time information (i.e. no procedure was done to the left arm or no procedure was done in this 2-year period). Specifying additional information such as performer, outcome, etc. is generally inappropriate. For example, it's not that useful to say \"There was no appendectomy done at 12:03pm June 6th by Dr. Smith with a successful outcome\" as it implies that there *could* have been an appendectomy done at any other time, by any other clinician or with any other outcome.\n\nThis element is labeled as a modifier because it indicates that a procedure didn't happen.",
562
+ "min": 0,
563
+ "max": "1",
564
+ "type": [
565
+ {
566
+ "code": "boolean"
567
+ }
568
+ ],
569
+ "defaultValueBoolean": false,
570
+ "isModifier": true,
571
+ "isSummary": true,
572
+ "mapping": [
573
+ {
574
+ "identity": "rim",
575
+ "map": ".actionNegationInd"
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.notDoneReason",
581
+ "path": "Procedure.notDoneReason",
582
+ "short": "Reason procedure was not performed",
583
+ "definition": "A code indicating why the procedure was not performed.",
584
+ "min": 0,
585
+ "max": "1",
586
+ "type": [
587
+ {
588
+ "code": "CodeableConcept",
589
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
590
+ }
591
+ ],
592
+ "condition": [
593
+ "pro-1"
594
+ ],
595
+ "isSummary": true,
596
+ "binding": {
597
+ "extension": [
598
+ {
599
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
600
+ "valueString": "ProcedureNegationReason"
601
+ }
602
+ ],
603
+ "strength": "example",
604
+ "description": "A code that identifies the reason a procedure was not performed.",
605
+ "valueSetReference": {
606
+ "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason"
607
+ }
608
+ },
609
+ "mapping": [
610
+ {
611
+ "identity": "rim",
612
+ "map": ".reason.Observation.value"
613
+ }
614
+ ]
615
+ },
616
+ {
617
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.category",
618
+ "path": "Procedure.category",
619
+ "short": "Classification of the procedure",
620
+ "definition": "A code that classifies the procedure for searching, sorting and display purposes (e.g. \"Surgical Procedure\").",
621
+ "min": 0,
622
+ "max": "1",
623
+ "type": [
624
+ {
625
+ "code": "CodeableConcept"
626
+ }
627
+ ],
628
+ "isSummary": true,
629
+ "binding": {
630
+ "extension": [
631
+ {
632
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
633
+ "valueString": "ProcedureCategory"
634
+ }
635
+ ],
636
+ "strength": "example",
637
+ "description": "A code that classifies a procedure for searching, sorting and display purposes.",
638
+ "valueSetReference": {
639
+ "reference": "http://hl7.org/fhir/ValueSet/procedure-category"
640
+ }
641
+ },
642
+ "mapping": [
643
+ {
644
+ "identity": "rim",
645
+ "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"
646
+ },
647
+ {
648
+ "identity": "w5",
649
+ "map": "class"
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.code",
655
+ "path": "Procedure.code",
656
+ "short": "Identification of the procedure",
657
+ "definition": "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").",
658
+ "requirements": "0..1 to account for primarily narrative only resources.",
659
+ "alias": [
660
+ "type"
661
+ ],
662
+ "min": 0,
663
+ "max": "1",
664
+ "type": [
665
+ {
666
+ "code": "CodeableConcept"
667
+ }
668
+ ],
669
+ "isSummary": true,
670
+ "binding": {
671
+ "extension": [
672
+ {
673
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
674
+ "valueString": "ProcedureCode"
675
+ }
676
+ ],
677
+ "strength": "example",
678
+ "description": "A code to identify a specific procedure .",
679
+ "valueSetReference": {
680
+ "reference": "http://hl7.org/fhir/ValueSet/procedure-code"
681
+ }
682
+ },
683
+ "mapping": [
684
+ {
685
+ "identity": "v2",
686
+ "map": "OBR-44/OBR-45"
687
+ },
688
+ {
689
+ "identity": "rim",
690
+ "map": ".code"
691
+ },
692
+ {
693
+ "identity": "w5",
694
+ "map": "what"
695
+ }
696
+ ]
697
+ },
698
+ {
699
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.subject",
700
+ "path": "Procedure.subject",
701
+ "short": "Who the procedure was performed on",
702
+ "definition": "The person, animal or group on which the procedure was performed.",
703
+ "alias": [
704
+ "patient"
705
+ ],
706
+ "min": 1,
707
+ "max": "1",
708
+ "type": [
709
+ {
710
+ "code": "Reference",
711
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
712
+ },
713
+ {
714
+ "code": "Reference",
715
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
716
+ }
717
+ ],
718
+ "isSummary": true,
719
+ "mapping": [
720
+ {
721
+ "identity": "v2",
722
+ "map": "PID-3"
723
+ },
724
+ {
725
+ "identity": "rim",
726
+ "map": ".participation[typeCode=SBJ].role"
727
+ },
728
+ {
729
+ "identity": "w5",
730
+ "map": "who.focus"
731
+ }
732
+ ]
733
+ },
734
+ {
735
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.context",
736
+ "path": "Procedure.context",
737
+ "short": "Encounter or episode associated with the procedure",
738
+ "definition": "The encounter during which the procedure was performed.",
739
+ "alias": [
740
+ "encounter"
741
+ ],
742
+ "min": 0,
743
+ "max": "1",
744
+ "type": [
745
+ {
746
+ "code": "Reference",
747
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
748
+ },
749
+ {
750
+ "code": "Reference",
751
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
752
+ }
753
+ ],
754
+ "isSummary": true,
755
+ "mapping": [
756
+ {
757
+ "identity": "v2",
758
+ "map": "PV1-19"
759
+ },
760
+ {
761
+ "identity": "rim",
762
+ "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
763
+ },
764
+ {
765
+ "identity": "w5",
766
+ "map": "context"
767
+ }
768
+ ]
769
+ },
770
+ {
771
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performed[x]",
772
+ "path": "Procedure.performed[x]",
773
+ "short": "Date/Period the procedure was performed",
774
+ "definition": "The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.",
775
+ "min": 0,
776
+ "max": "1",
777
+ "type": [
778
+ {
779
+ "code": "dateTime"
780
+ },
781
+ {
782
+ "code": "Period",
783
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
784
+ }
785
+ ],
786
+ "isSummary": true,
787
+ "mapping": [
788
+ {
789
+ "identity": "v2",
790
+ "map": "OBR-7"
791
+ },
792
+ {
793
+ "identity": "rim",
794
+ "map": ".effectiveTime"
795
+ },
796
+ {
797
+ "identity": "w5",
798
+ "map": "when.done"
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer",
804
+ "path": "Procedure.performer",
805
+ "short": "The people who performed the procedure",
806
+ "definition": "Limited to 'real' people rather than equipment.",
807
+ "min": 0,
808
+ "max": "*",
809
+ "type": [
810
+ {
811
+ "code": "BackboneElement"
812
+ }
813
+ ],
814
+ "constraint": [
815
+ {
816
+ "key": "ele-1",
817
+ "severity": "error",
818
+ "human": "All FHIR elements must have a @value or children",
819
+ "expression": "children().count() > id.count()",
820
+ "xpath": "@value|f:*|h:div",
821
+ "source": "Element"
822
+ }
823
+ ],
824
+ "isSummary": true,
825
+ "mapping": [
826
+ {
827
+ "identity": "rim",
828
+ "map": ".participation[typeCode=PRF]"
829
+ }
830
+ ]
831
+ },
832
+ {
833
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.id",
834
+ "path": "Procedure.performer.id",
835
+ "representation": [
836
+ "xmlAttr"
837
+ ],
838
+ "short": "xml:id (or equivalent in JSON)",
839
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
840
+ "min": 0,
841
+ "max": "1",
842
+ "base": {
843
+ "path": "Element.id",
844
+ "min": 0,
845
+ "max": "1"
846
+ },
847
+ "type": [
848
+ {
849
+ "code": "string"
850
+ }
851
+ ],
852
+ "mapping": [
853
+ {
854
+ "identity": "rim",
855
+ "map": "n/a"
856
+ }
857
+ ]
858
+ },
859
+ {
860
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.extension",
861
+ "path": "Procedure.performer.extension",
862
+ "short": "Additional Content defined by implementations",
863
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
864
+ "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.",
865
+ "alias": [
866
+ "extensions",
867
+ "user content"
868
+ ],
869
+ "min": 0,
870
+ "max": "*",
871
+ "base": {
872
+ "path": "Element.extension",
873
+ "min": 0,
874
+ "max": "*"
875
+ },
876
+ "type": [
877
+ {
878
+ "code": "Extension"
879
+ }
880
+ ],
881
+ "mapping": [
882
+ {
883
+ "identity": "rim",
884
+ "map": "n/a"
885
+ }
886
+ ]
887
+ },
888
+ {
889
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.modifierExtension",
890
+ "path": "Procedure.performer.modifierExtension",
891
+ "short": "Extensions that cannot be ignored",
892
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
893
+ "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.",
894
+ "alias": [
895
+ "extensions",
896
+ "user content",
897
+ "modifiers"
898
+ ],
899
+ "min": 0,
900
+ "max": "*",
901
+ "base": {
902
+ "path": "BackboneElement.modifierExtension",
903
+ "min": 0,
904
+ "max": "*"
905
+ },
906
+ "type": [
907
+ {
908
+ "code": "Extension"
909
+ }
910
+ ],
911
+ "isModifier": true,
912
+ "isSummary": true,
913
+ "mapping": [
914
+ {
915
+ "identity": "rim",
916
+ "map": "N/A"
917
+ }
918
+ ]
919
+ },
920
+ {
921
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.role",
922
+ "path": "Procedure.performer.role",
923
+ "short": "The role the actor was in",
924
+ "definition": "For example: surgeon, anaethetist, endoscopist.",
925
+ "min": 0,
926
+ "max": "1",
927
+ "type": [
928
+ {
929
+ "code": "CodeableConcept",
930
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
931
+ }
932
+ ],
933
+ "isSummary": true,
934
+ "binding": {
935
+ "strength": "required",
936
+ "valueSetReference": {
937
+ "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationType"
938
+ }
939
+ },
940
+ "mapping": [
941
+ {
942
+ "identity": "v2",
943
+ "map": "Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25"
944
+ },
945
+ {
946
+ "identity": "rim",
947
+ "map": ".functionCode"
948
+ }
949
+ ]
950
+ },
951
+ {
952
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.actor",
953
+ "path": "Procedure.performer.actor",
954
+ "short": "The reference to the practitioner",
955
+ "definition": "The practitioner who was involved in the procedure.",
956
+ "requirements": "A reference to Device supports use cases, such as pacemakers.",
957
+ "min": 1,
958
+ "max": "1",
959
+ "type": [
960
+ {
961
+ "code": "Reference",
962
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner"
963
+ },
964
+ {
965
+ "code": "Reference",
966
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
967
+ },
968
+ {
969
+ "code": "Reference",
970
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord"
971
+ },
972
+ {
973
+ "code": "Reference",
974
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson"
975
+ },
976
+ {
977
+ "code": "Reference",
978
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
979
+ }
980
+ ],
981
+ "isSummary": true,
982
+ "mapping": [
983
+ {
984
+ "identity": "v2",
985
+ "map": "ORC-19/PRT-5"
986
+ },
987
+ {
988
+ "identity": "rim",
989
+ "map": ".role"
990
+ },
991
+ {
992
+ "identity": "w5",
993
+ "map": "who.actor"
994
+ }
995
+ ]
996
+ },
997
+ {
998
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.onBehalfOf",
999
+ "path": "Procedure.performer.onBehalfOf",
1000
+ "short": "Organization the device or practitioner was acting for",
1001
+ "definition": "The organization the device or practitioner was acting on behalf of.",
1002
+ "requirements": "Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.",
1003
+ "min": 0,
1004
+ "max": "1",
1005
+ "type": [
1006
+ {
1007
+ "code": "Reference",
1008
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
1009
+ }
1010
+ ],
1011
+ "mapping": [
1012
+ {
1013
+ "identity": "rim",
1014
+ "map": ".scoper"
1015
+ }
1016
+ ]
1017
+ },
1018
+ {
1019
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.location",
1020
+ "path": "Procedure.location",
1021
+ "short": "Where the procedure happened",
1022
+ "definition": "The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.",
1023
+ "requirements": "Ties a procedure to where the records are likely kept.",
1024
+ "min": 0,
1025
+ "max": "1",
1026
+ "type": [
1027
+ {
1028
+ "code": "Reference",
1029
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility"
1030
+ }
1031
+ ],
1032
+ "isSummary": true,
1033
+ "mapping": [
1034
+ {
1035
+ "identity": "rim",
1036
+ "map": ".participation[typeCode=LOC].role[classCode=SDLOC]"
1037
+ },
1038
+ {
1039
+ "identity": "w5",
1040
+ "map": "where"
1041
+ }
1042
+ ]
1043
+ },
1044
+ {
1045
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonCode",
1046
+ "path": "Procedure.reasonCode",
1047
+ "short": "Coded reason procedure performed",
1048
+ "definition": "The coded reason why the procedure was performed. This may be coded entity of some type, or may simply be present as text.",
1049
+ "min": 0,
1050
+ "max": "*",
1051
+ "type": [
1052
+ {
1053
+ "code": "CodeableConcept",
1054
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1055
+ }
1056
+ ],
1057
+ "isSummary": true,
1058
+ "binding": {
1059
+ "extension": [
1060
+ {
1061
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1062
+ "valueString": "ProcedureReason"
1063
+ }
1064
+ ],
1065
+ "strength": "example",
1066
+ "description": "A code that identifies the reason a procedure is required.",
1067
+ "valueSetReference": {
1068
+ "reference": "http://hl7.org/fhir/ValueSet/procedure-reason"
1069
+ }
1070
+ },
1071
+ "mapping": [
1072
+ {
1073
+ "identity": "rim",
1074
+ "map": ".reasonCode"
1075
+ },
1076
+ {
1077
+ "identity": "w5",
1078
+ "map": "why"
1079
+ }
1080
+ ]
1081
+ },
1082
+ {
1083
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonReference",
1084
+ "path": "Procedure.reasonReference",
1085
+ "short": "Condition that is the reason the procedure performed",
1086
+ "definition": "The condition that is the reason why the procedure was performed.",
1087
+ "comment": "e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapeutic.",
1088
+ "min": 0,
1089
+ "max": "*",
1090
+ "type": [
1091
+ {
1092
+ "code": "Reference",
1093
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
1094
+ },
1095
+ {
1096
+ "code": "Reference",
1097
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
1098
+ }
1099
+ ],
1100
+ "isSummary": true,
1101
+ "mapping": [
1102
+ {
1103
+ "identity": "rim",
1104
+ "map": ".reasonCode"
1105
+ },
1106
+ {
1107
+ "identity": "w5",
1108
+ "map": "why"
1109
+ }
1110
+ ]
1111
+ },
1112
+ {
1113
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.bodySite",
1114
+ "path": "Procedure.bodySite",
1115
+ "short": "Target body sites",
1116
+ "definition": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.",
1117
+ "min": 0,
1118
+ "max": "*",
1119
+ "type": [
1120
+ {
1121
+ "code": "CodeableConcept"
1122
+ }
1123
+ ],
1124
+ "isSummary": true,
1125
+ "binding": {
1126
+ "extension": [
1127
+ {
1128
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1129
+ "valueString": "BodySite"
1130
+ }
1131
+ ],
1132
+ "strength": "example",
1133
+ "description": "Codes describing anatomical locations. May include laterality.",
1134
+ "valueSetReference": {
1135
+ "reference": "http://hl7.org/fhir/ValueSet/body-site"
1136
+ }
1137
+ },
1138
+ "mapping": [
1139
+ {
1140
+ "identity": "v2",
1141
+ "map": "OBX-20"
1142
+ },
1143
+ {
1144
+ "identity": "rim",
1145
+ "map": ".targetSiteCode"
1146
+ }
1147
+ ]
1148
+ },
1149
+ {
1150
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.outcome",
1151
+ "path": "Procedure.outcome",
1152
+ "short": "The result of procedure",
1153
+ "definition": "The outcome of the procedure - did it resolve reasons for the procedure being performed?",
1154
+ "comment": "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.",
1155
+ "min": 0,
1156
+ "max": "1",
1157
+ "type": [
1158
+ {
1159
+ "code": "CodeableConcept"
1160
+ }
1161
+ ],
1162
+ "isSummary": true,
1163
+ "binding": {
1164
+ "extension": [
1165
+ {
1166
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1167
+ "valueString": "ProcedureOutcome"
1168
+ }
1169
+ ],
1170
+ "strength": "example",
1171
+ "description": "An outcome of a procedure - whether it was resolved or otherwise.",
1172
+ "valueSetReference": {
1173
+ "reference": "http://hl7.org/fhir/ValueSet/procedure-outcome"
1174
+ }
1175
+ },
1176
+ "mapping": [
1177
+ {
1178
+ "identity": "rim",
1179
+ "map": ".outboundRelationship[typeCode=OUT].target.text"
1180
+ }
1181
+ ]
1182
+ },
1183
+ {
1184
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.report",
1185
+ "path": "Procedure.report",
1186
+ "short": "Any report resulting from the procedure",
1187
+ "definition": "This could be a histology result, pathology report, surgical report, etc..",
1188
+ "comment": "There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.",
1189
+ "min": 0,
1190
+ "max": "*",
1191
+ "type": [
1192
+ {
1193
+ "code": "Reference",
1194
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
1195
+ }
1196
+ ],
1197
+ "mapping": [
1198
+ {
1199
+ "identity": "rim",
1200
+ "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]"
1201
+ }
1202
+ ]
1203
+ },
1204
+ {
1205
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.complication",
1206
+ "path": "Procedure.complication",
1207
+ "short": "Complication following the procedure",
1208
+ "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.",
1209
+ "comment": "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.",
1210
+ "min": 0,
1211
+ "max": "*",
1212
+ "type": [
1213
+ {
1214
+ "code": "CodeableConcept"
1215
+ }
1216
+ ],
1217
+ "binding": {
1218
+ "extension": [
1219
+ {
1220
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1221
+ "valueString": "ProcedureComplication"
1222
+ }
1223
+ ],
1224
+ "strength": "example",
1225
+ "description": "Codes describing complications that resulted from a procedure.",
1226
+ "valueSetReference": {
1227
+ "reference": "http://hl7.org/fhir/ValueSet/condition-code"
1228
+ }
1229
+ },
1230
+ "mapping": [
1231
+ {
1232
+ "identity": "rim",
1233
+ "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value"
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.complicationDetail",
1239
+ "path": "Procedure.complicationDetail",
1240
+ "short": "A condition that is a result of the procedure",
1241
+ "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period.",
1242
+ "requirements": "This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.",
1243
+ "min": 0,
1244
+ "max": "*",
1245
+ "type": [
1246
+ {
1247
+ "code": "Reference",
1248
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
1249
+ }
1250
+ ],
1251
+ "mapping": [
1252
+ {
1253
+ "identity": "rim",
1254
+ "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value"
1255
+ }
1256
+ ]
1257
+ },
1258
+ {
1259
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.followUp",
1260
+ "path": "Procedure.followUp",
1261
+ "short": "Instructions for follow up",
1262
+ "definition": "If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used.",
1263
+ "min": 0,
1264
+ "max": "*",
1265
+ "type": [
1266
+ {
1267
+ "code": "CodeableConcept"
1268
+ }
1269
+ ],
1270
+ "binding": {
1271
+ "extension": [
1272
+ {
1273
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1274
+ "valueString": "ProcedureFollowUp"
1275
+ }
1276
+ ],
1277
+ "strength": "example",
1278
+ "description": "Specific follow up required for a procedure e.g. removal of sutures.",
1279
+ "valueSetReference": {
1280
+ "reference": "http://hl7.org/fhir/ValueSet/procedure-followup"
1281
+ }
1282
+ },
1283
+ "mapping": [
1284
+ {
1285
+ "identity": "rim",
1286
+ "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code"
1287
+ }
1288
+ ]
1289
+ },
1290
+ {
1291
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.note",
1292
+ "path": "Procedure.note",
1293
+ "short": "Additional information about the procedure",
1294
+ "definition": "Any other notes about the procedure. E.g. the operative notes.",
1295
+ "min": 0,
1296
+ "max": "*",
1297
+ "type": [
1298
+ {
1299
+ "code": "Annotation"
1300
+ }
1301
+ ],
1302
+ "mapping": [
1303
+ {
1304
+ "identity": "v2",
1305
+ "map": "NTE"
1306
+ },
1307
+ {
1308
+ "identity": "rim",
1309
+ "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
1310
+ }
1311
+ ]
1312
+ },
1313
+ {
1314
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice",
1315
+ "path": "Procedure.focalDevice",
1316
+ "short": "Device changed in procedure",
1317
+ "definition": "A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.",
1318
+ "min": 0,
1319
+ "max": "*",
1320
+ "type": [
1321
+ {
1322
+ "code": "BackboneElement"
1323
+ }
1324
+ ],
1325
+ "constraint": [
1326
+ {
1327
+ "key": "ele-1",
1328
+ "severity": "error",
1329
+ "human": "All FHIR elements must have a @value or children",
1330
+ "expression": "children().count() > id.count()",
1331
+ "xpath": "@value|f:*|h:div",
1332
+ "source": "Element"
1333
+ }
1334
+ ],
1335
+ "mapping": [
1336
+ {
1337
+ "identity": "rim",
1338
+ "map": ".participation[typeCode=DEV].role[classCode=MANU]"
1339
+ }
1340
+ ]
1341
+ },
1342
+ {
1343
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice.id",
1344
+ "path": "Procedure.focalDevice.id",
1345
+ "representation": [
1346
+ "xmlAttr"
1347
+ ],
1348
+ "short": "xml:id (or equivalent in JSON)",
1349
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
1350
+ "min": 0,
1351
+ "max": "1",
1352
+ "base": {
1353
+ "path": "Element.id",
1354
+ "min": 0,
1355
+ "max": "1"
1356
+ },
1357
+ "type": [
1358
+ {
1359
+ "code": "string"
1360
+ }
1361
+ ],
1362
+ "mapping": [
1363
+ {
1364
+ "identity": "rim",
1365
+ "map": "n/a"
1366
+ }
1367
+ ]
1368
+ },
1369
+ {
1370
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice.extension",
1371
+ "path": "Procedure.focalDevice.extension",
1372
+ "short": "Additional Content defined by implementations",
1373
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
1374
+ "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.",
1375
+ "alias": [
1376
+ "extensions",
1377
+ "user content"
1378
+ ],
1379
+ "min": 0,
1380
+ "max": "*",
1381
+ "base": {
1382
+ "path": "Element.extension",
1383
+ "min": 0,
1384
+ "max": "*"
1385
+ },
1386
+ "type": [
1387
+ {
1388
+ "code": "Extension"
1389
+ }
1390
+ ],
1391
+ "mapping": [
1392
+ {
1393
+ "identity": "rim",
1394
+ "map": "n/a"
1395
+ }
1396
+ ]
1397
+ },
1398
+ {
1399
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice.modifierExtension",
1400
+ "path": "Procedure.focalDevice.modifierExtension",
1401
+ "short": "Extensions that cannot be ignored",
1402
+ "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
1403
+ "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.",
1404
+ "alias": [
1405
+ "extensions",
1406
+ "user content",
1407
+ "modifiers"
1408
+ ],
1409
+ "min": 0,
1410
+ "max": "*",
1411
+ "base": {
1412
+ "path": "BackboneElement.modifierExtension",
1413
+ "min": 0,
1414
+ "max": "*"
1415
+ },
1416
+ "type": [
1417
+ {
1418
+ "code": "Extension"
1419
+ }
1420
+ ],
1421
+ "isModifier": true,
1422
+ "isSummary": true,
1423
+ "mapping": [
1424
+ {
1425
+ "identity": "rim",
1426
+ "map": "N/A"
1427
+ }
1428
+ ]
1429
+ },
1430
+ {
1431
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice.action",
1432
+ "path": "Procedure.focalDevice.action",
1433
+ "short": "Kind of change to device",
1434
+ "definition": "The kind of change that happened to the device during the procedure.",
1435
+ "min": 0,
1436
+ "max": "1",
1437
+ "type": [
1438
+ {
1439
+ "code": "CodeableConcept"
1440
+ }
1441
+ ],
1442
+ "binding": {
1443
+ "extension": [
1444
+ {
1445
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1446
+ "valueString": "DeviceActionKind"
1447
+ }
1448
+ ],
1449
+ "strength": "preferred",
1450
+ "description": "A kind of change that happened to the device during the procedure.",
1451
+ "valueSetReference": {
1452
+ "reference": "http://hl7.org/fhir/ValueSet/device-action"
1453
+ }
1454
+ },
1455
+ "mapping": [
1456
+ {
1457
+ "identity": "rim",
1458
+ "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"procedure device action\"].value=:procedure device action codes"
1459
+ }
1460
+ ]
1461
+ },
1462
+ {
1463
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice.manipulated",
1464
+ "path": "Procedure.focalDevice.manipulated",
1465
+ "short": "Device that was changed",
1466
+ "definition": "The device that was manipulated (changed) during the procedure.",
1467
+ "min": 1,
1468
+ "max": "1",
1469
+ "type": [
1470
+ {
1471
+ "code": "Reference",
1472
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
1473
+ }
1474
+ ],
1475
+ "mapping": [
1476
+ {
1477
+ "identity": "rim",
1478
+ "map": ".participation[typeCode=DEV].role[classCode=SDLOC]"
1479
+ }
1480
+ ]
1481
+ },
1482
+ {
1483
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.usedReference",
1484
+ "path": "Procedure.usedReference",
1485
+ "short": "Items used during procedure",
1486
+ "definition": "Identifies medications, devices and any other substance used as part of the procedure.",
1487
+ "comment": "For devices actually implanted or removed, use Procedure.device.",
1488
+ "requirements": "Used for tracking contamination, etc.",
1489
+ "min": 0,
1490
+ "max": "*",
1491
+ "type": [
1492
+ {
1493
+ "code": "Reference",
1494
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
1495
+ },
1496
+ {
1497
+ "code": "Reference",
1498
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication"
1499
+ },
1500
+ {
1501
+ "code": "Reference",
1502
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance"
1503
+ }
1504
+ ],
1505
+ "mapping": [
1506
+ {
1507
+ "identity": "rim",
1508
+ "map": ".participation[typeCode=DEV].role[classCode=MANU] or\n.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)"
1509
+ }
1510
+ ]
1511
+ },
1512
+ {
1513
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.usedCode",
1514
+ "path": "Procedure.usedCode",
1515
+ "short": "Coded items used during the procedure",
1516
+ "definition": "Identifies coded items that were used as part of the procedure.",
1517
+ "comment": "For devices actually implanted or removed, use Procedure.device.",
1518
+ "min": 0,
1519
+ "max": "*",
1520
+ "type": [
1521
+ {
1522
+ "code": "CodeableConcept"
1523
+ }
1524
+ ],
1525
+ "binding": {
1526
+ "extension": [
1527
+ {
1528
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
1529
+ "valueString": "ProcedureUsed"
1530
+ }
1531
+ ],
1532
+ "strength": "example",
1533
+ "description": "Codes describing items used during a procedure",
1534
+ "valueSetReference": {
1535
+ "reference": "http://hl7.org/fhir/ValueSet/device-kind"
1536
+ }
1537
+ },
1538
+ "mapping": [
1539
+ {
1540
+ "identity": "rim",
1541
+ "map": "participation[typeCode=Dev].role[classCode=MANU]"
1542
+ }
1543
+ ]
1544
+ }
1545
+ ]
1546
+ },
1547
+ "differential": {
1548
+ "element": [
1549
+ {
1550
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment",
1551
+ "path": "Procedure",
1552
+ "short": "SHR SubstanceAbuseTreatment Profile",
1553
+ "definition": "The treatment program used to address a substance abuse problem."
1554
+ },
1555
+ {
1556
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.extension:codeableconcept",
1557
+ "path": "Procedure.extension",
1558
+ "sliceName": "codeableconcept",
1559
+ "min": 1,
1560
+ "max": "1",
1561
+ "type": [
1562
+ {
1563
+ "code": "Extension",
1564
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension"
1565
+ }
1566
+ ],
1567
+ "mustSupport": false,
1568
+ "isModifier": false,
1569
+ "isSummary": false,
1570
+ "binding": {
1571
+ "strength": "required",
1572
+ "valueSetReference": {
1573
+ "reference": "http://standardhealthrecord.org/shr/behavior/vs/SubstanceAbuseTreatmentTypeVS"
1574
+ }
1575
+ }
1576
+ },
1577
+ {
1578
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.notDoneReason",
1579
+ "path": "Procedure.notDoneReason",
1580
+ "type": [
1581
+ {
1582
+ "code": "CodeableConcept",
1583
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1584
+ }
1585
+ ]
1586
+ },
1587
+ {
1588
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performed[x]",
1589
+ "path": "Procedure.performed[x]",
1590
+ "type": [
1591
+ {
1592
+ "code": "dateTime"
1593
+ },
1594
+ {
1595
+ "code": "Period",
1596
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
1597
+ }
1598
+ ]
1599
+ },
1600
+ {
1601
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer",
1602
+ "path": "Procedure.performer"
1603
+ },
1604
+ {
1605
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.role",
1606
+ "path": "Procedure.performer.role",
1607
+ "type": [
1608
+ {
1609
+ "code": "CodeableConcept",
1610
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1611
+ }
1612
+ ],
1613
+ "binding": {
1614
+ "strength": "required",
1615
+ "valueSetReference": {
1616
+ "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationType"
1617
+ }
1618
+ }
1619
+ },
1620
+ {
1621
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.actor",
1622
+ "path": "Procedure.performer.actor",
1623
+ "type": [
1624
+ {
1625
+ "code": "Reference",
1626
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner"
1627
+ },
1628
+ {
1629
+ "code": "Reference",
1630
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
1631
+ },
1632
+ {
1633
+ "code": "Reference",
1634
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord"
1635
+ },
1636
+ {
1637
+ "code": "Reference",
1638
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson"
1639
+ },
1640
+ {
1641
+ "code": "Reference",
1642
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
1643
+ }
1644
+ ]
1645
+ },
1646
+ {
1647
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.location",
1648
+ "path": "Procedure.location",
1649
+ "type": [
1650
+ {
1651
+ "code": "Reference",
1652
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility"
1653
+ }
1654
+ ]
1655
+ },
1656
+ {
1657
+ "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonCode",
1658
+ "path": "Procedure.reasonCode",
1659
+ "type": [
1660
+ {
1661
+ "code": "CodeableConcept",
1662
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
1663
+ }
1664
+ ]
1665
+ }
1666
+ ]
1667
+ }
1668
+ }