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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7538b7aa83ab765764f11fe69887baba1c2a5b6b
4
- data.tar.gz: dc1534f80e10d27ea0541aff94ebf5211a32daf1
3
+ metadata.gz: 33e738412732ba23a26dac7ff0482beeb3adf674
4
+ data.tar.gz: 7e19bfd199b23c73148768329bb4d76579bd5e69
5
5
  SHA512:
6
- metadata.gz: eaec79d085fee1c283acae50d24e8d1bc4b2e5c95ca6750a8ff1308c5ec4ad067a5dba2f8f1b3547c1359e2e0e662edc30ff2d8f34d947998f802522f7edb6f5
7
- data.tar.gz: 983bc9c5dc9ecb3d0151fa66132be996f360b61b05dd3836433e2cd823a0b8cb7cc422f266f854e4611af4b4a93743153345d352ba5df1292ef933eac8663aaf
6
+ metadata.gz: 36345b171720f3c233e8b8388099c16e19fc13577a4d1262605ca498b80547c26ca33254441ef4df544bc5913cb11a5c26f1617b5290728cd52322f06b489c8d
7
+ data.tar.gz: 53d4ecc2d4794c60fc7b9791e28c9dc54ae4318bfd53ece4effcea9d650f431dfc76b556f0ed71e63a45f5ff36df5fa04fb8678bad3cfd6191f73aafc05967fd
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "2.0.0"
3
+ - "2.3.3"
4
+ - "2.4.0"
4
5
  script:
5
6
  - bundle exec rake test
data/Gemfile CHANGED
@@ -4,6 +4,9 @@ gemspec
4
4
  gem 'rake'
5
5
  gem 'pry'
6
6
 
7
+ # gem 'fhir_models', :path => '../fhir_models'
8
+ # gem 'fhir_models', :git => 'https://github.com/fhir-crucible/fhir_models.git', :branch => '3.0.0-release'
9
+
7
10
  group :test do
8
11
  gem 'simplecov', :require => false
