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.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Gemfile +3 -0
- data/Gemfile.lock +12 -12
- data/fhir_scorecard.gemspec +2 -2
- data/lib/fhir_scorecard.rb +1 -0
- data/lib/implementation_guides.rb +184 -0
- data/lib/resources/profile_indicators.json +1633 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-actor-LanguageQualifierCS.json +79 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-base-GenericAnswersCS.json +54 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-base-MissingValueReasonCS.json +80 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-AlcoholUseScreeningToolCS.json +54 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-DietNutritionConcernCS.json +129 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-PhysicalActivityLimitationCS.json +99 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousPracticeStatusCS.json +54 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousRestrictionCS.json +55 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SleepQualityReasonCS.json +94 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SpecialDietFollowedCS.json +69 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeCS.json +94 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-CodingQualifierCS.json +74 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-PerformanceGradingScaleCS.json +65 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeDateTimeCS.json +139 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeFrequencyCS.json +64 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeLikelihoodCS.json +70 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeValueScaleCS.json +64 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeDurationCS.json +84 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeFrequencyCS.json +104 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-SettingCS.json +210 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-ThreePriorityCS.json +54 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-core-ThreeValueLogicCS.json +54 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-demographics-AddressUseCS.json +70 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-demographics-InsuranceProviderTypeCS.json +74 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelecomQualifierCS.json +99 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelephoneTypeCS.json +49 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryAssistDeviceCS.json +64 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryRateSettingCS.json +69 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-encounter-EncounterTypeCS.json +69 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-encounter-EpisodeOfCareCompletionCS.json +89 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReasonEncounterDidNotHappenCS.json +59 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReferralSourceTypeCS.json +84 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-encounter-TreatmentCooperationCS.json +59 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-environment-AnimalExposureCS.json +84 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-environment-CoinhabitantCS.json +74 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-environment-HomeEnvironmentRiskCS.json +214 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-environment-IncomeSourceCS.json +109 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-environment-NonCashBenefitCS.json +89 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-environment-ResourceStabilityCS.json +59 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lab-RequestStatusCS.json +59 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EducationalAttainmentCS.json +89 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EmploymentStatusCS.json +104 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusCS.json +64 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceEraCS.json +80 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryStatusCS.json +54 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-TeratogenCS.json +319 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-USMilitaryBranchCS.json +74 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeReasonCS.json +69 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeTypeCS.json +64 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-medication-ReasonMedicationNotUsedCS.json +89 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-observation-ExposureReasonCS.json +75 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-observation-ObservationNotMadeReasonCS.json +65 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-problem-EvidenceQualityCS.json +54 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-problem-GradeOrStageCS.json +64 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-problem-ProblemCategoryCS.json +69 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodCS.json +129 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodReasonCS.json +64 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveNotUsedReasonCS.json +89 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-sex-GenderIdentityCS.json +74 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-skin-PressureUlcerAssociationCS.json +49 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceBodyPositionCS.json +49 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceCategoryCS.json +74 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceComponentCS.json +99 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceFeatureCS.json +74 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureMethodCS.json +60 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureQualifierCS.json +70 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyHeightQualifierCS.json +44 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyTemperatureQualifierCS.json +44 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyWeightQualifierCS.json +109 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateMethodCS.json +75 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateQualifierCS.json +65 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateMethodCS.json +70 -0
- data/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateQualifierCS.json +110 -0
- data/lib/resources/standard_health_record/ImplementationGuide-1.json +7079 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-base64Binary-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-boolean-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-code-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-date-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-dateTime-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-decimal-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-id-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-instant-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-integer-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-markdown-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-oid-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-positiveInt-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-string-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-time-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-unsignedInt-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-uri-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-primitive-xhtml-extension.json +215 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Affiliation-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-AgeAtDeath-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Anonymized-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-DateOfDeath-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Deceased-extension.json +447 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-EmergencyContact.json +1046 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-FictionalPerson-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageQualifier-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageUsed-extension.json +487 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-MedicalSpecialty-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-NoPrimaryCareProvider.json +1417 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Organization.json +951 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Participant-extension.json +621 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-ParticipationType-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner.json +1205 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-PrimaryCareProvider.json +986 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-ProviderRelationship.json +1028 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson.json +900 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction.json +1927 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.json +407 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AttributionCertainty-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-AllergyIntolerance.json +1471 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-DrugAllergy.json +1487 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy.json +1487 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownAllergy.json +1902 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownDrugAllergy.json +1780 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.json +1780 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownFoodAllergy.json +1780 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-ActionCode-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-AssociatedEncounter-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-Author-extension.json +242 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-Entry.json +911 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-FocalSubject-extension.json +234 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-Informant-extension.json +234 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-Language-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-Narrative.json +223 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-NonOccurrenceModifier-extension.json +407 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-OriginalCreationDate-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-PatientInstructions-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-PerformerInstructions-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-ShrId-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.json +534 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholUse.json +3337 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AssessmentTool-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-BehavioralObservation.json +2461 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietAndNutrition.json +2721 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietNutritionConcern-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HasSufficientFood-extension.json +229 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HoursSleepPerNight-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-IntravenousDrugUse.json +3360 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-NicotineUse.json +3344 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ONCSmokingStatus.json +2373 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLevel.json +2635 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReadinessToChange-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPractice.json +2702 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousRestriction-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQuality.json +2782 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQualityReason-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SpecialDietFollowed-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceAbuseTreatment.json +1668 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceUse.json +3048 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentBehaviorRisk.json +617 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.json +419 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.json +419 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-behavior-WakeFeelingRested-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Address.json +600 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Age-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Age.json +358 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeGroup-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeRange-extension.json +407 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Annotation.json +255 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Area-extension.json +226 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite.json +799 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Circumference-extension.json +327 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-ClockDirection-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept.json +252 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Coding.json +393 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-CodingQualifier-extension.json +228 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Count-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Country-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Depth-extension.json +226 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Details-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-DollarAmount.json +337 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration.json +358 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveDate-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod.json +235 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Explanation-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Frequency-extension.json +407 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedAge-extension.json +461 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedDateTime-extension.json +461 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedLikelihood-extension.json +421 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedTemporalContext-extension.json +461 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GeopoliticalLocation.json +606 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Geoposition.json +909 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalAge-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTemporalContext-extension.json +421 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTimePeriod-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-HumanName.json +417 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Identifier.json +412 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Length-extension.json +226 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Likelihood-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Location-extension.json +234 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound.json +336 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-OccurrenceTime-extension.json +224 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Percentage-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-PeriodOfUse.json +235 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Priority-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeDateTime-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeLikelihood-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity.json +331 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Reason-extension.json +224 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Setting-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-State-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Statistic.json +390 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-StatisticType-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Substance-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod.json +235 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-UnitedStatesAddress.json +606 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound.json +336 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Volume-extension.json +226 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-core-Width-extension.json +226 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-CountryOfIssue-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-DriversLicenseNumber-extension.json +447 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FamilialRelationship-extension.json +513 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FathersName-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HealthInsurance.json +1271 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HomeTelephoneNumber.json +486 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PassportNumber-extension.json +447 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord.json +2554 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-SocialSecurityNumber-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-StateOfIssue-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-Telecom.json +434 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelecomTypeOther-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelephoneNumber.json +434 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-demographics-WorkTelephoneNumber.json +486 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-device-Device.json +1122 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUse.json +860 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUseStatus-extension.json +228 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-device-Implanted-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Encounter.json +2609 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.json +509 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility.json +1018 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-MobileFacility-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-PaymentSource-extension.json +327 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralDate-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralSourceType-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-encounter-TreatmentCooperation-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure.json +3039 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome.json +2313 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities.json +2357 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant.json +2375 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence.json +2471 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety.json +2406 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-EnvironmentalExposuresPanel.json +1517 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureMethod-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureReason-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureSourceOrVector-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureToSubstance.json +2912 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-FinancialSituationPanel.json +2075 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk.json +2406 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSituationPanel.json +1616 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize.json +2379 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity.json +2406 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource.json +2373 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability.json +2373 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit.json +2406 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents.json +2379 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety.json +2406 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-SocialEnvironmentPanel.json +1763 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability.json +2406 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-Immunization.json +1891 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationAdministered.json +1893 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationNotGiven.json +1903 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-ChangeFlag-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTest.json +2548 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTestRequest.json +1907 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTest.json +2548 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTestRequest.json +1907 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test.json +2488 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest.json +1907 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-CongenitalAbnormalities.json +2391 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EducationalAttainment.json +2391 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employer-extension.json +242 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employment.json +2477 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EmploymentStatus-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryBranch-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryService.json +1878 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus.json +2375 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Occupation.json +2391 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-PrenatalExposure.json +3088 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Travel.json +2543 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-Adherence-extension.json +447 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-AdherenceLevel-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MaximumDosePerTimePeriod.json +238 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-Medication.json +1509 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationAfterChange-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationBeforeChange-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationChange.json +715 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotAdministered.json +1557 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribed.json +3297 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.json +521 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationPrescription.json +2818 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationUse.json +1591 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-NonAdherenceReason-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-RouteIntoBody-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-medication-TypeOfChange-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-CodeableConceptObservation.json +2297 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-HistoryObservation.json +2527 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-Observation.json +2314 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationCode-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.json +521 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationQualifier-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationReason-extension.json +224 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-Panel.json +1469 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-observation-SocialHistory.json +2569 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Abatement-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-AcademicProblem.json +1811 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Asplenia.json +1825 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Criticality-extension.json +228 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-IncludeOnProblemList-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Injury.json +1907 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation.json +2411 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-MentalHealthProblem.json +1808 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Preexisting-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Problem.json +1809 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-Severity-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-procedure-Procedure.json +1656 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.json +678 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodsUsed.json +2391 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-Dispensed-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity-extension.json +218 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity.json +2375 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfLivingChildren-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.json +216 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyHistory.json +1616 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyIntention.json +2391 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualActivity-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualBehavior.json +1780 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualIdentity.json +1715 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualOrientation-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-CausativeFactor-extension.json +273 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-ImmersionDepth-extension.json +226 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcer.json +1858 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerBodySite.json +799 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerManifestation.json +2770 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerNotPresent.json +2051 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurface.json +1279 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceCategory-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceComponent-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceEmployed.json +1009 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-VisibleInternalStructure-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundBedAndEdge-extension.json +366 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundEdgeAppearance-extension.json +230 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundExudate-extension.json +367 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundSize-extension.json +567 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundTunnelling-extension.json +447 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundUndermining-extension.json +407 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BloodPressure.json +3576 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyHeight.json +2720 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyLength.json +2720 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyMassIndex.json +3989 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyTemperature.json +2720 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyWeight.json +2720 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-DiastolicPressure.json +2387 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadCircumference.json +2609 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadTiltAngle-extension.json +226 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeartRate.json +2719 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-OxygenSaturation.json +2609 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-RespiratoryRate.json +2719 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-SystolicPressure.json +2387 -0
- data/lib/resources/standard_health_record/StructureDefinition-shr-vital-VitalSign.json +2534 -0
- data/lib/resources/standard_health_record/ValueSet-shr-actor-AgeGroupVS.json +77 -0
- data/lib/resources/standard_health_record/ValueSet-shr-actor-HealthcareRoleVS.json +105 -0
- data/lib/resources/standard_health_record/ValueSet-shr-actor-LanguageQualifierVS.json +77 -0
- data/lib/resources/standard_health_record/ValueSet-shr-adverse-MedDRAVS.json +43 -0
- data/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergenIrritantVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergyVerificationStatusVS.json +54 -0
- data/lib/resources/standard_health_record/ValueSet-shr-allergy-DrugIngredientVS.json +37 -0
- data/lib/resources/standard_health_record/ValueSet-shr-allergy-FoodSubstanceVS.json +36 -0
- data/lib/resources/standard_health_record/ValueSet-shr-base-GenericAnswersVS.json +57 -0
- data/lib/resources/standard_health_record/ValueSet-shr-base-MissingValueReasonVS.json +78 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-AlcoholUseScreeningToolVS.json +57 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-DietNutritionConcernVS.json +117 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-PhysicalActivityLimitationVS.json +93 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousPracticeStatusVS.json +57 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousRestrictionVS.json +58 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-SleepQualityReasonVS.json +89 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-SpecialDietFollowedVS.json +69 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.json +89 -0
- data/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceOfAbuseVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-BodyPositionVS.json +90 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-BodySiteVS.json +71 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-ClinicalFindingAbsentVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-ClockDirectionVS.json +93 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-CodingQualifierVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-DirectionalityVS.json +51 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-DiseaseFindingVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-LateralityVS.json +51 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-LowerBoundTypeVS.json +53 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-ManifestationVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-PerformanceGradingScaleVS.json +66 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-PortionTotalityVS.json +51 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeDateTimeVS.json +125 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeFrequencyVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeLikelihoodVS.json +70 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeValueScaleVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeDurationVS.json +81 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeFrequencyVS.json +97 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-SettingVS.json +182 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-StatisticTypeVS.json +70 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-ThreePriorityVS.json +57 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-ThreeValueLogicVS.json +57 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-TimeUnitOfMeasureVS.json +77 -0
- data/lib/resources/standard_health_record/ValueSet-shr-core-UpperBoundTypeVS.json +53 -0
- data/lib/resources/standard_health_record/ValueSet-shr-demographics-AddressUseVS.json +70 -0
- data/lib/resources/standard_health_record/ValueSet-shr-demographics-InsuranceProviderTypeVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-demographics-TelecomQualifierVS.json +93 -0
- data/lib/resources/standard_health_record/ValueSet-shr-demographics-TelephoneTypeVS.json +53 -0
- data/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryAssistDeviceVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryRateSettingVS.json +69 -0
- data/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterTypeVS.json +69 -0
- data/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterUrgencyVS.json +53 -0
- data/lib/resources/standard_health_record/ValueSet-shr-encounter-EpisodeOfCareCompletionVS.json +85 -0
- data/lib/resources/standard_health_record/ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.json +61 -0
- data/lib/resources/standard_health_record/ValueSet-shr-encounter-ReferralSourceTypeVS.json +81 -0
- data/lib/resources/standard_health_record/ValueSet-shr-encounter-TreatmentCooperationVS.json +61 -0
- data/lib/resources/standard_health_record/ValueSet-shr-environment-AnimalExposureVS.json +81 -0
- data/lib/resources/standard_health_record/ValueSet-shr-environment-CoinhabitantVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-environment-HomeEnvironmentRiskVS.json +185 -0
- data/lib/resources/standard_health_record/ValueSet-shr-environment-IncomeSourceVS.json +101 -0
- data/lib/resources/standard_health_record/ValueSet-shr-environment-NonCashBenefitVS.json +85 -0
- data/lib/resources/standard_health_record/ValueSet-shr-environment-ResourceStabilityVS.json +61 -0
- data/lib/resources/standard_health_record/ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.json +62 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lab-ChangeFlagVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestCodeVS.json +36 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestResultVS.json +61 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestCodeVS.json +36 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestResultVS.json +89 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lab-RequestStatusVS.json +61 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lab-TestInterpretationVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EducationalAttainmentVS.json +85 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EmploymentStatusVS.json +97 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceEraVS.json +78 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryStatusVS.json +57 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-TeratogenVS.json +269 -0
- data/lib/resources/standard_health_record/ValueSet-shr-lifehistory-USMilitaryBranchVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeReasonVS.json +69 -0
- data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeTypeVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationNonAdherenceReasonVS.json +89 -0
- data/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationVS.json +43 -0
- data/lib/resources/standard_health_record/ValueSet-shr-medication-ReasonMedicationNotUsedVS.json +85 -0
- data/lib/resources/standard_health_record/ValueSet-shr-observation-ExposureReasonVS.json +74 -0
- data/lib/resources/standard_health_record/ValueSet-shr-observation-NonLabObservationStatusVS.json +58 -0
- data/lib/resources/standard_health_record/ValueSet-shr-observation-ObservationNotMadeReasonVS.json +66 -0
- data/lib/resources/standard_health_record/ValueSet-shr-problem-DSMVS.json +43 -0
- data/lib/resources/standard_health_record/ValueSet-shr-problem-EvidenceQualityVS.json +57 -0
- data/lib/resources/standard_health_record/ValueSet-shr-problem-GradeOrStageVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-problem-ProblemCategoryVS.json +69 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-CommonPregnancyComplicationVS.json +101 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodReasonVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodVS.json +117 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.json +85 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-DifficultyWithIntercourseVS.json +93 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-GenderIdentityVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-SexualActivityVS.json +97 -0
- data/lib/resources/standard_health_record/ValueSet-shr-sex-SexualOrientationVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerAssociationVS.json +53 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerBodySiteVS.json +109 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceBodyPositionVS.json +53 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceCategoryVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceComponentVS.json +93 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceFeatureVS.json +73 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceVS.json +50 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-VisibleInternalStructureVS.json +77 -0
- data/lib/resources/standard_health_record/ValueSet-shr-skin-WoundEdgeAppearanceVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureBodySiteVS.json +53 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureMethodVS.json +62 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureQualifierVS.json +79 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyHeightQualifierVS.json +78 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureBodySiteVS.json +89 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureQualifierVS.json +49 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-BodyWeightQualifierVS.json +101 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateMethodVS.json +74 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateQualifierVS.json +66 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-OxygenSaturationBodySiteVS.json +65 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateMethodVS.json +70 -0
- data/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateQualifierVS.json +102 -0
- data/lib/resources/standard_health_record/spec.internals +3281 -0
- data/lib/resources/us_core/CapabilityStatement-client.json +996 -0
- data/lib/resources/us_core/CapabilityStatement-server.json +1825 -0
- data/lib/resources/us_core/CodeSystem-careplan-category.json +25 -0
- data/lib/resources/us_core/CodeSystem-cdcrec.json +4883 -0
- data/lib/resources/us_core/CodeSystem-condition-category.json +30 -0
- data/lib/resources/us_core/ConceptMap-ndc-cvx.json +2127 -0
- data/lib/resources/us_core/ImplementationGuide-ig.json +1617 -0
- data/lib/resources/us_core/StructureDefinition-us-core-allergyintolerance.json +1425 -0
- data/lib/resources/us_core/StructureDefinition-us-core-birthsex.json +257 -0
- data/lib/resources/us_core/StructureDefinition-us-core-careplan.json +2366 -0
- data/lib/resources/us_core/StructureDefinition-us-core-careteam.json +1091 -0
- data/lib/resources/us_core/StructureDefinition-us-core-condition.json +1605 -0
- data/lib/resources/us_core/StructureDefinition-us-core-device.json +1375 -0
- data/lib/resources/us_core/StructureDefinition-us-core-diagnosticreport.json +1746 -0
- data/lib/resources/us_core/StructureDefinition-us-core-direct.json +244 -0
- data/lib/resources/us_core/StructureDefinition-us-core-ethnicity.json +882 -0
- data/lib/resources/us_core/StructureDefinition-us-core-goal.json +1179 -0
- data/lib/resources/us_core/StructureDefinition-us-core-immunization.json +2286 -0
- data/lib/resources/us_core/StructureDefinition-us-core-location.json +1694 -0
- data/lib/resources/us_core/StructureDefinition-us-core-medication.json +1421 -0
- data/lib/resources/us_core/StructureDefinition-us-core-medicationrequest.json +2062 -0
- data/lib/resources/us_core/StructureDefinition-us-core-medicationstatement.json +1248 -0
- data/lib/resources/us_core/StructureDefinition-us-core-observationresults.json +2488 -0
- data/lib/resources/us_core/StructureDefinition-us-core-organization.json +2011 -0
- data/lib/resources/us_core/StructureDefinition-us-core-patient.json +3045 -0
- data/lib/resources/us_core/StructureDefinition-us-core-practitioner.json +1679 -0
- data/lib/resources/us_core/StructureDefinition-us-core-procedure.json +1797 -0
- data/lib/resources/us_core/StructureDefinition-us-core-profile-link.json +259 -0
- data/lib/resources/us_core/StructureDefinition-us-core-race.json +882 -0
- data/lib/resources/us_core/StructureDefinition-us-core-smokingstatus.json +2342 -0
- data/lib/resources/us_core/StructureDefinition-us-core-vitalsigns.json +3125 -0
- data/lib/resources/us_core/ValueSet-detailed-ethnicity.json +42 -0
- data/lib/resources/us_core/ValueSet-detailed-race.json +51 -0
- data/lib/resources/us_core/ValueSet-omb-ethnicity-category.json +32 -0
- data/lib/resources/us_core/ValueSet-omb-race-category.json +81 -0
- data/lib/resources/us_core/ValueSet-simple-language.json +59 -0
- data/lib/resources/us_core/ValueSet-us-core-birthsex.json +51 -0
- data/lib/resources/us_core/ValueSet-us-core-careteam-provider-roles.json +54 -0
- data/lib/resources/us_core/ValueSet-us-core-condition-category.json +36 -0
- data/lib/resources/us_core/ValueSet-us-core-cvx.json +38 -0
- data/lib/resources/us_core/ValueSet-us-core-medication-codes.json +51 -0
- data/lib/resources/us_core/ValueSet-us-core-narrative-status.json +43 -0
- data/lib/resources/us_core/ValueSet-us-core-ndc-vaccine-codes.json +2052 -0
- data/lib/resources/us_core/ValueSet-us-core-observation-ccdasmokingstatus.json +79 -0
- data/lib/resources/us_core/ValueSet-us-core-observation-value-codes.json +38 -0
- data/lib/resources/us_core/ValueSet-us-core-problem.json +70 -0
- data/lib/resources/us_core/ValueSet-us-core-procedure-code.json +55 -0
- data/lib/resources/us_core/ValueSet-us-core-procedure-icd10pcs.json +39 -0
- data/lib/resources/us_core/ValueSet-us-core-provider-role.json +33 -0
- data/lib/resources/us_core/ValueSet-us-core-provider-specialty.json +33 -0
- data/lib/resources/us_core/ValueSet-us-core-substance-ndfrt.json +68 -0
- data/lib/resources/us_core/ValueSet-us-core-substance-rxnorm.json +60 -0
- data/lib/resources/us_core/ValueSet-us-core-substance-sct.json +108 -0
- data/lib/resources/us_core/ValueSet-us-core-substance.json +51 -0
- data/lib/resources/us_core/spec.internals +698 -0
- data/lib/rubrics.rb +10 -1
- data/lib/rubrics/standard_health_record.rb +39 -0
- data/lib/rubrics/us_core.rb +39 -0
- data/lib/scorecard.rb +8 -0
- data/lib/tasks/tasks.rake +98 -9
- metadata +610 -6
@@ -0,0 +1,228 @@
|
|
1
|
+
{
|
2
|
+
"resourceType": "StructureDefinition",
|
3
|
+
"id": "shr-device-DeviceUseStatus-extension",
|
4
|
+
"text": {
|
5
|
+
"status": "generated",
|
6
|
+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR DeviceUseStatus Extension</b></p>\n <p>A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.</p>\n</div>"
|
7
|
+
},
|
8
|
+
"url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension",
|
9
|
+
"identifier": [
|
10
|
+
{
|
11
|
+
"system": "http://standardhealthrecord.org",
|
12
|
+
"value": "shr.device.DeviceUseStatus"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"version": "0.0.1",
|
16
|
+
"name": "SHR DeviceUseStatus Extension",
|
17
|
+
"title": "SHR DeviceUseStatus Extension",
|
18
|
+
"status": "draft",
|
19
|
+
"date": "2017-04-18T15:12:22.497Z",
|
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 code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.",
|
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:deviceusestatus",
|
46
|
+
"path": "Extension",
|
47
|
+
"short": "SHR DeviceUseStatus Extension",
|
48
|
+
"definition": "A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.",
|
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:deviceusestatus.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:deviceusestatus.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:deviceusestatus.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-device-DeviceUseStatus-extension",
|
145
|
+
"mapping": [
|
146
|
+
{
|
147
|
+
"identity": "rim",
|
148
|
+
"map": "N/A"
|
149
|
+
}
|
150
|
+
]
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"id": "Extension:deviceusestatus.valueCode",
|
154
|
+
"path": "Extension.valueCode",
|
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": "code"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"binding": {
|
170
|
+
"strength": "required",
|
171
|
+
"valueSetReference": {
|
172
|
+
"reference": "http://hl7.org/fhir/ValueSet/device-statement-status"
|
173
|
+
}
|
174
|
+
},
|
175
|
+
"mapping": [
|
176
|
+
{
|
177
|
+
"identity": "rim",
|
178
|
+
"map": "N/A"
|
179
|
+
}
|
180
|
+
]
|
181
|
+
}
|
182
|
+
]
|
183
|
+
},
|
184
|
+
"differential": {
|
185
|
+
"element": [
|
186
|
+
{
|
187
|
+
"id": "Extension:deviceusestatus",
|
188
|
+
"path": "Extension",
|
189
|
+
"short": "SHR DeviceUseStatus Extension",
|
190
|
+
"definition": "A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.",
|
191
|
+
"min": 0,
|
192
|
+
"max": "*"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"id": "Extension:deviceusestatus.extension:extension",
|
196
|
+
"path": "Extension.extension",
|
197
|
+
"sliceName": "extension",
|
198
|
+
"max": "0"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"id": "Extension:deviceusestatus.url",
|
202
|
+
"path": "Extension.url",
|
203
|
+
"type": [
|
204
|
+
{
|
205
|
+
"code": "uri"
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"id": "Extension:deviceusestatus.valueCode",
|
212
|
+
"path": "Extension.valueCode",
|
213
|
+
"min": 1,
|
214
|
+
"type": [
|
215
|
+
{
|
216
|
+
"code": "code"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"binding": {
|
220
|
+
"strength": "required",
|
221
|
+
"valueSetReference": {
|
222
|
+
"reference": "http://hl7.org/fhir/ValueSet/device-statement-status"
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
]
|
227
|
+
}
|
228
|
+
}
|
data/lib/resources/standard_health_record/StructureDefinition-shr-device-Implanted-extension.json
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
{
|
2
|
+
"resourceType": "StructureDefinition",
|
3
|
+
"id": "shr-device-Implanted-extension",
|
4
|
+
"text": {
|
5
|
+
"status": "generated",
|
6
|
+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR Implanted Extension</b></p>\n <p>Whether this device is implanted in the body.</p>\n</div>"
|
7
|
+
},
|
8
|
+
"url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension",
|
9
|
+
"identifier": [
|
10
|
+
{
|
11
|
+
"system": "http://standardhealthrecord.org",
|
12
|
+
"value": "shr.device.Implanted"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"version": "0.0.1",
|
16
|
+
"name": "SHR Implanted Extension",
|
17
|
+
"title": "SHR Implanted Extension",
|
18
|
+
"status": "draft",
|
19
|
+
"date": "2017-04-18T15:12:22.497Z",
|
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": "Whether this device is implanted in the body.",
|
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:implanted",
|
46
|
+
"path": "Extension",
|
47
|
+
"short": "SHR Implanted Extension",
|
48
|
+
"definition": "Whether this device is implanted in the body.",
|
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:implanted.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:implanted.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:implanted.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-device-Implanted-extension",
|
145
|
+
"mapping": [
|
146
|
+
{
|
147
|
+
"identity": "rim",
|
148
|
+
"map": "N/A"
|
149
|
+
}
|
150
|
+
]
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"id": "Extension:implanted.valueBoolean",
|
154
|
+
"path": "Extension.valueBoolean",
|
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": "boolean"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"mapping": [
|
170
|
+
{
|
171
|
+
"identity": "rim",
|
172
|
+
"map": "N/A"
|
173
|
+
}
|
174
|
+
]
|
175
|
+
}
|
176
|
+
]
|
177
|
+
},
|
178
|
+
"differential": {
|
179
|
+
"element": [
|
180
|
+
{
|
181
|
+
"id": "Extension:implanted",
|
182
|
+
"path": "Extension",
|
183
|
+
"short": "SHR Implanted Extension",
|
184
|
+
"definition": "Whether this device is implanted in the body.",
|
185
|
+
"min": 0,
|
186
|
+
"max": "*"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"id": "Extension:implanted.extension:extension",
|
190
|
+
"path": "Extension.extension",
|
191
|
+
"sliceName": "extension",
|
192
|
+
"max": "0"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"id": "Extension:implanted.url",
|
196
|
+
"path": "Extension.url",
|
197
|
+
"type": [
|
198
|
+
{
|
199
|
+
"code": "uri"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"id": "Extension:implanted.valueBoolean",
|
206
|
+
"path": "Extension.valueBoolean",
|
207
|
+
"min": 1,
|
208
|
+
"type": [
|
209
|
+
{
|
210
|
+
"code": "boolean"
|
211
|
+
}
|
212
|
+
]
|
213
|
+
}
|
214
|
+
]
|
215
|
+
}
|
216
|
+
}
|
@@ -0,0 +1,2609 @@
|
|
1
|
+
{
|
2
|
+
"resourceType": "StructureDefinition",
|
3
|
+
"id": "shr-encounter-Encounter",
|
4
|
+
"text": {
|
5
|
+
"status": "generated",
|
6
|
+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p><b>SHR Encounter Profile</b></p>\n <p>A statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.</p>\n <p><b>SHR Mapping Summary</b></p>\n <p><pre>shr.encounter.Encounter maps to Encounter:\n Entry.FocalSubject maps to subject\n OccurrenceTime maps to period\n EncounterType maps to class\n Participant maps to participant\n Participant.Practitioner maps to participant.individual\n Participant.RelatedPerson maps to participant.individual\n Participant.OccurrenceTime maps to participant.period\n Participant.ParticipationType maps to participant.type\n ProviderOrganization maps to serviceProvider\n <TBD "HealthConcern"> maps to indication\n</pre></p>\n</div>"
|
7
|
+
},
|
8
|
+
"url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter",
|
9
|
+
"identifier": [
|
10
|
+
{
|
11
|
+
"system": "http://standardhealthrecord.org",
|
12
|
+
"value": "shr.encounter.Encounter"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"version": "0.0.1",
|
16
|
+
"name": "SHR Encounter Profile",
|
17
|
+
"status": "draft",
|
18
|
+
"date": "2017-04-18T15:12:22.509Z",
|
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 statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.",
|
31
|
+
"fhirVersion": "3.0.0",
|
32
|
+
"mapping": [
|
33
|
+
{
|
34
|
+
"identity": "rim",
|
35
|
+
"uri": "http://hl7.org/v3",
|
36
|
+
"name": "RIM Mapping"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"identity": "w5",
|
40
|
+
"uri": "http://hl7.org/fhir/w5",
|
41
|
+
"name": "W5 Mapping"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"identity": "v2",
|
45
|
+
"uri": "http://hl7.org/v2",
|
46
|
+
"name": "HL7 v2 Mapping"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"kind": "resource",
|
50
|
+
"abstract": false,
|
51
|
+
"type": "Encounter",
|
52
|
+
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
|
53
|
+
"derivation": "constraint",
|
54
|
+
"snapshot": {
|
55
|
+
"element": [
|
56
|
+
{
|
57
|
+
"id": "Encounter:shr-encounter-Encounter",
|
58
|
+
"path": "Encounter",
|
59
|
+
"short": "SHR Encounter Profile",
|
60
|
+
"definition": "A statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.",
|
61
|
+
"alias": [
|
62
|
+
"Visit"
|
63
|
+
],
|
64
|
+
"min": 0,
|
65
|
+
"max": "*",
|
66
|
+
"constraint": [
|
67
|
+
{
|
68
|
+
"key": "dom-2",
|
69
|
+
"severity": "error",
|
70
|
+
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
|
71
|
+
"expression": "contained.contained.empty()",
|
72
|
+
"xpath": "not(parent::f:contained and f:contained)",
|
73
|
+
"source": "DomainResource"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"key": "dom-1",
|
77
|
+
"severity": "error",
|
78
|
+
"human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
|
79
|
+
"expression": "contained.text.empty()",
|
80
|
+
"xpath": "not(parent::f:contained and f:text)",
|
81
|
+
"source": "DomainResource"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"key": "dom-4",
|
85
|
+
"severity": "error",
|
86
|
+
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
|
87
|
+
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
|
88
|
+
"xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
|
89
|
+
"source": "DomainResource"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"key": "dom-3",
|
93
|
+
"severity": "error",
|
94
|
+
"human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
|
95
|
+
"expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
|
96
|
+
"xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
|
97
|
+
"source": "DomainResource"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"mapping": [
|
101
|
+
{
|
102
|
+
"identity": "rim",
|
103
|
+
"map": "Entity. Role, or Act"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"identity": "rim",
|
107
|
+
"map": "Encounter[@moodCode='EVN']"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"identity": "w5",
|
111
|
+
"map": "workflow.encounter"
|
112
|
+
}
|
113
|
+
]
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"id": "Encounter:shr-encounter-Encounter.id",
|
117
|
+
"path": "Encounter.id",
|
118
|
+
"short": "Logical id of this artifact",
|
119
|
+
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
120
|
+
"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.",
|
121
|
+
"min": 0,
|
122
|
+
"max": "1",
|
123
|
+
"base": {
|
124
|
+
"path": "Resource.id",
|
125
|
+
"min": 0,
|
126
|
+
"max": "1"
|
127
|
+
},
|
128
|
+
"type": [
|
129
|
+
{
|
130
|
+
"code": "id"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"isSummary": true
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"id": "Encounter:shr-encounter-Encounter.meta",
|
137
|
+
"path": "Encounter.meta",
|
138
|
+
"short": "Metadata about the resource",
|
139
|
+
"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.",
|
140
|
+
"min": 0,
|
141
|
+
"max": "1",
|
142
|
+
"base": {
|
143
|
+
"path": "Resource.meta",
|
144
|
+
"min": 0,
|
145
|
+
"max": "1"
|
146
|
+
},
|
147
|
+
"type": [
|
148
|
+
{
|
149
|
+
"code": "Meta"
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"isSummary": true
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"id": "Encounter:shr-encounter-Encounter.implicitRules",
|
156
|
+
"path": "Encounter.implicitRules",
|
157
|
+
"short": "A set of rules under which this content was created",
|
158
|
+
"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.",
|
159
|
+
"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.",
|
160
|
+
"min": 0,
|
161
|
+
"max": "1",
|
162
|
+
"base": {
|
163
|
+
"path": "Resource.implicitRules",
|
164
|
+
"min": 0,
|
165
|
+
"max": "1"
|
166
|
+
},
|
167
|
+
"type": [
|
168
|
+
{
|
169
|
+
"code": "uri"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"isModifier": true,
|
173
|
+
"isSummary": true
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"id": "Encounter:shr-encounter-Encounter.language",
|
177
|
+
"path": "Encounter.language",
|
178
|
+
"short": "Language of the resource content",
|
179
|
+
"definition": "The base language in which the resource is written.",
|
180
|
+
"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).",
|
181
|
+
"min": 0,
|
182
|
+
"max": "1",
|
183
|
+
"base": {
|
184
|
+
"path": "Resource.language",
|
185
|
+
"min": 0,
|
186
|
+
"max": "1"
|
187
|
+
},
|
188
|
+
"type": [
|
189
|
+
{
|
190
|
+
"code": "code"
|
191
|
+
}
|
192
|
+
],
|
193
|
+
"binding": {
|
194
|
+
"extension": [
|
195
|
+
{
|
196
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
|
197
|
+
"valueReference": {
|
198
|
+
"reference": "http://hl7.org/fhir/ValueSet/all-languages"
|
199
|
+
}
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
203
|
+
"valueString": "Language"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
|
207
|
+
"valueBoolean": true
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"strength": "extensible",
|
211
|
+
"description": "A human language.",
|
212
|
+
"valueSetReference": {
|
213
|
+
"reference": "http://hl7.org/fhir/ValueSet/languages"
|
214
|
+
}
|
215
|
+
}
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"id": "Encounter:shr-encounter-Encounter.text",
|
219
|
+
"path": "Encounter.text",
|
220
|
+
"short": "Text summary of the resource, for human interpretation",
|
221
|
+
"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.",
|
222
|
+
"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.",
|
223
|
+
"alias": [
|
224
|
+
"narrative",
|
225
|
+
"html",
|
226
|
+
"xhtml",
|
227
|
+
"display"
|
228
|
+
],
|
229
|
+
"min": 0,
|
230
|
+
"max": "1",
|
231
|
+
"base": {
|
232
|
+
"path": "DomainResource.text",
|
233
|
+
"min": 0,
|
234
|
+
"max": "1"
|
235
|
+
},
|
236
|
+
"type": [
|
237
|
+
{
|
238
|
+
"code": "Narrative"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"condition": [
|
242
|
+
"dom-1"
|
243
|
+
],
|
244
|
+
"mapping": [
|
245
|
+
{
|
246
|
+
"identity": "rim",
|
247
|
+
"map": "Act.text?"
|
248
|
+
}
|
249
|
+
]
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"id": "Encounter:shr-encounter-Encounter.contained",
|
253
|
+
"path": "Encounter.contained",
|
254
|
+
"short": "Contained, inline Resources",
|
255
|
+
"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.",
|
256
|
+
"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.",
|
257
|
+
"alias": [
|
258
|
+
"inline resources",
|
259
|
+
"anonymous resources",
|
260
|
+
"contained resources"
|
261
|
+
],
|
262
|
+
"min": 0,
|
263
|
+
"max": "*",
|
264
|
+
"base": {
|
265
|
+
"path": "DomainResource.contained",
|
266
|
+
"min": 0,
|
267
|
+
"max": "*"
|
268
|
+
},
|
269
|
+
"type": [
|
270
|
+
{
|
271
|
+
"code": "Resource"
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"mapping": [
|
275
|
+
{
|
276
|
+
"identity": "rim",
|
277
|
+
"map": "N/A"
|
278
|
+
}
|
279
|
+
]
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"id": "Encounter:shr-encounter-Encounter.extension",
|
283
|
+
"path": "Encounter.extension",
|
284
|
+
"slicing": {
|
285
|
+
"id": "202",
|
286
|
+
"discriminator": [
|
287
|
+
{
|
288
|
+
"type": "value",
|
289
|
+
"path": "url"
|
290
|
+
}
|
291
|
+
],
|
292
|
+
"ordered": false,
|
293
|
+
"rules": "open"
|
294
|
+
},
|
295
|
+
"short": "Additional Content defined by implementations",
|
296
|
+
"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.",
|
297
|
+
"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.",
|
298
|
+
"alias": [
|
299
|
+
"extensions",
|
300
|
+
"user content"
|
301
|
+
],
|
302
|
+
"min": 0,
|
303
|
+
"max": "*",
|
304
|
+
"base": {
|
305
|
+
"path": "DomainResource.extension",
|
306
|
+
"min": 0,
|
307
|
+
"max": "*"
|
308
|
+
},
|
309
|
+
"type": [
|
310
|
+
{
|
311
|
+
"code": "Extension"
|
312
|
+
}
|
313
|
+
],
|
314
|
+
"mapping": [
|
315
|
+
{
|
316
|
+
"identity": "rim",
|
317
|
+
"map": "N/A"
|
318
|
+
}
|
319
|
+
]
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"id": "Encounter:shr-encounter-Encounter.extension:referraldate",
|
323
|
+
"path": "Encounter.extension",
|
324
|
+
"sliceName": "referraldate",
|
325
|
+
"definition": "The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client�s behalf.",
|
326
|
+
"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.",
|
327
|
+
"alias": [
|
328
|
+
"extensions",
|
329
|
+
"user content"
|
330
|
+
],
|
331
|
+
"min": 0,
|
332
|
+
"max": "1",
|
333
|
+
"base": {
|
334
|
+
"path": "DomainResource.extension",
|
335
|
+
"min": 0,
|
336
|
+
"max": "*"
|
337
|
+
},
|
338
|
+
"type": [
|
339
|
+
{
|
340
|
+
"code": "Extension",
|
341
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension"
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"mustSupport": false,
|
345
|
+
"isModifier": false,
|
346
|
+
"isSummary": false,
|
347
|
+
"mapping": [
|
348
|
+
{
|
349
|
+
"identity": "rim",
|
350
|
+
"map": "N/A"
|
351
|
+
}
|
352
|
+
]
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"id": "Encounter:shr-encounter-Encounter.extension:referralsourcetype",
|
356
|
+
"path": "Encounter.extension",
|
357
|
+
"sliceName": "referralsourcetype",
|
358
|
+
"definition": "The type of person or entity that instigated the encounter.",
|
359
|
+
"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.",
|
360
|
+
"alias": [
|
361
|
+
"extensions",
|
362
|
+
"user content"
|
363
|
+
],
|
364
|
+
"min": 0,
|
365
|
+
"max": "1",
|
366
|
+
"base": {
|
367
|
+
"path": "DomainResource.extension",
|
368
|
+
"min": 0,
|
369
|
+
"max": "*"
|
370
|
+
},
|
371
|
+
"type": [
|
372
|
+
{
|
373
|
+
"code": "Extension",
|
374
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension"
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"mustSupport": false,
|
378
|
+
"isModifier": false,
|
379
|
+
"isSummary": false,
|
380
|
+
"mapping": [
|
381
|
+
{
|
382
|
+
"identity": "rim",
|
383
|
+
"map": "N/A"
|
384
|
+
}
|
385
|
+
]
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"id": "Encounter:shr-encounter-Encounter.extension:facility",
|
389
|
+
"path": "Encounter.extension",
|
390
|
+
"sliceName": "facility",
|
391
|
+
"definition": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.",
|
392
|
+
"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.",
|
393
|
+
"alias": [
|
394
|
+
"extensions",
|
395
|
+
"user content"
|
396
|
+
],
|
397
|
+
"min": 0,
|
398
|
+
"max": "1",
|
399
|
+
"base": {
|
400
|
+
"path": "DomainResource.extension",
|
401
|
+
"min": 0,
|
402
|
+
"max": "*"
|
403
|
+
},
|
404
|
+
"type": [
|
405
|
+
{
|
406
|
+
"code": "Extension",
|
407
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"mustSupport": false,
|
411
|
+
"isModifier": false,
|
412
|
+
"isSummary": false,
|
413
|
+
"mapping": [
|
414
|
+
{
|
415
|
+
"identity": "rim",
|
416
|
+
"map": "N/A"
|
417
|
+
}
|
418
|
+
]
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"id": "Encounter:shr-encounter-Encounter.extension:treatmentcooperation",
|
422
|
+
"path": "Encounter.extension",
|
423
|
+
"sliceName": "treatmentcooperation",
|
424
|
+
"definition": "Whether the patient is undergoing treatment voluntarily, or under a legal order.",
|
425
|
+
"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.",
|
426
|
+
"alias": [
|
427
|
+
"extensions",
|
428
|
+
"user content"
|
429
|
+
],
|
430
|
+
"min": 0,
|
431
|
+
"max": "1",
|
432
|
+
"base": {
|
433
|
+
"path": "DomainResource.extension",
|
434
|
+
"min": 0,
|
435
|
+
"max": "*"
|
436
|
+
},
|
437
|
+
"type": [
|
438
|
+
{
|
439
|
+
"code": "Extension",
|
440
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension"
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"mustSupport": false,
|
444
|
+
"isModifier": false,
|
445
|
+
"isSummary": false,
|
446
|
+
"mapping": [
|
447
|
+
{
|
448
|
+
"identity": "rim",
|
449
|
+
"map": "N/A"
|
450
|
+
}
|
451
|
+
]
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"id": "Encounter:shr-encounter-Encounter.extension:paymentsource",
|
455
|
+
"path": "Encounter.extension",
|
456
|
+
"sliceName": "paymentsource",
|
457
|
+
"definition": "The source of payment for the current encounter.",
|
458
|
+
"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.",
|
459
|
+
"alias": [
|
460
|
+
"extensions",
|
461
|
+
"user content"
|
462
|
+
],
|
463
|
+
"min": 0,
|
464
|
+
"max": "1",
|
465
|
+
"base": {
|
466
|
+
"path": "DomainResource.extension",
|
467
|
+
"min": 0,
|
468
|
+
"max": "*"
|
469
|
+
},
|
470
|
+
"type": [
|
471
|
+
{
|
472
|
+
"code": "Extension",
|
473
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension"
|
474
|
+
}
|
475
|
+
],
|
476
|
+
"mustSupport": false,
|
477
|
+
"isModifier": false,
|
478
|
+
"isSummary": false,
|
479
|
+
"mapping": [
|
480
|
+
{
|
481
|
+
"identity": "rim",
|
482
|
+
"map": "N/A"
|
483
|
+
}
|
484
|
+
]
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"id": "Encounter:shr-encounter-Encounter.modifierExtension",
|
488
|
+
"path": "Encounter.modifierExtension",
|
489
|
+
"slicing": {
|
490
|
+
"id": "203",
|
491
|
+
"discriminator": [
|
492
|
+
{
|
493
|
+
"type": "value",
|
494
|
+
"path": "url"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"ordered": false,
|
498
|
+
"rules": "open"
|
499
|
+
},
|
500
|
+
"short": "Extensions that cannot be ignored",
|
501
|
+
"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.",
|
502
|
+
"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.",
|
503
|
+
"alias": [
|
504
|
+
"extensions",
|
505
|
+
"user content"
|
506
|
+
],
|
507
|
+
"min": 0,
|
508
|
+
"max": "*",
|
509
|
+
"base": {
|
510
|
+
"path": "DomainResource.modifierExtension",
|
511
|
+
"min": 0,
|
512
|
+
"max": "*"
|
513
|
+
},
|
514
|
+
"type": [
|
515
|
+
{
|
516
|
+
"code": "Extension"
|
517
|
+
}
|
518
|
+
],
|
519
|
+
"isModifier": true,
|
520
|
+
"mapping": [
|
521
|
+
{
|
522
|
+
"identity": "rim",
|
523
|
+
"map": "N/A"
|
524
|
+
}
|
525
|
+
]
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"id": "Encounter:shr-encounter-Encounter.modifierExtension:encounternonoccurrencemodifier",
|
529
|
+
"path": "Encounter.modifierExtension",
|
530
|
+
"sliceName": "encounternonoccurrencemodifier",
|
531
|
+
"definition": "True if the encounter did not occur.",
|
532
|
+
"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.",
|
533
|
+
"alias": [
|
534
|
+
"extensions",
|
535
|
+
"user content"
|
536
|
+
],
|
537
|
+
"min": 0,
|
538
|
+
"max": "1",
|
539
|
+
"base": {
|
540
|
+
"path": "DomainResource.modifierExtension",
|
541
|
+
"min": 0,
|
542
|
+
"max": "*"
|
543
|
+
},
|
544
|
+
"type": [
|
545
|
+
{
|
546
|
+
"code": "Extension",
|
547
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension"
|
548
|
+
}
|
549
|
+
],
|
550
|
+
"mustSupport": true,
|
551
|
+
"isModifier": true,
|
552
|
+
"isSummary": false,
|
553
|
+
"mapping": [
|
554
|
+
{
|
555
|
+
"identity": "rim",
|
556
|
+
"map": "N/A"
|
557
|
+
}
|
558
|
+
]
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"id": "Encounter:shr-encounter-Encounter.identifier",
|
562
|
+
"path": "Encounter.identifier",
|
563
|
+
"short": "Identifier(s) by which this encounter is known",
|
564
|
+
"definition": "Identifier(s) by which this encounter is known.",
|
565
|
+
"min": 0,
|
566
|
+
"max": "*",
|
567
|
+
"type": [
|
568
|
+
{
|
569
|
+
"code": "Identifier"
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"isSummary": true,
|
573
|
+
"mapping": [
|
574
|
+
{
|
575
|
+
"identity": "v2",
|
576
|
+
"map": "PV1-19"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"identity": "rim",
|
580
|
+
"map": ".id"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"identity": "w5",
|
584
|
+
"map": "id"
|
585
|
+
}
|
586
|
+
]
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"id": "Encounter:shr-encounter-Encounter.status",
|
590
|
+
"path": "Encounter.status",
|
591
|
+
"short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +",
|
592
|
+
"definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.",
|
593
|
+
"comment": "Note that internal business rules will detemine the appropraite transitions that may occur between statuses (and also classes).\n\nThis element is labeled as a modifier because the status contains codes that mark the encounter as not currently valid.",
|
594
|
+
"min": 1,
|
595
|
+
"max": "1",
|
596
|
+
"type": [
|
597
|
+
{
|
598
|
+
"code": "code"
|
599
|
+
}
|
600
|
+
],
|
601
|
+
"isModifier": true,
|
602
|
+
"isSummary": true,
|
603
|
+
"binding": {
|
604
|
+
"extension": [
|
605
|
+
{
|
606
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
607
|
+
"valueString": "EncounterStatus"
|
608
|
+
}
|
609
|
+
],
|
610
|
+
"strength": "required",
|
611
|
+
"description": "Current state of the encounter",
|
612
|
+
"valueSetReference": {
|
613
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-status"
|
614
|
+
}
|
615
|
+
},
|
616
|
+
"mapping": [
|
617
|
+
{
|
618
|
+
"identity": "v2",
|
619
|
+
"map": "No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"identity": "rim",
|
623
|
+
"map": ".statusCode"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"identity": "w5",
|
627
|
+
"map": "status"
|
628
|
+
}
|
629
|
+
]
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"id": "Encounter:shr-encounter-Encounter.statusHistory",
|
633
|
+
"extension": [
|
634
|
+
{
|
635
|
+
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
|
636
|
+
"valueString": "StatusHistory"
|
637
|
+
}
|
638
|
+
],
|
639
|
+
"path": "Encounter.statusHistory",
|
640
|
+
"short": "List of past encounter statuses",
|
641
|
+
"definition": "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.",
|
642
|
+
"comment": "The current status is always found in the current version of the resource, not the status history.",
|
643
|
+
"min": 0,
|
644
|
+
"max": "*",
|
645
|
+
"type": [
|
646
|
+
{
|
647
|
+
"code": "BackboneElement"
|
648
|
+
}
|
649
|
+
],
|
650
|
+
"constraint": [
|
651
|
+
{
|
652
|
+
"key": "ele-1",
|
653
|
+
"severity": "error",
|
654
|
+
"human": "All FHIR elements must have a @value or children",
|
655
|
+
"expression": "children().count() > id.count()",
|
656
|
+
"xpath": "@value|f:*|h:div",
|
657
|
+
"source": "Element"
|
658
|
+
}
|
659
|
+
],
|
660
|
+
"mapping": [
|
661
|
+
{
|
662
|
+
"identity": "rim",
|
663
|
+
"map": "n/a"
|
664
|
+
}
|
665
|
+
]
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"id": "Encounter:shr-encounter-Encounter.statusHistory.id",
|
669
|
+
"path": "Encounter.statusHistory.id",
|
670
|
+
"representation": [
|
671
|
+
"xmlAttr"
|
672
|
+
],
|
673
|
+
"short": "xml:id (or equivalent in JSON)",
|
674
|
+
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
675
|
+
"min": 0,
|
676
|
+
"max": "1",
|
677
|
+
"base": {
|
678
|
+
"path": "Element.id",
|
679
|
+
"min": 0,
|
680
|
+
"max": "1"
|
681
|
+
},
|
682
|
+
"type": [
|
683
|
+
{
|
684
|
+
"code": "string"
|
685
|
+
}
|
686
|
+
],
|
687
|
+
"mapping": [
|
688
|
+
{
|
689
|
+
"identity": "rim",
|
690
|
+
"map": "n/a"
|
691
|
+
}
|
692
|
+
]
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"id": "Encounter:shr-encounter-Encounter.statusHistory.extension",
|
696
|
+
"path": "Encounter.statusHistory.extension",
|
697
|
+
"short": "Additional Content defined by implementations",
|
698
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
699
|
+
"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.",
|
700
|
+
"alias": [
|
701
|
+
"extensions",
|
702
|
+
"user content"
|
703
|
+
],
|
704
|
+
"min": 0,
|
705
|
+
"max": "*",
|
706
|
+
"base": {
|
707
|
+
"path": "Element.extension",
|
708
|
+
"min": 0,
|
709
|
+
"max": "*"
|
710
|
+
},
|
711
|
+
"type": [
|
712
|
+
{
|
713
|
+
"code": "Extension"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"mapping": [
|
717
|
+
{
|
718
|
+
"identity": "rim",
|
719
|
+
"map": "n/a"
|
720
|
+
}
|
721
|
+
]
|
722
|
+
},
|
723
|
+
{
|
724
|
+
"id": "Encounter:shr-encounter-Encounter.statusHistory.modifierExtension",
|
725
|
+
"path": "Encounter.statusHistory.modifierExtension",
|
726
|
+
"short": "Extensions that cannot be ignored",
|
727
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
|
728
|
+
"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.",
|
729
|
+
"alias": [
|
730
|
+
"extensions",
|
731
|
+
"user content",
|
732
|
+
"modifiers"
|
733
|
+
],
|
734
|
+
"min": 0,
|
735
|
+
"max": "*",
|
736
|
+
"base": {
|
737
|
+
"path": "BackboneElement.modifierExtension",
|
738
|
+
"min": 0,
|
739
|
+
"max": "*"
|
740
|
+
},
|
741
|
+
"type": [
|
742
|
+
{
|
743
|
+
"code": "Extension"
|
744
|
+
}
|
745
|
+
],
|
746
|
+
"isModifier": true,
|
747
|
+
"isSummary": true,
|
748
|
+
"mapping": [
|
749
|
+
{
|
750
|
+
"identity": "rim",
|
751
|
+
"map": "N/A"
|
752
|
+
}
|
753
|
+
]
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"id": "Encounter:shr-encounter-Encounter.statusHistory.status",
|
757
|
+
"path": "Encounter.statusHistory.status",
|
758
|
+
"short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +",
|
759
|
+
"definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.",
|
760
|
+
"min": 1,
|
761
|
+
"max": "1",
|
762
|
+
"type": [
|
763
|
+
{
|
764
|
+
"code": "code"
|
765
|
+
}
|
766
|
+
],
|
767
|
+
"binding": {
|
768
|
+
"extension": [
|
769
|
+
{
|
770
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
771
|
+
"valueString": "EncounterStatus"
|
772
|
+
}
|
773
|
+
],
|
774
|
+
"strength": "required",
|
775
|
+
"description": "Current state of the encounter",
|
776
|
+
"valueSetReference": {
|
777
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-status"
|
778
|
+
}
|
779
|
+
},
|
780
|
+
"mapping": [
|
781
|
+
{
|
782
|
+
"identity": "rim",
|
783
|
+
"map": "n/a"
|
784
|
+
}
|
785
|
+
]
|
786
|
+
},
|
787
|
+
{
|
788
|
+
"id": "Encounter:shr-encounter-Encounter.statusHistory.period",
|
789
|
+
"path": "Encounter.statusHistory.period",
|
790
|
+
"short": "The time that the episode was in the specified status",
|
791
|
+
"definition": "The time that the episode was in the specified status.",
|
792
|
+
"min": 1,
|
793
|
+
"max": "1",
|
794
|
+
"type": [
|
795
|
+
{
|
796
|
+
"code": "Period"
|
797
|
+
}
|
798
|
+
],
|
799
|
+
"mapping": [
|
800
|
+
{
|
801
|
+
"identity": "rim",
|
802
|
+
"map": "n/a"
|
803
|
+
}
|
804
|
+
]
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"id": "Encounter:shr-encounter-Encounter.class",
|
808
|
+
"path": "Encounter.class",
|
809
|
+
"short": "inpatient | outpatient | ambulatory | emergency +",
|
810
|
+
"definition": "inpatient | outpatient | ambulatory | emergency +.",
|
811
|
+
"min": 0,
|
812
|
+
"max": "1",
|
813
|
+
"type": [
|
814
|
+
{
|
815
|
+
"code": "Coding",
|
816
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding"
|
817
|
+
}
|
818
|
+
],
|
819
|
+
"isSummary": true,
|
820
|
+
"binding": {
|
821
|
+
"strength": "required",
|
822
|
+
"valueSetReference": {
|
823
|
+
"reference": "http://standardhealthrecord.org/shr/encounter/vs/EncounterTypeVS"
|
824
|
+
}
|
825
|
+
},
|
826
|
+
"mapping": [
|
827
|
+
{
|
828
|
+
"identity": "v2",
|
829
|
+
"map": "PV1-2"
|
830
|
+
},
|
831
|
+
{
|
832
|
+
"identity": "rim",
|
833
|
+
"map": ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code"
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"identity": "w5",
|
837
|
+
"map": "class"
|
838
|
+
}
|
839
|
+
]
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"id": "Encounter:shr-encounter-Encounter.classHistory",
|
843
|
+
"extension": [
|
844
|
+
{
|
845
|
+
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
|
846
|
+
"valueString": "ClassHistory"
|
847
|
+
}
|
848
|
+
],
|
849
|
+
"path": "Encounter.classHistory",
|
850
|
+
"short": "List of past encounter classes",
|
851
|
+
"definition": "The class history permits the tracking of the encounters transitions without needing to go through the resource history.\n\nThis would be used for a case where an admission starts of as an emergency encounter, then transisions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kindof discharge from emergency to inpatient.",
|
852
|
+
"min": 0,
|
853
|
+
"max": "*",
|
854
|
+
"type": [
|
855
|
+
{
|
856
|
+
"code": "BackboneElement"
|
857
|
+
}
|
858
|
+
],
|
859
|
+
"constraint": [
|
860
|
+
{
|
861
|
+
"key": "ele-1",
|
862
|
+
"severity": "error",
|
863
|
+
"human": "All FHIR elements must have a @value or children",
|
864
|
+
"expression": "children().count() > id.count()",
|
865
|
+
"xpath": "@value|f:*|h:div",
|
866
|
+
"source": "Element"
|
867
|
+
}
|
868
|
+
],
|
869
|
+
"mapping": [
|
870
|
+
{
|
871
|
+
"identity": "rim",
|
872
|
+
"map": "n/a"
|
873
|
+
}
|
874
|
+
]
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"id": "Encounter:shr-encounter-Encounter.classHistory.id",
|
878
|
+
"path": "Encounter.classHistory.id",
|
879
|
+
"representation": [
|
880
|
+
"xmlAttr"
|
881
|
+
],
|
882
|
+
"short": "xml:id (or equivalent in JSON)",
|
883
|
+
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
884
|
+
"min": 0,
|
885
|
+
"max": "1",
|
886
|
+
"base": {
|
887
|
+
"path": "Element.id",
|
888
|
+
"min": 0,
|
889
|
+
"max": "1"
|
890
|
+
},
|
891
|
+
"type": [
|
892
|
+
{
|
893
|
+
"code": "string"
|
894
|
+
}
|
895
|
+
],
|
896
|
+
"mapping": [
|
897
|
+
{
|
898
|
+
"identity": "rim",
|
899
|
+
"map": "n/a"
|
900
|
+
}
|
901
|
+
]
|
902
|
+
},
|
903
|
+
{
|
904
|
+
"id": "Encounter:shr-encounter-Encounter.classHistory.extension",
|
905
|
+
"path": "Encounter.classHistory.extension",
|
906
|
+
"short": "Additional Content defined by implementations",
|
907
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
908
|
+
"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.",
|
909
|
+
"alias": [
|
910
|
+
"extensions",
|
911
|
+
"user content"
|
912
|
+
],
|
913
|
+
"min": 0,
|
914
|
+
"max": "*",
|
915
|
+
"base": {
|
916
|
+
"path": "Element.extension",
|
917
|
+
"min": 0,
|
918
|
+
"max": "*"
|
919
|
+
},
|
920
|
+
"type": [
|
921
|
+
{
|
922
|
+
"code": "Extension"
|
923
|
+
}
|
924
|
+
],
|
925
|
+
"mapping": [
|
926
|
+
{
|
927
|
+
"identity": "rim",
|
928
|
+
"map": "n/a"
|
929
|
+
}
|
930
|
+
]
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"id": "Encounter:shr-encounter-Encounter.classHistory.modifierExtension",
|
934
|
+
"path": "Encounter.classHistory.modifierExtension",
|
935
|
+
"short": "Extensions that cannot be ignored",
|
936
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
|
937
|
+
"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.",
|
938
|
+
"alias": [
|
939
|
+
"extensions",
|
940
|
+
"user content",
|
941
|
+
"modifiers"
|
942
|
+
],
|
943
|
+
"min": 0,
|
944
|
+
"max": "*",
|
945
|
+
"base": {
|
946
|
+
"path": "BackboneElement.modifierExtension",
|
947
|
+
"min": 0,
|
948
|
+
"max": "*"
|
949
|
+
},
|
950
|
+
"type": [
|
951
|
+
{
|
952
|
+
"code": "Extension"
|
953
|
+
}
|
954
|
+
],
|
955
|
+
"isModifier": true,
|
956
|
+
"isSummary": true,
|
957
|
+
"mapping": [
|
958
|
+
{
|
959
|
+
"identity": "rim",
|
960
|
+
"map": "N/A"
|
961
|
+
}
|
962
|
+
]
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"id": "Encounter:shr-encounter-Encounter.classHistory.class",
|
966
|
+
"path": "Encounter.classHistory.class",
|
967
|
+
"short": "inpatient | outpatient | ambulatory | emergency +",
|
968
|
+
"definition": "inpatient | outpatient | ambulatory | emergency +.",
|
969
|
+
"min": 1,
|
970
|
+
"max": "1",
|
971
|
+
"type": [
|
972
|
+
{
|
973
|
+
"code": "Coding"
|
974
|
+
}
|
975
|
+
],
|
976
|
+
"binding": {
|
977
|
+
"extension": [
|
978
|
+
{
|
979
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
980
|
+
"valueString": "EncounterClass"
|
981
|
+
}
|
982
|
+
],
|
983
|
+
"strength": "extensible",
|
984
|
+
"description": "Classification of the encounter",
|
985
|
+
"valueSetReference": {
|
986
|
+
"reference": "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
|
987
|
+
}
|
988
|
+
},
|
989
|
+
"mapping": [
|
990
|
+
{
|
991
|
+
"identity": "rim",
|
992
|
+
"map": "n/a"
|
993
|
+
}
|
994
|
+
]
|
995
|
+
},
|
996
|
+
{
|
997
|
+
"id": "Encounter:shr-encounter-Encounter.classHistory.period",
|
998
|
+
"path": "Encounter.classHistory.period",
|
999
|
+
"short": "The time that the episode was in the specified class",
|
1000
|
+
"definition": "The time that the episode was in the specified class.",
|
1001
|
+
"min": 1,
|
1002
|
+
"max": "1",
|
1003
|
+
"type": [
|
1004
|
+
{
|
1005
|
+
"code": "Period"
|
1006
|
+
}
|
1007
|
+
],
|
1008
|
+
"mapping": [
|
1009
|
+
{
|
1010
|
+
"identity": "rim",
|
1011
|
+
"map": "n/a"
|
1012
|
+
}
|
1013
|
+
]
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"id": "Encounter:shr-encounter-Encounter.type",
|
1017
|
+
"path": "Encounter.type",
|
1018
|
+
"short": "Specific type of encounter",
|
1019
|
+
"definition": "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).",
|
1020
|
+
"comment": "Since there are many ways to further classify encounters, this element is 0..*.",
|
1021
|
+
"min": 0,
|
1022
|
+
"max": "*",
|
1023
|
+
"type": [
|
1024
|
+
{
|
1025
|
+
"code": "CodeableConcept"
|
1026
|
+
}
|
1027
|
+
],
|
1028
|
+
"isSummary": true,
|
1029
|
+
"binding": {
|
1030
|
+
"extension": [
|
1031
|
+
{
|
1032
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
1033
|
+
"valueString": "EncounterType"
|
1034
|
+
}
|
1035
|
+
],
|
1036
|
+
"strength": "example",
|
1037
|
+
"description": "The type of encounter",
|
1038
|
+
"valueSetReference": {
|
1039
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-type"
|
1040
|
+
}
|
1041
|
+
},
|
1042
|
+
"mapping": [
|
1043
|
+
{
|
1044
|
+
"identity": "v2",
|
1045
|
+
"map": "PV1-4 / PV1-18"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"identity": "rim",
|
1049
|
+
"map": ".code"
|
1050
|
+
},
|
1051
|
+
{
|
1052
|
+
"identity": "w5",
|
1053
|
+
"map": "class"
|
1054
|
+
}
|
1055
|
+
]
|
1056
|
+
},
|
1057
|
+
{
|
1058
|
+
"id": "Encounter:shr-encounter-Encounter.priority",
|
1059
|
+
"path": "Encounter.priority",
|
1060
|
+
"short": "Indicates the urgency of the encounter",
|
1061
|
+
"definition": "Indicates the urgency of the encounter.",
|
1062
|
+
"min": 0,
|
1063
|
+
"max": "1",
|
1064
|
+
"type": [
|
1065
|
+
{
|
1066
|
+
"code": "CodeableConcept"
|
1067
|
+
}
|
1068
|
+
],
|
1069
|
+
"binding": {
|
1070
|
+
"extension": [
|
1071
|
+
{
|
1072
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
1073
|
+
"valueString": "Priority"
|
1074
|
+
}
|
1075
|
+
],
|
1076
|
+
"strength": "example",
|
1077
|
+
"description": "Indicates the urgency of the encounter.",
|
1078
|
+
"valueSetReference": {
|
1079
|
+
"reference": "http://hl7.org/fhir/ValueSet/v3-ActPriority"
|
1080
|
+
}
|
1081
|
+
},
|
1082
|
+
"mapping": [
|
1083
|
+
{
|
1084
|
+
"identity": "v2",
|
1085
|
+
"map": "PV2-25"
|
1086
|
+
},
|
1087
|
+
{
|
1088
|
+
"identity": "rim",
|
1089
|
+
"map": ".priorityCode"
|
1090
|
+
},
|
1091
|
+
{
|
1092
|
+
"identity": "w5",
|
1093
|
+
"map": "grade"
|
1094
|
+
}
|
1095
|
+
]
|
1096
|
+
},
|
1097
|
+
{
|
1098
|
+
"id": "Encounter:shr-encounter-Encounter.subject",
|
1099
|
+
"path": "Encounter.subject",
|
1100
|
+
"short": "The patient ro group present at the encounter",
|
1101
|
+
"definition": "The patient ro group present at the encounter.",
|
1102
|
+
"comment": "While the encounter is always about the patient, the patient may not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).",
|
1103
|
+
"alias": [
|
1104
|
+
"patient"
|
1105
|
+
],
|
1106
|
+
"min": 1,
|
1107
|
+
"max": "1",
|
1108
|
+
"type": [
|
1109
|
+
{
|
1110
|
+
"code": "Reference",
|
1111
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"code": "Reference",
|
1115
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
|
1116
|
+
}
|
1117
|
+
],
|
1118
|
+
"isSummary": true,
|
1119
|
+
"mapping": [
|
1120
|
+
{
|
1121
|
+
"identity": "v2",
|
1122
|
+
"map": "PID-3"
|
1123
|
+
},
|
1124
|
+
{
|
1125
|
+
"identity": "rim",
|
1126
|
+
"map": ".participation[typeCode=SBJ]/role[classCode=PAT]"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"identity": "w5",
|
1130
|
+
"map": "who.focus"
|
1131
|
+
}
|
1132
|
+
]
|
1133
|
+
},
|
1134
|
+
{
|
1135
|
+
"id": "Encounter:shr-encounter-Encounter.episodeOfCare",
|
1136
|
+
"path": "Encounter.episodeOfCare",
|
1137
|
+
"short": "Episode(s) of care that this encounter should be recorded against",
|
1138
|
+
"definition": "Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).",
|
1139
|
+
"min": 0,
|
1140
|
+
"max": "*",
|
1141
|
+
"type": [
|
1142
|
+
{
|
1143
|
+
"code": "Reference",
|
1144
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
|
1145
|
+
}
|
1146
|
+
],
|
1147
|
+
"isSummary": true,
|
1148
|
+
"mapping": [
|
1149
|
+
{
|
1150
|
+
"identity": "v2",
|
1151
|
+
"map": "PV1-54, PV1-53"
|
1152
|
+
},
|
1153
|
+
{
|
1154
|
+
"identity": "rim",
|
1155
|
+
"map": "n/a"
|
1156
|
+
},
|
1157
|
+
{
|
1158
|
+
"identity": "w5",
|
1159
|
+
"map": "context"
|
1160
|
+
}
|
1161
|
+
]
|
1162
|
+
},
|
1163
|
+
{
|
1164
|
+
"id": "Encounter:shr-encounter-Encounter.incomingReferral",
|
1165
|
+
"path": "Encounter.incomingReferral",
|
1166
|
+
"short": "The ReferralRequest that initiated this encounter",
|
1167
|
+
"definition": "The referral request this encounter satisfies (incoming referral).",
|
1168
|
+
"min": 0,
|
1169
|
+
"max": "*",
|
1170
|
+
"type": [
|
1171
|
+
{
|
1172
|
+
"code": "Reference",
|
1173
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
|
1174
|
+
}
|
1175
|
+
],
|
1176
|
+
"mapping": [
|
1177
|
+
{
|
1178
|
+
"identity": "rim",
|
1179
|
+
"map": ".reason.ClinicalDocument"
|
1180
|
+
}
|
1181
|
+
]
|
1182
|
+
},
|
1183
|
+
{
|
1184
|
+
"id": "Encounter:shr-encounter-Encounter.participant",
|
1185
|
+
"path": "Encounter.participant",
|
1186
|
+
"short": "List of participants involved in the encounter",
|
1187
|
+
"definition": "The list of people responsible for providing the service.",
|
1188
|
+
"min": 0,
|
1189
|
+
"max": "*",
|
1190
|
+
"type": [
|
1191
|
+
{
|
1192
|
+
"code": "BackboneElement"
|
1193
|
+
}
|
1194
|
+
],
|
1195
|
+
"constraint": [
|
1196
|
+
{
|
1197
|
+
"key": "ele-1",
|
1198
|
+
"severity": "error",
|
1199
|
+
"human": "All FHIR elements must have a @value or children",
|
1200
|
+
"expression": "children().count() > id.count()",
|
1201
|
+
"xpath": "@value|f:*|h:div",
|
1202
|
+
"source": "Element"
|
1203
|
+
}
|
1204
|
+
],
|
1205
|
+
"isSummary": true,
|
1206
|
+
"mapping": [
|
1207
|
+
{
|
1208
|
+
"identity": "v2",
|
1209
|
+
"map": "ROL"
|
1210
|
+
},
|
1211
|
+
{
|
1212
|
+
"identity": "rim",
|
1213
|
+
"map": ".participation[typeCode=PFM]"
|
1214
|
+
}
|
1215
|
+
]
|
1216
|
+
},
|
1217
|
+
{
|
1218
|
+
"id": "Encounter:shr-encounter-Encounter.participant.id",
|
1219
|
+
"path": "Encounter.participant.id",
|
1220
|
+
"representation": [
|
1221
|
+
"xmlAttr"
|
1222
|
+
],
|
1223
|
+
"short": "xml:id (or equivalent in JSON)",
|
1224
|
+
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
1225
|
+
"min": 0,
|
1226
|
+
"max": "1",
|
1227
|
+
"base": {
|
1228
|
+
"path": "Element.id",
|
1229
|
+
"min": 0,
|
1230
|
+
"max": "1"
|
1231
|
+
},
|
1232
|
+
"type": [
|
1233
|
+
{
|
1234
|
+
"code": "string"
|
1235
|
+
}
|
1236
|
+
],
|
1237
|
+
"mapping": [
|
1238
|
+
{
|
1239
|
+
"identity": "rim",
|
1240
|
+
"map": "n/a"
|
1241
|
+
}
|
1242
|
+
]
|
1243
|
+
},
|
1244
|
+
{
|
1245
|
+
"id": "Encounter:shr-encounter-Encounter.participant.extension",
|
1246
|
+
"path": "Encounter.participant.extension",
|
1247
|
+
"short": "Additional Content defined by implementations",
|
1248
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
1249
|
+
"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.",
|
1250
|
+
"alias": [
|
1251
|
+
"extensions",
|
1252
|
+
"user content"
|
1253
|
+
],
|
1254
|
+
"min": 0,
|
1255
|
+
"max": "*",
|
1256
|
+
"base": {
|
1257
|
+
"path": "Element.extension",
|
1258
|
+
"min": 0,
|
1259
|
+
"max": "*"
|
1260
|
+
},
|
1261
|
+
"type": [
|
1262
|
+
{
|
1263
|
+
"code": "Extension"
|
1264
|
+
}
|
1265
|
+
],
|
1266
|
+
"mapping": [
|
1267
|
+
{
|
1268
|
+
"identity": "rim",
|
1269
|
+
"map": "n/a"
|
1270
|
+
}
|
1271
|
+
]
|
1272
|
+
},
|
1273
|
+
{
|
1274
|
+
"id": "Encounter:shr-encounter-Encounter.participant.modifierExtension",
|
1275
|
+
"path": "Encounter.participant.modifierExtension",
|
1276
|
+
"short": "Extensions that cannot be ignored",
|
1277
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
|
1278
|
+
"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.",
|
1279
|
+
"alias": [
|
1280
|
+
"extensions",
|
1281
|
+
"user content",
|
1282
|
+
"modifiers"
|
1283
|
+
],
|
1284
|
+
"min": 0,
|
1285
|
+
"max": "*",
|
1286
|
+
"base": {
|
1287
|
+
"path": "BackboneElement.modifierExtension",
|
1288
|
+
"min": 0,
|
1289
|
+
"max": "*"
|
1290
|
+
},
|
1291
|
+
"type": [
|
1292
|
+
{
|
1293
|
+
"code": "Extension"
|
1294
|
+
}
|
1295
|
+
],
|
1296
|
+
"isModifier": true,
|
1297
|
+
"isSummary": true,
|
1298
|
+
"mapping": [
|
1299
|
+
{
|
1300
|
+
"identity": "rim",
|
1301
|
+
"map": "N/A"
|
1302
|
+
}
|
1303
|
+
]
|
1304
|
+
},
|
1305
|
+
{
|
1306
|
+
"id": "Encounter:shr-encounter-Encounter.participant.type",
|
1307
|
+
"path": "Encounter.participant.type",
|
1308
|
+
"short": "Role of participant in encounter",
|
1309
|
+
"definition": "Role of participant in encounter.",
|
1310
|
+
"comment": "The participant type indicates how an individual partitipates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.",
|
1311
|
+
"min": 0,
|
1312
|
+
"max": "*",
|
1313
|
+
"type": [
|
1314
|
+
{
|
1315
|
+
"code": "CodeableConcept",
|
1316
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
|
1317
|
+
}
|
1318
|
+
],
|
1319
|
+
"isSummary": true,
|
1320
|
+
"binding": {
|
1321
|
+
"extension": [
|
1322
|
+
{
|
1323
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
1324
|
+
"valueString": "ParticipantType"
|
1325
|
+
}
|
1326
|
+
],
|
1327
|
+
"strength": "extensible",
|
1328
|
+
"description": "Role of participant in encounter",
|
1329
|
+
"valueSetReference": {
|
1330
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type"
|
1331
|
+
}
|
1332
|
+
},
|
1333
|
+
"mapping": [
|
1334
|
+
{
|
1335
|
+
"identity": "v2",
|
1336
|
+
"map": "ROL-3 (or maybe PRT-4)"
|
1337
|
+
},
|
1338
|
+
{
|
1339
|
+
"identity": "rim",
|
1340
|
+
"map": ".functionCode"
|
1341
|
+
}
|
1342
|
+
]
|
1343
|
+
},
|
1344
|
+
{
|
1345
|
+
"id": "Encounter:shr-encounter-Encounter.participant.period",
|
1346
|
+
"path": "Encounter.participant.period",
|
1347
|
+
"short": "Period of time during the encounter that the participant participated",
|
1348
|
+
"definition": "The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.",
|
1349
|
+
"min": 0,
|
1350
|
+
"max": "1",
|
1351
|
+
"type": [
|
1352
|
+
{
|
1353
|
+
"code": "Period",
|
1354
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
|
1355
|
+
}
|
1356
|
+
],
|
1357
|
+
"mapping": [
|
1358
|
+
{
|
1359
|
+
"identity": "v2",
|
1360
|
+
"map": "ROL-5, ROL-6 (or maybe PRT-5)"
|
1361
|
+
},
|
1362
|
+
{
|
1363
|
+
"identity": "rim",
|
1364
|
+
"map": ".time"
|
1365
|
+
}
|
1366
|
+
]
|
1367
|
+
},
|
1368
|
+
{
|
1369
|
+
"id": "Encounter:shr-encounter-Encounter.participant.individual",
|
1370
|
+
"path": "Encounter.participant.individual",
|
1371
|
+
"short": "Persons involved in the encounter other than the patient",
|
1372
|
+
"definition": "Persons involved in the encounter other than the patient.",
|
1373
|
+
"min": 0,
|
1374
|
+
"max": "1",
|
1375
|
+
"type": [
|
1376
|
+
{
|
1377
|
+
"code": "Reference",
|
1378
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner"
|
1379
|
+
},
|
1380
|
+
{
|
1381
|
+
"code": "Reference",
|
1382
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson"
|
1383
|
+
}
|
1384
|
+
],
|
1385
|
+
"isSummary": true,
|
1386
|
+
"mapping": [
|
1387
|
+
{
|
1388
|
+
"identity": "v2",
|
1389
|
+
"map": "ROL-4"
|
1390
|
+
},
|
1391
|
+
{
|
1392
|
+
"identity": "rim",
|
1393
|
+
"map": ".role"
|
1394
|
+
},
|
1395
|
+
{
|
1396
|
+
"identity": "w5",
|
1397
|
+
"map": "who"
|
1398
|
+
}
|
1399
|
+
]
|
1400
|
+
},
|
1401
|
+
{
|
1402
|
+
"id": "Encounter:shr-encounter-Encounter.appointment",
|
1403
|
+
"path": "Encounter.appointment",
|
1404
|
+
"short": "The appointment that scheduled this encounter",
|
1405
|
+
"definition": "The appointment that scheduled this encounter.",
|
1406
|
+
"min": 0,
|
1407
|
+
"max": "1",
|
1408
|
+
"type": [
|
1409
|
+
{
|
1410
|
+
"code": "Reference",
|
1411
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment"
|
1412
|
+
}
|
1413
|
+
],
|
1414
|
+
"isSummary": true,
|
1415
|
+
"mapping": [
|
1416
|
+
{
|
1417
|
+
"identity": "v2",
|
1418
|
+
"map": "SCH-1 / SCH-2"
|
1419
|
+
},
|
1420
|
+
{
|
1421
|
+
"identity": "rim",
|
1422
|
+
"map": ".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]"
|
1423
|
+
}
|
1424
|
+
]
|
1425
|
+
},
|
1426
|
+
{
|
1427
|
+
"id": "Encounter:shr-encounter-Encounter.period",
|
1428
|
+
"path": "Encounter.period",
|
1429
|
+
"short": "The start and end time of the encounter",
|
1430
|
+
"definition": "The start and end time of the encounter.",
|
1431
|
+
"comment": "If not (yet) known, the end of the Period may be omitted.",
|
1432
|
+
"min": 0,
|
1433
|
+
"max": "1",
|
1434
|
+
"type": [
|
1435
|
+
{
|
1436
|
+
"code": "Period",
|
1437
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
|
1438
|
+
}
|
1439
|
+
],
|
1440
|
+
"mapping": [
|
1441
|
+
{
|
1442
|
+
"identity": "v2",
|
1443
|
+
"map": "PV1-44, PV1-45"
|
1444
|
+
},
|
1445
|
+
{
|
1446
|
+
"identity": "rim",
|
1447
|
+
"map": ".effectiveTime (low & high)"
|
1448
|
+
},
|
1449
|
+
{
|
1450
|
+
"identity": "w5",
|
1451
|
+
"map": "when.done"
|
1452
|
+
}
|
1453
|
+
]
|
1454
|
+
},
|
1455
|
+
{
|
1456
|
+
"id": "Encounter:shr-encounter-Encounter.length",
|
1457
|
+
"path": "Encounter.length",
|
1458
|
+
"short": "Quantity of time the encounter lasted (less time absent)",
|
1459
|
+
"definition": "Quantity of time the encounter lasted. This excludes the time during leaves of absence.",
|
1460
|
+
"comment": "May differ from the time the Encounter.period lasted because of leave of absence.",
|
1461
|
+
"min": 0,
|
1462
|
+
"max": "1",
|
1463
|
+
"type": [
|
1464
|
+
{
|
1465
|
+
"code": "Duration"
|
1466
|
+
}
|
1467
|
+
],
|
1468
|
+
"mapping": [
|
1469
|
+
{
|
1470
|
+
"identity": "v2",
|
1471
|
+
"map": "(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes"
|
1472
|
+
},
|
1473
|
+
{
|
1474
|
+
"identity": "rim",
|
1475
|
+
"map": ".lengthOfStayQuantity"
|
1476
|
+
}
|
1477
|
+
]
|
1478
|
+
},
|
1479
|
+
{
|
1480
|
+
"id": "Encounter:shr-encounter-Encounter.reason",
|
1481
|
+
"path": "Encounter.reason",
|
1482
|
+
"short": "Reason the encounter takes place (code)",
|
1483
|
+
"definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.",
|
1484
|
+
"comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).",
|
1485
|
+
"alias": [
|
1486
|
+
"Indication",
|
1487
|
+
"Admission diagnosis"
|
1488
|
+
],
|
1489
|
+
"min": 0,
|
1490
|
+
"max": "*",
|
1491
|
+
"type": [
|
1492
|
+
{
|
1493
|
+
"code": "CodeableConcept"
|
1494
|
+
}
|
1495
|
+
],
|
1496
|
+
"isSummary": true,
|
1497
|
+
"binding": {
|
1498
|
+
"extension": [
|
1499
|
+
{
|
1500
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
1501
|
+
"valueString": "EncounterReason"
|
1502
|
+
}
|
1503
|
+
],
|
1504
|
+
"strength": "preferred",
|
1505
|
+
"description": "Reason why the encounter takes place.",
|
1506
|
+
"valueSetReference": {
|
1507
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-reason"
|
1508
|
+
}
|
1509
|
+
},
|
1510
|
+
"mapping": [
|
1511
|
+
{
|
1512
|
+
"identity": "v2",
|
1513
|
+
"map": "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )"
|
1514
|
+
},
|
1515
|
+
{
|
1516
|
+
"identity": "rim",
|
1517
|
+
"map": ".reasonCode"
|
1518
|
+
},
|
1519
|
+
{
|
1520
|
+
"identity": "w5",
|
1521
|
+
"map": "why"
|
1522
|
+
}
|
1523
|
+
]
|
1524
|
+
},
|
1525
|
+
{
|
1526
|
+
"id": "Encounter:shr-encounter-Encounter.diagnosis",
|
1527
|
+
"extension": [
|
1528
|
+
{
|
1529
|
+
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
|
1530
|
+
"valueString": "Diagnosis"
|
1531
|
+
}
|
1532
|
+
],
|
1533
|
+
"path": "Encounter.diagnosis",
|
1534
|
+
"short": "The list of diagnosis relevant to this encounter",
|
1535
|
+
"definition": "The list of diagnosis relevant to this encounter.",
|
1536
|
+
"min": 0,
|
1537
|
+
"max": "*",
|
1538
|
+
"type": [
|
1539
|
+
{
|
1540
|
+
"code": "BackboneElement"
|
1541
|
+
}
|
1542
|
+
],
|
1543
|
+
"constraint": [
|
1544
|
+
{
|
1545
|
+
"key": "ele-1",
|
1546
|
+
"severity": "error",
|
1547
|
+
"human": "All FHIR elements must have a @value or children",
|
1548
|
+
"expression": "children().count() > id.count()",
|
1549
|
+
"xpath": "@value|f:*|h:div",
|
1550
|
+
"source": "Element"
|
1551
|
+
}
|
1552
|
+
],
|
1553
|
+
"isSummary": true,
|
1554
|
+
"mapping": [
|
1555
|
+
{
|
1556
|
+
"identity": "rim",
|
1557
|
+
"map": ".outboundRelationship[typeCode=RSON]"
|
1558
|
+
}
|
1559
|
+
]
|
1560
|
+
},
|
1561
|
+
{
|
1562
|
+
"id": "Encounter:shr-encounter-Encounter.diagnosis.id",
|
1563
|
+
"path": "Encounter.diagnosis.id",
|
1564
|
+
"representation": [
|
1565
|
+
"xmlAttr"
|
1566
|
+
],
|
1567
|
+
"short": "xml:id (or equivalent in JSON)",
|
1568
|
+
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
1569
|
+
"min": 0,
|
1570
|
+
"max": "1",
|
1571
|
+
"base": {
|
1572
|
+
"path": "Element.id",
|
1573
|
+
"min": 0,
|
1574
|
+
"max": "1"
|
1575
|
+
},
|
1576
|
+
"type": [
|
1577
|
+
{
|
1578
|
+
"code": "string"
|
1579
|
+
}
|
1580
|
+
],
|
1581
|
+
"mapping": [
|
1582
|
+
{
|
1583
|
+
"identity": "rim",
|
1584
|
+
"map": "n/a"
|
1585
|
+
}
|
1586
|
+
]
|
1587
|
+
},
|
1588
|
+
{
|
1589
|
+
"id": "Encounter:shr-encounter-Encounter.diagnosis.extension",
|
1590
|
+
"path": "Encounter.diagnosis.extension",
|
1591
|
+
"short": "Additional Content defined by implementations",
|
1592
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
1593
|
+
"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.",
|
1594
|
+
"alias": [
|
1595
|
+
"extensions",
|
1596
|
+
"user content"
|
1597
|
+
],
|
1598
|
+
"min": 0,
|
1599
|
+
"max": "*",
|
1600
|
+
"base": {
|
1601
|
+
"path": "Element.extension",
|
1602
|
+
"min": 0,
|
1603
|
+
"max": "*"
|
1604
|
+
},
|
1605
|
+
"type": [
|
1606
|
+
{
|
1607
|
+
"code": "Extension"
|
1608
|
+
}
|
1609
|
+
],
|
1610
|
+
"mapping": [
|
1611
|
+
{
|
1612
|
+
"identity": "rim",
|
1613
|
+
"map": "n/a"
|
1614
|
+
}
|
1615
|
+
]
|
1616
|
+
},
|
1617
|
+
{
|
1618
|
+
"id": "Encounter:shr-encounter-Encounter.diagnosis.modifierExtension",
|
1619
|
+
"path": "Encounter.diagnosis.modifierExtension",
|
1620
|
+
"short": "Extensions that cannot be ignored",
|
1621
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
|
1622
|
+
"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.",
|
1623
|
+
"alias": [
|
1624
|
+
"extensions",
|
1625
|
+
"user content",
|
1626
|
+
"modifiers"
|
1627
|
+
],
|
1628
|
+
"min": 0,
|
1629
|
+
"max": "*",
|
1630
|
+
"base": {
|
1631
|
+
"path": "BackboneElement.modifierExtension",
|
1632
|
+
"min": 0,
|
1633
|
+
"max": "*"
|
1634
|
+
},
|
1635
|
+
"type": [
|
1636
|
+
{
|
1637
|
+
"code": "Extension"
|
1638
|
+
}
|
1639
|
+
],
|
1640
|
+
"isModifier": true,
|
1641
|
+
"isSummary": true,
|
1642
|
+
"mapping": [
|
1643
|
+
{
|
1644
|
+
"identity": "rim",
|
1645
|
+
"map": "N/A"
|
1646
|
+
}
|
1647
|
+
]
|
1648
|
+
},
|
1649
|
+
{
|
1650
|
+
"id": "Encounter:shr-encounter-Encounter.diagnosis.condition",
|
1651
|
+
"path": "Encounter.diagnosis.condition",
|
1652
|
+
"short": "Reason the encounter takes place (resource)",
|
1653
|
+
"definition": "Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.",
|
1654
|
+
"comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).",
|
1655
|
+
"alias": [
|
1656
|
+
"Admission diagnosis",
|
1657
|
+
"discharge diagnosis",
|
1658
|
+
"indication"
|
1659
|
+
],
|
1660
|
+
"min": 1,
|
1661
|
+
"max": "1",
|
1662
|
+
"type": [
|
1663
|
+
{
|
1664
|
+
"code": "Reference",
|
1665
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
|
1666
|
+
},
|
1667
|
+
{
|
1668
|
+
"code": "Reference",
|
1669
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure"
|
1670
|
+
}
|
1671
|
+
],
|
1672
|
+
"mapping": [
|
1673
|
+
{
|
1674
|
+
"identity": "v2",
|
1675
|
+
"map": "Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively."
|
1676
|
+
},
|
1677
|
+
{
|
1678
|
+
"identity": "rim",
|
1679
|
+
"map": ".outboundRelationship[typeCode=RSON].target"
|
1680
|
+
},
|
1681
|
+
{
|
1682
|
+
"identity": "w5",
|
1683
|
+
"map": "why"
|
1684
|
+
}
|
1685
|
+
]
|
1686
|
+
},
|
1687
|
+
{
|
1688
|
+
"id": "Encounter:shr-encounter-Encounter.diagnosis.role",
|
1689
|
+
"path": "Encounter.diagnosis.role",
|
1690
|
+
"short": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)",
|
1691
|
+
"definition": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).",
|
1692
|
+
"min": 0,
|
1693
|
+
"max": "1",
|
1694
|
+
"type": [
|
1695
|
+
{
|
1696
|
+
"code": "CodeableConcept"
|
1697
|
+
}
|
1698
|
+
],
|
1699
|
+
"binding": {
|
1700
|
+
"extension": [
|
1701
|
+
{
|
1702
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
1703
|
+
"valueString": "DiagnosisRole"
|
1704
|
+
},
|
1705
|
+
{
|
1706
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
|
1707
|
+
"valueBoolean": true
|
1708
|
+
}
|
1709
|
+
],
|
1710
|
+
"strength": "preferred",
|
1711
|
+
"description": "The type of diagnosis this condition represents",
|
1712
|
+
"valueSetReference": {
|
1713
|
+
"reference": "http://hl7.org/fhir/ValueSet/diagnosis-role"
|
1714
|
+
}
|
1715
|
+
},
|
1716
|
+
"mapping": [
|
1717
|
+
{
|
1718
|
+
"identity": "rim",
|
1719
|
+
"map": "n/a"
|
1720
|
+
}
|
1721
|
+
]
|
1722
|
+
},
|
1723
|
+
{
|
1724
|
+
"id": "Encounter:shr-encounter-Encounter.diagnosis.rank",
|
1725
|
+
"path": "Encounter.diagnosis.rank",
|
1726
|
+
"short": "Ranking of the diagnosis (for each role type)",
|
1727
|
+
"definition": "Ranking of the diagnosis (for each role type).",
|
1728
|
+
"min": 0,
|
1729
|
+
"max": "1",
|
1730
|
+
"type": [
|
1731
|
+
{
|
1732
|
+
"code": "positiveInt"
|
1733
|
+
}
|
1734
|
+
],
|
1735
|
+
"mapping": [
|
1736
|
+
{
|
1737
|
+
"identity": "rim",
|
1738
|
+
"map": ".outboundRelationship[typeCode=RSON].priority"
|
1739
|
+
}
|
1740
|
+
]
|
1741
|
+
},
|
1742
|
+
{
|
1743
|
+
"id": "Encounter:shr-encounter-Encounter.account",
|
1744
|
+
"path": "Encounter.account",
|
1745
|
+
"short": "The set of accounts that may be used for billing for this Encounter",
|
1746
|
+
"definition": "The set of accounts that may be used for billing for this Encounter.",
|
1747
|
+
"comment": "The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.",
|
1748
|
+
"min": 0,
|
1749
|
+
"max": "*",
|
1750
|
+
"type": [
|
1751
|
+
{
|
1752
|
+
"code": "Reference",
|
1753
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Account"
|
1754
|
+
}
|
1755
|
+
],
|
1756
|
+
"mapping": [
|
1757
|
+
{
|
1758
|
+
"identity": "rim",
|
1759
|
+
"map": ".pertains.A_Account"
|
1760
|
+
}
|
1761
|
+
]
|
1762
|
+
},
|
1763
|
+
{
|
1764
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization",
|
1765
|
+
"path": "Encounter.hospitalization",
|
1766
|
+
"short": "Details about the admission to a healthcare service",
|
1767
|
+
"definition": "Details about the admission to a healthcare service.",
|
1768
|
+
"comment": "An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.\r\rThe duration recorded in the period of this encounter covers the entire scope of this hospitalization record.",
|
1769
|
+
"min": 0,
|
1770
|
+
"max": "1",
|
1771
|
+
"type": [
|
1772
|
+
{
|
1773
|
+
"code": "BackboneElement"
|
1774
|
+
}
|
1775
|
+
],
|
1776
|
+
"constraint": [
|
1777
|
+
{
|
1778
|
+
"key": "ele-1",
|
1779
|
+
"severity": "error",
|
1780
|
+
"human": "All FHIR elements must have a @value or children",
|
1781
|
+
"expression": "children().count() > id.count()",
|
1782
|
+
"xpath": "@value|f:*|h:div",
|
1783
|
+
"source": "Element"
|
1784
|
+
}
|
1785
|
+
],
|
1786
|
+
"mapping": [
|
1787
|
+
{
|
1788
|
+
"identity": "rim",
|
1789
|
+
"map": ".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]"
|
1790
|
+
}
|
1791
|
+
]
|
1792
|
+
},
|
1793
|
+
{
|
1794
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.id",
|
1795
|
+
"path": "Encounter.hospitalization.id",
|
1796
|
+
"representation": [
|
1797
|
+
"xmlAttr"
|
1798
|
+
],
|
1799
|
+
"short": "xml:id (or equivalent in JSON)",
|
1800
|
+
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
1801
|
+
"min": 0,
|
1802
|
+
"max": "1",
|
1803
|
+
"base": {
|
1804
|
+
"path": "Element.id",
|
1805
|
+
"min": 0,
|
1806
|
+
"max": "1"
|
1807
|
+
},
|
1808
|
+
"type": [
|
1809
|
+
{
|
1810
|
+
"code": "string"
|
1811
|
+
}
|
1812
|
+
],
|
1813
|
+
"mapping": [
|
1814
|
+
{
|
1815
|
+
"identity": "rim",
|
1816
|
+
"map": "n/a"
|
1817
|
+
}
|
1818
|
+
]
|
1819
|
+
},
|
1820
|
+
{
|
1821
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.extension",
|
1822
|
+
"path": "Encounter.hospitalization.extension",
|
1823
|
+
"short": "Additional Content defined by implementations",
|
1824
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
1825
|
+
"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.",
|
1826
|
+
"alias": [
|
1827
|
+
"extensions",
|
1828
|
+
"user content"
|
1829
|
+
],
|
1830
|
+
"min": 0,
|
1831
|
+
"max": "*",
|
1832
|
+
"base": {
|
1833
|
+
"path": "Element.extension",
|
1834
|
+
"min": 0,
|
1835
|
+
"max": "*"
|
1836
|
+
},
|
1837
|
+
"type": [
|
1838
|
+
{
|
1839
|
+
"code": "Extension"
|
1840
|
+
}
|
1841
|
+
],
|
1842
|
+
"mapping": [
|
1843
|
+
{
|
1844
|
+
"identity": "rim",
|
1845
|
+
"map": "n/a"
|
1846
|
+
}
|
1847
|
+
]
|
1848
|
+
},
|
1849
|
+
{
|
1850
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.modifierExtension",
|
1851
|
+
"path": "Encounter.hospitalization.modifierExtension",
|
1852
|
+
"short": "Extensions that cannot be ignored",
|
1853
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
|
1854
|
+
"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.",
|
1855
|
+
"alias": [
|
1856
|
+
"extensions",
|
1857
|
+
"user content",
|
1858
|
+
"modifiers"
|
1859
|
+
],
|
1860
|
+
"min": 0,
|
1861
|
+
"max": "*",
|
1862
|
+
"base": {
|
1863
|
+
"path": "BackboneElement.modifierExtension",
|
1864
|
+
"min": 0,
|
1865
|
+
"max": "*"
|
1866
|
+
},
|
1867
|
+
"type": [
|
1868
|
+
{
|
1869
|
+
"code": "Extension"
|
1870
|
+
}
|
1871
|
+
],
|
1872
|
+
"isModifier": true,
|
1873
|
+
"isSummary": true,
|
1874
|
+
"mapping": [
|
1875
|
+
{
|
1876
|
+
"identity": "rim",
|
1877
|
+
"map": "N/A"
|
1878
|
+
}
|
1879
|
+
]
|
1880
|
+
},
|
1881
|
+
{
|
1882
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.preAdmissionIdentifier",
|
1883
|
+
"path": "Encounter.hospitalization.preAdmissionIdentifier",
|
1884
|
+
"short": "Pre-admission identifier",
|
1885
|
+
"definition": "Pre-admission identifier.",
|
1886
|
+
"min": 0,
|
1887
|
+
"max": "1",
|
1888
|
+
"type": [
|
1889
|
+
{
|
1890
|
+
"code": "Identifier"
|
1891
|
+
}
|
1892
|
+
],
|
1893
|
+
"mapping": [
|
1894
|
+
{
|
1895
|
+
"identity": "v2",
|
1896
|
+
"map": "PV1-5"
|
1897
|
+
},
|
1898
|
+
{
|
1899
|
+
"identity": "rim",
|
1900
|
+
"map": ".id"
|
1901
|
+
}
|
1902
|
+
]
|
1903
|
+
},
|
1904
|
+
{
|
1905
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.origin",
|
1906
|
+
"path": "Encounter.hospitalization.origin",
|
1907
|
+
"short": "The location from which the patient came before admission",
|
1908
|
+
"definition": "The location from which the patient came before admission.",
|
1909
|
+
"min": 0,
|
1910
|
+
"max": "1",
|
1911
|
+
"type": [
|
1912
|
+
{
|
1913
|
+
"code": "Reference",
|
1914
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
|
1915
|
+
}
|
1916
|
+
],
|
1917
|
+
"mapping": [
|
1918
|
+
{
|
1919
|
+
"identity": "rim",
|
1920
|
+
"map": ".participation[typeCode=ORG].role"
|
1921
|
+
}
|
1922
|
+
]
|
1923
|
+
},
|
1924
|
+
{
|
1925
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.admitSource",
|
1926
|
+
"path": "Encounter.hospitalization.admitSource",
|
1927
|
+
"short": "From where patient was admitted (physician referral, transfer)",
|
1928
|
+
"definition": "From where patient was admitted (physician referral, transfer).",
|
1929
|
+
"min": 0,
|
1930
|
+
"max": "1",
|
1931
|
+
"type": [
|
1932
|
+
{
|
1933
|
+
"code": "CodeableConcept"
|
1934
|
+
}
|
1935
|
+
],
|
1936
|
+
"binding": {
|
1937
|
+
"extension": [
|
1938
|
+
{
|
1939
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
1940
|
+
"valueString": "AdmitSource"
|
1941
|
+
}
|
1942
|
+
],
|
1943
|
+
"strength": "preferred",
|
1944
|
+
"description": "From where the patient was admitted.",
|
1945
|
+
"valueSetReference": {
|
1946
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-admit-source"
|
1947
|
+
}
|
1948
|
+
},
|
1949
|
+
"mapping": [
|
1950
|
+
{
|
1951
|
+
"identity": "v2",
|
1952
|
+
"map": "PV1-14"
|
1953
|
+
},
|
1954
|
+
{
|
1955
|
+
"identity": "rim",
|
1956
|
+
"map": ".admissionReferralSourceCode"
|
1957
|
+
}
|
1958
|
+
]
|
1959
|
+
},
|
1960
|
+
{
|
1961
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.reAdmission",
|
1962
|
+
"path": "Encounter.hospitalization.reAdmission",
|
1963
|
+
"short": "The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission",
|
1964
|
+
"definition": "Whether this hospitalization is a readmission and why if known.",
|
1965
|
+
"min": 0,
|
1966
|
+
"max": "1",
|
1967
|
+
"type": [
|
1968
|
+
{
|
1969
|
+
"code": "CodeableConcept"
|
1970
|
+
}
|
1971
|
+
],
|
1972
|
+
"binding": {
|
1973
|
+
"extension": [
|
1974
|
+
{
|
1975
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
1976
|
+
"valueString": "ReAdmissionType"
|
1977
|
+
}
|
1978
|
+
],
|
1979
|
+
"strength": "example",
|
1980
|
+
"description": "The reason for re-admission of this hospitalization encounter.",
|
1981
|
+
"valueSetReference": {
|
1982
|
+
"reference": "http://hl7.org/fhir/ValueSet/v2-0092"
|
1983
|
+
}
|
1984
|
+
},
|
1985
|
+
"mapping": [
|
1986
|
+
{
|
1987
|
+
"identity": "v2",
|
1988
|
+
"map": "PV1-13"
|
1989
|
+
},
|
1990
|
+
{
|
1991
|
+
"identity": "rim",
|
1992
|
+
"map": "n/a"
|
1993
|
+
}
|
1994
|
+
]
|
1995
|
+
},
|
1996
|
+
{
|
1997
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.dietPreference",
|
1998
|
+
"path": "Encounter.hospitalization.dietPreference",
|
1999
|
+
"short": "Diet preferences reported by the patient",
|
2000
|
+
"definition": "Diet preferences reported by the patient.",
|
2001
|
+
"comment": "For example a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).",
|
2002
|
+
"requirements": "Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter.",
|
2003
|
+
"min": 0,
|
2004
|
+
"max": "*",
|
2005
|
+
"type": [
|
2006
|
+
{
|
2007
|
+
"code": "CodeableConcept"
|
2008
|
+
}
|
2009
|
+
],
|
2010
|
+
"binding": {
|
2011
|
+
"extension": [
|
2012
|
+
{
|
2013
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
2014
|
+
"valueString": "PatientDiet"
|
2015
|
+
}
|
2016
|
+
],
|
2017
|
+
"strength": "example",
|
2018
|
+
"description": "Medical, cultural or ethical food preferences to help with catering requirements.",
|
2019
|
+
"valueSetReference": {
|
2020
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-diet"
|
2021
|
+
}
|
2022
|
+
},
|
2023
|
+
"mapping": [
|
2024
|
+
{
|
2025
|
+
"identity": "v2",
|
2026
|
+
"map": "PV1-38"
|
2027
|
+
},
|
2028
|
+
{
|
2029
|
+
"identity": "rim",
|
2030
|
+
"map": ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code=\"diet\"]"
|
2031
|
+
}
|
2032
|
+
]
|
2033
|
+
},
|
2034
|
+
{
|
2035
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.specialCourtesy",
|
2036
|
+
"path": "Encounter.hospitalization.specialCourtesy",
|
2037
|
+
"short": "Special courtesies (VIP, board member)",
|
2038
|
+
"definition": "Special courtesies (VIP, board member).",
|
2039
|
+
"min": 0,
|
2040
|
+
"max": "*",
|
2041
|
+
"type": [
|
2042
|
+
{
|
2043
|
+
"code": "CodeableConcept"
|
2044
|
+
}
|
2045
|
+
],
|
2046
|
+
"binding": {
|
2047
|
+
"extension": [
|
2048
|
+
{
|
2049
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
2050
|
+
"valueString": "Courtesies"
|
2051
|
+
}
|
2052
|
+
],
|
2053
|
+
"strength": "preferred",
|
2054
|
+
"description": "Special courtesies",
|
2055
|
+
"valueSetReference": {
|
2056
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy"
|
2057
|
+
}
|
2058
|
+
},
|
2059
|
+
"mapping": [
|
2060
|
+
{
|
2061
|
+
"identity": "v2",
|
2062
|
+
"map": "PV1-16"
|
2063
|
+
},
|
2064
|
+
{
|
2065
|
+
"identity": "rim",
|
2066
|
+
"map": ".specialCourtesiesCode"
|
2067
|
+
}
|
2068
|
+
]
|
2069
|
+
},
|
2070
|
+
{
|
2071
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.specialArrangement",
|
2072
|
+
"path": "Encounter.hospitalization.specialArrangement",
|
2073
|
+
"short": "Wheelchair, translator, stretcher, etc.",
|
2074
|
+
"definition": "Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.",
|
2075
|
+
"min": 0,
|
2076
|
+
"max": "*",
|
2077
|
+
"type": [
|
2078
|
+
{
|
2079
|
+
"code": "CodeableConcept"
|
2080
|
+
}
|
2081
|
+
],
|
2082
|
+
"binding": {
|
2083
|
+
"extension": [
|
2084
|
+
{
|
2085
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
2086
|
+
"valueString": "Arrangements"
|
2087
|
+
}
|
2088
|
+
],
|
2089
|
+
"strength": "preferred",
|
2090
|
+
"description": "Special arrangements",
|
2091
|
+
"valueSetReference": {
|
2092
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements"
|
2093
|
+
}
|
2094
|
+
},
|
2095
|
+
"mapping": [
|
2096
|
+
{
|
2097
|
+
"identity": "v2",
|
2098
|
+
"map": "PV1-15 / OBR-30 / OBR-43"
|
2099
|
+
},
|
2100
|
+
{
|
2101
|
+
"identity": "rim",
|
2102
|
+
"map": ".specialArrangementCode"
|
2103
|
+
}
|
2104
|
+
]
|
2105
|
+
},
|
2106
|
+
{
|
2107
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.destination",
|
2108
|
+
"path": "Encounter.hospitalization.destination",
|
2109
|
+
"short": "Location to which the patient is discharged",
|
2110
|
+
"definition": "Location to which the patient is discharged.",
|
2111
|
+
"min": 0,
|
2112
|
+
"max": "1",
|
2113
|
+
"type": [
|
2114
|
+
{
|
2115
|
+
"code": "Reference",
|
2116
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
|
2117
|
+
}
|
2118
|
+
],
|
2119
|
+
"mapping": [
|
2120
|
+
{
|
2121
|
+
"identity": "v2",
|
2122
|
+
"map": "PV1-37"
|
2123
|
+
},
|
2124
|
+
{
|
2125
|
+
"identity": "rim",
|
2126
|
+
"map": ".participation[typeCode=DST]"
|
2127
|
+
}
|
2128
|
+
]
|
2129
|
+
},
|
2130
|
+
{
|
2131
|
+
"id": "Encounter:shr-encounter-Encounter.hospitalization.dischargeDisposition",
|
2132
|
+
"path": "Encounter.hospitalization.dischargeDisposition",
|
2133
|
+
"short": "Category or kind of location after discharge",
|
2134
|
+
"definition": "Category or kind of location after discharge.",
|
2135
|
+
"min": 0,
|
2136
|
+
"max": "1",
|
2137
|
+
"type": [
|
2138
|
+
{
|
2139
|
+
"code": "CodeableConcept"
|
2140
|
+
}
|
2141
|
+
],
|
2142
|
+
"binding": {
|
2143
|
+
"extension": [
|
2144
|
+
{
|
2145
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
2146
|
+
"valueString": "DischargeDisp"
|
2147
|
+
}
|
2148
|
+
],
|
2149
|
+
"strength": "example",
|
2150
|
+
"description": "Discharge Disposition",
|
2151
|
+
"valueSetReference": {
|
2152
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition"
|
2153
|
+
}
|
2154
|
+
},
|
2155
|
+
"mapping": [
|
2156
|
+
{
|
2157
|
+
"identity": "v2",
|
2158
|
+
"map": "PV1-36"
|
2159
|
+
},
|
2160
|
+
{
|
2161
|
+
"identity": "rim",
|
2162
|
+
"map": ".dischargeDispositionCode"
|
2163
|
+
}
|
2164
|
+
]
|
2165
|
+
},
|
2166
|
+
{
|
2167
|
+
"id": "Encounter:shr-encounter-Encounter.location",
|
2168
|
+
"path": "Encounter.location",
|
2169
|
+
"short": "List of locations where the patient has been",
|
2170
|
+
"definition": "List of locations where the patient has been during this encounter.",
|
2171
|
+
"comment": "Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type \"kind\" such as \"client's home\" and an encounter.class = \"virtual\".",
|
2172
|
+
"min": 0,
|
2173
|
+
"max": "*",
|
2174
|
+
"type": [
|
2175
|
+
{
|
2176
|
+
"code": "BackboneElement"
|
2177
|
+
}
|
2178
|
+
],
|
2179
|
+
"constraint": [
|
2180
|
+
{
|
2181
|
+
"key": "ele-1",
|
2182
|
+
"severity": "error",
|
2183
|
+
"human": "All FHIR elements must have a @value or children",
|
2184
|
+
"expression": "children().count() > id.count()",
|
2185
|
+
"xpath": "@value|f:*|h:div",
|
2186
|
+
"source": "Element"
|
2187
|
+
}
|
2188
|
+
],
|
2189
|
+
"mapping": [
|
2190
|
+
{
|
2191
|
+
"identity": "rim",
|
2192
|
+
"map": ".participation[typeCode=LOC]"
|
2193
|
+
}
|
2194
|
+
]
|
2195
|
+
},
|
2196
|
+
{
|
2197
|
+
"id": "Encounter:shr-encounter-Encounter.location.id",
|
2198
|
+
"path": "Encounter.location.id",
|
2199
|
+
"representation": [
|
2200
|
+
"xmlAttr"
|
2201
|
+
],
|
2202
|
+
"short": "xml:id (or equivalent in JSON)",
|
2203
|
+
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
2204
|
+
"min": 0,
|
2205
|
+
"max": "1",
|
2206
|
+
"base": {
|
2207
|
+
"path": "Element.id",
|
2208
|
+
"min": 0,
|
2209
|
+
"max": "1"
|
2210
|
+
},
|
2211
|
+
"type": [
|
2212
|
+
{
|
2213
|
+
"code": "string"
|
2214
|
+
}
|
2215
|
+
],
|
2216
|
+
"mapping": [
|
2217
|
+
{
|
2218
|
+
"identity": "rim",
|
2219
|
+
"map": "n/a"
|
2220
|
+
}
|
2221
|
+
]
|
2222
|
+
},
|
2223
|
+
{
|
2224
|
+
"id": "Encounter:shr-encounter-Encounter.location.extension",
|
2225
|
+
"path": "Encounter.location.extension",
|
2226
|
+
"short": "Additional Content defined by implementations",
|
2227
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
2228
|
+
"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.",
|
2229
|
+
"alias": [
|
2230
|
+
"extensions",
|
2231
|
+
"user content"
|
2232
|
+
],
|
2233
|
+
"min": 0,
|
2234
|
+
"max": "*",
|
2235
|
+
"base": {
|
2236
|
+
"path": "Element.extension",
|
2237
|
+
"min": 0,
|
2238
|
+
"max": "*"
|
2239
|
+
},
|
2240
|
+
"type": [
|
2241
|
+
{
|
2242
|
+
"code": "Extension"
|
2243
|
+
}
|
2244
|
+
],
|
2245
|
+
"mapping": [
|
2246
|
+
{
|
2247
|
+
"identity": "rim",
|
2248
|
+
"map": "n/a"
|
2249
|
+
}
|
2250
|
+
]
|
2251
|
+
},
|
2252
|
+
{
|
2253
|
+
"id": "Encounter:shr-encounter-Encounter.location.modifierExtension",
|
2254
|
+
"path": "Encounter.location.modifierExtension",
|
2255
|
+
"short": "Extensions that cannot be ignored",
|
2256
|
+
"definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
|
2257
|
+
"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.",
|
2258
|
+
"alias": [
|
2259
|
+
"extensions",
|
2260
|
+
"user content",
|
2261
|
+
"modifiers"
|
2262
|
+
],
|
2263
|
+
"min": 0,
|
2264
|
+
"max": "*",
|
2265
|
+
"base": {
|
2266
|
+
"path": "BackboneElement.modifierExtension",
|
2267
|
+
"min": 0,
|
2268
|
+
"max": "*"
|
2269
|
+
},
|
2270
|
+
"type": [
|
2271
|
+
{
|
2272
|
+
"code": "Extension"
|
2273
|
+
}
|
2274
|
+
],
|
2275
|
+
"isModifier": true,
|
2276
|
+
"isSummary": true,
|
2277
|
+
"mapping": [
|
2278
|
+
{
|
2279
|
+
"identity": "rim",
|
2280
|
+
"map": "N/A"
|
2281
|
+
}
|
2282
|
+
]
|
2283
|
+
},
|
2284
|
+
{
|
2285
|
+
"id": "Encounter:shr-encounter-Encounter.location.location",
|
2286
|
+
"path": "Encounter.location.location",
|
2287
|
+
"short": "Location the encounter takes place",
|
2288
|
+
"definition": "The location where the encounter takes place.",
|
2289
|
+
"min": 1,
|
2290
|
+
"max": "1",
|
2291
|
+
"type": [
|
2292
|
+
{
|
2293
|
+
"code": "Reference",
|
2294
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
|
2295
|
+
}
|
2296
|
+
],
|
2297
|
+
"mapping": [
|
2298
|
+
{
|
2299
|
+
"identity": "v2",
|
2300
|
+
"map": "PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43"
|
2301
|
+
},
|
2302
|
+
{
|
2303
|
+
"identity": "rim",
|
2304
|
+
"map": ".role"
|
2305
|
+
},
|
2306
|
+
{
|
2307
|
+
"identity": "w5",
|
2308
|
+
"map": "where"
|
2309
|
+
}
|
2310
|
+
]
|
2311
|
+
},
|
2312
|
+
{
|
2313
|
+
"id": "Encounter:shr-encounter-Encounter.location.status",
|
2314
|
+
"path": "Encounter.location.status",
|
2315
|
+
"short": "planned | active | reserved | completed",
|
2316
|
+
"definition": "The status of the participants' presence at the specified location during the period specified. If the participant is is no longer at the location, then the period will have an end date/time.",
|
2317
|
+
"comment": "When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.",
|
2318
|
+
"min": 0,
|
2319
|
+
"max": "1",
|
2320
|
+
"type": [
|
2321
|
+
{
|
2322
|
+
"code": "code"
|
2323
|
+
}
|
2324
|
+
],
|
2325
|
+
"binding": {
|
2326
|
+
"extension": [
|
2327
|
+
{
|
2328
|
+
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
|
2329
|
+
"valueString": "EncounterLocationStatus"
|
2330
|
+
}
|
2331
|
+
],
|
2332
|
+
"strength": "required",
|
2333
|
+
"description": "The status of the location.",
|
2334
|
+
"valueSetReference": {
|
2335
|
+
"reference": "http://hl7.org/fhir/ValueSet/encounter-location-status"
|
2336
|
+
}
|
2337
|
+
},
|
2338
|
+
"mapping": [
|
2339
|
+
{
|
2340
|
+
"identity": "rim",
|
2341
|
+
"map": ".role.statusCode"
|
2342
|
+
}
|
2343
|
+
]
|
2344
|
+
},
|
2345
|
+
{
|
2346
|
+
"id": "Encounter:shr-encounter-Encounter.location.period",
|
2347
|
+
"path": "Encounter.location.period",
|
2348
|
+
"short": "Time period during which the patient was present at the location",
|
2349
|
+
"definition": "Time period during which the patient was present at the location.",
|
2350
|
+
"min": 0,
|
2351
|
+
"max": "1",
|
2352
|
+
"type": [
|
2353
|
+
{
|
2354
|
+
"code": "Period"
|
2355
|
+
}
|
2356
|
+
],
|
2357
|
+
"mapping": [
|
2358
|
+
{
|
2359
|
+
"identity": "rim",
|
2360
|
+
"map": ".time"
|
2361
|
+
}
|
2362
|
+
]
|
2363
|
+
},
|
2364
|
+
{
|
2365
|
+
"id": "Encounter:shr-encounter-Encounter.serviceProvider",
|
2366
|
+
"path": "Encounter.serviceProvider",
|
2367
|
+
"short": "The custodian organization of this Encounter record",
|
2368
|
+
"definition": "An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.",
|
2369
|
+
"min": 1,
|
2370
|
+
"max": "1",
|
2371
|
+
"type": [
|
2372
|
+
{
|
2373
|
+
"code": "Reference",
|
2374
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization"
|
2375
|
+
}
|
2376
|
+
],
|
2377
|
+
"mapping": [
|
2378
|
+
{
|
2379
|
+
"identity": "v2",
|
2380
|
+
"map": "PV1-10 / PL.6 & PL.1 (note: HL7 v2 definition is \"the treatment or type of surgery that the patient is scheduled to receive\"; seems slightly out of alignment with the concept name 'hospital service'. Would not trust that implementations apply this semantic by default)"
|
2381
|
+
},
|
2382
|
+
{
|
2383
|
+
"identity": "rim",
|
2384
|
+
"map": ".particiaption[typeCode=PFM].role"
|
2385
|
+
}
|
2386
|
+
]
|
2387
|
+
},
|
2388
|
+
{
|
2389
|
+
"id": "Encounter:shr-encounter-Encounter.partOf",
|
2390
|
+
"path": "Encounter.partOf",
|
2391
|
+
"short": "Another Encounter this encounter is part of",
|
2392
|
+
"definition": "Another Encounter of which this encounter is a part of (administratively or in time).",
|
2393
|
+
"comment": "This is also used for associating a child's encounter back to the mother's encounter.\r\rRefer to the Notes section in the Patient resource for further details.",
|
2394
|
+
"min": 0,
|
2395
|
+
"max": "1",
|
2396
|
+
"type": [
|
2397
|
+
{
|
2398
|
+
"code": "Reference",
|
2399
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
|
2400
|
+
}
|
2401
|
+
],
|
2402
|
+
"mapping": [
|
2403
|
+
{
|
2404
|
+
"identity": "rim",
|
2405
|
+
"map": ".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]"
|
2406
|
+
}
|
2407
|
+
]
|
2408
|
+
}
|
2409
|
+
]
|
2410
|
+
},
|
2411
|
+
"differential": {
|
2412
|
+
"element": [
|
2413
|
+
{
|
2414
|
+
"id": "Encounter:shr-encounter-Encounter",
|
2415
|
+
"path": "Encounter",
|
2416
|
+
"short": "SHR Encounter Profile",
|
2417
|
+
"definition": "A statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient."
|
2418
|
+
},
|
2419
|
+
{
|
2420
|
+
"id": "Encounter:shr-encounter-Encounter.extension:referraldate",
|
2421
|
+
"path": "Encounter.extension",
|
2422
|
+
"sliceName": "referraldate",
|
2423
|
+
"min": 0,
|
2424
|
+
"max": "1",
|
2425
|
+
"type": [
|
2426
|
+
{
|
2427
|
+
"code": "Extension",
|
2428
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension"
|
2429
|
+
}
|
2430
|
+
],
|
2431
|
+
"mustSupport": false,
|
2432
|
+
"isModifier": false,
|
2433
|
+
"isSummary": false
|
2434
|
+
},
|
2435
|
+
{
|
2436
|
+
"id": "Encounter:shr-encounter-Encounter.extension:referralsourcetype",
|
2437
|
+
"path": "Encounter.extension",
|
2438
|
+
"sliceName": "referralsourcetype",
|
2439
|
+
"min": 0,
|
2440
|
+
"max": "1",
|
2441
|
+
"type": [
|
2442
|
+
{
|
2443
|
+
"code": "Extension",
|
2444
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension"
|
2445
|
+
}
|
2446
|
+
],
|
2447
|
+
"mustSupport": false,
|
2448
|
+
"isModifier": false,
|
2449
|
+
"isSummary": false
|
2450
|
+
},
|
2451
|
+
{
|
2452
|
+
"id": "Encounter:shr-encounter-Encounter.extension:facility",
|
2453
|
+
"path": "Encounter.extension",
|
2454
|
+
"sliceName": "facility",
|
2455
|
+
"min": 0,
|
2456
|
+
"max": "1",
|
2457
|
+
"type": [
|
2458
|
+
{
|
2459
|
+
"code": "Extension",
|
2460
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension"
|
2461
|
+
}
|
2462
|
+
],
|
2463
|
+
"mustSupport": false,
|
2464
|
+
"isModifier": false,
|
2465
|
+
"isSummary": false
|
2466
|
+
},
|
2467
|
+
{
|
2468
|
+
"id": "Encounter:shr-encounter-Encounter.extension:treatmentcooperation",
|
2469
|
+
"path": "Encounter.extension",
|
2470
|
+
"sliceName": "treatmentcooperation",
|
2471
|
+
"min": 0,
|
2472
|
+
"max": "1",
|
2473
|
+
"type": [
|
2474
|
+
{
|
2475
|
+
"code": "Extension",
|
2476
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension"
|
2477
|
+
}
|
2478
|
+
],
|
2479
|
+
"mustSupport": false,
|
2480
|
+
"isModifier": false,
|
2481
|
+
"isSummary": false
|
2482
|
+
},
|
2483
|
+
{
|
2484
|
+
"id": "Encounter:shr-encounter-Encounter.extension:paymentsource",
|
2485
|
+
"path": "Encounter.extension",
|
2486
|
+
"sliceName": "paymentsource",
|
2487
|
+
"min": 0,
|
2488
|
+
"max": "1",
|
2489
|
+
"type": [
|
2490
|
+
{
|
2491
|
+
"code": "Extension",
|
2492
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension"
|
2493
|
+
}
|
2494
|
+
],
|
2495
|
+
"mustSupport": false,
|
2496
|
+
"isModifier": false,
|
2497
|
+
"isSummary": false
|
2498
|
+
},
|
2499
|
+
{
|
2500
|
+
"id": "Encounter:shr-encounter-Encounter.modifierExtension:encounternonoccurrencemodifier",
|
2501
|
+
"path": "Encounter.modifierExtension",
|
2502
|
+
"sliceName": "encounternonoccurrencemodifier",
|
2503
|
+
"min": 0,
|
2504
|
+
"max": "1",
|
2505
|
+
"type": [
|
2506
|
+
{
|
2507
|
+
"code": "Extension",
|
2508
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension"
|
2509
|
+
}
|
2510
|
+
],
|
2511
|
+
"mustSupport": true,
|
2512
|
+
"isModifier": true,
|
2513
|
+
"isSummary": false
|
2514
|
+
},
|
2515
|
+
{
|
2516
|
+
"id": "Encounter:shr-encounter-Encounter.class",
|
2517
|
+
"path": "Encounter.class",
|
2518
|
+
"type": [
|
2519
|
+
{
|
2520
|
+
"code": "Coding",
|
2521
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding"
|
2522
|
+
}
|
2523
|
+
],
|
2524
|
+
"binding": {
|
2525
|
+
"strength": "required",
|
2526
|
+
"valueSetReference": {
|
2527
|
+
"reference": "http://standardhealthrecord.org/shr/encounter/vs/EncounterTypeVS"
|
2528
|
+
}
|
2529
|
+
}
|
2530
|
+
},
|
2531
|
+
{
|
2532
|
+
"id": "Encounter:shr-encounter-Encounter.subject",
|
2533
|
+
"path": "Encounter.subject",
|
2534
|
+
"min": 1,
|
2535
|
+
"max": "1",
|
2536
|
+
"type": [
|
2537
|
+
{
|
2538
|
+
"code": "Reference",
|
2539
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord"
|
2540
|
+
},
|
2541
|
+
{
|
2542
|
+
"code": "Reference",
|
2543
|
+
"targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
|
2544
|
+
}
|
2545
|
+
]
|
2546
|
+
},
|
2547
|
+
{
|
2548
|
+
"id": "Encounter:shr-encounter-Encounter.participant",
|
2549
|
+
"path": "Encounter.participant"
|
2550
|
+
},
|
2551
|
+
{
|
2552
|
+
"id": "Encounter:shr-encounter-Encounter.participant.type",
|
2553
|
+
"path": "Encounter.participant.type",
|
2554
|
+
"type": [
|
2555
|
+
{
|
2556
|
+
"code": "CodeableConcept",
|
2557
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept"
|
2558
|
+
}
|
2559
|
+
]
|
2560
|
+
},
|
2561
|
+
{
|
2562
|
+
"id": "Encounter:shr-encounter-Encounter.participant.period",
|
2563
|
+
"path": "Encounter.participant.period",
|
2564
|
+
"type": [
|
2565
|
+
{
|
2566
|
+
"code": "Period",
|
2567
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
|
2568
|
+
}
|
2569
|
+
]
|
2570
|
+
},
|
2571
|
+
{
|
2572
|
+
"id": "Encounter:shr-encounter-Encounter.participant.individual",
|
2573
|
+
"path": "Encounter.participant.individual",
|
2574
|
+
"type": [
|
2575
|
+
{
|
2576
|
+
"code": "Reference",
|
2577
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner"
|
2578
|
+
},
|
2579
|
+
{
|
2580
|
+
"code": "Reference",
|
2581
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson"
|
2582
|
+
}
|
2583
|
+
]
|
2584
|
+
},
|
2585
|
+
{
|
2586
|
+
"id": "Encounter:shr-encounter-Encounter.period",
|
2587
|
+
"path": "Encounter.period",
|
2588
|
+
"type": [
|
2589
|
+
{
|
2590
|
+
"code": "Period",
|
2591
|
+
"profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod"
|
2592
|
+
}
|
2593
|
+
]
|
2594
|
+
},
|
2595
|
+
{
|
2596
|
+
"id": "Encounter:shr-encounter-Encounter.serviceProvider",
|
2597
|
+
"path": "Encounter.serviceProvider",
|
2598
|
+
"min": 1,
|
2599
|
+
"max": "1",
|
2600
|
+
"type": [
|
2601
|
+
{
|
2602
|
+
"code": "Reference",
|
2603
|
+
"targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization"
|
2604
|
+
}
|
2605
|
+
]
|
2606
|
+
}
|
2607
|
+
]
|
2608
|
+
}
|
2609
|
+
}
|