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