9
12
  gem 'minitest', '~> 5.3'
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fhir_scorecard (1.8.0)
5
- fhir_models (~> 1.8)
4
+ fhir_scorecard (3.0.1)
5
+ fhir_models (>= 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -11,35 +11,35 @@ GEM
11
11
  awesome_print (1.7.0)
12
12
  bcp47 (0.3.3)
13
13
  i18n
14
- builder (3.2.2)
14
+ builder (3.2.3)
15
15
  coderay (1.1.1)
16
16
  date_time_precision (0.8.1)
17
17
  docile (1.1.5)
18
- fhir_models (1.8.1)
18
+ fhir_models (3.0.1)
19
19
  bcp47 (>= 0.3)
20
20
  date_time_precision (>= 0.8)
21
21
  mime-types (>= 1.16, < 3)
22
22
  nokogiri (>= 1.6)
23
- i18n (0.7.0)
24
- json (2.0.2)
23
+ i18n (0.8.1)
24
+ json (2.0.3)
25
25
  method_source (0.8.2)
26
26
  mime-types (2.99.3)
27
27
  mini_portile2 (2.1.0)
28
- minitest (5.9.1)
29
- minitest-reporters (1.1.12)
28
+ minitest (5.10.1)
29
+ minitest-reporters (1.1.14)
30
30
  ansi
31
31
  builder
32
32
  minitest (>= 5.0)
33
33
  ruby-progressbar
34
- nokogiri (1.6.8.1)
34
+ nokogiri (1.7.1)
35
35
  mini_portile2 (~> 2.1.0)
36
36
  pry (0.10.4)
37
37
  coderay (~> 1.1.0)
38
38
  method_source (~> 0.8.1)
39
39
  slop (~> 3.4)
40
- rake (11.3.0)
40
+ rake (12.0.0)
41
41
  ruby-progressbar (1.8.1)
42
- simplecov (0.12.0)
42
+ simplecov (0.14.1)
43
43
  docile (~> 1.1.0)
44
44
  json (>= 1.8, < 3)
45
45
  simplecov-html (~> 0.10.0)
@@ -59,4 +59,4 @@ DEPENDENCIES
59
59
  simplecov
60
60
 
61
61
  BUNDLED WITH
62
- 1.13.6
62
+ 1.14.6
@@ -7,9 +7,9 @@ Gem::Specification.new do |s|
7
7
  s.email = "jwalonoski@mitre.org"
8
8
  s.homepage = "https://github.com/fhir-crucible/fhir_scorecard"
9
9
  s.authors = ["Jason Walonoski"]
10
- s.version = '1.8.0'
10
+ s.version = '3.0.1'
11
11
 
12
12
  s.files = s.files = `git ls-files`.split("\n")
13
13
 
14
- s.add_runtime_dependency 'fhir_models', '~> 1.8'
14
+ s.add_runtime_dependency 'fhir_models', '>= 3.0.0'
15
15
  end
@@ -6,6 +6,7 @@ root = File.expand_path '..', File.dirname(File.absolute_path(__FILE__))
6
6
 
7
7
  require File.join(root,'lib','scorecard.rb')
8
8
  require File.join(root,'lib','terminology.rb')
9
+ require File.join(root,'lib','implementation_guides.rb')
9
10
  require File.join(root,'lib','rubrics.rb')
10
11
 
11
12
  Dir.glob(File.join(root, 'lib','rubrics','**','*.rb')).each do |file|
@@ -0,0 +1,184 @@
1
+ module FHIR
2
+ class ImplementationGuideLookup
3
+
4
+ @@resources = File.expand_path './resources', File.dirname(File.absolute_path(__FILE__))
5
+ @@loaded = false
6
+
7
+ @@us_core = {}
8
+ @@standard_health_record = {}
9
+ @@shr_indicators = {}
10
+
11
+ @@shr_defaults = {
12
+ 'Practitioner' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner',
13
+ 'Organization' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization',
14
+ 'RelatedPerson' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson',
15
+ 'AllergyIntolerance' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-AllergyIntolerance',
16
+ 'BodySite' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite',
17
+ 'Patient' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord',
18
+ 'Coverage' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HealthInsurance',
19
+ 'Device' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device',
20
+ 'DeviceUseStatement' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUse',
21
+ 'Encounter' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter',
22
+ 'Immunization' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization',
23
+ 'Medication' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication',
24
+ 'MedicationStatement' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse',
25
+ 'MedicationRequest' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationPrescription',
26
+ 'DiagnosticReport' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Panel',
27
+ 'Observation' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation',
28
+ 'Condition' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Problem',
29
+ 'Procedure' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-Procedure'
30
+ }
31
+
32
+ def self.guess_shr_profile(resource)
33
+ load_guides
34
+ if resource && !@@shr_indicators.nil? && !@@shr_indicators.empty?
35
+ # if the profile is given, we don't need to guess
36
+ if resource.meta && resource.meta.profile && !resource.meta.profile.empty?
37
+ resource.meta.profile.each do |uri|
38
+ return @@standard_health_record[uri] if @@standard_health_record[uri]
39
+ end
40
+ end
41
+ # if the profile is not named, then we need to guess using some heuristic indicators
42
+ @@shr_indicators.each do |url, data|
43
+ if data['resource'] == resource.resourceType
44
+ indicators = true
45
+ resource_hash = resource.to_hash
46
+ data['fixedValues'].each do |requirement|
47
+ # indicators = false if requirement not met
48
+ steps = requirement['path'].split('.')
49
+ steps.delete(data['resource'])
50
+ actual_values = select(steps, resource_hash)
51
+ expected_value = requirement['value']
52
+ if actual_values.nil? || (actual_values.is_a?(Array) && actual_values.empty?)
53
+ indicators = false
54
+ elsif actual_values.is_a?(Array)
55
+ actual_values.each do |onevalue|
56
+ if onevalue.is_a?(Hash)
57
+ if onevalue['coding']
58
+ actual_code = onevalue['coding'].map{|x|x['code']}
59
+ expected_code = expected_value['coding'].map{|x|x['code']}
60
+ any_match = false
61
+ actual_code.each do |x|
62
+ any_match = true if expected_code.include?(x)
63
+ end
64
+ indicators = false unless any_match
65
+ else
66
+ expected_value.each do |key, value|
67
+ indicators = false unless onevalue[key] == value
68
+ end
69
+ end
70
+ end
71
+ end
72
+ elsif actual_values.is_a?(Hash)
73
+ if actual_values['coding']
74
+ actual_code = actual_values['coding'].map{|x|x['code']}
75
+ expected_code = expected_value['coding'].map{|x|x['code']}
76
+ any_match = false
77
+ actual_code.each do |x|
78
+ any_match = true if expected_code.include?(x)
79
+ end
80
+ indicators = false unless any_match
81
+ else
82
+ expected_value.each do |key, value|
83
+ indicators = false unless actual_values[key] == value
84
+ end
85
+ end
86
+ elsif actual_values.is_a?(TrueClass) || actual_values.is_a?(FalseClass)
87
+ indicators = false unless actual_values == expected_value
88
+ end
89
+ end
90
+ return @@standard_health_record[uri] if indicators
91
+ end
92
+ end
93
+ # if the heuristics do not help, use a default if possible
94
+ default = @@shr_defaults[resource.resourceType]
95
+ return @@standard_health_record[default] if default
96
+ end
97
+ nil
98
+ end
99
+
100
+ def self.select(steps=[], obj)
101
+ return obj if steps.nil? || steps.empty?
102
+ copysteps = steps.clone
103
+ if obj.is_a?(Hash)
104
+ step = copysteps.delete_at(0)
105
+ obj = obj[step]
106
+ select(copysteps, obj)
107
+ elsif obj.is_a?(Array)
108
+ obj.map do |x|
109
+ select(copysteps, x)
110
+ end
111
+ end
112
+ end
113
+
114
+ def self.guess_uscore_profile(resource)
115
+ load_guides
116
+ if resource
117
+ # if the profile is given, we don't need to guess
118
+ if resource.meta && resource.meta.profile && !resource.meta.profile.empty?
119
+ resource.meta.profile.each do |uri|
120
+ return @@us_core[uri] if @@us_core[uri]
121
+ end
122
+ end
123
+ # TODO consider VitalSigns/Observations
124
+ # Otherwise, guess the first profile that matches on resource type
125
+ @@us_core.each do |url, thing|
126
+ if thing.is_a?(FHIR::StructureDefinition)
127
+ return thing if thing.type == resource.resourceType
128
+ end
129
+ end
130
+ end
131
+ nil
132
+ end
133
+
134
+ def self.lookup(url)
135
+ load_guides
136
+ @@us_core[url] || @@standard_health_record[url] || nil
137
+ end
138
+
139
+ def self.load_guides
140
+ if !@@loaded
141
+ begin
142
+ # load all the FHIR resources in the US Core Implementation Guide
143
+ Dir.glob(File.join(@@resources,'us_core','**','*.json')).each do |filename|
144
+ raw = File.open(filename,'r:UTF-8',&:read)
145
+ resource = FHIR.from_contents(raw)
146
+ if resource
147
+ @@us_core[resource.id] = resource if resource.id
148
+ @@us_core[resource.url] = resource if resource.url
149
+ end
150
+ end
151
+ rescue => error
152
+ FHIR.logger.error error
153
+ end
154
+
155
+ begin
156
+ # load all the FHIR resources in the Standard Health Record Implementation Guide
157
+ Dir.glob(File.join(@@resources,'standard_health_record','**','*.json')).each do |filename|
158
+ raw = File.open(filename,'r:UTF-8',&:read)
159
+ resource = FHIR.from_contents(raw)
160
+ if resource
161
+ @@standard_health_record[resource.id] = resource if resource.id
162
+ @@standard_health_record[resource.url] = resource if resource.url
163
+ end
164
+ end
165
+ rescue => error
166
+ FHIR.logger.error error
167
+ end
168
+
169
+ begin
170
+ # load some indicators to help guess which SHR profile to use
171
+ filename = File.join(@@resources,'profile_indicators.json')
172
+ raw = File.open(filename,'r:UTF-8',&:read)
173
+ @@shr_indicators = JSON.parse(raw)
174
+ rescue => error
175
+ @@shr_indicators = {}
176
+ FHIR.logger.error error
177
+ end
178
+
179
+ @@loaded = true
180
+ end
181
+ end
182
+
183
+ end
184
+ end
@@ -0,0 +1,1633 @@
1
+ {
2
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-EmergencyContact": {
3
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-EmergencyContact",
4
+ "resource": "CareTeam",
5
+ "fixedValues": [
6
+ {
7
+ "path": "CareTeam.participant.role",
8
+ "value": {
9
+ "coding": [
10
+ {
11
+ "system": "http://ncimeta.nci.nih.gov",
12
+ "code": "C1552023"
13
+ }
14
+ ]
15
+ }
16
+ }
17
+ ]
18
+ },
19
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-PrimaryCareProvider": {
20
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-PrimaryCareProvider",
21
+ "resource": "CareTeam",
22
+ "fixedValues": [
23
+ {
24
+ "path": "CareTeam.participant.role",
25
+ "value": {
26
+ "coding": [
27
+ {
28
+ "system": "http://ncimeta.nci.nih.gov",
29
+ "code": "C2735026"
30
+ }
31
+ ]
32
+ }
33
+ }
34
+ ]
35
+ },
36
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-NoPrimaryCareProvider": {
37
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-NoPrimaryCareProvider",
38
+ "resource": "CareTeam",
39
+ "fixedValues": [
40
+ {
41
+ "path": "CareTeam.participant.role",
42
+ "value": {
43
+ "coding": [
44
+ {
45
+ "system": "http://ncimeta.nci.nih.gov",
46
+ "code": "C2735026"
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "path": "CareTeam.modifierExtension.extension.valueBoolean",
53
+ "value": true
54
+ }
55
+ ]
56
+ },
57
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Asplenia": {
58
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Asplenia",
59
+ "resource": "Condition",
60
+ "fixedValues": [
61
+ {
62
+ "path": "Condition.code",
63
+ "value": {
64
+ "coding": [
65
+ {
66
+ "system": "http://snomed.info/sct",
67
+ "code": "93030006"
68
+ }
69
+ ]
70
+ }
71
+ }
72
+ ]
73
+ },
74
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction": {
75
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction",
76
+ "resource": "Condition",
77
+ "fixedValues": [
78
+ {
79
+ "path": "Condition.category",
80
+ "value": {
81
+ "coding": [
82
+ {
83
+ "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-ProblemCategoryVS",
84
+ "code": "adverse_reaction"
85
+ }
86
+ ]
87
+ }
88
+ }
89
+ ]
90
+ },
91
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-DrugAllergy": {
92
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-DrugAllergy",
93
+ "resource": "AllergyIntolerance",
94
+ "fixedValues": [
95
+ {
96
+ "path": "AllergyIntolerance.category",
97
+ "value": "drug"
98
+ },
99
+ {
100
+ "path": "AllergyIntolerance.type",
101
+ "value": "allergy"
102
+ }
103
+ ]
104
+ },
105
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy": {
106
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy",
107
+ "resource": "AllergyIntolerance",
108
+ "fixedValues": [
109
+ {
110
+ "path": "AllergyIntolerance.category",
111
+ "value": "food"
112
+ },
113
+ {
114
+ "path": "AllergyIntolerance.type",
115
+ "value": "allergy"
116
+ }
117
+ ]
118
+ },
119
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownAllergy": {
120
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownAllergy",
121
+ "resource": "AllergyIntolerance",
122
+ "fixedValues": [
123
+ {
124
+ "path": "AllergyIntolerance.category",
125
+ "value": "food"
126
+ },
127
+ {
128
+ "path": "AllergyIntolerance.category",
129
+ "value": "medication"
130
+ },
131
+ {
132
+ "path": "AllergyIntolerance.category",
133
+ "value": "biologic"
134
+ },
135
+ {
136
+ "path": "AllergyIntolerance.category",
137
+ "value": "environment"
138
+ },
139
+ {
140
+ "path": "AllergyIntolerance.type",
141
+ "value": "allergy"
142
+ },
143
+ {
144
+ "path": "AllergyIntolerance.verificationStatus",
145
+ "value": "unconfirmed"
146
+ },
147
+ {
148
+ "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean",
149
+ "value": true
150
+ }
151
+ ]
152
+ },
153
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownFoodAllergy": {
154
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownFoodAllergy",
155
+ "resource": "AllergyIntolerance",
156
+ "fixedValues": [
157
+ {
158
+ "path": "AllergyIntolerance.category",
159
+ "value": "food"
160
+ },
161
+ {
162
+ "path": "AllergyIntolerance.type",
163
+ "value": "allergy"
164
+ },
165
+ {
166
+ "path": "AllergyIntolerance.verificationStatus",
167
+ "value": "unconfirmed"
168
+ },
169
+ {
170
+ "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean",
171
+ "value": true
172
+ }
173
+ ]
174
+ },
175
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownDrugAllergy": {
176
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownDrugAllergy",
177
+ "resource": "AllergyIntolerance",
178
+ "fixedValues": [
179
+ {
180
+ "path": "AllergyIntolerance.category",
181
+ "value": "drug"
182
+ },
183
+ {
184
+ "path": "AllergyIntolerance.type",
185
+ "value": "allergy"
186
+ },
187
+ {
188
+ "path": "AllergyIntolerance.verificationStatus",
189
+ "value": "unconfirmed"
190
+ },
191
+ {
192
+ "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean",
193
+ "value": true
194
+ }
195
+ ]
196
+ },
197
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownEnvironmentalAllergy": {
198
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownEnvironmentalAllergy",
199
+ "resource": "AllergyIntolerance",
200
+ "fixedValues": [
201
+ {
202
+ "path": "AllergyIntolerance.category",
203
+ "value": "environment"
204
+ },
205
+ {
206
+ "path": "AllergyIntolerance.type",
207
+ "value": "allergy"
208
+ },
209
+ {
210
+ "path": "AllergyIntolerance.verificationStatus",
211
+ "value": "unconfirmed"
212
+ },
213
+ {
214
+ "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean",
215
+ "value": true
216
+ }
217
+ ]
218
+ },
219
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-HistoryObservation": {
220
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-HistoryObservation",
221
+ "resource": "Observation",
222
+ "fixedValues": [
223
+ {
224
+ "path": "Observation.category",
225
+ "value": {
226
+ "coding": [
227
+ {
228
+ "system": "http://ncimeta.nci.nih.gov",
229
+ "code": "C2004062"
230
+ }
231
+ ]
232
+ }
233
+ }
234
+ ]
235
+ },
236
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-SocialHistory": {
237
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-SocialHistory",
238
+ "resource": "Observation",
239
+ "fixedValues": [
240
+ {
241
+ "path": "Observation.category",
242
+ "value": {
243
+ "coding": [
244
+ {
245
+ "system": "http://ncimeta.nci.nih.gov",
246
+ "code": "C2004062"
247
+ }
248
+ ]
249
+ }
250
+ },
251
+ {
252
+ "path": "Observation.category",
253
+ "value": {
254
+ "coding": [
255
+ {
256
+ "system": "http://hl7.org/fhir/observation-category",
257
+ "code": "social-history"
258
+ }
259
+ ]
260
+ }
261
+ }
262
+ ]
263
+ },
264
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-BehavioralObservation": {
265
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-BehavioralObservation",
266
+ "resource": "Observation",
267
+ "fixedValues": [
268
+ {
269
+ "path": "Observation.category",
270
+ "value": {
271
+ "coding": [
272
+ {
273
+ "system": "http://loinc.org",
274
+ "code": "54511-1"
275
+ }
276
+ ]
277
+ }
278
+ }
279
+ ]
280
+ },
281
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceUse": {
282
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceUse",
283
+ "resource": "Observation",
284
+ "fixedValues": [
285
+ {
286
+ "path": "Observation.category",
287
+ "value": {
288
+ "coding": [
289
+ {
290
+ "system": "http://ncimeta.nci.nih.gov",
291
+ "code": "C2004062"
292
+ }
293
+ ]
294
+ }
295
+ },
296
+ {
297
+ "path": "Observation.category",
298
+ "value": {
299
+ "coding": [
300
+ {
301
+ "system": "http://ncimeta.nci.nih.gov",
302
+ "code": "C0332157"
303
+ }
304
+ ]
305
+ }
306
+ },
307
+ {
308
+ "path": "Observation.category",
309
+ "value": {
310
+ "coding": [
311
+ {
312
+ "system": "http://ncimeta.nci.nih.gov",
313
+ "code": "C024251"
314
+ }
315
+ ]
316
+ }
317
+ }
318
+ ]
319
+ },
320
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-IntravenousDrugUse": {
321
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-IntravenousDrugUse",
322
+ "resource": "Observation",
323
+ "fixedValues": [
324
+ {
325
+ "path": "Observation.category",
326
+ "value": {
327
+ "coding": [
328
+ {
329
+ "system": "http://ncimeta.nci.nih.gov",
330
+ "code": "C2004062"
331
+ }
332
+ ]
333
+ }
334
+ },
335
+ {
336
+ "path": "Observation.category",
337
+ "value": {
338
+ "coding": [
339
+ {
340
+ "system": "http://ncimeta.nci.nih.gov",
341
+ "code": "C0332157"
342
+ }
343
+ ]
344
+ }
345
+ },
346
+ {
347
+ "path": "Observation.category",
348
+ "value": {
349
+ "coding": [
350
+ {
351
+ "system": "http://ncimeta.nci.nih.gov",
352
+ "code": "C024251"
353
+ }
354
+ ]
355
+ }
356
+ },
357
+ {
358
+ "path": "Observation.code",
359
+ "value": {
360
+ "coding": [
361
+ {
362
+ "system": "http://ncimeta.nci.nih.gov",
363
+ "code": "C0242566"
364
+ }
365
+ ]
366
+ }
367
+ },
368
+ {
369
+ "path": "Observation.extension.valueCodeableConcept",
370
+ "value": {
371
+ "coding": [
372
+ {
373
+ "system": "http://ncimeta.nci.nih.gov",
374
+ "code": "C0021494"
375
+ }
376
+ ]
377
+ }
378
+ },
379
+ {
380
+ "path": "Observation.extension.valueCodeableConcept",
381
+ "value": {
382
+ "coding": [
383
+ {
384
+ "system": "http://ncimeta.nci.nih.gov",
385
+ "code": "C1522726"
386
+ }
387
+ ]
388
+ }
389
+ }
390
+ ]
391
+ },
392
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ONCSmokingStatus": {
393
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ONCSmokingStatus",
394
+ "resource": "Observation",
395
+ "fixedValues": [
396
+ {
397
+ "path": "Observation.code",
398
+ "value": {
399
+ "coding": [
400
+ {
401
+ "system": "http://loinc.org",
402
+ "code": "11367-0"
403
+ }
404
+ ]
405
+ }
406
+ }
407
+ ]
408
+ },
409
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-NicotineUse": {
410
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-NicotineUse",
411
+ "resource": "Observation",
412
+ "fixedValues": [
413
+ {
414
+ "path": "Observation.category",
415
+ "value": {
416
+ "coding": [
417
+ {
418
+ "system": "http://ncimeta.nci.nih.gov",
419
+ "code": "C2004062"
420
+ }
421
+ ]
422
+ }
423
+ },
424
+ {
425
+ "path": "Observation.category",
426
+ "value": {
427
+ "coding": [
428
+ {
429
+ "system": "http://ncimeta.nci.nih.gov",
430
+ "code": "C0332157"
431
+ }
432
+ ]
433
+ }
434
+ },
435
+ {
436
+ "path": "Observation.category",
437
+ "value": {
438
+ "coding": [
439
+ {
440
+ "system": "http://ncimeta.nci.nih.gov",
441
+ "code": "C024251"
442
+ }
443
+ ]
444
+ }
445
+ },
446
+ {
447
+ "path": "Observation.code",
448
+ "value": {
449
+ "coding": [
450
+ {
451
+ "system": "http://loinc.org",
452
+ "code": "11367-0"
453
+ }
454
+ ]
455
+ }
456
+ },
457
+ {
458
+ "path": "Observation.extension.valueCodeableConcept",
459
+ "value": {
460
+ "coding": [
461
+ {
462
+ "system": "http://ncimeta.nci.nih.gov",
463
+ "code": "C2363943"
464
+ }
465
+ ]
466
+ }
467
+ }
468
+ ]
469
+ },
470
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholUse": {
471
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholUse",
472
+ "resource": "Observation",
473
+ "fixedValues": [
474
+ {
475
+ "path": "Observation.category",
476
+ "value": {
477
+ "coding": [
478
+ {
479
+ "system": "http://ncimeta.nci.nih.gov",
480
+ "code": "C2004062"
481
+ }
482
+ ]
483
+ }
484
+ },
485
+ {
486
+ "path": "Observation.category",
487
+ "value": {
488
+ "coding": [
489
+ {
490
+ "system": "http://ncimeta.nci.nih.gov",
491
+ "code": "C0332157"
492
+ }
493
+ ]
494
+ }
495
+ },
496
+ {
497
+ "path": "Observation.category",
498
+ "value": {
499
+ "coding": [
500
+ {
501
+ "system": "http://ncimeta.nci.nih.gov",
502
+ "code": "C024251"
503
+ }
504
+ ]
505
+ }
506
+ },
507
+ {
508
+ "path": "Observation.code",
509
+ "value": {
510
+ "coding": [
511
+ {
512
+ "system": "http://ncimeta.nci.nih.gov",
513
+ "code": "C0001948"
514
+ }
515
+ ]
516
+ }
517
+ },
518
+ {
519
+ "path": "Observation.extension.valueCodeableConcept",
520
+ "value": {
521
+ "coding": [
522
+ {
523
+ "system": "http://snomed.info/sct",
524
+ "code": "398624005"
525
+ }
526
+ ]
527
+ }
528
+ }
529
+ ]
530
+ },
531
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPractice": {
532
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPractice",
533
+ "resource": "Observation",
534
+ "fixedValues": [
535
+ {
536
+ "path": "Observation.category",
537
+ "value": {
538
+ "coding": [
539
+ {
540
+ "system": "http://loinc.org",
541
+ "code": "54511-1"
542
+ }
543
+ ]
544
+ }
545
+ },
546
+ {
547
+ "path": "Observation.code",
548
+ "value": {
549
+ "coding": [
550
+ {
551
+ "system": "http://loinc.org",
552
+ "code": "81364-2"
553
+ }
554
+ ]
555
+ }
556
+ }
557
+ ]
558
+ },
559
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietAndNutrition": {
560
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietAndNutrition",
561
+ "resource": "Observation",
562
+ "fixedValues": [
563
+ {
564
+ "path": "Observation.category",
565
+ "value": {
566
+ "coding": [
567
+ {
568
+ "system": "http://loinc.org",
569
+ "code": "54511-1"
570
+ }
571
+ ]
572
+ }
573
+ },
574
+ {
575
+ "path": "Observation.code",
576
+ "value": {
577
+ "coding": [
578
+ {
579
+ "system": "http://ncimeta.nci.nih.gov",
580
+ "code": "C0012155"
581
+ }
582
+ ]
583
+ }
584
+ }
585
+ ]
586
+ },
587
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQuality": {
588
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQuality",
589
+ "resource": "Observation",
590
+ "fixedValues": [
591
+ {
592
+ "path": "Observation.category",
593
+ "value": {
594
+ "coding": [
595
+ {
596
+ "system": "http://loinc.org",
597
+ "code": "54511-1"
598
+ }
599
+ ]
600
+ }
601
+ },
602
+ {
603
+ "path": "Observation.code",
604
+ "value": {
605
+ "coding": [
606
+ {
607
+ "system": "http://loinc.org",
608
+ "code": "28323-4"
609
+ }
610
+ ]
611
+ }
612
+ }
613
+ ]
614
+ },
615
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLevel": {
616
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLevel",
617
+ "resource": "Observation",
618
+ "fixedValues": [
619
+ {
620
+ "path": "Observation.category",
621
+ "value": {
622
+ "coding": [
623
+ {
624
+ "system": "http://loinc.org",
625
+ "code": "54511-1"
626
+ }
627
+ ]
628
+ }
629
+ },
630
+ {
631
+ "path": "Observation.code",
632
+ "value": {
633
+ "coding": [
634
+ {
635
+ "system": "http://loinc.org",
636
+ "code": "28323-4"
637
+ }
638
+ ]
639
+ }
640
+ }
641
+ ]
642
+ },
643
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentBehaviorRisk": {
644
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentBehaviorRisk",
645
+ "resource": "Basic",
646
+ "fixedValues": [
647
+ {
648
+ "path": "Basic.code",
649
+ "value": {
650
+ "coding": [
651
+ {
652
+ "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
653
+ "code": "shr-behavior-ViolentBehaviorRisk"
654
+ }
655
+ ]
656
+ }
657
+ }
658
+ ]
659
+ },
660
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureToSubstance": {
661
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureToSubstance",
662
+ "resource": "Observation",
663
+ "fixedValues": [
664
+ {
665
+ "path": "Observation.category",
666
+ "value": {
667
+ "coding": [
668
+ {
669
+ "system": "http://ncimeta.nci.nih.gov",
670
+ "code": "C2004062"
671
+ }
672
+ ]
673
+ }
674
+ },
675
+ {
676
+ "path": "Observation.category",
677
+ "value": {
678
+ "coding": [
679
+ {
680
+ "system": "http://ncimeta.nci.nih.gov",
681
+ "code": "C0332157"
682
+ }
683
+ ]
684
+ }
685
+ }
686
+ ]
687
+ },
688
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-FinancialSituationPanel": {
689
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-FinancialSituationPanel",
690
+ "resource": "DiagnosticReport",
691
+ "fixedValues": [
692
+ {
693
+ "path": "DiagnosticReport.codedDiagnosis",
694
+ "value": {
695
+ "coding": [
696
+ {
697
+ "system": "http://ncimeta.nci.nih.gov",
698
+ "code": "C0516918"
699
+ }
700
+ ]
701
+ }
702
+ }
703
+ ]
704
+ },
705
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome": {
706
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome",
707
+ "resource": "Observation",
708
+ "fixedValues": [
709
+ {
710
+ "path": "Observation.code",
711
+ "value": {
712
+ "coding": [
713
+ {
714
+ "system": "http://ncimeta.nci.nih.gov",
715
+ "code": "C0557163"
716
+ }
717
+ ]
718
+ }
719
+ }
720
+ ]
721
+ },
722
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource": {
723
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource",
724
+ "resource": "Observation",
725
+ "fixedValues": [
726
+ {
727
+ "path": "Observation.code",
728
+ "value": {
729
+ "coding": [
730
+ {
731
+ "system": "http://ncimeta.nci.nih.gov",
732
+ "code": "C0557162"
733
+ }
734
+ ]
735
+ }
736
+ }
737
+ ]
738
+ },
739
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability": {
740
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability",
741
+ "resource": "Observation",
742
+ "fixedValues": [
743
+ {
744
+ "path": "Observation.code",
745
+ "value": {
746
+ "coding": [
747
+ {
748
+ "system": "http://ncimeta.nci.nih.gov",
749
+ "code": "C1820459"
750
+ }
751
+ ]
752
+ }
753
+ }
754
+ ]
755
+ },
756
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize": {
757
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize",
758
+ "resource": "Observation",
759
+ "fixedValues": [
760
+ {
761
+ "path": "Observation.code",
762
+ "value": {
763
+ "coding": [
764
+ {
765
+ "system": "http://ncimeta.nci.nih.gov",
766
+ "code": "C0000768"
767
+ }
768
+ ]
769
+ }
770
+ }
771
+ ]
772
+ },
773
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents": {
774
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents",
775
+ "resource": "Observation",
776
+ "fixedValues": [
777
+ {
778
+ "path": "Observation.code",
779
+ "value": {
780
+ "coding": [
781
+ {
782
+ "system": "http://ncimeta.nci.nih.gov",
783
+ "code": "C0557509"
784
+ }
785
+ ]
786
+ }
787
+ }
788
+ ]
789
+ },
790
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure": {
791
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure",
792
+ "resource": "Observation",
793
+ "fixedValues": [
794
+ {
795
+ "path": "Observation.category",
796
+ "value": {
797
+ "coding": [
798
+ {
799
+ "system": "http://ncimeta.nci.nih.gov",
800
+ "code": "C2004062"
801
+ }
802
+ ]
803
+ }
804
+ },
805
+ {
806
+ "path": "Observation.category",
807
+ "value": {
808
+ "coding": [
809
+ {
810
+ "system": "http://ncimeta.nci.nih.gov",
811
+ "code": "C0332157"
812
+ }
813
+ ]
814
+ }
815
+ },
816
+ {
817
+ "path": "Observation.code",
818
+ "value": {
819
+ "coding": [
820
+ {
821
+ "system": "http://ncimeta.nci.nih.gov",
822
+ "code": "C0238646"
823
+ }
824
+ ]
825
+ }
826
+ }
827
+ ]
828
+ },
829
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence": {
830
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence",
831
+ "resource": "Observation",
832
+ "fixedValues": [
833
+ {
834
+ "path": "Observation.code",
835
+ "value": {
836
+ "coding": [
837
+ {
838
+ "system": "http://ncimeta.nci.nih.gov",
839
+ "code": "C0206073"
840
+ }
841
+ ]
842
+ }
843
+ }
844
+ ]
845
+ },
846
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribed": {
847
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribed",
848
+ "resource": "MedicationRequest",
849
+ "fixedValues": [
850
+ {
851
+ "path": "MedicationRequest.modifierExtension.extension.valueBoolean",
852
+ "value": true
853
+ }
854
+ ]
855
+ },
856
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationChange": {
857
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationChange",
858
+ "resource": "Basic",
859
+ "fixedValues": [
860
+ {
861
+ "path": "Basic.code",
862
+ "value": {
863
+ "coding": [
864
+ {
865
+ "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
866
+ "code": "shr-medication-MedicationChange"
867
+ }
868
+ ]
869
+ }
870
+ }
871
+ ]
872
+ },
873
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HomeTelephoneNumber": {
874
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HomeTelephoneNumber",
875
+ "resource": "ContactPoint",
876
+ "fixedValues": [
877
+ {
878
+ "path": "ContactPoint.use",
879
+ "value": "personal"
880
+ }
881
+ ]
882
+ },
883
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-WorkTelephoneNumber": {
884
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-WorkTelephoneNumber",
885
+ "resource": "ContactPoint",
886
+ "fixedValues": [
887
+ {
888
+ "path": "ContactPoint.use",
889
+ "value": "work"
890
+ }
891
+ ]
892
+ },
893
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationNotGiven": {
894
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationNotGiven",
895
+ "resource": "Immunization",
896
+ "fixedValues": [
897
+ {
898
+ "path": "Immunization.wasNotGiven",
899
+ "value": true
900
+ }
901
+ ]
902
+ },
903
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-PrenatalExposure": {
904
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-PrenatalExposure",
905
+ "resource": "Observation",
906
+ "fixedValues": [
907
+ {
908
+ "path": "Observation.category",
909
+ "value": {
910
+ "coding": [
911
+ {
912
+ "system": "http://ncimeta.nci.nih.gov",
913
+ "code": "C2004062"
914
+ }
915
+ ]
916
+ }
917
+ },
918
+ {
919
+ "path": "Observation.category",
920
+ "value": {
921
+ "coding": [
922
+ {
923
+ "system": "http://ncimeta.nci.nih.gov",
924
+ "code": "C0332157"
925
+ }
926
+ ]
927
+ }
928
+ },
929
+ {
930
+ "path": "Observation.code",
931
+ "value": {
932
+ "coding": [
933
+ {
934
+ "system": "http://ncimeta.nci.nih.gov",
935
+ "code": "C0871747"
936
+ }
937
+ ]
938
+ }
939
+ }
940
+ ]
941
+ },
942
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-CongenitalAbnormalities": {
943
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-CongenitalAbnormalities",
944
+ "resource": "Observation",
945
+ "fixedValues": [
946
+ {
947
+ "path": "Observation.code",
948
+ "value": {
949
+ "coding": [
950
+ {
951
+ "system": "http://ncimeta.nci.nih.gov",
952
+ "code": "C0000768"
953
+ }
954
+ ]
955
+ }
956
+ }
957
+ ]
958
+ },
959
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EducationalAttainment": {
960
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EducationalAttainment",
961
+ "resource": "Observation",
962
+ "fixedValues": [
963
+ {
964
+ "path": "Observation.code",
965
+ "value": {
966
+ "coding": [
967
+ {
968
+ "system": "http://loinc.org",
969
+ "code": "63504-5"
970
+ }
971
+ ]
972
+ }
973
+ }
974
+ ]
975
+ },
976
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Occupation": {
977
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Occupation",
978
+ "resource": "Observation",
979
+ "fixedValues": [
980
+ {
981
+ "path": "Observation.code",
982
+ "value": {
983
+ "coding": [
984
+ {
985
+ "system": "http://loinc.org",
986
+ "code": "74287-4"
987
+ }
988
+ ]
989
+ }
990
+ }
991
+ ]
992
+ },
993
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employment": {
994
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employment",
995
+ "resource": "Observation",
996
+ "fixedValues": [
997
+ {
998
+ "path": "Observation.code",
999
+ "value": {
1000
+ "coding": [
1001
+ {
1002
+ "system": "http://loinc.org",
1003
+ "code": "74165-2"
1004
+ }
1005
+ ]
1006
+ }
1007
+ }
1008
+ ]
1009
+ },
1010
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryService": {
1011
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryService",
1012
+ "resource": "DiagnosticReport",
1013
+ "fixedValues": [
1014
+ {
1015
+ "path": "DiagnosticReport.extension.valueCodeableConcept",
1016
+ "value": {
1017
+ "coding": [
1018
+ {
1019
+ "system": "http://ncimeta.nci.nih.gov",
1020
+ "code": "C3714797"
1021
+ }
1022
+ ]
1023
+ }
1024
+ }
1025
+ ]
1026
+ },
1027
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Travel": {
1028
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Travel",
1029
+ "resource": "Observation",
1030
+ "fixedValues": [
1031
+ {
1032
+ "path": "Observation.category",
1033
+ "value": {
1034
+ "coding": [
1035
+ {
1036
+ "system": "http://ncimeta.nci.nih.gov",
1037
+ "code": "C2004062"
1038
+ }
1039
+ ]
1040
+ }
1041
+ },
1042
+ {
1043
+ "path": "Observation.code",
1044
+ "value": {
1045
+ "coding": [
1046
+ {
1047
+ "system": "http://ncimeta.nci.nih.gov",
1048
+ "code": "C0040802"
1049
+ }
1050
+ ]
1051
+ }
1052
+ }
1053
+ ]
1054
+ },
1055
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyIntention": {
1056
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyIntention",
1057
+ "resource": "Observation",
1058
+ "fixedValues": [
1059
+ {
1060
+ "path": "Observation.code",
1061
+ "value": {
1062
+ "coding": [
1063
+ {
1064
+ "system": "http://loinc.org",
1065
+ "code": "64631-5"
1066
+ }
1067
+ ]
1068
+ }
1069
+ }
1070
+ ]
1071
+ },
1072
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualBehavior": {
1073
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualBehavior",
1074
+ "resource": "DiagnosticReport",
1075
+ "fixedValues": [
1076
+ {
1077
+ "path": "DiagnosticReport.extension.valueCodeableConcept",
1078
+ "value": {
1079
+ "coding": [
1080
+ {
1081
+ "system": "http://ncimeta.nci.nih.gov",
1082
+ "code": "C1314687"
1083
+ }
1084
+ ]
1085
+ }
1086
+ }
1087
+ ]
1088
+ },
1089
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodsUsed": {
1090
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodsUsed",
1091
+ "resource": "Observation",
1092
+ "fixedValues": [
1093
+ {
1094
+ "path": "Observation.code",
1095
+ "value": {
1096
+ "coding": [
1097
+ {
1098
+ "system": "http://ncimeta.nci.nih.gov",
1099
+ "code": "C0700589"
1100
+ }
1101
+ ]
1102
+ }
1103
+ }
1104
+ ]
1105
+ },
1106
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodRecommendation": {
1107
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodRecommendation",
1108
+ "resource": "Basic",
1109
+ "fixedValues": [
1110
+ {
1111
+ "path": "Basic.code",
1112
+ "value": {
1113
+ "coding": [
1114
+ {
1115
+ "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
1116
+ "code": "shr-sex-ContraceptiveMethodRecommendation"
1117
+ }
1118
+ ]
1119
+ }
1120
+ }
1121
+ ]
1122
+ },
1123
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceEmployed": {
1124
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceEmployed",
1125
+ "resource": "DeviceUseStatement",
1126
+ "fixedValues": [
1127
+ {
1128
+ "path": "DeviceUseStatement.extension.valueBoolean",
1129
+ "value": false
1130
+ }
1131
+ ]
1132
+ },
1133
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerNotPresent": {
1134
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerNotPresent",
1135
+ "resource": "Condition",
1136
+ "fixedValues": [
1137
+ {
1138
+ "path": "Condition.modifierExtension.extension.valueBoolean",
1139
+ "value": true
1140
+ }
1141
+ ]
1142
+ },
1143
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerManifestation": {
1144
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerManifestation",
1145
+ "resource": "Observation",
1146
+ "fixedValues": [
1147
+ {
1148
+ "path": "Observation.code",
1149
+ "value": {
1150
+ "coding": [
1151
+ {
1152
+ "system": "http://loinc.org",
1153
+ "code": "54574-9"
1154
+ }
1155
+ ]
1156
+ }
1157
+ }
1158
+ ]
1159
+ },
1160
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign": {
1161
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign",
1162
+ "resource": "Observation",
1163
+ "fixedValues": [
1164
+ {
1165
+ "path": "Observation.category",
1166
+ "value": {
1167
+ "coding": [
1168
+ {
1169
+ "system": "http://hl7.org/fhir/observation-category",
1170
+ "code": "vital-sign"
1171
+ }
1172
+ ]
1173
+ }
1174
+ }
1175
+ ]
1176
+ },
1177
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-RespiratoryRate": {
1178
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-RespiratoryRate",
1179
+ "resource": "Observation",
1180
+ "fixedValues": [
1181
+ {
1182
+ "path": "Observation.category",
1183
+ "value": {
1184
+ "coding": [
1185
+ {
1186
+ "system": "http://hl7.org/fhir/observation-category",
1187
+ "code": "vital-sign"
1188
+ }
1189
+ ]
1190
+ }
1191
+ },
1192
+ {
1193
+ "path": "Observation.code",
1194
+ "value": {
1195
+ "coding": [
1196
+ {
1197
+ "system": "http://loinc.org",
1198
+ "code": "9279-1"
1199
+ }
1200
+ ]
1201
+ }
1202
+ },
1203
+ {
1204
+ "path": "Observation.valueQuantity",
1205
+ "value": {
1206
+ "system": "http://unitsofmeasure.org",
1207
+ "code": "/min"
1208
+ }
1209
+ }
1210
+ ]
1211
+ },
1212
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeartRate": {
1213
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeartRate",
1214
+ "resource": "Observation",
1215
+ "fixedValues": [
1216
+ {
1217
+ "path": "Observation.category",
1218
+ "value": {
1219
+ "coding": [
1220
+ {
1221
+ "system": "http://hl7.org/fhir/observation-category",
1222
+ "code": "vital-sign"
1223
+ }
1224
+ ]
1225
+ }
1226
+ },
1227
+ {
1228
+ "path": "Observation.code",
1229
+ "value": {
1230
+ "coding": [
1231
+ {
1232
+ "system": "http://loinc.org",
1233
+ "code": "8867-4"
1234
+ }
1235
+ ]
1236
+ }
1237
+ },
1238
+ {
1239
+ "path": "Observation.valueQuantity",
1240
+ "value": {
1241
+ "system": "http://unitsofmeasure.org",
1242
+ "code": "/min"
1243
+ }
1244
+ }
1245
+ ]
1246
+ },
1247
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-OxygenSaturation": {
1248
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-OxygenSaturation",
1249
+ "resource": "Observation",
1250
+ "fixedValues": [
1251
+ {
1252
+ "path": "Observation.category",
1253
+ "value": {
1254
+ "coding": [
1255
+ {
1256
+ "system": "http://hl7.org/fhir/observation-category",
1257
+ "code": "vital-sign"
1258
+ }
1259
+ ]
1260
+ }
1261
+ },
1262
+ {
1263
+ "path": "Observation.code",
1264
+ "value": {
1265
+ "coding": [
1266
+ {
1267
+ "system": "http://loinc.org",
1268
+ "code": "59408-5"
1269
+ }
1270
+ ]
1271
+ }
1272
+ },
1273
+ {
1274
+ "path": "Observation.valueQuantity",
1275
+ "value": {
1276
+ "system": "http://unitsofmeasure.org",
1277
+ "code": "%"
1278
+ }
1279
+ }
1280
+ ]
1281
+ },
1282
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyTemperature": {
1283
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyTemperature",
1284
+ "resource": "Observation",
1285
+ "fixedValues": [
1286
+ {
1287
+ "path": "Observation.category",
1288
+ "value": {
1289
+ "coding": [
1290
+ {
1291
+ "system": "http://hl7.org/fhir/observation-category",
1292
+ "code": "vital-sign"
1293
+ }
1294
+ ]
1295
+ }
1296
+ },
1297
+ {
1298
+ "path": "Observation.code",
1299
+ "value": {
1300
+ "coding": [
1301
+ {
1302
+ "system": "http://loinc.org",
1303
+ "code": "8310-5"
1304
+ }
1305
+ ]
1306
+ }
1307
+ },
1308
+ {
1309
+ "path": "Observation.valueQuantity",
1310
+ "value": {
1311
+ "system": "http://unitsofmeasure.org",
1312
+ "code": "Cel"
1313
+ }
1314
+ }
1315
+ ]
1316
+ },
1317
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight": {
1318
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight",
1319
+ "resource": "Observation",
1320
+ "fixedValues": [
1321
+ {
1322
+ "path": "Observation.category",
1323
+ "value": {
1324
+ "coding": [
1325
+ {
1326
+ "system": "http://hl7.org/fhir/observation-category",
1327
+ "code": "vital-sign"
1328
+ }
1329
+ ]
1330
+ }
1331
+ },
1332
+ {
1333
+ "path": "Observation.code",
1334
+ "value": {
1335
+ "coding": [
1336
+ {
1337
+ "system": "http://loinc.org",
1338
+ "code": "8302-2"
1339
+ }
1340
+ ]
1341
+ }
1342
+ },
1343
+ {
1344
+ "path": "Observation.valueQuantity",
1345
+ "value": {
1346
+ "system": "http://unitsofmeasure.org",
1347
+ "code": "cm"
1348
+ }
1349
+ }
1350
+ ]
1351
+ },
1352
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyLength": {
1353
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyLength",
1354
+ "resource": "Observation",
1355
+ "fixedValues": [
1356
+ {
1357
+ "path": "Observation.category",
1358
+ "value": {
1359
+ "coding": [
1360
+ {
1361
+ "system": "http://hl7.org/fhir/observation-category",
1362
+ "code": "vital-sign"
1363
+ }
1364
+ ]
1365
+ }
1366
+ },
1367
+ {
1368
+ "path": "Observation.code",
1369
+ "value": {
1370
+ "coding": [
1371
+ {
1372
+ "system": "http://loinc.org",
1373
+ "code": "8306-3"
1374
+ }
1375
+ ]
1376
+ }
1377
+ },
1378
+ {
1379
+ "path": "Observation.valueQuantity",
1380
+ "value": {
1381
+ "system": "http://unitsofmeasure.org",
1382
+ "code": "cm"
1383
+ }
1384
+ }
1385
+ ]
1386
+ },
1387
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight": {
1388
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight",
1389
+ "resource": "Observation",
1390
+ "fixedValues": [
1391
+ {
1392
+ "path": "Observation.category",
1393
+ "value": {
1394
+ "coding": [
1395
+ {
1396
+ "system": "http://hl7.org/fhir/observation-category",
1397
+ "code": "vital-sign"
1398
+ }
1399
+ ]
1400
+ }
1401
+ },
1402
+ {
1403
+ "path": "Observation.code",
1404
+ "value": {
1405
+ "coding": [
1406
+ {
1407
+ "system": "http://loinc.org",
1408
+ "code": "29463-7"
1409
+ }
1410
+ ]
1411
+ }
1412
+ },
1413
+ {
1414
+ "path": "Observation.valueQuantity",
1415
+ "value": {
1416
+ "system": "http://unitsofmeasure.org",
1417
+ "code": "kg"
1418
+ }
1419
+ }
1420
+ ]
1421
+ },
1422
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadCircumference": {
1423
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadCircumference",
1424
+ "resource": "Observation",
1425
+ "fixedValues": [
1426
+ {
1427
+ "path": "Observation.category",
1428
+ "value": {
1429
+ "coding": [
1430
+ {
1431
+ "system": "http://hl7.org/fhir/observation-category",
1432
+ "code": "vital-sign"
1433
+ }
1434
+ ]
1435
+ }
1436
+ },
1437
+ {
1438
+ "path": "Observation.code",
1439
+ "value": {
1440
+ "coding": [
1441
+ {
1442
+ "system": "http://loinc.org",
1443
+ "code": "8287-5"
1444
+ }
1445
+ ]
1446
+ }
1447
+ },
1448
+ {
1449
+ "path": "Observation.valueQuantity",
1450
+ "value": {
1451
+ "system": "http://unitsofmeasure.org",
1452
+ "code": "cm"
1453
+ }
1454
+ }
1455
+ ]
1456
+ },
1457
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyMassIndex": {
1458
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyMassIndex",
1459
+ "resource": "Observation",
1460
+ "fixedValues": [
1461
+ {
1462
+ "path": "Observation.category",
1463
+ "value": {
1464
+ "coding": [
1465
+ {
1466
+ "system": "http://hl7.org/fhir/observation-category",
1467
+ "code": "vital-sign"
1468
+ }
1469
+ ]
1470
+ }
1471
+ },
1472
+ {
1473
+ "path": "Observation.code",
1474
+ "value": {
1475
+ "coding": [
1476
+ {
1477
+ "system": "http://loinc.org",
1478
+ "code": "39156-5"
1479
+ }
1480
+ ]
1481
+ }
1482
+ },
1483
+ {
1484
+ "path": "Observation.component.code",
1485
+ "value": {
1486
+ "coding": [
1487
+ {
1488
+ "system": "http://loinc.org",
1489
+ "code": "29463-7"
1490
+ }
1491
+ ]
1492
+ }
1493
+ },
1494
+ {
1495
+ "path": "Observation.component.code",
1496
+ "value": {
1497
+ "coding": [
1498
+ {
1499
+ "system": "http://loinc.org",
1500
+ "code": "8302-2"
1501
+ }
1502
+ ]
1503
+ }
1504
+ },
1505
+ {
1506
+ "path": "Observation.component.valueQuantity",
1507
+ "value": {
1508
+ "system": "http://unitsofmeasure.org",
1509
+ "code": "kg"
1510
+ }
1511
+ },
1512
+ {
1513
+ "path": "Observation.component.valueQuantity",
1514
+ "value": {
1515
+ "system": "http://unitsofmeasure.org",
1516
+ "code": "cm"
1517
+ }
1518
+ }
1519
+ ]
1520
+ },
1521
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure": {
1522
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure",
1523
+ "resource": "Observation",
1524
+ "fixedValues": [
1525
+ {
1526
+ "path": "Observation.category",
1527
+ "value": {
1528
+ "coding": [
1529
+ {
1530
+ "system": "http://hl7.org/fhir/observation-category",
1531
+ "code": "vital-sign"
1532
+ }
1533
+ ]
1534
+ }
1535
+ },
1536
+ {
1537
+ "path": "Observation.code",
1538
+ "value": {
1539
+ "coding": [
1540
+ {
1541
+ "system": "http://loinc.org",
1542
+ "code": "55284-4"
1543
+ }
1544
+ ]
1545
+ }
1546
+ },
1547
+ {
1548
+ "path": "Observation.component.code",
1549
+ "value": {
1550
+ "coding": [
1551
+ {
1552
+ "system": "http://loinc.org",
1553
+ "code": "8480-6"
1554
+ }
1555
+ ]
1556
+ }
1557
+ },
1558
+ {
1559
+ "path": "Observation.component.code",
1560
+ "value": {
1561
+ "coding": [
1562
+ {
1563
+ "system": "http://loinc.org",
1564
+ "code": "8462-4"
1565
+ }
1566
+ ]
1567
+ }
1568
+ },
1569
+ {
1570
+ "path": "Observation.component.valueQuantity",
1571
+ "value": {
1572
+ "system": "http://unitsofmeasure.org",
1573
+ "code": "mm[Hg]"
1574
+ }
1575
+ },
1576
+ {
1577
+ "path": "Observation.component.valueQuantity",
1578
+ "value": {
1579
+ "system": "http://unitsofmeasure.org",
1580
+ "code": "mm[Hg]"
1581
+ }
1582
+ }
1583
+ ]
1584
+ },
1585
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-SystolicPressure": {
1586
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-SystolicPressure",
1587
+ "resource": "Observation",
1588
+ "fixedValues": [
1589
+ {
1590
+ "path": "Observation.code",
1591
+ "value": {
1592
+ "coding": [
1593
+ {
1594
+ "system": "http://loinc.org",
1595
+ "code": "8480-6"
1596
+ }
1597
+ ]
1598
+ }
1599
+ },
1600
+ {
1601
+ "path": "Observation.extension",
1602
+ "value": {
1603
+ "system": "http://unitsofmeasure.org",
1604
+ "code": "mm[Hg]"
1605
+ }
1606
+ }
1607
+ ]
1608
+ },
1609
+ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-DiastolicPressure": {
1610
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-DiastolicPressure",
1611
+ "resource": "Observation",
1612
+ "fixedValues": [
1613
+ {
1614
+ "path": "Observation.code",
1615
+ "value": {
1616
+ "coding": [
1617
+ {
1618
+ "system": "http://loinc.org",
1619
+ "code": "8462-4"
1620
+ }
1621
+ ]
1622
+ }
1623
+ },
1624
+ {
1625
+ "path": "Observation.extension",
1626
+ "value": {
1627
+ "system": "http://unitsofmeasure.org",
1628
+ "code": "mm[Hg]"
1629
+ }
1630
+ }
1631
+ ]
1632
+ }
1633
+ }