fhir_scorecard 1.8.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (614) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -1
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +12 -12
  5. data/fhir_scorecard.gemspec +2 -2
  6. data/lib/fhir_scorecard.rb +1 -0
  7. data/lib/implementation_guides.rb +184 -0
  8. data/lib/resources/profile_indicators.json +1633 -0
  9. data/lib/resources/standard_health_record/CodeSystem-shr-actor-LanguageQualifierCS.json +79 -0
  10. data/lib/resources/standard_health_record/CodeSystem-shr-base-GenericAnswersCS.json +54 -0
  11. data/lib/resources/standard_health_record/CodeSystem-shr-base-MissingValueReasonCS.json +80 -0
  12. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-AlcoholUseScreeningToolCS.json +54 -0
  13. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-DietNutritionConcernCS.json +129 -0
  14. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-PhysicalActivityLimitationCS.json +99 -0
  15. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousPracticeStatusCS.json +54 -0
  16. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousRestrictionCS.json +55 -0
  17. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SleepQualityReasonCS.json +94 -0
  18. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SpecialDietFollowedCS.json +69 -0
  19. data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeCS.json +94 -0
  20. data/lib/resources/standard_health_record/CodeSystem-shr-core-CodingQualifierCS.json +74 -0
  21. data/lib/resources/standard_health_record/CodeSystem-shr-core-PerformanceGradingScaleCS.json +65 -0
  22. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeDateTimeCS.json +139 -0
  23. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeFrequencyCS.json +64 -0
  24. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeLikelihoodCS.json +70 -0
  25. data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeValueScaleCS.json +64 -0
  26. data/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeDurationCS.json +84 -0
  27. data/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeFrequencyCS.json +104 -0
  28. data/lib/resources/standard_health_record/CodeSystem-shr-core-SettingCS.json +210 -0
  29. data/lib/resources/standard_health_record/CodeSystem-shr-core-ThreePriorityCS.json +54 -0
  30. data/lib/resources/standard_health_record/CodeSystem-shr-core-ThreeValueLogicCS.json +54 -0
  31. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-AddressUseCS.json +70 -0
  32. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-InsuranceProviderTypeCS.json +74 -0
  33. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelecomQualifierCS.json +99 -0
  34. data/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelephoneTypeCS.json +49 -0
  35. data/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryAssistDeviceCS.json +64 -0
  36. data/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryRateSettingCS.json +69 -0
  37. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-EncounterTypeCS.json +69 -0
  38. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-EpisodeOfCareCompletionCS.json +89 -0
  39. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReasonEncounterDidNotHappenCS.json +59 -0
  40. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReferralSourceTypeCS.json +84 -0
  41. data/lib/resources/standard_health_record/CodeSystem-shr-encounter-TreatmentCooperationCS.json +59 -0
  42. data/lib/resources/standard_health_record/CodeSystem-shr-environment-AnimalExposureCS.json +84 -0
  43. data/lib/resources/standard_health_record/CodeSystem-shr-environment-CoinhabitantCS.json +74 -0
  44. data/lib/resources/standard_health_record/CodeSystem-shr-environment-HomeEnvironmentRiskCS.json +214 -0
  45. data/lib/resources/standard_health_record/CodeSystem-shr-environment-IncomeSourceCS.json +109 -0
  46. data/lib/resources/standard_health_record/CodeSystem-shr-environment-NonCashBenefitCS.json +89 -0
  47. data/lib/resources/standard_health_record/CodeSystem-shr-environment-ResourceStabilityCS.json +59 -0
  48. data/lib/resources/standard_health_record/CodeSystem-shr-lab-RequestStatusCS.json +59 -0
  49. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EducationalAttainmentCS.json +89 -0
  50. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EmploymentStatusCS.json +104 -0
  51. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusCS.json +64 -0
  52. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceEraCS.json +80 -0
  53. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryStatusCS.json +54 -0
  54. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-TeratogenCS.json +319 -0
  55. data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-USMilitaryBranchCS.json +74 -0
  56. data/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeReasonCS.json +69 -0
  57. data/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeTypeCS.json +64 -0
  58. data/lib/resources/standard_health_record/CodeSystem-shr-medication-ReasonMedicationNotUsedCS.json +89 -0
  59. data/lib/resources/standard_health_record/CodeSystem-shr-observation-ExposureReasonCS.json +75 -0
  60. data/lib/resources/standard_health_record/CodeSystem-shr-observation-ObservationNotMadeReasonCS.json +65 -0
  61. data/lib/resources/standard_health_record/CodeSystem-shr-problem-EvidenceQualityCS.json +54 -0
  62. data/lib/resources/standard_health_record/CodeSystem-shr-problem-GradeOrStageCS.json +64 -0
  63. data/lib/resources/standard_health_record/CodeSystem-shr-problem-ProblemCategoryCS.json +69 -0
  64. data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodCS.json +129 -0
  65. data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodReasonCS.json +64 -0
  66. data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveNotUsedReasonCS.json +89 -0
  67. data/lib/resources/standard_health_record/CodeSystem-shr-sex-GenderIdentityCS.json +74 -0
  68. data/lib/resources/standard_health_record/CodeSystem-shr-skin-PressureUlcerAssociationCS.json +49 -0
  69. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceBodyPositionCS.json +49 -0
  70. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceCategoryCS.json +74 -0
  71. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceComponentCS.json +99 -0
  72. data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceFeatureCS.json +74 -0
  73. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureMethodCS.json +60 -0
  74. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureQualifierCS.json +70 -0
  75. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyHeightQualifierCS.json +44 -0
  76. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyTemperatureQualifierCS.json +44 -0
  77. data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyWeightQualifierCS.json +109 -0
  78. data/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateMethodCS.json +75 -0
  79. data/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateQualifierCS.json +65 -0
  80. data/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateMethodCS.json +70 -0
  81. data/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateQualifierCS.json +110 -0
  82. data/lib/resources/standard_health_record/ImplementationGuide-1.json +7079 -0
  83. data/lib/resources/standard_health_record/StructureDefinition-primitive-base64Binary-extension.json +215 -0
  84. data/lib/resources/standard_health_record/StructureDefinition-primitive-boolean-extension.json +215 -0
  85. data/lib/resources/standard_health_record/StructureDefinition-primitive-code-extension.json +215 -0
  86. data/lib/resources/standard_health_record/StructureDefinition-primitive-date-extension.json +215 -0
  87. data/lib/resources/standard_health_record/StructureDefinition-primitive-dateTime-extension.json +215 -0
  88. data/lib/resources/standard_health_record/StructureDefinition-primitive-decimal-extension.json +215 -0
  89. data/lib/resources/standard_health_record/StructureDefinition-primitive-id-extension.json +215 -0
  90. data/lib/resources/standard_health_record/StructureDefinition-primitive-instant-extension.json +215 -0
  91. data/lib/resources/standard_health_record/StructureDefinition-primitive-integer-extension.json +215 -0
  92. data/lib/resources/standard_health_record/StructureDefinition-primitive-markdown-extension.json +215 -0
  93. data/lib/resources/standard_health_record/StructureDefinition-primitive-oid-extension.json +215 -0
  94. data/lib/resources/standard_health_record/StructureDefinition-primitive-positiveInt-extension.json +215 -0
  95. data/lib/resources/standard_health_record/StructureDefinition-primitive-string-extension.json +215 -0
  96. data/lib/resources/standard_health_record/StructureDefinition-primitive-time-extension.json +215 -0
  97. data/lib/resources/standard_health_record/StructureDefinition-primitive-unsignedInt-extension.json +215 -0
  98. data/lib/resources/standard_health_record/StructureDefinition-primitive-uri-extension.json +215 -0
  99. data/lib/resources/standard_health_record/StructureDefinition-primitive-xhtml-extension.json +215 -0
  100. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Affiliation-extension.json +218 -0
  101. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-AgeAtDeath-extension.json +367 -0
  102. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Anonymized-extension.json +216 -0
  103. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-DateOfDeath-extension.json +367 -0
  104. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Deceased-extension.json +447 -0
  105. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-EmergencyContact.json +1046 -0
  106. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-FictionalPerson-extension.json +216 -0
  107. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageQualifier-extension.json +230 -0
  108. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageUsed-extension.json +487 -0
  109. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-MedicalSpecialty-extension.json +230 -0
  110. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-NoPrimaryCareProvider.json +1417 -0
  111. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Organization.json +951 -0
  112. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Participant-extension.json +621 -0
  113. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-ParticipationType-extension.json +218 -0
  114. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner-extension.json +218 -0
  115. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner.json +1205 -0
  116. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-PrimaryCareProvider.json +986 -0
  117. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-ProviderRelationship.json +1028 -0
  118. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson-extension.json +218 -0
  119. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson.json +900 -0
  120. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.json +230 -0
  121. data/lib/resources/standard_health_record/StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.json +230 -0
  122. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction-extension.json +218 -0
  123. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction.json +1927 -0
  124. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.json +407 -0
  125. data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AttributionCertainty-extension.json +230 -0
  126. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-AllergyIntolerance.json +1471 -0
  127. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-DrugAllergy.json +1487 -0
  128. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy-extension.json +218 -0
  129. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy.json +1487 -0
  130. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownAllergy.json +1902 -0
  131. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownDrugAllergy.json +1780 -0
  132. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.json +1780 -0
  133. data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownFoodAllergy.json +1780 -0
  134. data/lib/resources/standard_health_record/StructureDefinition-shr-base-ActionCode-extension.json +218 -0
  135. data/lib/resources/standard_health_record/StructureDefinition-shr-base-AssociatedEncounter-extension.json +218 -0
  136. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Author-extension.json +242 -0
  137. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Entry.json +911 -0
  138. data/lib/resources/standard_health_record/StructureDefinition-shr-base-FocalSubject-extension.json +234 -0
  139. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Informant-extension.json +234 -0
  140. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Language-extension.json +230 -0
  141. data/lib/resources/standard_health_record/StructureDefinition-shr-base-Narrative.json +223 -0
  142. data/lib/resources/standard_health_record/StructureDefinition-shr-base-NonOccurrenceModifier-extension.json +407 -0
  143. data/lib/resources/standard_health_record/StructureDefinition-shr-base-OriginalCreationDate-extension.json +216 -0
  144. data/lib/resources/standard_health_record/StructureDefinition-shr-base-PatientInstructions-extension.json +216 -0
  145. data/lib/resources/standard_health_record/StructureDefinition-shr-base-PerformerInstructions-extension.json +216 -0
  146. data/lib/resources/standard_health_record/StructureDefinition-shr-base-ShrId-extension.json +216 -0
  147. data/lib/resources/standard_health_record/StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.json +216 -0
  148. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.json +534 -0
  149. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholUse.json +3337 -0
  150. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AssessmentTool-extension.json +218 -0
  151. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-BehavioralObservation.json +2461 -0
  152. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietAndNutrition.json +2721 -0
  153. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietNutritionConcern-extension.json +230 -0
  154. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.json +216 -0
  155. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HasSufficientFood-extension.json +229 -0
  156. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HoursSleepPerNight-extension.json +216 -0
  157. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-IntravenousDrugUse.json +3360 -0
  158. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-NicotineUse.json +3344 -0
  159. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ONCSmokingStatus.json +2373 -0
  160. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLevel.json +2635 -0
  161. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.json +230 -0
  162. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReadinessToChange-extension.json +230 -0
  163. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPractice.json +2702 -0
  164. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.json +230 -0
  165. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousRestriction-extension.json +230 -0
  166. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQuality.json +2782 -0
  167. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQualityReason-extension.json +230 -0
  168. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SpecialDietFollowed-extension.json +230 -0
  169. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceAbuseTreatment.json +1668 -0
  170. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceUse.json +3048 -0
  171. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.json +230 -0
  172. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.json +230 -0
  173. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentBehaviorRisk.json +617 -0
  174. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.json +419 -0
  175. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.json +419 -0
  176. data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-WakeFeelingRested-extension.json +230 -0
  177. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Address.json +600 -0
  178. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Age-extension.json +218 -0
  179. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Age.json +358 -0
  180. data/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeGroup-extension.json +230 -0
  181. data/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeRange-extension.json +407 -0
  182. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Annotation.json +255 -0
  183. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Area-extension.json +226 -0
  184. data/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite-extension.json +218 -0
  185. data/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite.json +799 -0
  186. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Circumference-extension.json +327 -0
  187. data/lib/resources/standard_health_record/StructureDefinition-shr-core-ClockDirection-extension.json +230 -0
  188. data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept-extension.json +218 -0
  189. data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept.json +252 -0
  190. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Coding.json +393 -0
  191. data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodingQualifier-extension.json +228 -0
  192. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Count-extension.json +216 -0
  193. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Country-extension.json +216 -0
  194. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Depth-extension.json +226 -0
  195. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Details-extension.json +216 -0
  196. data/lib/resources/standard_health_record/StructureDefinition-shr-core-DollarAmount.json +337 -0
  197. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration-extension.json +218 -0
  198. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration.json +358 -0
  199. data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveDate-extension.json +216 -0
  200. data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod-extension.json +218 -0
  201. data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod.json +235 -0
  202. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Explanation-extension.json +216 -0
  203. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Frequency-extension.json +407 -0
  204. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedAge-extension.json +461 -0
  205. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedDateTime-extension.json +461 -0
  206. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedLikelihood-extension.json +421 -0
  207. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedTemporalContext-extension.json +461 -0
  208. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeopoliticalLocation.json +606 -0
  209. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Geoposition.json +909 -0
  210. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalAge-extension.json +218 -0
  211. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTemporalContext-extension.json +421 -0
  212. data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTimePeriod-extension.json +218 -0
  213. data/lib/resources/standard_health_record/StructureDefinition-shr-core-HumanName.json +417 -0
  214. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Identifier.json +412 -0
  215. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Length-extension.json +226 -0
  216. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Likelihood-extension.json +216 -0
  217. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Location-extension.json +234 -0
  218. data/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound-extension.json +218 -0
  219. data/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound.json +336 -0
  220. data/lib/resources/standard_health_record/StructureDefinition-shr-core-OccurrenceTime-extension.json +224 -0
  221. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Percentage-extension.json +216 -0
  222. data/lib/resources/standard_health_record/StructureDefinition-shr-core-PeriodOfUse.json +235 -0
  223. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Priority-extension.json +216 -0
  224. data/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeDateTime-extension.json +230 -0
  225. data/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeLikelihood-extension.json +230 -0
  226. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity-extension.json +218 -0
  227. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity.json +331 -0
  228. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Reason-extension.json +224 -0
  229. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Setting-extension.json +230 -0
  230. data/lib/resources/standard_health_record/StructureDefinition-shr-core-State-extension.json +216 -0
  231. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Statistic.json +390 -0
  232. data/lib/resources/standard_health_record/StructureDefinition-shr-core-StatisticType-extension.json +230 -0
  233. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Substance-extension.json +218 -0
  234. data/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod-extension.json +218 -0
  235. data/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod.json +235 -0
  236. data/lib/resources/standard_health_record/StructureDefinition-shr-core-UnitedStatesAddress.json +606 -0
  237. data/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound-extension.json +218 -0
  238. data/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound.json +336 -0
  239. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Volume-extension.json +226 -0
  240. data/lib/resources/standard_health_record/StructureDefinition-shr-core-Width-extension.json +226 -0
  241. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-CountryOfIssue-extension.json +367 -0
  242. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-DriversLicenseNumber-extension.json +447 -0
  243. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FamilialRelationship-extension.json +513 -0
  244. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FathersName-extension.json +218 -0
  245. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HealthInsurance.json +1271 -0
  246. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HomeTelephoneNumber.json +486 -0
  247. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PassportNumber-extension.json +447 -0
  248. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord-extension.json +218 -0
  249. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord.json +2554 -0
  250. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-SocialSecurityNumber-extension.json +216 -0
  251. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-StateOfIssue-extension.json +367 -0
  252. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-Telecom.json +434 -0
  253. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelecomTypeOther-extension.json +216 -0
  254. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelephoneNumber.json +434 -0
  255. data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-WorkTelephoneNumber.json +486 -0
  256. data/lib/resources/standard_health_record/StructureDefinition-shr-device-Device.json +1122 -0
  257. data/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUse.json +860 -0
  258. data/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUseStatus-extension.json +228 -0
  259. data/lib/resources/standard_health_record/StructureDefinition-shr-device-Implanted-extension.json +216 -0
  260. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Encounter.json +2609 -0
  261. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.json +509 -0
  262. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility-extension.json +218 -0
  263. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility.json +1018 -0
  264. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-MobileFacility-extension.json +216 -0
  265. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-PaymentSource-extension.json +327 -0
  266. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralDate-extension.json +216 -0
  267. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralSourceType-extension.json +230 -0
  268. data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-TreatmentCooperation-extension.json +230 -0
  269. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure-extension.json +218 -0
  270. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure.json +3039 -0
  271. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome-extension.json +218 -0
  272. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome.json +2313 -0
  273. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare-extension.json +218 -0
  274. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare.json +2357 -0
  275. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing-extension.json +218 -0
  276. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing.json +2357 -0
  277. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare-extension.json +218 -0
  278. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare.json +2357 -0
  279. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood-extension.json +218 -0
  280. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood.json +2357 -0
  281. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing-extension.json +218 -0
  282. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing.json +2357 -0
  283. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication-extension.json +218 -0
  284. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication.json +2357 -0
  285. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation-extension.json +218 -0
  286. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation.json +2357 -0
  287. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities-extension.json +218 -0
  288. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities.json +2357 -0
  289. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant-extension.json +218 -0
  290. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant.json +2375 -0
  291. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence-extension.json +218 -0
  292. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence.json +2471 -0
  293. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety-extension.json +218 -0
  294. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety.json +2406 -0
  295. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EnvironmentalExposuresPanel.json +1517 -0
  296. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureMethod-extension.json +218 -0
  297. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureReason-extension.json +230 -0
  298. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureSourceOrVector-extension.json +218 -0
  299. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureToSubstance.json +2912 -0
  300. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-FinancialSituationPanel.json +2075 -0
  301. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.json +218 -0
  302. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk.json +2406 -0
  303. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSituationPanel.json +1616 -0
  304. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize-extension.json +218 -0
  305. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize.json +2379 -0
  306. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity-extension.json +218 -0
  307. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity.json +2406 -0
  308. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource-extension.json +218 -0
  309. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource.json +2373 -0
  310. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability-extension.json +218 -0
  311. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability.json +2373 -0
  312. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit-extension.json +218 -0
  313. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit.json +2406 -0
  314. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents-extension.json +218 -0
  315. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents.json +2379 -0
  316. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety-extension.json +218 -0
  317. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety.json +2406 -0
  318. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-SocialEnvironmentPanel.json +1763 -0
  319. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability-extension.json +218 -0
  320. data/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability.json +2406 -0
  321. data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-Immunization.json +1891 -0
  322. data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationAdministered.json +1893 -0
  323. data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationNotGiven.json +1903 -0
  324. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-ChangeFlag-extension.json +230 -0
  325. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTest.json +2548 -0
  326. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTestRequest.json +1907 -0
  327. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTest.json +2548 -0
  328. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTestRequest.json +1907 -0
  329. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test-extension.json +218 -0
  330. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test.json +2488 -0
  331. data/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest.json +1907 -0
  332. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-CongenitalAbnormalities.json +2391 -0
  333. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EducationalAttainment.json +2391 -0
  334. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employer-extension.json +242 -0
  335. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employment.json +2477 -0
  336. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EmploymentStatus-extension.json +230 -0
  337. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryBranch-extension.json +230 -0
  338. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryService.json +1878 -0
  339. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.json +230 -0
  340. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.json +230 -0
  341. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus-extension.json +218 -0
  342. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus.json +2375 -0
  343. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Occupation.json +2391 -0
  344. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-PrenatalExposure.json +3088 -0
  345. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.json +367 -0
  346. data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Travel.json +2543 -0
  347. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-Adherence-extension.json +447 -0
  348. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-AdherenceLevel-extension.json +230 -0
  349. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MaximumDosePerTimePeriod.json +238 -0
  350. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-Medication.json +1509 -0
  351. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationAfterChange-extension.json +218 -0
  352. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationBeforeChange-extension.json +218 -0
  353. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationChange.json +715 -0
  354. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotAdministered.json +1557 -0
  355. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribed.json +3297 -0
  356. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.json +521 -0
  357. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationPrescription.json +2818 -0
  358. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationUse.json +1591 -0
  359. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-NonAdherenceReason-extension.json +230 -0
  360. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-RouteIntoBody-extension.json +230 -0
  361. data/lib/resources/standard_health_record/StructureDefinition-shr-medication-TypeOfChange-extension.json +230 -0
  362. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-CodeableConceptObservation.json +2297 -0
  363. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-HistoryObservation.json +2527 -0
  364. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-Observation.json +2314 -0
  365. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationCode-extension.json +218 -0
  366. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.json +521 -0
  367. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationQualifier-extension.json +218 -0
  368. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationReason-extension.json +224 -0
  369. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-Panel.json +1469 -0
  370. data/lib/resources/standard_health_record/StructureDefinition-shr-observation-SocialHistory.json +2569 -0
  371. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Abatement-extension.json +367 -0
  372. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-AcademicProblem.json +1811 -0
  373. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Asplenia.json +1825 -0
  374. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Criticality-extension.json +228 -0
  375. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-IncludeOnProblemList-extension.json +216 -0
  376. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Injury.json +1907 -0
  377. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation-extension.json +218 -0
  378. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation.json +2411 -0
  379. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-MentalHealthProblem.json +1808 -0
  380. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Preexisting-extension.json +216 -0
  381. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Problem.json +1809 -0
  382. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Severity-extension.json +230 -0
  383. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.json +230 -0
  384. data/lib/resources/standard_health_record/StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.json +367 -0
  385. data/lib/resources/standard_health_record/StructureDefinition-shr-procedure-Procedure.json +1656 -0
  386. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.json +678 -0
  387. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodsUsed.json +2391 -0
  388. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.json +216 -0
  389. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.json +230 -0
  390. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-Dispensed-extension.json +216 -0
  391. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity-extension.json +218 -0
  392. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity.json +2375 -0
  393. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfLivingChildren-extension.json +216 -0
  394. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.json +216 -0
  395. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.json +216 -0
  396. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyHistory.json +1616 -0
  397. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyIntention.json +2391 -0
  398. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.json +230 -0
  399. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualActivity-extension.json +230 -0
  400. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualBehavior.json +1780 -0
  401. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualIdentity.json +1715 -0
  402. data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualOrientation-extension.json +230 -0
  403. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-CausativeFactor-extension.json +273 -0
  404. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-ImmersionDepth-extension.json +226 -0
  405. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcer.json +1858 -0
  406. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerBodySite.json +799 -0
  407. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerManifestation.json +2770 -0
  408. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerNotPresent.json +2051 -0
  409. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurface.json +1279 -0
  410. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.json +230 -0
  411. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceCategory-extension.json +230 -0
  412. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceComponent-extension.json +230 -0
  413. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceEmployed.json +1009 -0
  414. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-VisibleInternalStructure-extension.json +230 -0
  415. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundBedAndEdge-extension.json +366 -0
  416. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundEdgeAppearance-extension.json +230 -0
  417. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundExudate-extension.json +367 -0
  418. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundSize-extension.json +567 -0
  419. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundTunnelling-extension.json +447 -0
  420. data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundUndermining-extension.json +407 -0
  421. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BloodPressure.json +3576 -0
  422. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyHeight.json +2720 -0
  423. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyLength.json +2720 -0
  424. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyMassIndex.json +3989 -0
  425. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyTemperature.json +2720 -0
  426. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyWeight.json +2720 -0
  427. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-DiastolicPressure.json +2387 -0
  428. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadCircumference.json +2609 -0
  429. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadTiltAngle-extension.json +226 -0
  430. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeartRate.json +2719 -0
  431. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-OxygenSaturation.json +2609 -0
  432. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-RespiratoryRate.json +2719 -0
  433. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-SystolicPressure.json +2387 -0
  434. data/lib/resources/standard_health_record/StructureDefinition-shr-vital-VitalSign.json +2534 -0
  435. data/lib/resources/standard_health_record/ValueSet-shr-actor-AgeGroupVS.json +77 -0
  436. data/lib/resources/standard_health_record/ValueSet-shr-actor-HealthcareRoleVS.json +105 -0
  437. data/lib/resources/standard_health_record/ValueSet-shr-actor-LanguageQualifierVS.json +77 -0
  438. data/lib/resources/standard_health_record/ValueSet-shr-adverse-MedDRAVS.json +43 -0
  439. data/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergenIrritantVS.json +50 -0
  440. data/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergyVerificationStatusVS.json +54 -0
  441. data/lib/resources/standard_health_record/ValueSet-shr-allergy-DrugIngredientVS.json +37 -0
  442. data/lib/resources/standard_health_record/ValueSet-shr-allergy-FoodSubstanceVS.json +36 -0
  443. data/lib/resources/standard_health_record/ValueSet-shr-base-GenericAnswersVS.json +57 -0
  444. data/lib/resources/standard_health_record/ValueSet-shr-base-MissingValueReasonVS.json +78 -0
  445. data/lib/resources/standard_health_record/ValueSet-shr-behavior-AlcoholUseScreeningToolVS.json +57 -0
  446. data/lib/resources/standard_health_record/ValueSet-shr-behavior-DietNutritionConcernVS.json +117 -0
  447. data/lib/resources/standard_health_record/ValueSet-shr-behavior-PhysicalActivityLimitationVS.json +93 -0
  448. data/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousPracticeStatusVS.json +57 -0
  449. data/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousRestrictionVS.json +58 -0
  450. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SleepQualityReasonVS.json +89 -0
  451. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SpecialDietFollowedVS.json +69 -0
  452. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.json +89 -0
  453. data/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceOfAbuseVS.json +50 -0
  454. data/lib/resources/standard_health_record/ValueSet-shr-core-BodyPositionVS.json +90 -0
  455. data/lib/resources/standard_health_record/ValueSet-shr-core-BodySiteVS.json +71 -0
  456. data/lib/resources/standard_health_record/ValueSet-shr-core-ClinicalFindingAbsentVS.json +50 -0
  457. data/lib/resources/standard_health_record/ValueSet-shr-core-ClockDirectionVS.json +93 -0
  458. data/lib/resources/standard_health_record/ValueSet-shr-core-CodingQualifierVS.json +73 -0
  459. data/lib/resources/standard_health_record/ValueSet-shr-core-DirectionalityVS.json +51 -0
  460. data/lib/resources/standard_health_record/ValueSet-shr-core-DiseaseFindingVS.json +50 -0
  461. data/lib/resources/standard_health_record/ValueSet-shr-core-LateralityVS.json +51 -0
  462. data/lib/resources/standard_health_record/ValueSet-shr-core-LowerBoundTypeVS.json +53 -0
  463. data/lib/resources/standard_health_record/ValueSet-shr-core-ManifestationVS.json +50 -0
  464. data/lib/resources/standard_health_record/ValueSet-shr-core-PerformanceGradingScaleVS.json +66 -0
  465. data/lib/resources/standard_health_record/ValueSet-shr-core-PortionTotalityVS.json +51 -0
  466. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeDateTimeVS.json +125 -0
  467. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeFrequencyVS.json +65 -0
  468. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeLikelihoodVS.json +70 -0
  469. data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeValueScaleVS.json +65 -0
  470. data/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeDurationVS.json +81 -0
  471. data/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeFrequencyVS.json +97 -0
  472. data/lib/resources/standard_health_record/ValueSet-shr-core-SettingVS.json +182 -0
  473. data/lib/resources/standard_health_record/ValueSet-shr-core-StatisticTypeVS.json +70 -0
  474. data/lib/resources/standard_health_record/ValueSet-shr-core-ThreePriorityVS.json +57 -0
  475. data/lib/resources/standard_health_record/ValueSet-shr-core-ThreeValueLogicVS.json +57 -0
  476. data/lib/resources/standard_health_record/ValueSet-shr-core-TimeUnitOfMeasureVS.json +77 -0
  477. data/lib/resources/standard_health_record/ValueSet-shr-core-UpperBoundTypeVS.json +53 -0
  478. data/lib/resources/standard_health_record/ValueSet-shr-demographics-AddressUseVS.json +70 -0
  479. data/lib/resources/standard_health_record/ValueSet-shr-demographics-InsuranceProviderTypeVS.json +73 -0
  480. data/lib/resources/standard_health_record/ValueSet-shr-demographics-TelecomQualifierVS.json +93 -0
  481. data/lib/resources/standard_health_record/ValueSet-shr-demographics-TelephoneTypeVS.json +53 -0
  482. data/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryAssistDeviceVS.json +65 -0
  483. data/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryRateSettingVS.json +69 -0
  484. data/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterTypeVS.json +69 -0
  485. data/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterUrgencyVS.json +53 -0
  486. data/lib/resources/standard_health_record/ValueSet-shr-encounter-EpisodeOfCareCompletionVS.json +85 -0
  487. data/lib/resources/standard_health_record/ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.json +61 -0
  488. data/lib/resources/standard_health_record/ValueSet-shr-encounter-ReferralSourceTypeVS.json +81 -0
  489. data/lib/resources/standard_health_record/ValueSet-shr-encounter-TreatmentCooperationVS.json +61 -0
  490. data/lib/resources/standard_health_record/ValueSet-shr-environment-AnimalExposureVS.json +81 -0
  491. data/lib/resources/standard_health_record/ValueSet-shr-environment-CoinhabitantVS.json +73 -0
  492. data/lib/resources/standard_health_record/ValueSet-shr-environment-HomeEnvironmentRiskVS.json +185 -0
  493. data/lib/resources/standard_health_record/ValueSet-shr-environment-IncomeSourceVS.json +101 -0
  494. data/lib/resources/standard_health_record/ValueSet-shr-environment-NonCashBenefitVS.json +85 -0
  495. data/lib/resources/standard_health_record/ValueSet-shr-environment-ResourceStabilityVS.json +61 -0
  496. data/lib/resources/standard_health_record/ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.json +62 -0
  497. data/lib/resources/standard_health_record/ValueSet-shr-lab-ChangeFlagVS.json +65 -0
  498. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestCodeVS.json +36 -0
  499. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestResultVS.json +61 -0
  500. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestCodeVS.json +36 -0
  501. data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestResultVS.json +89 -0
  502. data/lib/resources/standard_health_record/ValueSet-shr-lab-RequestStatusVS.json +61 -0
  503. data/lib/resources/standard_health_record/ValueSet-shr-lab-TestInterpretationVS.json +73 -0
  504. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.json +50 -0
  505. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EducationalAttainmentVS.json +85 -0
  506. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EmploymentStatusVS.json +97 -0
  507. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.json +65 -0
  508. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceEraVS.json +78 -0
  509. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryStatusVS.json +57 -0
  510. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-TeratogenVS.json +269 -0
  511. data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-USMilitaryBranchVS.json +73 -0
  512. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeReasonVS.json +69 -0
  513. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeTypeVS.json +65 -0
  514. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationNonAdherenceReasonVS.json +89 -0
  515. data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationVS.json +43 -0
  516. data/lib/resources/standard_health_record/ValueSet-shr-medication-ReasonMedicationNotUsedVS.json +85 -0
  517. data/lib/resources/standard_health_record/ValueSet-shr-observation-ExposureReasonVS.json +74 -0
  518. data/lib/resources/standard_health_record/ValueSet-shr-observation-NonLabObservationStatusVS.json +58 -0
  519. data/lib/resources/standard_health_record/ValueSet-shr-observation-ObservationNotMadeReasonVS.json +66 -0
  520. data/lib/resources/standard_health_record/ValueSet-shr-problem-DSMVS.json +43 -0
  521. data/lib/resources/standard_health_record/ValueSet-shr-problem-EvidenceQualityVS.json +57 -0
  522. data/lib/resources/standard_health_record/ValueSet-shr-problem-GradeOrStageVS.json +65 -0
  523. data/lib/resources/standard_health_record/ValueSet-shr-problem-ProblemCategoryVS.json +69 -0
  524. data/lib/resources/standard_health_record/ValueSet-shr-sex-CommonPregnancyComplicationVS.json +101 -0
  525. data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodReasonVS.json +65 -0
  526. data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodVS.json +117 -0
  527. data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.json +85 -0
  528. data/lib/resources/standard_health_record/ValueSet-shr-sex-DifficultyWithIntercourseVS.json +93 -0
  529. data/lib/resources/standard_health_record/ValueSet-shr-sex-GenderIdentityVS.json +73 -0
  530. data/lib/resources/standard_health_record/ValueSet-shr-sex-SexualActivityVS.json +97 -0
  531. data/lib/resources/standard_health_record/ValueSet-shr-sex-SexualOrientationVS.json +50 -0
  532. data/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerAssociationVS.json +53 -0
  533. data/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerBodySiteVS.json +109 -0
  534. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceBodyPositionVS.json +53 -0
  535. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceCategoryVS.json +73 -0
  536. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceComponentVS.json +93 -0
  537. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceFeatureVS.json +73 -0
  538. data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceVS.json +50 -0
  539. data/lib/resources/standard_health_record/ValueSet-shr-skin-VisibleInternalStructureVS.json +77 -0
  540. data/lib/resources/standard_health_record/ValueSet-shr-skin-WoundEdgeAppearanceVS.json +65 -0
  541. data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureBodySiteVS.json +53 -0
  542. data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureMethodVS.json +62 -0
  543. data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureQualifierVS.json +79 -0
  544. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyHeightQualifierVS.json +78 -0
  545. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureBodySiteVS.json +89 -0
  546. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureQualifierVS.json +49 -0
  547. data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyWeightQualifierVS.json +101 -0
  548. data/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateMethodVS.json +74 -0
  549. data/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateQualifierVS.json +66 -0
  550. data/lib/resources/standard_health_record/ValueSet-shr-vital-OxygenSaturationBodySiteVS.json +65 -0
  551. data/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateMethodVS.json +70 -0
  552. data/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateQualifierVS.json +102 -0
  553. data/lib/resources/standard_health_record/spec.internals +3281 -0
  554. data/lib/resources/us_core/CapabilityStatement-client.json +996 -0
  555. data/lib/resources/us_core/CapabilityStatement-server.json +1825 -0
  556. data/lib/resources/us_core/CodeSystem-careplan-category.json +25 -0
  557. data/lib/resources/us_core/CodeSystem-cdcrec.json +4883 -0
  558. data/lib/resources/us_core/CodeSystem-condition-category.json +30 -0
  559. data/lib/resources/us_core/ConceptMap-ndc-cvx.json +2127 -0
  560. data/lib/resources/us_core/ImplementationGuide-ig.json +1617 -0
  561. data/lib/resources/us_core/StructureDefinition-us-core-allergyintolerance.json +1425 -0
  562. data/lib/resources/us_core/StructureDefinition-us-core-birthsex.json +257 -0
  563. data/lib/resources/us_core/StructureDefinition-us-core-careplan.json +2366 -0
  564. data/lib/resources/us_core/StructureDefinition-us-core-careteam.json +1091 -0
  565. data/lib/resources/us_core/StructureDefinition-us-core-condition.json +1605 -0
  566. data/lib/resources/us_core/StructureDefinition-us-core-device.json +1375 -0
  567. data/lib/resources/us_core/StructureDefinition-us-core-diagnosticreport.json +1746 -0
  568. data/lib/resources/us_core/StructureDefinition-us-core-direct.json +244 -0
  569. data/lib/resources/us_core/StructureDefinition-us-core-ethnicity.json +882 -0
  570. data/lib/resources/us_core/StructureDefinition-us-core-goal.json +1179 -0
  571. data/lib/resources/us_core/StructureDefinition-us-core-immunization.json +2286 -0
  572. data/lib/resources/us_core/StructureDefinition-us-core-location.json +1694 -0
  573. data/lib/resources/us_core/StructureDefinition-us-core-medication.json +1421 -0
  574. data/lib/resources/us_core/StructureDefinition-us-core-medicationrequest.json +2062 -0
  575. data/lib/resources/us_core/StructureDefinition-us-core-medicationstatement.json +1248 -0
  576. data/lib/resources/us_core/StructureDefinition-us-core-observationresults.json +2488 -0
  577. data/lib/resources/us_core/StructureDefinition-us-core-organization.json +2011 -0
  578. data/lib/resources/us_core/StructureDefinition-us-core-patient.json +3045 -0
  579. data/lib/resources/us_core/StructureDefinition-us-core-practitioner.json +1679 -0
  580. data/lib/resources/us_core/StructureDefinition-us-core-procedure.json +1797 -0
  581. data/lib/resources/us_core/StructureDefinition-us-core-profile-link.json +259 -0
  582. data/lib/resources/us_core/StructureDefinition-us-core-race.json +882 -0
  583. data/lib/resources/us_core/StructureDefinition-us-core-smokingstatus.json +2342 -0
  584. data/lib/resources/us_core/StructureDefinition-us-core-vitalsigns.json +3125 -0
  585. data/lib/resources/us_core/ValueSet-detailed-ethnicity.json +42 -0
  586. data/lib/resources/us_core/ValueSet-detailed-race.json +51 -0
  587. data/lib/resources/us_core/ValueSet-omb-ethnicity-category.json +32 -0
  588. data/lib/resources/us_core/ValueSet-omb-race-category.json +81 -0
  589. data/lib/resources/us_core/ValueSet-simple-language.json +59 -0
  590. data/lib/resources/us_core/ValueSet-us-core-birthsex.json +51 -0
  591. data/lib/resources/us_core/ValueSet-us-core-careteam-provider-roles.json +54 -0
  592. data/lib/resources/us_core/ValueSet-us-core-condition-category.json +36 -0
  593. data/lib/resources/us_core/ValueSet-us-core-cvx.json +38 -0
  594. data/lib/resources/us_core/ValueSet-us-core-medication-codes.json +51 -0
  595. data/lib/resources/us_core/ValueSet-us-core-narrative-status.json +43 -0
  596. data/lib/resources/us_core/ValueSet-us-core-ndc-vaccine-codes.json +2052 -0
  597. data/lib/resources/us_core/ValueSet-us-core-observation-ccdasmokingstatus.json +79 -0
  598. data/lib/resources/us_core/ValueSet-us-core-observation-value-codes.json +38 -0
  599. data/lib/resources/us_core/ValueSet-us-core-problem.json +70 -0
  600. data/lib/resources/us_core/ValueSet-us-core-procedure-code.json +55 -0
  601. data/lib/resources/us_core/ValueSet-us-core-procedure-icd10pcs.json +39 -0
  602. data/lib/resources/us_core/ValueSet-us-core-provider-role.json +33 -0
  603. data/lib/resources/us_core/ValueSet-us-core-provider-specialty.json +33 -0
  604. data/lib/resources/us_core/ValueSet-us-core-substance-ndfrt.json +68 -0
  605. data/lib/resources/us_core/ValueSet-us-core-substance-rxnorm.json +60 -0
  606. data/lib/resources/us_core/ValueSet-us-core-substance-sct.json +108 -0
  607. data/lib/resources/us_core/ValueSet-us-core-substance.json +51 -0
  608. data/lib/resources/us_core/spec.internals +698 -0
  609. data/lib/rubrics.rb +10 -1
  610. data/lib/rubrics/standard_health_record.rb +39 -0
  611. data/lib/rubrics/us_core.rb +39 -0
  612. data/lib/scorecard.rb +8 -0
  613. data/lib/tasks/tasks.rake +98 -9
  614. metadata +610 -6
@@ -0,0 +1,218 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-actor-RelatedPerson-extension",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR RelatedPerson Extension</b></p>\n <p>A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.</p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.actor.RelatedPerson"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR RelatedPerson Extension",
17
+ "title": "SHR RelatedPerson Extension",
18
+ "status": "draft",
19
+ "date": "2017-04-18T15:12:22.350Z",
20
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
21
+ "contact": [
22
+ {
23
+ "telecom": [
24
+ {
25
+ "system": "url",
26
+ "value": "http://www.standardhealthrecord.org"
27
+ }
28
+ ]
29
+ }
30
+ ],
31
+ "description": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.",
32
+ "fhirVersion": "3.0.0",
33
+ "kind": "complex-type",
34
+ "abstract": false,
35
+ "contextType": "resource",
36
+ "context": [
37
+ "*"
38
+ ],
39
+ "type": "Extension",
40
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
41
+ "derivation": "constraint",
42
+ "snapshot": {
43
+ "element": [
44
+ {
45
+ "id": "Extension:relatedperson",
46
+ "path": "Extension",
47
+ "short": "SHR RelatedPerson Extension",
48
+ "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.",
49
+ "min": 0,
50
+ "max": "*",
51
+ "base": {
52
+ "path": "Extension",
53
+ "min": 0,
54
+ "max": "1"
55
+ },
56
+ "condition": [
57
+ "ele-1"
58
+ ],
59
+ "constraint": [
60
+ {
61
+ "key": "ele-1",
62
+ "severity": "error",
63
+ "human": "All FHIR elements must have a @value or children",
64
+ "expression": "children().count() > id.count()",
65
+ "xpath": "@value|f:*|h:div",
66
+ "source": "Element"
67
+ },
68
+ {
69
+ "key": "ext-1",
70
+ "severity": "error",
71
+ "human": "Must have either extensions or value[x], not both",
72
+ "expression": "extension.exists() != value.exists()",
73
+ "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
74
+ "source": "Extension"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "id": "Extension:relatedperson.id",
80
+ "path": "Extension.id",
81
+ "representation": [
82
+ "xmlAttr"
83
+ ],
84
+ "short": "xml:id (or equivalent in JSON)",
85
+ "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
86
+ "min": 0,
87
+ "max": "1",
88
+ "base": {
89
+ "path": "Element.id",
90
+ "min": 0,
91
+ "max": "1"
92
+ },
93
+ "type": [
94
+ {
95
+ "code": "string"
96
+ }
97
+ ],
98
+ "mapping": [
99
+ {
100
+ "identity": "rim",
101
+ "map": "N/A"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "id": "Extension:relatedperson.extension:extension",
107
+ "path": "Extension.extension",
108
+ "sliceName": "extension",
109
+ "short": "Extension",
110
+ "definition": "An Extension",
111
+ "min": 0,
112
+ "max": "0",
113
+ "base": {
114
+ "path": "Element.extension",
115
+ "min": 0,
116
+ "max": "*"
117
+ },
118
+ "type": [
119
+ {
120
+ "code": "Extension"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "id": "Extension:relatedperson.url",
126
+ "path": "Extension.url",
127
+ "representation": [
128
+ "xmlAttr"
129
+ ],
130
+ "short": "identifies the meaning of the extension",
131
+ "definition": "Source of the definition for the extension code - a logical name or a URL.",
132
+ "min": 1,
133
+ "max": "1",
134
+ "base": {
135
+ "path": "Extension.url",
136
+ "min": 1,
137
+ "max": "1"
138
+ },
139
+ "type": [
140
+ {
141
+ "code": "uri"
142
+ }
143
+ ],
144
+ "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension",
145
+ "mapping": [
146
+ {
147
+ "identity": "rim",
148
+ "map": "N/A"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "id": "Extension:relatedperson.valueReference",
154
+ "path": "Extension.valueReference",
155
+ "short": "Value of extension",
156
+ "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
157
+ "min": 1,
158
+ "max": "1",
159
+ "base": {
160
+ "path": "Extension.value[x]",
161
+ "min": 0,
162
+ "max": "1"
163
+ },
164
+ "type": [
165
+ {
166
+ "code": "Reference",
167
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson"
168
+ }
169
+ ],
170
+ "mapping": [
171
+ {
172
+ "identity": "rim",
173
+ "map": "N/A"
174
+ }
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ "differential": {
180
+ "element": [
181
+ {
182
+ "id": "Extension:relatedperson",
183
+ "path": "Extension",
184
+ "short": "SHR RelatedPerson Extension",
185
+ "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.",
186
+ "min": 0,
187
+ "max": "*"
188
+ },
189
+ {
190
+ "id": "Extension:relatedperson.extension:extension",
191
+ "path": "Extension.extension",
192
+ "sliceName": "extension",
193
+ "max": "0"
194
+ },
195
+ {
196
+ "id": "Extension:relatedperson.url",
197
+ "path": "Extension.url",
198
+ "type": [
199
+ {
200
+ "code": "uri"
201
+ }
202
+ ],
203
+ "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension"
204
+ },
205
+ {
206
+ "id": "Extension:relatedperson.valueReference",
207
+ "path": "Extension.valueReference",
208
+ "min": 1,
209
+ "type": [
210
+ {
211
+ "code": "Reference",
212
+ "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson"
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ }
218
+ }
@@ -0,0 +1,900 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "shr-actor-RelatedPerson",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR RelatedPerson Profile</b></p>\n <p>A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.</p>\n <p><b>SHR Mapping Summary</b></p>\n <p><pre>shr.actor.RelatedPerson maps to RelatedPerson:\n HumanName maps to name\n DateOfBirth maps to birthDate\n AdministrativeGender maps to gender\n AddressUsed maps to address\n Telecom maps to telecom\n</pre></p>\n</div>"
7
+ },
8
+ "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson",
9
+ "identifier": [
10
+ {
11
+ "system": "http://standardhealthrecord.org",
12
+ "value": "shr.actor.RelatedPerson"
13
+ }
14
+ ],
15
+ "version": "0.0.1",
16
+ "name": "SHR RelatedPerson Profile",
17
+ "status": "draft",
18
+ "date": "2017-04-18T15:12:20.504Z",
19
+ "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
20
+ "contact": [
21
+ {
22
+ "telecom": [
23
+ {
24
+ "system": "url",
25
+ "value": "http://www.standardhealthrecord.org"
26
+ }
27
+ ]
28
+ }
29
+ ],
30
+ "description": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.",
31
+ "purpose": "Need to track persons related to the patient or the healthcare process.",
32
+ "fhirVersion": "3.0.0",
33
+ "mapping": [
34
+ {
35
+ "identity": "rim",
36
+ "uri": "http://hl7.org/v3",
37
+ "name": "RIM Mapping"
38
+ },
39
+ {
40
+ "identity": "w5",
41
+ "uri": "http://hl7.org/fhir/w5",
42
+ "name": "W5 Mapping"
43
+ },
44
+ {
45
+ "identity": "v2",
46
+ "uri": "http://hl7.org/v2",
47
+ "name": "HL7 v2 Mapping"
48
+ }
49
+ ],
50
+ "kind": "resource",
51
+ "abstract": false,
52
+ "type": "RelatedPerson",
53
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
54
+ "derivation": "constraint",
55
+ "snapshot": {
56
+ "element": [
57
+ {
58
+ "id": "RelatedPerson:shr-actor-RelatedPerson",
59
+ "path": "RelatedPerson",
60
+ "short": "SHR RelatedPerson Profile",
61
+ "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.",
62
+ "min": 0,
63
+ "max": "*",
64
+ "constraint": [
65
+ {
66
+ "key": "dom-2",
67
+ "severity": "error",
68
+ "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
69
+ "expression": "contained.contained.empty()",
70
+ "xpath": "not(parent::f:contained and f:contained)",
71
+ "source": "DomainResource"
72
+ },
73
+ {
74
+ "key": "dom-1",
75
+ "severity": "error",
76
+ "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
77
+ "expression": "contained.text.empty()",
78
+ "xpath": "not(parent::f:contained and f:text)",
79
+ "source": "DomainResource"
80
+ },
81
+ {
82
+ "key": "dom-4",
83
+ "severity": "error",
84
+ "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
85
+ "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
86
+ "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
87
+ "source": "DomainResource"
88
+ },
89
+ {
90
+ "key": "dom-3",
91
+ "severity": "error",
92
+ "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
93
+ "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
94
+ "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
95
+ "source": "DomainResource"
96
+ }
97
+ ],
98
+ "mapping": [
99
+ {
100
+ "identity": "rim",
101
+ "map": "Entity. Role, or Act"
102
+ },
103
+ {
104
+ "identity": "rim",
105
+ "map": "role"
106
+ },
107
+ {
108
+ "identity": "w5",
109
+ "map": "administrative.individual"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "id": "RelatedPerson:shr-actor-RelatedPerson.id",
115
+ "path": "RelatedPerson.id",
116
+ "short": "Logical id of this artifact",
117
+ "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
118
+ "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
119
+ "min": 0,
120
+ "max": "1",
121
+ "base": {
122
+ "path": "Resource.id",
123
+ "min": 0,
124
+ "max": "1"
125
+ },
126
+ "type": [
127
+ {
128
+ "code": "id"
129
+ }
130
+ ],
131
+ "isSummary": true
132
+ },
133
+ {
134
+ "id": "RelatedPerson:shr-actor-RelatedPerson.meta",
135
+ "path": "RelatedPerson.meta",
136
+ "short": "Metadata about the resource",
137
+ "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
138
+ "min": 0,
139
+ "max": "1",
140
+ "base": {
141
+ "path": "Resource.meta",
142
+ "min": 0,
143
+ "max": "1"
144
+ },
145
+ "type": [
146
+ {
147
+ "code": "Meta"
148
+ }
149
+ ],
150
+ "isSummary": true
151
+ },
152
+ {
153
+ "id": "RelatedPerson:shr-actor-RelatedPerson.implicitRules",
154
+ "path": "RelatedPerson.implicitRules",
155
+ "short": "A set of rules under which this content was created",
156
+ "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
157
+ "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
158
+ "min": 0,
159
+ "max": "1",
160
+ "base": {
161
+ "path": "Resource.implicitRules",
162
+ "min": 0,
163
+ "max": "1"
164
+ },
165
+ "type": [
166
+ {
167
+ "code": "uri"
168
+ }
169
+ ],
170
+ "isModifier": true,
171
+ "isSummary": true
172
+ },
173
+ {
174
+ "id": "RelatedPerson:shr-actor-RelatedPerson.language",
175
+ "path": "RelatedPerson.language",
176
+ "short": "Language of the resource content",
177
+ "definition": "The base language in which the resource is written.",
178
+ "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
179
+ "min": 0,
180
+ "max": "1",
181
+ "base": {
182
+ "path": "Resource.language",
183
+ "min": 0,
184
+ "max": "1"
185
+ },
186
+ "type": [
187
+ {
188
+ "code": "code"
189
+ }
190
+ ],
191
+ "binding": {
192
+ "extension": [
193
+ {
194
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
195
+ "valueReference": {
196
+ "reference": "http://hl7.org/fhir/ValueSet/all-languages"
197
+ }
198
+ },
199
+ {
200
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
201
+ "valueString": "Language"
202
+ },
203
+ {
204
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
205
+ "valueBoolean": true
206
+ }
207
+ ],
208
+ "strength": "extensible",
209
+ "description": "A human language.",
210
+ "valueSetReference": {
211
+ "reference": "http://hl7.org/fhir/ValueSet/languages"
212
+ }
213
+ }
214
+ },
215
+ {
216
+ "id": "RelatedPerson:shr-actor-RelatedPerson.text",
217
+ "path": "RelatedPerson.text",
218
+ "short": "Text summary of the resource, for human interpretation",
219
+ "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
220
+ "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
221
+ "alias": [
222
+ "narrative",
223
+ "html",
224
+ "xhtml",
225
+ "display"
226
+ ],
227
+ "min": 0,
228
+ "max": "1",
229
+ "base": {
230
+ "path": "DomainResource.text",
231
+ "min": 0,
232
+ "max": "1"
233
+ },
234
+ "type": [
235
+ {
236
+ "code": "Narrative"
237
+ }
238
+ ],
239
+ "condition": [
240
+ "dom-1"
241
+ ],
242
+ "mapping": [
243
+ {
244
+ "identity": "rim",
245
+ "map": "Act.text?"
246
+ }
247
+ ]
248
+ },
249
+ {
250
+ "id": "RelatedPerson:shr-actor-RelatedPerson.contained",
251
+ "path": "RelatedPerson.contained",
252
+ "short": "Contained, inline Resources",
253
+ "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
254
+ "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
255
+ "alias": [
256
+ "inline resources",
257
+ "anonymous resources",
258
+ "contained resources"
259
+ ],
260
+ "min": 0,
261
+ "max": "*",
262
+ "base": {
263
+ "path": "DomainResource.contained",
264
+ "min": 0,
265
+ "max": "*"
266
+ },
267
+ "type": [
268
+ {
269
+ "code": "Resource"
270
+ }
271
+ ],
272
+ "mapping": [
273
+ {
274
+ "identity": "rim",
275
+ "map": "N/A"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension",
281
+ "path": "RelatedPerson.extension",
282
+ "slicing": {
283
+ "id": "8",
284
+ "discriminator": [
285
+ {
286
+ "type": "value",
287
+ "path": "url"
288
+ }
289
+ ],
290
+ "ordered": false,
291
+ "rules": "open"
292
+ },
293
+ "short": "Additional Content defined by implementations",
294
+ "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
295
+ "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
296
+ "alias": [
297
+ "extensions",
298
+ "user content"
299
+ ],
300
+ "min": 0,
301
+ "max": "*",
302
+ "base": {
303
+ "path": "DomainResource.extension",
304
+ "min": 0,
305
+ "max": "*"
306
+ },
307
+ "type": [
308
+ {
309
+ "code": "Extension"
310
+ }
311
+ ],
312
+ "mapping": [
313
+ {
314
+ "identity": "rim",
315
+ "map": "N/A"
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:anonymized",
321
+ "path": "RelatedPerson.extension",
322
+ "sliceName": "anonymized",
323
+ "definition": "Flag indicating if personally identifiable information has been withheld.",
324
+ "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
325
+ "alias": [
326
+ "extensions",
327
+ "user content"
328
+ ],
329
+ "min": 0,
330
+ "max": "1",
331
+ "base": {
332
+ "path": "DomainResource.extension",
333
+ "min": 0,
334
+ "max": "*"
335
+ },
336
+ "type": [
337
+ {
338
+ "code": "Extension",
339
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension"
340
+ }
341
+ ],
342
+ "mustSupport": false,
343
+ "isModifier": false,
344
+ "isSummary": false,
345
+ "mapping": [
346
+ {
347
+ "identity": "rim",
348
+ "map": "N/A"
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:fictionalperson",
354
+ "path": "RelatedPerson.extension",
355
+ "sliceName": "fictionalperson",
356
+ "definition": "Flag indicating if this record represents a fictional (synthetic, not real) person.",
357
+ "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
358
+ "alias": [
359
+ "extensions",
360
+ "user content"
361
+ ],
362
+ "min": 0,
363
+ "max": "1",
364
+ "base": {
365
+ "path": "DomainResource.extension",
366
+ "min": 0,
367
+ "max": "*"
368
+ },
369
+ "type": [
370
+ {
371
+ "code": "Extension",
372
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension"
373
+ }
374
+ ],
375
+ "mustSupport": false,
376
+ "isModifier": false,
377
+ "isSummary": false,
378
+ "mapping": [
379
+ {
380
+ "identity": "rim",
381
+ "map": "N/A"
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:languageused",
387
+ "path": "RelatedPerson.extension",
388
+ "sliceName": "languageused",
389
+ "definition": "Language used for communication by a human, either the subject of record, parent, or other involved person.",
390
+ "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
391
+ "alias": [
392
+ "extensions",
393
+ "user content"
394
+ ],
395
+ "min": 0,
396
+ "max": "*",
397
+ "base": {
398
+ "path": "DomainResource.extension",
399
+ "min": 0,
400
+ "max": "*"
401
+ },
402
+ "type": [
403
+ {
404
+ "code": "Extension",
405
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension"
406
+ }
407
+ ],
408
+ "mustSupport": false,
409
+ "isModifier": false,
410
+ "isSummary": false,
411
+ "mapping": [
412
+ {
413
+ "identity": "rim",
414
+ "map": "N/A"
415
+ }
416
+ ]
417
+ },
418
+ {
419
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:deceased",
420
+ "path": "RelatedPerson.extension",
421
+ "sliceName": "deceased",
422
+ "definition": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.",
423
+ "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
424
+ "alias": [
425
+ "extensions",
426
+ "user content"
427
+ ],
428
+ "min": 0,
429
+ "max": "1",
430
+ "base": {
431
+ "path": "DomainResource.extension",
432
+ "min": 0,
433
+ "max": "*"
434
+ },
435
+ "type": [
436
+ {
437
+ "code": "Extension",
438
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension"
439
+ }
440
+ ],
441
+ "mustSupport": false,
442
+ "isModifier": false,
443
+ "isSummary": false,
444
+ "mapping": [
445
+ {
446
+ "identity": "rim",
447
+ "map": "N/A"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "id": "RelatedPerson:shr-actor-RelatedPerson.modifierExtension",
453
+ "path": "RelatedPerson.modifierExtension",
454
+ "short": "Extensions that cannot be ignored",
455
+ "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
456
+ "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
457
+ "alias": [
458
+ "extensions",
459
+ "user content"
460
+ ],
461
+ "min": 0,
462
+ "max": "*",
463
+ "base": {
464
+ "path": "DomainResource.modifierExtension",
465
+ "min": 0,
466
+ "max": "*"
467
+ },
468
+ "type": [
469
+ {
470
+ "code": "Extension"
471
+ }
472
+ ],
473
+ "isModifier": true,
474
+ "mapping": [
475
+ {
476
+ "identity": "rim",
477
+ "map": "N/A"
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ "id": "RelatedPerson:shr-actor-RelatedPerson.identifier",
483
+ "path": "RelatedPerson.identifier",
484
+ "short": "A human identifier for this person",
485
+ "definition": "Identifier for a person within a particular scope.",
486
+ "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
487
+ "min": 0,
488
+ "max": "*",
489
+ "type": [
490
+ {
491
+ "code": "Identifier"
492
+ }
493
+ ],
494
+ "isSummary": true,
495
+ "mapping": [
496
+ {
497
+ "identity": "v2",
498
+ "map": "NK1-33"
499
+ },
500
+ {
501
+ "identity": "rim",
502
+ "map": ".id"
503
+ },
504
+ {
505
+ "identity": "w5",
506
+ "map": "id"
507
+ }
508
+ ]
509
+ },
510
+ {
511
+ "id": "RelatedPerson:shr-actor-RelatedPerson.active",
512
+ "path": "RelatedPerson.active",
513
+ "short": "Whether this related person's record is in active use",
514
+ "definition": "Whether this related person record is in active use.",
515
+ "comment": "This element is labeled as a modifier because it may be used to mark that the resource was created in error.",
516
+ "requirements": "Need to be able to mark a related person record as not to be used, such as if it was created in error.",
517
+ "min": 0,
518
+ "max": "1",
519
+ "type": [
520
+ {
521
+ "code": "boolean"
522
+ }
523
+ ],
524
+ "defaultValueBoolean": true,
525
+ "isModifier": true,
526
+ "isSummary": true,
527
+ "mapping": [
528
+ {
529
+ "identity": "rim",
530
+ "map": ".statusCode"
531
+ },
532
+ {
533
+ "identity": "w5",
534
+ "map": "status"
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "id": "RelatedPerson:shr-actor-RelatedPerson.patient",
540
+ "path": "RelatedPerson.patient",
541
+ "short": "The patient this person is related to",
542
+ "definition": "The patient this person is related to.",
543
+ "requirements": "We need to know which patient this RelatedPerson is related to.",
544
+ "min": 1,
545
+ "max": "1",
546
+ "type": [
547
+ {
548
+ "code": "Reference",
549
+ "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
550
+ }
551
+ ],
552
+ "isSummary": true,
553
+ "mapping": [
554
+ {
555
+ "identity": "v2",
556
+ "map": "PID-3"
557
+ },
558
+ {
559
+ "identity": "rim",
560
+ "map": "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id"
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "id": "RelatedPerson:shr-actor-RelatedPerson.relationship",
566
+ "path": "RelatedPerson.relationship",
567
+ "short": "The nature of the relationship",
568
+ "definition": "The nature of the relationship between a patient and the related person.",
569
+ "requirements": "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.",
570
+ "min": 0,
571
+ "max": "1",
572
+ "type": [
573
+ {
574
+ "code": "CodeableConcept"
575
+ }
576
+ ],
577
+ "isSummary": true,
578
+ "binding": {
579
+ "extension": [
580
+ {
581
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
582
+ "valueString": "PatientRelationshipType"
583
+ }
584
+ ],
585
+ "strength": "preferred",
586
+ "description": "The nature of the relationship between a patient and the related person",
587
+ "valueSetReference": {
588
+ "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype"
589
+ }
590
+ },
591
+ "mapping": [
592
+ {
593
+ "identity": "v2",
594
+ "map": "NK1-3"
595
+ },
596
+ {
597
+ "identity": "rim",
598
+ "map": "code"
599
+ },
600
+ {
601
+ "identity": "w5",
602
+ "map": "class"
603
+ }
604
+ ]
605
+ },
606
+ {
607
+ "id": "RelatedPerson:shr-actor-RelatedPerson.name",
608
+ "path": "RelatedPerson.name",
609
+ "short": "A name associated with the person",
610
+ "definition": "A name associated with the person.",
611
+ "requirements": "Related persons need to be identified by name, but it is uncommon to need details about multiple other names for that person.",
612
+ "min": 0,
613
+ "max": "*",
614
+ "type": [
615
+ {
616
+ "code": "HumanName",
617
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName"
618
+ }
619
+ ],
620
+ "isSummary": true,
621
+ "mapping": [
622
+ {
623
+ "identity": "v2",
624
+ "map": "NK1-2"
625
+ },
626
+ {
627
+ "identity": "rim",
628
+ "map": "name"
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ "id": "RelatedPerson:shr-actor-RelatedPerson.telecom",
634
+ "path": "RelatedPerson.telecom",
635
+ "short": "A contact detail for the person",
636
+ "definition": "A contact detail for the person, e.g. a telephone number or an email address.",
637
+ "comment": "Person may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.",
638
+ "requirements": "People have (primary) ways to contact them in some way such as phone, email.",
639
+ "min": 0,
640
+ "max": "*",
641
+ "type": [
642
+ {
643
+ "code": "ContactPoint",
644
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom"
645
+ }
646
+ ],
647
+ "isSummary": true,
648
+ "mapping": [
649
+ {
650
+ "identity": "v2",
651
+ "map": "NK1-5 / NK1-6 / NK1-40"
652
+ },
653
+ {
654
+ "identity": "rim",
655
+ "map": "telecom"
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "id": "RelatedPerson:shr-actor-RelatedPerson.gender",
661
+ "path": "RelatedPerson.gender",
662
+ "short": "male | female | other | unknown",
663
+ "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
664
+ "requirements": "Needed for identification of the person, in combination with (at least) name and birth date.",
665
+ "min": 0,
666
+ "max": "1",
667
+ "type": [
668
+ {
669
+ "code": "code"
670
+ }
671
+ ],
672
+ "isSummary": true,
673
+ "binding": {
674
+ "extension": [
675
+ {
676
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
677
+ "valueString": "AdministrativeGender"
678
+ },
679
+ {
680
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
681
+ "valueBoolean": true
682
+ }
683
+ ],
684
+ "strength": "required",
685
+ "description": "The gender of a person used for administrative purposes.",
686
+ "valueSetReference": {
687
+ "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
688
+ }
689
+ },
690
+ "mapping": [
691
+ {
692
+ "identity": "v2",
693
+ "map": "NK1-15"
694
+ },
695
+ {
696
+ "identity": "rim",
697
+ "map": "administrativeGender"
698
+ }
699
+ ]
700
+ },
701
+ {
702
+ "id": "RelatedPerson:shr-actor-RelatedPerson.birthDate",
703
+ "path": "RelatedPerson.birthDate",
704
+ "short": "The date on which the related person was born",
705
+ "definition": "The date on which the related person was born.",
706
+ "min": 0,
707
+ "max": "1",
708
+ "type": [
709
+ {
710
+ "code": "date"
711
+ }
712
+ ],
713
+ "isSummary": true,
714
+ "mapping": [
715
+ {
716
+ "identity": "rim",
717
+ "map": "player.birthTime"
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "id": "RelatedPerson:shr-actor-RelatedPerson.address",
723
+ "path": "RelatedPerson.address",
724
+ "short": "Address where the related person can be contacted or visited",
725
+ "definition": "Address where the related person can be contacted or visited.",
726
+ "requirements": "Need to keep track where the related person can be contacted per postal mail or visited.",
727
+ "min": 0,
728
+ "max": "*",
729
+ "type": [
730
+ {
731
+ "code": "Address",
732
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address"
733
+ }
734
+ ],
735
+ "isSummary": true,
736
+ "mapping": [
737
+ {
738
+ "identity": "v2",
739
+ "map": "NK1-4"
740
+ },
741
+ {
742
+ "identity": "rim",
743
+ "map": "addr"
744
+ }
745
+ ]
746
+ },
747
+ {
748
+ "id": "RelatedPerson:shr-actor-RelatedPerson.photo",
749
+ "path": "RelatedPerson.photo",
750
+ "short": "Image of the person",
751
+ "definition": "Image of the person.",
752
+ "requirements": "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.",
753
+ "min": 0,
754
+ "max": "*",
755
+ "type": [
756
+ {
757
+ "code": "Attachment"
758
+ }
759
+ ],
760
+ "mapping": [
761
+ {
762
+ "identity": "v2",
763
+ "map": "OBX-5 - needs a profile"
764
+ },
765
+ {
766
+ "identity": "rim",
767
+ "map": "player[classCode='PSN' and determinerCode='INSTANCE']/desc"
768
+ }
769
+ ]
770
+ },
771
+ {
772
+ "id": "RelatedPerson:shr-actor-RelatedPerson.period",
773
+ "path": "RelatedPerson.period",
774
+ "short": "Period of time that this relationship is considered valid",
775
+ "definition": "The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.",
776
+ "min": 0,
777
+ "max": "1",
778
+ "type": [
779
+ {
780
+ "code": "Period"
781
+ }
782
+ ],
783
+ "mapping": [
784
+ {
785
+ "identity": "rim",
786
+ "map": ".effectiveTime"
787
+ },
788
+ {
789
+ "identity": "w5",
790
+ "map": "when.done"
791
+ }
792
+ ]
793
+ }
794
+ ]
795
+ },
796
+ "differential": {
797
+ "element": [
798
+ {
799
+ "id": "RelatedPerson:shr-actor-RelatedPerson",
800
+ "path": "RelatedPerson",
801
+ "short": "SHR RelatedPerson Profile",
802
+ "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject."
803
+ },
804
+ {
805
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:anonymized",
806
+ "path": "RelatedPerson.extension",
807
+ "sliceName": "anonymized",
808
+ "min": 0,
809
+ "max": "1",
810
+ "type": [
811
+ {
812
+ "code": "Extension",
813
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension"
814
+ }
815
+ ],
816
+ "mustSupport": false,
817
+ "isModifier": false,
818
+ "isSummary": false
819
+ },
820
+ {
821
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:fictionalperson",
822
+ "path": "RelatedPerson.extension",
823
+ "sliceName": "fictionalperson",
824
+ "min": 0,
825
+ "max": "1",
826
+ "type": [
827
+ {
828
+ "code": "Extension",
829
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension"
830
+ }
831
+ ],
832
+ "mustSupport": false,
833
+ "isModifier": false,
834
+ "isSummary": false
835
+ },
836
+ {
837
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:languageused",
838
+ "path": "RelatedPerson.extension",
839
+ "sliceName": "languageused",
840
+ "min": 0,
841
+ "max": "*",
842
+ "type": [
843
+ {
844
+ "code": "Extension",
845
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension"
846
+ }
847
+ ],
848
+ "mustSupport": false,
849
+ "isModifier": false,
850
+ "isSummary": false
851
+ },
852
+ {
853
+ "id": "RelatedPerson:shr-actor-RelatedPerson.extension:deceased",
854
+ "path": "RelatedPerson.extension",
855
+ "sliceName": "deceased",
856
+ "min": 0,
857
+ "max": "1",
858
+ "type": [
859
+ {
860
+ "code": "Extension",
861
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension"
862
+ }
863
+ ],
864
+ "mustSupport": false,
865
+ "isModifier": false,
866
+ "isSummary": false
867
+ },
868
+ {
869
+ "id": "RelatedPerson:shr-actor-RelatedPerson.name",
870
+ "path": "RelatedPerson.name",
871
+ "type": [
872
+ {
873
+ "code": "HumanName",
874
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName"
875
+ }
876
+ ]
877
+ },
878
+ {
879
+ "id": "RelatedPerson:shr-actor-RelatedPerson.telecom",
880
+ "path": "RelatedPerson.telecom",
881
+ "type": [
882
+ {
883
+ "code": "ContactPoint",
884
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom"
885
+ }
886
+ ]
887
+ },
888
+ {
889
+ "id": "RelatedPerson:shr-actor-RelatedPerson.address",
890
+ "path": "RelatedPerson.address",
891
+ "type": [
892
+ {
893
+ "code": "Address",
894
+ "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address"
895
+ }
896
+ ]
897
+ }
898
+ ]
899
+ }
900
+ }